/**
 * CheckNow CookieConsent presentation.
 * The colors and spacing retain the former CheckNow consent experience while
 * the DOM and behavior are provided by the local CookieConsent v3 asset.
 */

#cc-main {
    --cc-font-family: inherit;
    --cc-modal-border-radius: 16px;
    --cc-btn-border-radius: 8px;
    --cc-bg: #0b1526;
    --cc-primary-color: #ffffff;
    --cc-secondary-color: #b9c4d6;
    --cc-btn-primary-bg: #d4af37;
    --cc-btn-primary-color: #0b1526;
    --cc-btn-primary-border-color: #d4af37;
    --cc-btn-primary-hover-bg: #e6c65a;
    --cc-btn-primary-hover-color: #0b1526;
    --cc-btn-primary-hover-border-color: #e6c65a;
    --cc-btn-secondary-bg: transparent;
    --cc-btn-secondary-color: #ffffff;
    --cc-btn-secondary-border-color: rgba(212, 175, 55, .35);
    --cc-btn-secondary-hover-bg: rgba(212, 175, 55, .08);
    --cc-btn-secondary-hover-color: #ffffff;
    --cc-btn-secondary-hover-border-color: #d4af37;
    --cc-link-color: #d4af37;
    --cc-separator-border-color: rgba(212, 175, 55, .28);
    --cc-cookie-category-block-bg: #13203a;
    --cc-cookie-category-block-border: rgba(212, 175, 55, .28);
    --cc-cookie-category-block-hover-bg: #1b2b47;
    --cc-cookie-category-block-hover-border: #d4af37;
    --cc-cookie-category-expanded-block-bg: #13203a;
    --cc-toggle-off-bg: #3a4658;
    --cc-toggle-on-bg: #d4af37;
    --cc-toggle-readonly-bg: #d4af37;
    --cc-footer-bg: #13203a;
    --cc-footer-color: #b9c4d6;
    --cc-footer-border-color: rgba(212, 175, 55, .28);
    --cc-overlay-bg: rgba(0, 0, 0, .65);
    --cc-z-index: 2147483000;
}

#cc-main .cm,
#cc-main .pm {
    border: 1px solid rgba(212, 175, 55, .28);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .45);
    line-height: 1.6;
}

#cc-main .cm {
    max-width: 720px;
    width: min(720px, calc(100vw - 40px));
}

#cc-main .cm--box.cm--wide {
    max-width: 720px;
}

#cc-main .cm__title,
#cc-main .pm__title,
#cc-main .pm__section-title {
    letter-spacing: .2px;
}

#cc-main .cm__desc,
#cc-main .pm__section-desc {
    font-size: .9em;
    line-height: 1.6;
}

#cc-main .cm__btn,
#cc-main .pm__btn {
    font-size: 14px;
    font-weight: 600;
    min-height: 46px;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

#cc-main .pm__section--toggle .pm__section-title {
    min-height: 58px;
}

#cc-main .pm__body {
    scrollbar-color: rgba(212, 175, 55, .55) #0b1526;
}

.checknow-footer-cookie-settings [data-checknow-cookie-settings],
.checknow-footer-quick .checknow-footer-cookie-settings [data-checknow-cookie-settings] {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 2px 0;
    border: 0;
    background: none;
    box-shadow: none;
    color: inherit;
    cursor: pointer;
    font: inherit;
    line-height: inherit;
    transition: color .25s, padding-left .25s;
}

.checknow-footer-cookie-settings [data-checknow-cookie-settings]:hover,
.checknow-footer-cookie-settings [data-checknow-cookie-settings]:focus-visible {
    padding-left: 4px;
}

.checknow-consent-notice {
    position: fixed;
    right: 24px;
    bottom: 96px;
    z-index: 2147483000;
    max-width: 320px;
    padding: 18px 20px;
    border: 1px solid rgba(212, 175, 55, .35);
    border-radius: 12px;
    background: #0b1526;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
    color: #fff;
    font-size: 14px;
    line-height: 1.55;
}

.checknow-consent-notice__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.checknow-consent-notice__btn {
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

.checknow-consent-notice__btn--primary {
    border: 1px solid #d4af37;
    background: #d4af37;
    color: #0b1526;
}

.checknow-consent-notice__btn--ghost {
    border: 1px solid rgba(212, 175, 55, .35);
    background: transparent;
    color: #fff;
}

.checknow-cookie-embed {
    display: grid;
    min-height: 220px;
    place-content: center;
    gap: 12px;
    padding: 24px;
    border: 1px solid rgba(212, 175, 55, .28);
    border-radius: 12px;
    background: #13203a;
    color: #b9c4d6;
    text-align: center;
}

.checknow-cookie-embed p {
    margin: 0;
}

.checknow-cookie-embed button {
    justify-self: center;
    padding: 10px 16px;
    border: 1px solid #d4af37;
    border-radius: 8px;
    background: transparent;
    color: #d4af37;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

@media (max-width: 640px) {
    #cc-main .cm {
        width: calc(100vw - 28px);
    }

    .checknow-consent-notice {
        right: 14px;
        bottom: 88px;
        left: 14px;
        max-width: none;
    }

    body.checknow-mobile-menu-open #cc-main .cm {
        visibility: hidden;
        pointer-events: none;
    }
}
