/* ══════════ COOKIE BANNER ═══════════ */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 420px;
    max-width: calc(100vw - 48px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cookie-banner--hidden {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner__header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid #eee;
}

.cookie-banner__title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.cookie-banner__text {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.cookie-banner__text a {
    color: #1a56c4;
    text-decoration: none;
}

.cookie-banner__text a:hover {
    text-decoration: underline;
}

.cookie-banner__body {
    padding: 16px 24px;
    max-height: 400px;
    overflow-y: auto;
}

.cookie-type {
    margin-bottom: 16px;
}

.cookie-type:last-child {
    margin-bottom: 0;
}

.cookie-type__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.cookie-type__checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
    accent-color: #1a56c4;
}

.cookie-type__checkbox:disabled {
    background: #e8f0fe;
    border-color: #1a56c4;
    cursor: not-allowed;
}

.cookie-type__label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    flex: 1;
}

.cookie-type__count {
    font-size: 13px;
    color: #999;
    font-weight: 400;
}

.cookie-type__show {
    font-size: 13px;
    color: #1a56c4;
    cursor: pointer;
    font-weight: 500;
}

.cookie-type__show:hover {
    text-decoration: underline;
}

.cookie-type__description {
    font-size: 13px;
    color: #888;
    line-height: 1.4;
    padding-left: 30px;
}

.cookie-banner__footer {
    padding: 16px 24px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.cookie-btn--primary {
    background: #1a56c4;
    color: #fff;
}

.cookie-btn--primary:hover {
    background: #1447a8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 86, 196, 0.3);
}

.cookie-btn--secondary {
    background: #f0f0f0;
    color: #333;
}

.cookie-btn--secondary:hover {
    background: #e0e0e0;
}

/* ═════════ RESPONSIVE ══════════ */
@media (max-width: 480px) {
    .cookie-banner {
        right: 12px;
        left: 12px;
        width: auto;
        bottom: 12px;
    }

    .cookie-banner__footer {
        flex-direction: column;
    }

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