/* Pages d'authentification FixPro : connexion, creation de compte,
   mot de passe oublie. Mobile d'abord, mise en page ordinateur en bas. */
  * { box-sizing: border-box; }
  :root {
    --fl-blue: #2563EB;
    --fl-blue-dark: #1E3A8A;
    --fl-blue-ink: #0F2B8C;
    --fl-blue-light: #60A5FA;
    --fl-green: #22C55E;
    --fl-ink: #0F172A;
    --fl-slate: #64748B;
    --fl-line: #E2E8F0;
    --fl-card: #F0F6FF;
  }
  .fl-page { min-height: 100dvh; background: #0F2B8C; display: flex; flex-direction: column; align-items: center; }
  .fl-hero {
    width: 100%;
    background:
      radial-gradient(ellipse at 120% -20%, rgba(255,255,255,0.08) 0%, transparent 45%),
      radial-gradient(ellipse at -20% 30%, rgba(255,255,255,0.06) 0%, transparent 35%),
      linear-gradient(135deg, #1E3A8A 0%, #0F2B8C 100%);
    color: #fff; position: relative; padding: 32px 24px 70px; text-align: center;
    border-radius: 0 0 50px 50px;
  }
  .fl-hero-inner { position: relative; z-index: 1; }
  /* Logo officiel FixPro (version blanche sur le fond bleu). */
  .fl-logo { display: inline-flex; margin: 0 0 12px; line-height: 0; }
  .fl-logo img { height: 40px; width: auto; display: block; }
  .fl-hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; margin: 0 0 6px; }
  .fl-hero p { margin: 0; font-size: 14px; opacity: .9; line-height: 1.35; }
  .fl-back { position: absolute; top: 16px; left: 16px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; backdrop-filter: blur(4px); }
  .fl-back svg { width: 20px; height: 20px; }

  .fl-content {
    width: 100%; max-width: 520px; margin: -46px 0 20px; padding: 24px 24px 12px;
    background: #fff; position: relative; z-index: 1;
    border-radius: 48px;
    box-shadow: 0 -12px 40px rgba(0,0,0,0.08), 0 12px 40px rgba(0,0,0,0.06);
    flex: 1; display: flex; flex-direction: column;
  }
  .fl-form { display: flex; flex-direction: column; gap: 16px; }
  .fl-fg { display: flex; flex-direction: column; gap: 6px; }
  .fl-label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--fl-ink); }
  .fl-label svg { color: var(--fl-blue); }
  .fl-input-wrap { position: relative; }
  .fl-input {
    width: 100%; height: 52px; border: 1px solid #DEE5F0; border-radius: 14px;
    padding: 0 48px; font-size: 15px; color: var(--fl-ink); background: #fff; outline: none; transition: border-color .15s, box-shadow .15s;
  }
  .fl-input:focus { border-color: var(--fl-blue); box-shadow: 0 0 0 4px rgba(37,99,235,0.08); }
  .fl-input::placeholder { color: #94A3B8; }
  .fl-input-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #94A3B8; pointer-events: none; }
  .fl-eye {
    position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
    background: transparent; border: none; color: #94A3B8; cursor: pointer; padding: 4px;
  }
  .fl-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; margin-top: -6px; }
  .fl-check { display: flex; align-items: center; gap: 8px; color: var(--fl-slate); cursor: pointer; }
  .fl-check input { width: 18px; height: 18px; accent-color: var(--fl-blue); border-radius: 5px; }
  .fl-link { color: var(--fl-blue); font-weight: 600; text-decoration: none; font-size: 13px; }
  .fl-submit {
    width: 100%; height: 52px; border: none; border-radius: 14px; background: var(--fl-blue); color: #fff;
    font-weight: 700; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center;
    position: relative; transition: background .15s, transform .1s;
  }
  .fl-submit:hover { background: #1D4ED8; }
  .fl-submit:active { transform: scale(0.98); }
  .fl-submit span { flex: 1; text-align: center; }
  .fl-arrow { position: absolute; right: 18px; }
  .fl-divider { display: flex; align-items: center; gap: 12px; color: var(--fl-slate); font-size: 13px; margin: 2px 0; }
  .fl-divider::before, .fl-divider::after { content: ''; flex: 1; height: 1px; background: var(--fl-line); }
  .fl-google {
    width: 100%; height: 50px; border: 1px solid var(--fl-line); border-radius: 14px; background: #fff;
    color: var(--fl-ink); font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px;
    text-decoration: none; transition: background .15s;
  }
  .fl-google:hover { background: #f8fafc; }
  .fl-security {
    display: flex; align-items: flex-start; gap: 12px; background: var(--fl-card); border-radius: 16px;
    padding: 12px 14px; margin-top: 4px;
  }
  .fl-security-icon { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--fl-blue); flex-shrink: 0; box-shadow: 0 4px 12px rgba(37,99,235,.1); }
  .fl-security h4 { margin: 0 0 3px; font-size: 14px; font-weight: 700; color: var(--fl-ink); }
  .fl-security p { margin: 0; font-size: 12px; color: var(--fl-slate); line-height: 1.35; }
  .fl-foot { text-align: center; font-size: 13px; color: var(--fl-slate); padding-top: 8px; }
  .fl-foot p { margin: 0 0 6px; }
  .fl-foot p:last-child { margin-bottom: 0; }
  .fl-foot a { color: var(--fl-blue); font-weight: 600; text-decoration: none; }

  @media (min-width: 600px) {
    .fl-hero { padding: 40px 24px 90px; border-radius: 0 0 60px 60px; }
    .fl-hero h1 { font-size: 28px; }
    .fl-content {
      width: calc(100% - 48px); margin: -60px auto 40px; padding: 36px 36px 18px;
      border-radius: 48px;
      box-shadow: 0 20px 60px rgba(0,0,0,0.12);
      flex: 0 1 auto;
    }
    .fl-form { gap: 18px; }
    .fl-foot { padding-top: 10px; }
  }

  /* ---- Ordinateur (>= 1024px) : deux colonnes au lieu d'une carte de
     telephone au milieu de l'ecran. Bandeau de marque a gauche, formulaire
     a droite. Le telephone n'est pas concerne. ---- */
  .fl-perks { display: none; }
  @media (min-width: 1024px) {
    .fl-page { flex-direction: row; align-items: stretch; background: #F5F8FF; min-height: 100vh; }
    .fl-hero { width: 46%; max-width: 680px; border-radius: 0; padding: 64px 56px; text-align: left;
      display: flex; flex-direction: column; justify-content: center; }
    .fl-hero-inner { max-width: 440px; }
    .fl-logo { margin-bottom: 26px; } .fl-logo img { height: 52px; }
    .fl-hero h1 { font-size: 38px; line-height: 1.15; margin-bottom: 12px; }
    .fl-hero p { font-size: 17px; }
    .fl-back { top: 28px; left: 28px; }
    .fl-perks { display: grid; gap: 14px; margin: 34px 0 0; padding: 0; list-style: none; }
    .fl-perks li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 600; opacity: .95; }
    .fl-perks li span { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.14);
      display: grid; place-items: center; flex-shrink: 0; }
    .fl-perks svg { width: 18px; height: 18px; }
    .fl-content { flex: 1; width: auto; max-width: none; margin: 0; border-radius: 0; box-shadow: none;
      background: #F5F8FF; display: flex; flex-direction: column; justify-content: center; align-items: center;
      padding: 48px 32px; }
    .fl-content > * { width: 100%; max-width: 440px; }
    .fl-content .fl-form { background: #fff; padding: 30px 30px 26px; border-radius: 22px;
      box-shadow: 0 10px 40px rgba(15,23,42,.08); }
    .fl-content .fl-divider, .fl-content .fl-google, .fl-content .fl-security, .fl-content .fl-foot { margin-top: 14px; }
  }
