/**
 * GDPR Compliance Bar Styles
 * Bottom bar notification for first-time users
 */

.gdpr-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-top: 2px solid #10b981;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    animation: slideUpGdpr 0.4s ease-out;
    transform: translateY(0);
    opacity: 1;
}

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

.gdpr-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.gdpr-bar-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #e2e8f0;
    font-size: 0.875rem;
    line-height: 1.5;
    flex: 1;
}

.gdpr-bar-text i {
    color: #10b981;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.gdpr-link {
    color: #60a5fa;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.gdpr-link:hover {
    color: #93c5fd;
}

.gdpr-accept-btn {
    background: #10b981;
    color: white;
    padding: 0.65rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.gdpr-accept-btn:hover {
    background: #059669;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}

.gdpr-accept-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
    .gdpr-bar-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        gap: 1rem;
    }

    .gdpr-bar-text {
        font-size: 0.813rem;
    }

    .gdpr-accept-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Ensure bar doesn't overlap with main content */
body:has(.gdpr-bar[style*="display: block"]),
body:has(.gdpr-bar:not([style*="display: none"])) {
    padding-bottom: env(safe-area-inset-bottom, 0);
}

/* Light theme support */
.light-theme .gdpr-bar {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-top-color: #10b981;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.light-theme .gdpr-bar-text {
    color: #334155;
}

.light-theme .gdpr-bar-text i {
    color: #059669;
}

.light-theme .gdpr-link {
    color: #2563eb;
}

.light-theme .gdpr-link:hover {
    color: #1d4ed8;
}
