/* === MOT DE PASSE OUBLIÉ - STYLES === */

body {
    background-color: #f5f5f5;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.container {
    max-width: 450px;
    margin: 0 auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo img {
    height: 80px;
}

.test-badge {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 8px 12px;
    border-radius: 5px;
    text-align: center;
    font-size: 12px;
    margin-bottom: 20px;
    display: none; /* Masqué par défaut */
}

h1 {
    color: #007ca1;
    text-align: center;
    font-size: 1.6em;
    margin-bottom: 20px;
    font-weight: bold;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="email"]:focus {
    outline: none;
    border-color: #007ca1;
    box-shadow: 0 0 5px rgba(0, 124, 161, 0.3);
}

.btn {
    width: 100%;
    background: linear-gradient(135deg, #007ca1, #0056b3);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 124, 161, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 124, 161, 0.4);
    background: linear-gradient(135deg, #005f7a, #004085);
}

.message {
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    border: none;
}

.message.success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.message.error {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.message.warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.message a {
    color: white;
    text-decoration: underline;
}

.message a:hover {
    color: #f8f9fa;
}

.back-links {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.back-links a {
    color: #007ca1;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
}

.back-links a:hover {
    text-decoration: underline;
}

.info-text {
    color: #666;
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* ✅ NOUVEAU : Info box pour les instructions */
.info-box {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 4px solid #007ca1;
}

.info-box h3 {
    color: #007ca1;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.info-box p {
    margin-bottom: 10px;
    color: #555;
    font-size: 14px;
}

.info-box p:last-child {
    margin-bottom: 0;
}
