/* ==============================================
   ThaïGuide — Connexion / inscription (/connexion/)
   /wp-content/themes/thaiguide/edd/login.css
   ============================================== */

/* ── Carte principale (connexion + inscription EDD) ── */
#edd_login_form,
#edd_register_form {
  display: block !important;
  max-width: 420px !important;
  margin: 2rem auto !important;
  padding: 2rem !important;
  background: #fff !important;
  border: 1px solid #e6e3dc !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 24px rgba(15, 45, 68, .07) !important;
}

/* ── Titre ── */
#edd_login_form legend,
#edd_register_form legend {
  display: block !important;
  width: 100% !important;
  margin: 0 0 1.25rem !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #0f2d44 !important;
}

/* ── Paragraphes ── */
#edd_login_form p,
#edd_register_form p {
  display: block !important;
  margin: 0 0 1.1rem !important;
}

/* ── Labels ── */
#edd_login_form label,
#edd_register_form label {
  display: block !important;
  float: none !important;
  width: auto !important;
  margin: 0 0 .35rem !important;
  font-size: .9375rem !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
}

/* ── Champs ── */
#edd_login_form input[type="text"],
#edd_login_form input[type="email"],
#edd_login_form input[type="password"],
#edd_register_form input[type="text"],
#edd_register_form input[type="email"],
#edd_register_form input[type="password"] {
  display: block !important;
  float: none !important;
  width: 100% !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1.5px solid #d9d5cb !important;
  border-radius: 10px !important;
  background: #faf9f7 !important;
  color: #1a1a1a !important;
  font-size: 1rem !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  transition: border-color .15s, background-color .15s;
}
#edd_login_form input[type="text"]:focus,
#edd_login_form input[type="email"]:focus,
#edd_login_form input[type="password"]:focus,
#edd_register_form input[type="text"]:focus,
#edd_register_form input[type="email"]:focus,
#edd_register_form input[type="password"]:focus {
  border-color: #e07b00 !important;
  background: #fff !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(224, 123, 0, .3) !important;
}

/* ── Case « Se souvenir de moi » ── */
.edd-login-remember label {
  display: flex !important;
  align-items: center !important;
  gap: .5rem !important;
  font-size: .9375rem !important;
  font-weight: 400 !important;
  cursor: pointer !important;
}
.edd-login-remember input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #c76a00;
}

/* ── Bouton ── */
#edd_login_submit,
#edd_register_form input[type="submit"] {
  display: block !important;
  float: none !important;
  width: 100% !important;
  height: 50px !important;
  margin-top: .25rem !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #c76a00 !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background-color .15s !important;
}
#edd_login_submit:hover,
#edd_register_form input[type="submit"]:hover {
  background: #a85a00 !important;
}
#edd_login_submit:focus-visible,
#edd_register_form input[type="submit"]:focus-visible {
  outline: 3px solid rgba(224, 123, 0, .55) !important;
  outline-offset: 2px !important;
}

/* ── Lien « Mot de passe oublié » ── */
.edd-lost-password {
  margin: .75rem 0 0 !important;
  text-align: center !important;
}
.edd-lost-password a {
  color: #a85a00 !important;
  font-size: .9375rem !important;
  text-decoration: none !important;
}
.edd-lost-password a:hover { text-decoration: underline !important; }

/* ── Erreurs ── */
.edd_errors {
  margin-bottom: 1.25rem !important;
  padding: .9rem 1.1rem !important;
  border: 1.5px solid #f0c4c0 !important;
  border-radius: 10px !important;
  background: #fdf1f0 !important;
  color: #b3261e !important;
  font-size: .9375rem !important;
  list-style: none !important;
}

/* ── wp-login.php (admin) — inchangé ── */
body.login { background: #f4f3ef; }
#login h1 a, .login h1 a {
  background-image: url('https://thaiguide.fr/wp-content/uploads/2026/05/logo.jpg') !important;
  background-size: contain !important; background-repeat: no-repeat !important;
  background-position: center !important; width: 200px !important; height: 70px !important;
}
#login { background:#fff;border:1px solid #e6e3dc;border-radius:14px;padding:2rem 2rem 1.5rem !important;width:340px !important;margin-top:5vh !important; }
.login label { font-size:12px;font-weight:600;color:#666;display:block; }
.login input[type="text"],.login input[type="password"] { height:42px !important;padding:0 13px !important;border:1.5px solid #e0ddd5 !important;border-radius:8px !important;font-size:14px !important;background:#faf9f7 !important;width:100% !important;box-shadow:none !important; }
.login .button-primary,#wp-submit { width:100% !important;height:46px !important;background:#e07b00 !important;border-color:#e07b00 !important;color:#fff !important;border-radius:9px !important;font-size:15px !important;font-weight:700 !important;box-shadow:none !important;text-shadow:none !important; }
.login .button-primary:hover,#wp-submit:hover { background:#c86e00 !important; }
#nav,#backtoblog { text-align:center;margin-top:.75rem; }
#nav a,#backtoblog a { color:#e07b00 !important;font-size:13px;text-decoration:none; }
.language-switcher { display:none !important; }
