/* ===== Style "ancien Tailwind" propre et pro, sans framework ===== */

/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: #F4F7FF;                 /* même fond que l’ancien */
  color: #111827;                       /* gris-900 */
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Layout */
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-container { width: 100%; max-width: 525px; }   /* même largeur que l’ancienne */
.login-box {
  background: #fff;
  border: 1px solid #E5E7EB;            /* neutre, pro */
  border-radius: 12px;                   /* rounded-lg */
  padding: 40px;                         /* py-16 px-10 ~ */
  box-shadow:
    0 10px 15px -3px rgba(0,0,0,0.1),
    0 4px 6px -4px rgba(0,0,0,0.1);     /* shadow-xl soft */
}

/* Header */
.login-header {
  text-align: center;
  margin-bottom: 24px;
}
.login-title {
  margin: 0 0 6px 0;
  font-size: 28px;                       /* text-3xl */
  font-weight: 800;                      /* font-extrabold */
  color: #111827;
  letter-spacing: .2px;
}
.login-logo img {
  height: 200px;                          /* discret et aligné */
  margin: 12px auto 0;
  opacity: .97;
}

/* Formulaire */
.login-form { display: grid; gap: 16px; }
.form-group { display: grid; gap: 6px; }
label {
  font-size: 14px;                       /* text-sm */
  color: #374151;                        /* gray-700 */
}

input[type="email"],
input[type="password"] {
  width: 100%;
  height: 44px;
  padding: 10px 14px;
  border: 1px solid #E9EDF4;             /* comme ancien */
  border-radius: 10px;
  background: #FCFDFE;                   /* comme ancien */
  color: #111827;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input::placeholder { color: #9CA3AF; }   /* gray-400 */
input:focus {
  outline: none;
  border-color: #93C5FD;                 /* primary focus doux */
  box-shadow: 0 0 0 3px rgba(147,197,253,.35);
}

/* Actions */
.form-actions { margin-top: 4px; }
.btn-login {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 999px;                   /* bouton pilule comme avant */
  background: #16A34A;                    /* green-600 */
  color: #fff;
  font-weight: 700;                       /* semibold/bold */
  letter-spacing: .3px;
  cursor: pointer;
  transition: filter .15s ease, transform .04s ease;
}
.btn-login:hover { filter: brightness(1.03); }
.btn-login:active { transform: translateY(1px); }

/* Lien superadmin */
.extra-links {
  margin-top: 12px;
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid #F3F4F6;          /* séparateur léger */
}
.extra-links a {
  font-size: 14px;
  color: #6B7280;                         /* gray-500 */
}
.extra-links a:hover { color: #374151; }

/* Réactif */
@media (max-width: 420px){
  .login-box { padding: 28px; border-radius: 10px; }
  .login-title { font-size: 24px; }
}

