/* Draft Studio — Compte : connexion / inscription / oubli + Mon compte
   Même système : page noire, cartes ink, texte paper, boutons Pill. */

/* ── Auth page ──────────────────────────────────────────────── */
.ds-auth { display: flex; justify-content: center; padding: 56px var(--gut) 90px; min-height: 60vh; }
.ds-auth__card { width: 100%; max-width: 470px; background: var(--ds-ink); border-radius: 18px; padding: 36px 34px 34px; }
.ds-auth__head { text-align: center; margin-bottom: 24px; }
.ds-auth__title { font-family: var(--font-display); font-weight: 700; font-size: 30px; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1; }
.ds-auth__sub { font-size: 14px; color: rgba(250,250,250,0.6); margin-top: 10px; line-height: 1.5; }

.ds-tabs { display: flex; gap: 4px; border-bottom: 1.5px solid rgba(250,250,250,0.15); margin-bottom: 26px; }
.ds-tab { flex: 1; background: none; border: none; color: rgba(250,250,250,0.5); font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.01em; padding: 0 4px 14px; cursor: pointer; position: relative; transition: color .12s; text-align: center; }
.ds-tab:hover { color: var(--ds-paper); }
.ds-tab.is-active { color: var(--ds-paper); }
.ds-tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1.5px; height: 2.5px; background: var(--ds-paper); border-radius: 2px; }

.ds-authform { display: flex; flex-direction: column; gap: 16px; }
.ds-authform .ds-field input { height: 52px; }
.ds-authform > .ds-pill { width: 100%; height: 56px; font-size: 17px; margin-top: 2px; }
.ds-auth__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ds-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: rgba(250,250,250,0.72); line-height: 1.45; cursor: pointer; }
.ds-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: #ffffff; flex-shrink: 0; cursor: pointer; }
.ds-check a { color: var(--ds-paper); }
.ds-auth__link { color: var(--ds-paper); text-decoration: underline; text-underline-offset: 3px; background: none; border: none; cursor: pointer; font-size: 13px; font-family: var(--font-sans); padding: 0; }

.ds-auth__divider { display: flex; align-items: center; gap: 14px; color: rgba(250,250,250,0.4); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; margin: 6px 0; }
.ds-auth__divider::before, .ds-auth__divider::after { content: ""; flex: 1; height: 1px; background: rgba(250,250,250,0.15); }

.ds-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 56px; background: #ffffff; color: #1f1f1f; border: none; border-radius: 6px; font-family: var(--font-display); font-weight: 700; font-size: 16px; cursor: pointer; transition: background .12s; }
.ds-google:hover { background: #e6e6e6; }
.ds-google svg { width: 20px; height: 20px; }

.ds-auth__note { text-align: center; font-size: 12px; color: rgba(250,250,250,0.45); line-height: 1.5; margin-top: 2px; }
.ds-auth__note a { color: rgba(250,250,250,0.7); }
.ds-auth__success { background: rgba(250,250,250,0.05); border: 1px solid rgba(250,250,250,0.15); border-radius: 10px; padding: 18px; font-size: 14px; color: rgba(250,250,250,0.82); line-height: 1.6; }
.ds-auth__success strong { color: var(--ds-paper); }

/* ── My account ─────────────────────────────────────────────── */
/* En-tête (fil d'ariane + titre + « Connecté en tant que ») : contraint à la
   même gouttière que le contenu (sinon plein bord, .ds-page__head n'a qu'une
   marge — il vit ici hors d'un .ds-page). */
.ds-acct-head { padding: 40px var(--gut) 0; margin-bottom: 0; }
.ds-account { display: grid; grid-template-columns: 250px 1fr; gap: 26px; align-items: start; padding: 40px var(--gut) 90px; }
.ds-acct-nav { background: var(--ds-ink); border-radius: 15px; padding: 12px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 95px; }
.ds-acct-nav__item { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 10px; background: none; border: none; color: rgba(250,250,250,0.7); font-family: var(--font-display); font-weight: 600; font-size: 14px; cursor: pointer; text-align: left; width: 100%; transition: background .12s, color .12s; }
.ds-acct-nav__item:hover { background: rgba(250,250,250,0.06); color: var(--ds-paper); }
.ds-acct-nav__item.is-active { background: var(--ds-paper); color: var(--ds-ink); }
.ds-acct-nav__item svg { width: 18px; height: 18px; flex-shrink: 0; }
.ds-acct-nav__sep { height: 1px; background: rgba(250,250,250,0.1); margin: 8px 6px; }

.ds-acct-panel { background: var(--ds-ink); border-radius: 15px; padding: 30px 32px; min-height: 420px; }
.ds-acct-panel__title { font-family: var(--font-display); font-weight: 700; font-size: 24px; text-transform: uppercase; margin-bottom: 8px; }
.ds-acct-panel__intro { font-size: 14px; color: rgba(250,250,250,0.65); line-height: 1.6; margin-bottom: 24px; max-width: 560px; }
.ds-acct-panel__intro strong { color: var(--ds-paper); font-weight: 700; }

.ds-acct-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.ds-acct-card { background: rgba(250,250,250,0.04); border: 1px solid rgba(250,250,250,0.12); border-radius: 12px; padding: 18px 18px 20px; cursor: pointer; transition: border-color .12s, background .12s; text-align: left; display: flex; flex-direction: column; gap: 6px; }
.ds-acct-card:hover { border-color: rgba(250,250,250,0.4); background: rgba(250,250,250,0.06); }
.ds-acct-card svg { width: 22px; height: 22px; margin-bottom: 4px; color: var(--ds-paper); }
.ds-acct-card__lbl { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.ds-acct-card__txt { font-size: 12.5px; color: rgba(250,250,250,0.55); line-height: 1.5; }

/* orders table */
.ds-orders { width: 100%; border-collapse: collapse; }
.ds-orders th { text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(250,250,250,0.5); padding: 0 12px 12px; border-bottom: 1.5px solid rgba(250,250,250,0.15); }
.ds-orders td { padding: 16px 12px; border-bottom: 1px solid rgba(250,250,250,0.08); font-size: 14px; vertical-align: middle; }
.ds-orders tr:last-child td { border-bottom: none; }
.ds-orders__num { font-family: var(--font-display); font-weight: 700; }
.ds-status { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.ds-status--done { background: rgba(250,250,250,0.12); color: var(--ds-paper); }
.ds-status--shipped { border: 1px solid rgba(250,250,250,0.4); color: var(--ds-paper); }
.ds-status--processing { border: 1px solid rgba(250,250,250,0.25); color: rgba(250,250,250,0.7); }
.ds-orders .ds-pill { height: 40px; font-size: 13px; padding: 0 16px; }

/* address cards */
.ds-addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ds-addr { background: rgba(250,250,250,0.04); border: 1px solid rgba(250,250,250,0.12); border-radius: 12px; padding: 22px; }
.ds-addr__type { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.ds-addr__edit { font-size: 12px; color: rgba(250,250,250,0.6); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; background: none; border: none; }
.ds-addr__edit:hover { color: var(--ds-paper); }
.ds-addr__body { font-size: 14px; line-height: 1.75; color: rgba(250,250,250,0.85); }

.ds-acct-hello { font-size: 14px; color: rgba(250,250,250,0.65); margin-top: 12px; }
.ds-acct-hello strong { color: var(--ds-paper); font-weight: 700; }
.ds-acct-hello button, .ds-acct-hello a { background: none; border: none; padding: 0; color: var(--ds-paper); font-family: var(--font-sans); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ds-acct-hello button:hover, .ds-acct-hello a:hover { opacity: 0.7; }
.ds-acct-save { margin-top: 8px; }
.ds-acct-save .ds-pill { height: 52px; font-size: 16px; }

@media (max-width: 900px) {
  .ds-account { grid-template-columns: 1fr; }
  .ds-acct-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .ds-acct-nav__item { width: auto; }
  .ds-acct-nav__sep { display: none; }
  .ds-addr-grid { grid-template-columns: 1fr; }
}
