.cookie-banner {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: min(420px, calc(100vw - 24px));
    background: rgba(15, 23, 42, 0.96);
    color: #e2e8f0;
    border: 1px solid rgba(125, 211, 252, 0.22);
    border-radius: 20px;
    box-shadow: 0 18px 46px rgba(2, 8, 23, 0.4);
    padding: 18px;
    z-index: 9999;
    backdrop-filter: blur(16px);
}

.cookie-banner__text strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
}

.cookie-banner__text p {
    margin: 0 0 8px;
    line-height: 1.55;
    color: #cbd5e1;
}

.cookie-banner__text a,
.cookie-help a {
    color: #7dd3fc;
}

.cookie-banner__actions,
.cookie-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.cookie-btn {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
}

.cookie-btn--primary {
    background: #38bdf8;
    color: #082f49;
}

.cookie-btn--secondary {
    background: #1e293b;
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.cookie-btn--ghost {
    background: transparent;
    color: #e2e8f0;
    border: 1px solid rgba(125, 211, 252, 0.22);
}

.cookie-manage-button {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9998;
    border: 1px solid rgba(125, 211, 252, 0.24);
    background: rgba(15, 23, 42, 0.94);
    color: #e2e8f0;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(2, 8, 23, 0.28);
}

.cookie-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 8, 23, 0.66);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 10000;
}

.cookie-modal {
    width: min(680px, 100%);
    background: #fff;
    color: #0f172a;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.3);
    padding: 22px;
}

.cookie-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.cookie-modal__header h3 {
    margin: 0;
}

.cookie-modal__close {
    border: 0;
    background: transparent;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    color: #475569;
}

.cookie-modal__body p {
    color: #475569;
    line-height: 1.6;
}

.cookie-preference {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 14px 16px;
    margin: 12px 0;
}

.cookie-preference strong {
    display: block;
    margin-bottom: 4px;
}

.cookie-preference p {
    margin: 0;
}

.cookie-preference--toggle input {
    width: 20px;
    height: 20px;
}

.cookie-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.82rem;
    font-weight: 700;
}

.cookie-badge--required {
    background: #e0f2fe;
    color: #075985;
}

.cookie-help {
    margin-top: 12px;
    font-size: 0.95rem;
}

@media (max-width: 700px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
    }

    .cookie-manage-button {
        left: 12px;
        bottom: 12px;
    }

    .cookie-preference {
        flex-direction: column;
        align-items: flex-start;
    }
}
