/* Styles pour la page légale */
body {
    background-color: var(--ct-auth-bg-alt);
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body.authentication-bg-pattern {
    background-image: var(--pw-auth-bg-image, url('../images/bg-material.png'));
}

.legal-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    max-width: 900px;
    overflow: hidden;
}

.legal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.legal-header .logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.legal-header .logo-section img {
    height: 80px;
    margin-right: 1rem;
}

.legal-header .logo-section .site-title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
}

.legal-header .page-title {
    font-size: 24px;
    margin-top: 1rem;
    opacity: 0.9;
}

.legal-content {
    padding: 2rem;
    line-height: 1.6;
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section h2 {
    color: #667eea;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.legal-section h3 {
    color: #764ba2;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section p {
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-section ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.legal-footer {
    background: #f8f9fa;
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid #dee2e6;
}

.btn-language {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-language:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-back {
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-back:hover {
    color: white;
    background: #5a6268;
    transform: translateY(-2px);
}

.language-switcher {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.last-updated {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 1rem;
}
