/* Styles globaux */ body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; margin: 0; padding: 20px; background: linear-gradient(to right, #f0f2f5, #e2e8f0); color: #333; display: flex; justify-content: center; align-items: center; min-height: 100vh; } /* Container centré */ form { background-color: #fff; padding: 30px 25px; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,0.1); width: 100%; max-width: 400px; box-sizing: border-box; } /* Titres */ h1 { color: #1a202c; border-bottom: 3px solid #63b3ed; padding-bottom: 12px; margin-bottom: 20px; font-weight: 600; text-align: center; } /* Labels et inputs */ label { display: block; margin-bottom: 8px; font-weight: 600; } input[type="text"], input[type="password"] { width: 100%; padding: 10px; border: 1px solid #cbd5e0; border-radius: 6px; box-sizing: border-box; font-size: 1rem; margin-bottom: 15px; } /* Bouton */ button { width: 100%; background-color: #3182ce; color: #fff; padding: 12px; border: none; border-radius: 6px; cursor: pointer; font-size: 1rem; font-weight: 600; transition: background-color 0.3s ease; } button:hover { background-color: #2b6cb0; } /* Lien annuler / autres liens */ a { display: inline-block; margin-top: 10px; color: #3182ce; text-decoration: none; font-weight: 500; text-align: center; width: 100%; } a:hover { text-decoration: underline; } /* Messages d'erreur */ .error { color: #c53030; background-color: #fed7d7; border: 1px solid #f56565; padding: 10px; border-radius: 6px; margin-bottom: 15px; text-align: center; } /* Responsive */ @media (max-width: 480px) { body { padding: 10px; } form { padding: 20px; } }