/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 1rem;
    background: var(--card-bg, #fff);
    border-top: 1px solid var(--border-color, #e5e7eb);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.cookie-consent-banner.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-consent-text {
    flex: 1;
    min-width: 280px;
    font-size: 0.9rem;
    color: var(--text-color, #374151);
    line-height: 1.5;
}

.cookie-consent-text a {
    color: var(--accent, #6366f1);
    text-decoration: underline;
}

.cookie-consent-text a:hover {
    text-decoration: none;
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-consent-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.15s ease;
    border: none;
}

.cookie-consent-btn--accept {
    background: var(--accent, #6366f1);
    color: #fff;
}

.cookie-consent-btn--accept:hover {
    filter: brightness(1.1);
}

.cookie-consent-btn--decline {
    background: transparent;
    color: var(--text-color-muted, #6b7280);
    border: 1px solid var(--border-color, #e5e7eb);
}

.cookie-consent-btn--decline:hover {
    background: var(--bg-alt, #f3f4f6);
}

/* Dark mode */
[data-theme="dark"] .cookie-consent-banner {
    background: var(--card-bg-dark, #1f2937);
    border-color: var(--border-color-dark, #374151);
}

[data-theme="dark"] .cookie-consent-text {
    color: var(--text-color-dark, #e5e7eb);
}

[data-theme="dark"] .cookie-consent-btn--decline {
    color: var(--text-color-muted-dark, #9ca3af);
    border-color: var(--border-color-dark, #374151);
}

[data-theme="dark"] .cookie-consent-btn--decline:hover {
    background: var(--bg-alt-dark, #374151);
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-consent-btn {
        flex: 1;
        max-width: 150px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .cookie-consent-banner {
        transition: none;
    }
}
