/**
 * Cookie Consent Banner Styles
 * Simple accept-only banner
 */

/* Banner - Fixed at bottom */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: var(--surface-color, #1a1f2e);
    border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    padding: 1rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-banner-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 280px;
}

.cookie-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cookie-banner-text p {
    margin: 0;
    color: var(--text-secondary, rgba(255, 255, 255, 0.8));
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-link {
    color: var(--primary-color, #6366f1);
    text-decoration: underline;
}

.cookie-link:hover {
    color: var(--primary-hover, #818cf8);
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Accept Button */
.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--primary-color, #6366f1);
    color: white;
}

.cookie-btn-accept:hover {
    background: var(--primary-hover, #818cf8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Mobile responsive */
@media (max-width: 640px) {
    .cookie-banner {
        padding: 1rem;
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cookie-banner-text {
        flex-direction: column;
    }

    .cookie-banner-actions {
        justify-content: center;
    }

    .cookie-btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
}

/* Light theme adjustments */
[data-theme="light"] .cookie-banner {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .cookie-banner-text p {
    color: rgba(0, 0, 0, 0.7);
}
