/* Main banner container (Mobile-first: full width at the bottom) */
.ccn-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #222222;
    color: #ffffff;
    padding: 16px 20px;
    border-radius: 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    font-family: inherit;
    box-sizing: border-box;
}

/* Modifier class to display the banner */
.ccn-banner.is-visible {
    display: block;
}

/* Flex layout wrapper for mobile */
.ccn-banner__content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 12px;
}

/* Notice text styles */
.ccn-banner__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #ffffff;
}

.ccn-banner__text a {
	color: #d6bd51;
}

.ccn-banner__text a:hover,
.ccn-banner__text a:focus {
	color: #d6bd51;
}

/* Accept button styles */
.ccn-banner__button {
    background-color: #d6bd51;
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.ccn-banner__button:hover {
    background-color: #9b8a44;
}

/* Medium and large screens: bottom-right corner with max-width */
@media (min-width: 601px) {
    .ccn-banner {
        bottom: 20px;
        right: 20px;
        left: auto;
        width: auto;
        max-width: 420px;
        padding: 20px 24px;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    }

    .ccn-banner__content {
        align-items: flex-start;
        text-align: left;
        gap: 16px;
    }

    .ccn-banner__button {
        align-self: flex-end;
    }
}
