﻿.cookie-consent {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2200;
    max-width: 980px;
    margin: 0 auto;
    color: #f7f8fb;
}

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

.cookie-consent__content {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 4% 0%, rgba(255, 199, 92, 0.20), transparent 32%),
        linear-gradient(135deg, rgba(25, 28, 36, 0.92), rgba(10, 12, 18, 0.94));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(24px) saturate(1.45);
    -webkit-backdrop-filter: blur(24px) saturate(1.45);
}

.cookie-consent__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #151008;
    background: linear-gradient(135deg, #fff8df, #f1b94f);
    box-shadow: 0 16px 40px rgba(241, 185, 79, 0.22);
}

.cookie-consent__copy strong {
    display: block;
    font-weight: 950;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.cookie-consent__copy p {
    color: rgba(235, 240, 248, 0.72);
    font-size: 0.9rem;
    margin: 0;
}

.cookie-consent__settings {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    color: rgba(245, 247, 252, 0.84);
    font-size: 0.85rem;
}

.cookie-consent__settings label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
}

.cookie-consent__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-btn {
    border: 0;
    border-radius: 14px;
    min-height: 42px;
    padding: 0 14px;
    font-weight: 900;
    white-space: nowrap;
}

.cookie-btn--main {
    color: #08090c;
    background: linear-gradient(135deg, #ffffff, #f4d58b);
}

.cookie-btn--soft {
    color: #f7f8fb;
    background: rgba(255, 255, 255, 0.1);
}

.cookie-btn--ghost {
    color: rgba(247, 248, 251, 0.78);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 760px) {
    .cookie-consent {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .cookie-consent__content {
        grid-template-columns: 1fr;
    }

    .cookie-consent__actions,
    .cookie-btn {
        width: 100%;
    }
}
