/* ============================================================
   Styles partagés des pages publiques du compte client (LOT 1C).
   Repris à l'identique de /manage-playlist/ et /download/ pour rester
   cohérent avec le reste du site — aucun nouveau parti pris de design.
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: #080C18; color: #fff; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.card {
  background: #0F1628; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px; padding: 40px 36px; max-width: 440px; width: 100%;
  text-align: center;
}
.logo { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 18px; }
h1 { font-family: 'Exo 2', sans-serif; font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.subtitle { color: #8899BB; font-size: 13.5px; line-height: 1.6; margin-bottom: 26px; }

.field { text-align: left; margin-bottom: 15px; }
.field label { display: block; font-size: 12px; font-weight: 700; color: #8899BB;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.field input {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.1); border-radius: 10px;
  padding: 12px 14px; color: #fff; font-family: 'DM Sans', sans-serif;
  font-size: 14px; outline: none; transition: border-color 0.15s;
}
.field input::placeholder { color: rgba(255,255,255,0.35); }
.field input:focus { border-color: #1A6BFF; }
.field .hint { font-size: 11.5px; color: #5B6B8C; margin-top: 5px; }

.check-row { display: flex; gap: 10px; align-items: flex-start; text-align: left;
  margin-bottom: 18px; font-size: 12.5px; color: #8899BB; line-height: 1.5; }
.check-row input { margin-top: 2px; flex-shrink: 0; width: 16px; height: 16px; accent-color: #1A6BFF; }
.check-row a { color: #6ea8fe; }

.cf-turnstile { margin-bottom: 18px; display: flex; justify-content: center; }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #1A6BFF; color: #fff; border: none; cursor: pointer;
  font-size: 14.5px; font-weight: 700; padding: 14px 24px; border-radius: 12px;
  width: 100%; transition: background 0.15s; text-decoration: none;
}
.btn:hover:not(:disabled) { background: #1558d6; }
.btn:disabled { background: rgba(26,107,255,0.35); cursor: not-allowed; }
.btn-secondary { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); margin-top: 10px; }
.btn-secondary:hover:not(:disabled) { background: rgba(255,255,255,0.1); }

/* États : erreur, succès, chargement */
.note { border-radius: 10px; padding: 11px 13px; font-size: 12.5px;
  text-align: left; margin-bottom: 16px; display: none; line-height: 1.55; }
.note.show { display: block; }
.note-error   { background: rgba(239,68,68,0.08);  border: 1px solid rgba(239,68,68,0.3);  color: #FCA5A5; }
.note-success { background: rgba(34,197,94,0.08);  border: 1px solid rgba(34,197,94,0.3);  color: #86EFAC; }
.note-info    { background: rgba(26,107,255,0.08); border: 1px solid rgba(26,107,255,0.3); color: #93C5FD; }

.spinner {
  width: 15px; height: 15px; border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.foot-link { font-size: 12.5px; color: #5B6B8C; margin-top: 18px; line-height: 1.7; }
.foot-link a { color: #6ea8fe; text-decoration: none; }
.foot-link a:hover { text-decoration: underline; }

.state-block { display: none; }
.state-block.show { display: block; }
