/* Novus Loyalty cookie consent banner, preference modal and reopen tab */

.novus-cc-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999999;
    background: #0d2b4e;
    color: #f2f6fb;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.25);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    font-family: inherit;
}
.novus-cc-banner.novus-cc-visible {
    transform: translateY(0);
}
.novus-cc-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}
.novus-cc-text {
    flex: 1 1 480px;
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}
.novus-cc-text a {
    color: #7ec4ff;
    text-decoration: underline;
}
.novus-cc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 0 0 auto;
}
.novus-cc-btn {
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 6px;
    border: 1px solid transparent;
    white-space: nowrap;
}
.novus-cc-btn-solid {
    background: #006bc0;
    color: #fff;
}
.novus-cc-btn-solid:hover {
    background: #0059a3;
}
.novus-cc-btn-outline {
    background: transparent;
    color: #f2f6fb;
    border-color: #6f8ba8;
}
.novus-cc-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}
.novus-cc-btn-link {
    background: transparent;
    color: #cfe3fa;
    text-decoration: underline;
    padding: 10px 6px;
}

.novus-cc-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999999999;
    background: rgba(6, 20, 37, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.novus-cc-modal-overlay.novus-cc-visible {
    display: flex;
}
.novus-cc-modal {
    position: relative;
    background: #fff;
    color: #1c2a3a;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 10px;
    padding: 32px 28px 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.novus-cc-modal h2 {
    margin: 0 0 12px;
    font-size: 20px;
    color: #0d2b4e;
}
.novus-cc-modal-intro {
    font-size: 13.5px;
    line-height: 1.55;
    color: #45566b;
    margin: 0 0 20px;
}
.novus-cc-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #7a8a9c;
}
.novus-cc-modal-close:hover {
    color: #1c2a3a;
}
.novus-cc-category {
    border-top: 1px solid #e6ebf1;
    padding: 14px 0;
}
.novus-cc-category:last-of-type {
    border-bottom: 1px solid #e6ebf1;
}
.novus-cc-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 15px;
    color: #0d2b4e;
}
.novus-cc-category p {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #55647a;
}
.novus-cc-modal .novus-cc-actions {
    margin-top: 22px;
    justify-content: flex-end;
}
.novus-cc-modal .novus-cc-btn-outline {
    color: #0d2b4e;
    border-color: #b7c4d4;
}
.novus-cc-modal .novus-cc-btn-outline:hover {
    background: #f0f4f9;
}

.novus-cc-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    flex: 0 0 auto;
}
.novus-cc-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.novus-cc-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #c7d1dd;
    border-radius: 24px;
    transition: 0.2s;
}
.novus-cc-slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.2s;
}
.novus-cc-switch input:checked + .novus-cc-slider {
    background: #006bc0;
}
.novus-cc-switch input:checked + .novus-cc-slider::before {
    transform: translateX(18px);
}
.novus-cc-switch-disabled .novus-cc-slider {
    cursor: not-allowed;
    opacity: 0.7;
}

.novus-cc-reopen {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 999999998;
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: #0d2b4e;
    color: #f2f6fb;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.novus-cc-reopen.novus-cc-visible {
    display: inline-flex;
}
.novus-cc-reopen:hover {
    background: #123a67;
}
.novus-cc-reopen svg {
    display: block;
}

@media (max-width: 640px) {
    .novus-cc-banner-inner {
        padding: 16px;
    }
    .novus-cc-actions {
        width: 100%;
    }
    .novus-cc-actions .novus-cc-btn {
        flex: 1 1 auto;
        text-align: center;
    }
    .novus-cc-reopen {
        left: 12px;
        bottom: 12px;
        width: 36px;
        height: 36px;
    }
}
