/*
 * login.css — MyParVilla
 * CSS dédié aux pages publiques : index.html, reset-password.html, inscription-mdm.html
 * Autonome — n'hérite pas de dashboard.css
 * Étape migration : 1
 */

/* ─── Reset minimal ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

/* ─── Variables ─────────────────────────────────────────────────────────── */
:root {
  --color-primary:      #0077b6;
  --color-primary-dark: #005f91;
  --color-success:      #4CAF50;
  --color-border:       #e0e4ea;
  --color-text:         #1a1a2e;
}

/* ─── Page ──────────────────────────────────────────────────────────────── */
body {
  font-family: Arial, sans-serif;
  background: #f2f2f2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
}

/* ─── Header ────────────────────────────────────────────────────────────── */
header {
  text-align: center;
  margin-bottom: 2rem;
}
.logo {
  width: 200px;
  margin-bottom: 1rem;
}
header h1 {
  font-size: 2.5rem;
  margin: 0;
}
header p {
  font-size: 1.2rem;
  color: #2a4950;
}

/* ─── Boîte login ───────────────────────────────────────────────────────── */
.login-box {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 2rem;
  border-radius: 1rem;
  width: 90%;
  max-width: 400px;
}
.login-box h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #2a4950;
}
.login-box input {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 14px;
}
.login-box button {
  width: 100%;
  padding: 0.75rem;
  background: var(--color-success);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
}
.login-box button:hover { background: #45a049; }

.login-box .link { text-align: center; margin-top: 1rem; }
.login-box .link a { color: #0077cc; text-decoration: none; }
.login-box .link a:hover { text-decoration: underline; }
