.cookie_banner_overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
    z-index: 10000000000000002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    backdrop-filter: blur(2px);
}

.cookie_banner {
    width: 100%;
    max-width: 760px;
    background: #ffffff;
    color: #1f2937;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.cookie_banner_header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.cookie_banner_header h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1.35rem;
    line-height: 1.3;
    font-weight: 700;
}

.cookie_banner_header p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #4b5563;
}

.cookie_banner_header a {
    color: var(--verydarkolive);
    text-decoration: underline;
}

.cookie_banner_form {
    padding: 1.25rem 1.5rem 1.5rem 1.5rem;
}

.cookie_options {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.cookie_option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1rem;
    border: 1px solid #dbe2ea;
    border-radius: 14px;
    background: #f9fafb;
}

.cookie_option_locked {
    background: #f3f4f6;
}

.cookie_option_text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.cookie_option_text strong {
    font-size: 1rem;
    color: #111827;
}

.cookie_option_text span {
    font-size: 0.93rem;
    line-height: 1.5;
    color: #6b7280;
}

.cookie_option_toggle input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    cursor: pointer;
    border: 2px solid #dbe2ea;
}

.cookie_banner_footer {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.cookie_banner_buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cookie_btn {
    appearance: none;
    border: none;
    border-radius: 10px;
    padding: 0.8rem 1.1rem;
    font-size: 0.96rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s ease;
    border-radius: 30px;
}

.cookie_btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie_btn_primary {
    color: #ffffff;
    background-color: #f5821f;
}

.cookie_btn_primary:hover {
    background-color: #327f91;
    color: #ffffff;
}

.cookie_btn_secondary {
    background: #374151;
    color: #ffffff;
}

.cookie_btn_secondary:hover {
    background: #1f2937;
}

.cookie_btn_outline {
    background: #ffffff!important;
    color: #111827!important;
    border: 1px solid #cbd5e1;
}

.cookie_btn_outline:hover {
    background: #f8fafc;
}

.cookie_banner_note {
    margin: 0;
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .cookie_banner {
        border-radius: 14px;
    }

    .cookie_banner_header,
    .cookie_banner_form {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .cookie_option {
        align-items: flex-start;
    }

    .cookie_banner_buttons {
        flex-direction: column;
    }

    .cookie_btn {
        width: 100%;
    }
}

.cookie_banner .cookie_option_toggle input[type="checkbox"] {
    -webkit-appearance: checkbox;
    appearance: auto;
    width: 1.2rem;
    height: 1.2rem;
    margin: 0;
    padding: 0;
    opacity: 1;
    accent-color: #f5821f;
}

.cookie_banner .cookie_option_locked input[type="checkbox"] {
    accent-color: #d1d5db;
    opacity: 1;
}

.cookie_banner .cookie_option_toggle input[type="checkbox"]:disabled {
    opacity: 1;
    cursor: not-allowed;
}