.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.08);

    background:
        radial-gradient(circle at 10% 0%, rgba(90, 120, 255, 0.12), transparent 35%),
        linear-gradient(135deg, rgba(18, 20, 28, 0.96), rgba(8, 10, 15, 0.98));

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.cookie-consent__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;

    color: #ffffff;

    background: linear-gradient(135deg,
            #4f6bff,
            #6d86ff);

    box-shadow:
        0 12px 30px rgba(79, 107, 255, 0.25);
}

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

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

.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.05);

    border: 1px solid rgba(255, 255, 255, 0.05);
}

.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 16px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

.cookie-btn--main {
    color: #ffffff;

    background: linear-gradient(135deg,
            #4f6bff,
            #6d86ff);

    box-shadow:
        0 8px 25px rgba(79, 107, 255, 0.25);
}

.cookie-btn--main:hover {
    filter: brightness(1.08);
}

.cookie-btn--soft {
    color: #f7f8fb;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.06);
}

.cookie-btn--soft:hover {
    background: rgba(255, 255, 255, 0.12);
}

.cookie-btn--ghost {
    color: rgba(247, 248, 251, 0.8);

    background: transparent;

    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.04);
}

@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%;
    }
}