/* ===== COOKIE CONSENT BANNER ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg, #1a1a2e);
    border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    padding: 16px 24px;
    z-index: 10000;
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

.cookie-consent.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 280px;
    color: var(--text-secondary, #b0b0c0);
    font-size: 14px;
    line-height: 1.5;
}

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

.cookie-consent-text a:hover {
    color: var(--accent-color, #764ba2);
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--primary-color, #667eea), var(--accent-color, #764ba2));
    color: #fff;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--text-secondary, #b0b0c0);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.2));
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary, #ffffff);
}

/* Light theme support */
[data-theme="light"] .cookie-consent {
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .cookie-consent-text {
    color: #555;
}

[data-theme="light"] .cookie-btn-decline {
    color: #555;
    border-color: #ddd;
}

[data-theme="light"] .cookie-btn-decline:hover {
    background: #f5f5f5;
    color: #333;
}

@media (max-width: 600px) {
    .cookie-consent {
        padding: 14px 16px;
    }

    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent-actions {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        padding: 10px 20px;
        flex: 1;
    }
}
