/**
 * Styles pour la bannière de consentement RGPD
 */

.rgpd-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
    border-top: 3px solid #F97316;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.rgpd-banner-visible {
    transform: translateY(0);
}

.rgpd-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.rgpd-banner-text {
    flex: 1;
    min-width: 300px;
}

.rgpd-banner-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rgpd-banner-text p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 8px;
}

.rgpd-banner-links {
    font-size: 0.8125rem;
    margin-top: 12px;
}

.rgpd-banner-links a {
    color: #F97316;
    text-decoration: underline;
    transition: color 0.2s;
}

.rgpd-banner-links a:hover {
    color: #EA580C;
}

.rgpd-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.rgpd-btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
    font-family: inherit;
}

.rgpd-btn-accept {
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: white;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.rgpd-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}

.rgpd-btn-accept:active {
    transform: translateY(0);
}

.rgpd-btn-refuse {
    background: white;
    color: #4b5563;
    border: 2px solid #d1d5db;
}

.rgpd-btn-refuse:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #1f2937;
}

/* Responsive */
@media (max-width: 768px) {
    .rgpd-banner {
        padding: 16px;
    }

    .rgpd-banner-content {
        flex-direction: column;
        align-items: stretch;
    }

    .rgpd-banner-actions {
        flex-direction: column;
        width: 100%;
    }

    .rgpd-btn {
        width: 100%;
        text-align: center;
    }

    .rgpd-banner-text h3 {
        font-size: 1.125rem;
    }

    .rgpd-banner-text p {
        font-size: 0.875rem;
    }
}

/* Animation d'apparition */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.rgpd-banner-visible {
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

