/* =========================================================
   ClicTaxis – Tunnel d'inscription
   Compatible mobile / desktop
   ========================================================= */

/* Reset léger */
* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

/* ---------------------------------------------------------
   Thème (bleu plus doux)
--------------------------------------------------------- */
:root{
  --brand: #0b6fbf;          /* bleu principal */
  --brand-dark: #075a9a;     /* hover */
  --brand-soft: rgba(11,111,191,0.12);

  --bg: #f5f6f8;
  --text: #2c2c2c;
  --muted: #6a6a6a;

  --border: #d0d3d8;
  --card: #ffffff;
  --shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Base */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

/* Container principal */
.container {
  max-width: 520px;
  margin: 40px auto;
  padding: 0 16px;
}

/* Card */
.card {
  background: var(--card);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

/* Logo */
.logo {
  text-align: center;
  margin-bottom: 18px;
}

.logo img {
  max-width: 160px;
  height: auto;
}

/* Titres */
h1 {
  text-align: center;
  font-size: 22px;
  margin: 0 0 12px 0;
  color: var(--brand);
  text-transform: uppercase;     /* ✅ Majuscules */
  letter-spacing: 0.6px;
}

.intro {
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
}

/* Champs */
.field { margin-bottom: 18px; }

label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: #2a2a2a;
}

input[type="email"],
input[type="text"],
input[type="password"],
input[type="number"],
select {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.06s;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

/* Boutons */
button { cursor: pointer; }

.btn-primary {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  background-color: var(--brand);
  color: #ffffff;
  transition: background-color 0.2s, transform 0.08s, box-shadow 0.2s;
  box-shadow: 0 10px 18px rgba(11,111,191,0.18);
}

.btn-primary:hover { background-color: var(--brand-dark); }

.btn-primary:active { transform: scale(0.99); }

/* Alerts */
.alert {
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 18px;
}

.alert-error {
  background-color: #fdecea;
  border: 1px solid #f5c2c0;
  color: #a32020;
}

.alert-success {
  background-color: #edf7ed;
  border: 1px solid #b7e1b7;
  color: #1b5e20;
}

/* Textes secondaires */
.hint {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}

.muted {
  font-size: 13px;
  color: #7a7a7a;
  text-align: center;
}

/* Footer */
.footer {
  margin-top: 18px;
  font-size: 12px;
  color: #8a8a8a;
  text-align: center;
}

/* Étapes / progression (pour plus tard) */
.step-indicator {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 18px;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d0d3d8;
}

.step-dot.active { background-color: var(--brand); }

/* Responsive */
@media (max-width: 480px) {
  .card { padding: 22px 18px; }
  h1 { font-size: 20px; }
}

/* Disabled */
.btn-primary:disabled {
  background-color: #9dbfdf;
  cursor: not-allowed;
  opacity: 0.9;
  box-shadow: none;
  transform: none;
}

/* Anti CSS externe qui pourrait masquer les formulaires */
form { display: block !important; }
.field { display: block !important; }
label { display: block !important; }
input, select, button, textarea {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}