/* ============================================
   CRI — Envoi Invitation / MDP · Identité RodForm
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Calibri', 'Segoe UI', 'Nunito', Arial, sans-serif;
  background: #f1f5f9;
  color: #0f172a;
  min-height: 100vh;
}

.inscription { max-width: 560px; margin: 36px auto; padding: 0 20px; }

.inscription h1 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.inscription h1::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 20px;
  background: linear-gradient(180deg, #253451 0%, #4a7ab5 100%);
  border-radius: 2px;
}

.inscription p[style*="color: red"] {
  color: #dc2626 !important;
  font-size: 13px;
  padding: 10px 13px;
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.18);
  border-radius: 6px;
  margin-bottom: 14px;
}

.inscription p[style*="color: green"] {
  color: #16a34a !important;
  font-size: 13px;
  padding: 10px 13px;
  background: rgba(22,163,74,0.07);
  border: 1px solid rgba(22,163,74,0.18);
  border-radius: 6px;
  margin-bottom: 14px;
}

.inscription form {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(15,23,42,0.04), 0 4px 10px rgba(15,23,42,0.03);
}

.inscription label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.inscription input[type="email"] {
  width: 100%;
  height: 36px;
  padding: 0 13px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-family: 'Calibri', 'Segoe UI', sans-serif;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  margin-bottom: 14px;
}

.inscription input[type="email"]::placeholder { color: #94a3b8; }

.inscription input[type="email"]:focus {
  border-color: #253451;
  box-shadow: 0 0 0 3px rgba(37, 52, 81, 0.10);
}

.inscription input[type="submit"] {
  padding: 9px 24px;
  background: linear-gradient(45deg, #253451 0%, #4a7ab5 100%);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-family: 'Calibri', 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow 0.15s;
}

.inscription input[type="submit"]:hover {
  background: linear-gradient(45deg, #1a2640 0%, #3a62a0 100%);
  box-shadow: 0 6px 12px rgba(37, 52, 81, 0.22);
}

@media (max-width: 600px) {
  .inscription { margin: 22px auto; padding: 0 14px; }
}
