    :root {
      --bg: #FAFBFC; --surface: #FFFFFF; --ink: #0F172A; --ink-soft: #475569;
      --line: #E2E8F0; --green: #10B981; --green-ink: #047857; --green-soft: #D1FAE5;
      --font-display: 'Outfit', sans-serif; --font-body: 'DM Sans', sans-serif;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: var(--font-body); background: var(--bg); color: var(--ink); display: flex; flex-direction: column; min-height: 100vh; -webkit-font-smoothing: antialiased; }
    
    header.auth-header { padding: 24px; text-align: center; border-bottom: 2px solid var(--line); background: var(--surface); }
    .logo-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 20px; }
    .logo-link img { width: 40px; height: auto; }

    main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
    .auth-container { background: var(--surface); width: 100%; max-width: 460px; padding: 40px; border-radius: 20px; box-shadow: 0 24px 48px -24px rgba(15, 23, 42, 0.15); border: 2px solid var(--line); }
    .auth-title { font-family: var(--font-display); font-size: 26px; font-weight: 700; text-align: center; margin-bottom: 8px; color: var(--ink); }
    .auth-subtitle { text-align: center; color: var(--ink-soft); font-size: 15px; margin-bottom: 32px; line-height: 1.5; }

    .field { margin-bottom: 18px; }
    .field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-family: var(--font-body); }
    .field input { width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; font-size: 15px; font-family: var(--font-body); color: var(--ink); background: var(--surface); transition: border-color 0.18s ease, box-shadow 0.18s ease; }
    .field input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15); }
    .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

    .btn-submit { width: 100%; padding: 14px; background: var(--green); color: white; border: 2px solid var(--green); border-radius: 10px; font-size: 15px; font-weight: 700; font-family: var(--font-body); cursor: pointer; transition: all 0.18s ease; margin-top: 8px; }
    .btn-submit:hover { background: var(--green-ink); border-color: var(--green-ink); transform: translateY(-2px); box-shadow: 0 8px 20px -8px rgba(16, 185, 129, 0.6); }
    .error-msg { background: #FEF2F2; color: #991B1B; padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 20px; text-align: center; font-weight: 500; border: 1px solid #FECACA; }
    .footer-link { text-align: center; margin-top: 24px; font-size: 14px; color: var(--ink-soft); }
    .footer-link a { color: var(--green-ink); text-decoration: none; font-weight: 600; }
    .footer-link a:hover { text-decoration: underline; }

    /* NOUVEAU : Styles du Pop-up de succès */
    .success-overlay {
      position: fixed; inset: 0; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px);
      display: flex; align-items: center; justify-content: center; z-index: 100;
      animation: fadeIn 0.3s ease;
    }
    .success-modal {
      background: var(--surface); width: 90%; max-width: 400px; padding: 40px 32px;
      border-radius: 20px; text-align: center; box-shadow: 0 24px 48px -12px rgba(0,0,0,0.2);
      animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .success-icon {
      width: 64px; height: 64px; background: var(--green-soft); color: var(--green-ink);
      border-radius: 50%; display: flex; align-items: center; justify-content: center;
      margin: 0 auto 20px; font-size: 32px;
    }
    .success-modal h2 { font-family: var(--font-display); font-size: 22px; margin-bottom: 12px; color: var(--ink); }
    .success-modal p { color: var(--ink-soft); font-size: 15px; line-height: 1.5; margin-bottom: 28px; }
    .btn-modal {
      display: block; width: 100%; padding: 14px; background: var(--green); color: white;
      border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 15px;
      transition: all 0.18s ease;
    }
    .btn-modal:hover { background: var(--green-ink); transform: translateY(-2px); }

    @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
    @keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
    @media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } .auth-container { padding: 28px 24px; } }
