.cookie-banner {
    position: fixed !important;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: rgba(10, 22, 40, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(74, 144, 226, 0.35);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5);
    animation: cookieSlideUp 0.35s ease-out;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.cookie-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
}

/* --- Compact --- */
.cookie-banner__compact {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cookie-banner__text-block {
    flex: 1;
    min-width: 220px;
}

.cookie-banner__title {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    font-size: 0.9rem;
    color: #fff;
}

.cookie-banner__body {
    margin: 0;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
}

.cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* --- Details --- */
.cookie-banner__details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cookie-banner__details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.cookie-banner__actions--details {
    justify-content: flex-end;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Categories --- */
.cookie-category {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 6px;
}

.cookie-category__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.cookie-category__desc {
    margin: 2px 0 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
    line-height: 1.4;
}

.cookie-category__items {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-item {
    display: flex;
    gap: 8px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.cookie-item__name {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    min-width: 140px;
    flex-shrink: 0;
}

/* --- Animation --- */
@keyframes cookieSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* --- Mobile --- */
@media (max-width: 599px) {
    .cookie-banner__compact {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner__actions {
        justify-content: center;
    }

    .cookie-item {
        flex-direction: column;
        gap: 1px;
    }

    .cookie-item__name {
        min-width: unset;
    }

    .cookie-banner__actions--details {
        justify-content: center;
    }
}
