
/* NOVA STUDIO – Cookie preferences */

.cookie-consent,
.cookie-consent * {
    box-sizing: border-box;
}

.cookie-consent {
    --cc-bg: #071b2d;
    --cc-line: rgba(112, 180, 232, .26);
    --cc-blue: #168ff0;
    --cc-text: #f0f7ff;
    --cc-muted: #b4c8da;
    font-family: Manrope, Inter, Arial, sans-serif;
    color: var(--cc-text);
}

.cookie-consent[hidden],
.cc-overlay[hidden] {
    display: none !important;
}

.cc-banner {
    position: fixed;
    z-index: 10000;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1080px, calc(100% - 28px));
    padding: 23px 26px;
    border: 1px solid var(--cc-line);
    border-radius: 20px;
    background: linear-gradient(125deg, #0b2a43, #061626);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .55);
    display: flex;
    align-items: center;
    gap: 28px;
}

.cc-banner[hidden] {
    display: none !important;
}

.cc-copy {
    flex: 1;
    min-width: 0;
}

.cc-copy h2 {
    font-size: 19px;
    line-height: 1.3;
    margin: 0 0 7px;
    color: #fff;
}

.cc-copy p {
    font-size: 13px;
    line-height: 1.65;
    color: var(--cc-muted);
    margin: 0;
}

.cc-copy a {
    color: #75c8ff;
    text-decoration: underline;
}

.cc-actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cc-btn {
    appearance: none;
    border: 1px solid var(--cc-line);
    border-radius: 999px;
    padding: 12px 17px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
    color: #f4f9ff;
    background: #12334d;
    white-space: nowrap;
    transition: background .15s, transform .15s;
}

.cc-btn:hover {
    background: #205073;
    transform: translateY(-1px);
}

.cc-btn--primary {
    background: var(--cc-blue);
    border-color: var(--cc-blue);
}

.cc-btn--primary:hover {
    background: #047bd7;
}

.cc-btn:focus-visible,
.cc-toggle input:focus-visible + span {
    outline: 3px solid #89d2ff;
    outline-offset: 3px;
}

/* MODAL OVERLAY */

.cc-overlay {
    position: fixed;
    z-index: 10001;
    inset: 0;
    background: rgba(1, 8, 16, .76);
    display: grid;
    place-items: center;
    padding: 16px;
}

/* MODAL */

.cc-modal {
    width: min(610px, 100%);
    max-height: min(90vh, 760px);
    overflow: auto;
    background: #0a2237;
    border: 1px solid var(--cc-line);
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .65);
    padding: 28px;
}

.cc-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.cc-modal h2 {
    font-size: 24px;
    line-height: 1.25;
    margin: 0 0 12px;
    color: #fff;
}

.cc-modal p {
    font-size: 13px;
    line-height: 1.65;
    color: var(--cc-muted);
    margin: 0 0 20px;
}

.cc-close {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0 3px;
}

/* CATEGORIES */

.cc-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 0;
    border-top: 1px solid var(--cc-line);
}

.cc-category h3 {
    font-size: 15px;
    margin: 0 0 5px;
    color: #fff;
}

.cc-category p {
    margin: 0;
    font-size: 12px;
}

.cc-required {
    font-size: 12px;
    color: #7dd1ff;
    white-space: nowrap;
}

/* TOGGLE SWITCH */

.cc-toggle {
    position: relative;
    display: inline-flex;
    flex: none;
    cursor: pointer;
}

.cc-toggle input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.cc-toggle span {
    display: block;
    width: 47px;
    height: 26px;
    border-radius: 20px;
    background: #4c6475;
    position: relative;
    transition: background .2s;
}

.cc-toggle span::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #fff;
    transition: transform .2s;
}

.cc-toggle input:checked + span {
    background: var(--cc-blue);
}

.cc-toggle input:checked + span::after {
    transform: translateX(21px);
}

/* MODAL BUTTONS */

.cc-modal-actions {
    display: flex;
    gap: 9px;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* FOOTER LINK */

.cc-footer-link {
    background: none;
    border: 0;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

/* MOBILE */

@media (max-width: 760px) {
    .cc-banner {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
        bottom: 10px;
        padding: 20px;
    }

    .cc-actions {
        justify-content: stretch;
    }

    .cc-actions .cc-btn {
        flex: 1 1 145px;
    }

    .cc-modal {
        padding: 21px;
    }

    .cc-modal-actions .cc-btn {
        flex: 1 1 160px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cc-btn,
    .cc-toggle span,
    .cc-toggle span::after {
        transition: none;
    }
}

/* Footer cookie settings link */

.footer .cc-footer-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: 1px solid rgba(54, 143, 218, 0.35);
    border-radius: 30px;

    padding: 10px 16px;

    color: #a9c8e0;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;

    white-space: nowrap;
    cursor: pointer;

    transition: all 0.25s ease;
}

.footer .cc-footer-link:hover {
    color: #ffffff;
    border-color: #168ff0;
    background: rgba(22, 143, 240, 0.12);
    border: 1px solid rgba(54, 143, 218, 0.35);
}