/* input(8,19): run-time error CSS1035: Expected colon, found '{' */

/* Main cookie banner */

.cookie-consent-banner {
    z-index: 2147483646;
    overflow-y: visible;
    overflow-x:visible;
    .modal-dialog {
        max-width: 650px;
        width: calc(100% - 30px);
        width: 100% !important;
        margin: 3.75rem auto !important;
    }

    .cookie-consent-content {
        border: none;
        border-radius: 12px;
        overflow: hidden;
        background-color: #d2e0f7;
        margin: 0 auto;
        z-index: 99999;
    }
}

.cookie-consent-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
}

.cookie-consent-overlay {
    position: relative;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2147483645;
   
}

.cookie-brand {
    margin-bottom: 27px;
}

.cookie-brand-name {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -1px;
}

.cookie-consent-title {
    font-size: clamp(25px, 3.1vw, 32px);
    line-height: 1.28;
    font-weight: 400;
    margin: 0 0 12px;
    max-width: 1150px;
}

.cookie-consent-description {
    font-size: 1.10em;
    font-size: 1.10em;
    line-height: 1.5;
    margin: 0;
    overflow-wrap: anywhere;
}

.cookie-policy-link {
    display: inline-block;
    color: #628fee;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid #628fee;
    margin-left: 8px;
}

    .cookie-policy-link:hover,
    .cookie-policy-link:focus {
        color: #d9e8ff;
        border-bottom-color: #d9e8ff;
    }

.cookie-consent-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 48px;
    border-top: 1px solid #555;
    margin-top: 30px;
    padding: 19px 0 10px;
}

    .cookie-consent-footer button,
    .cookie-preferences-footer button {
        font: inherit;
        cursor: pointer;
    }

.cookie-customize-btn {
    color: #628fee;
    background: transparent;
    border: 0;
    font-size: 22px;
    padding: 12px 0;
}

    .cookie-customize-btn:hover {
        text-decoration: underline;
    }

.cookie-accept-btn {
    background: #2869bd;
    color: #fff;
    border: 1px solid #2869bd;
    border-radius: 50px;
    font-size: 21px;
    padding: 19px 30px;
    min-height: 64px;
    transition: background-color 0.2s ease;
}

    .cookie-accept-btn:hover {
        background: #1d56a0;
        border-color: #1d56a0;
    }

.cookie-consent-banner button:focus-visible,
.cookie-preferences-panel button:focus-visible,
.cookie-toggle input:focus-visible + .cookie-toggle-slider {
    outline: 3px solid #80b8ff;
    outline-offset: 3px;
}

/* Preferences panel */
.cookie-preferences-panel {
    z-index: 10000000000;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 0%);
    width: min(650px, calc(100% - 32px));
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    color: #222;
    border-radius: 10px;
    padding: 26px;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.4);
    font-family: Arial, Helvetica, sans-serif;
}

.cookie-preferences-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

    .cookie-preferences-header h2 {
        font-size: 25px;
        margin: 0;
    }

.cookie-close-btn {
    background: transparent;
    border: 0;
    font-size: 32px;
    line-height: 1;
    color: #333;
}

.cookie-preferences-intro {
    margin: 16px 0;
    line-height: 1.5;
}

.cookie-preference-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    border-top: 1px solid #ddd;
}

    .cookie-preference-item h3 {
        font-size: 17px;
        margin: 0 0 6px;
    }

    .cookie-preference-item p {
        font-size: 14px;
        line-height: 1.4;
        color: #555;
        margin: 0;
    }

/* Toggle switches */
.cookie-toggle {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    width: 48px;
    height: 26px;
    pointer-events: auto !important;
}

    .cookie-toggle input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.cookie-toggle-slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: #aaa;
    border-radius: 26px;
    transition: background-color 0.2s;
}

    .cookie-toggle-slider::before {
        content: "";
        position: absolute;
        width: 20px;
        height: 20px;
        left: 3px;
        top: 3px;
        background: #fff;
        border-radius: 50%;
        transition: transform 0.2s;
    }

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: #2869bd;
}

    .cookie-toggle input:checked + .cookie-toggle-slider::before {
        transform: translateX(22px);
    }

.cookie-toggle input:disabled + .cookie-toggle-slider {
    cursor: not-allowed;
    opacity: 0.7;
}

.cookie-preferences-footer {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 8px;
}

.cookie-secondary-btn {
    background: #fff;
    color: #222;
    border: 1px solid #777;
    border-radius: 30px;
    padding: 12px 18px;
    pointer-events:auto !important;
}

    .cookie-secondary-btn:hover {
        background: #f1f1f1;
    }

/* Mobile responsive */
@media (max-width: 767.98px) {
    .cookie-consent-banner {
        padding: 24px 18px 0;
        max-height: 90vh;
        overflow-y: auto;
    }

    .cookie-brand {
        margin-bottom: 18px;
    }

    .cookie-brand-name {
        font-size: 25px;
    }

    .cookie-consent-title {
        font-size: 27px;
        line-height: 1.3;
    }

    .cookie-consent-description {
        font-size: 15px;
        line-height: 1.55;
    }

    .cookie-consent-footer {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 10px;
        margin-top: 22px;
        padding: 16px 0 18px;
    }

    .cookie-customize-btn {
        font-size: 17px;
        padding: 12px;
    }

    .cookie-accept-btn {
        font-size: 17px;
        min-height: 52px;
        padding: 13px 20px;
        width: 100%;
    }

    .cookie-preferences-panel {
        padding: 20px 16px;
    }

    .cookie-preferences-header h2 {
        font-size: 21px;
    }

    .cookie-preference-item {
        gap: 12px;
    }

    .cookie-preferences-footer {
        flex-direction: column;
    }

        .cookie-preferences-footer button {
            width: 100%;
        }
}
body.modal-open{
    overflow:auto !important;
    padding:0px !important;
}


#rejectOptionalCookiesBtn {
    display: none !important;
}