.cookie-consent-root {
    position: relative;
    z-index: 1080;
}

.cookie-consent-banner,
.cookie-consent-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    background: rgba(8, 6, 14, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
}

.cookie-consent-banner__inner,
.cookie-consent-panel__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.cookie-consent-title {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.cookie-consent-text {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 1rem;
}

.cookie-consent-text a {
    color: var(--bs-primary, #d4a843);
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.cookie-consent-actions--panel {
    margin-top: 1.25rem;
}

.cookie-consent-btn {
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.7rem 1.15rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.cookie-consent-btn--primary {
    background: var(--bs-primary, #b8860b);
    color: #fff;
}

.cookie-consent-btn--primary:hover {
    background: #d4a843;
}

.cookie-consent-btn--secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.cookie-consent-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.cookie-consent-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.9);
}

.cookie-consent-btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.cookie-consent-option {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    margin-bottom: 0.75rem;
}

.cookie-consent-option p {
    margin: 0.45rem 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.86rem;
    line-height: 1.5;
}

.cookie-consent-option__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #fff;
}

.cookie-consent-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cookie-consent-toggle {
    width: 18px;
    height: 18px;
    accent-color: var(--bs-primary, #b8860b);
    cursor: pointer;
}

.cookie-consent-reopen {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 1070;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(8, 6, 14, 0.92);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}

.cookie-consent-reopen:hover {
    color: #fff;
    border-color: rgba(184, 134, 11, 0.55);
}

@media (max-width: 767.98px) {
    .cookie-consent-actions {
        flex-direction: column;
    }

    .cookie-consent-btn {
        width: 100%;
        text-align: center;
    }

    .cookie-consent-reopen {
        left: 0.75rem;
        bottom: 0.75rem;
    }
}
