/* Amazon.es (PT) — clone connexion. Valeurs reprises des styles calculés de la vraie page. */
:root{
  --ink:#0f1111; --link:#2162a1; --link-h:#c7511f;
  --border:#d5d9d9; --inputborder:#888c8c; --focus:#007185;
  --yellow:#ffd814; --yellow-h:#f7ca00; --yellow-b:#f2c200;
  --muted:#565959;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:Arial,sans-serif; font-size:14px; line-height:20px;
  color:var(--ink); background:#fff; -webkit-font-smoothing:antialiased;
}
a{color:var(--link); text-decoration:none}
a:hover{color:var(--link-h); text-decoration:underline}

.navbar{text-align:center; margin-top:12px}
.logo{
  display:inline-block; width:103px; height:31px; vertical-align:middle;
  background-image:url("/assets/sprite.png"); background-position:-2px -168px;
  background-size:512px 256px; background-repeat:no-repeat;
}

.stage{display:flex; flex-direction:column; align-items:center; padding:0 12px 40px}
.a-box{width:100%; max-width:350px; margin-top:12px; border:1px solid var(--border); border-radius:8px; background:#fff}
.a-box-inner{padding:20px 26px}
.screen[hidden]{display:none}
.screen--center{display:flex; flex-direction:column; align-items:center; text-align:center}

h1{font-size:28px; line-height:36px; font-weight:400; color:var(--ink); padding-bottom:4px; margin:0}
.lbl{font-size:14px; line-height:20px; font-weight:700; color:var(--ink); margin:0 0 4px}
.wtitle{font-size:20px; font-weight:700; margin:0 0 6px}

.inputwrap{display:flex; align-items:center; height:34px; margin-bottom:4px;
  border:1px solid var(--inputborder); border-radius:3px; background:#fff;
  box-shadow:0 1px 2px rgba(15,17,17,.15) inset}
.inputwrap:focus-within{border-color:var(--focus); box-shadow:0 0 3px 2px rgba(0,113,133,.25), 0 1px 2px rgba(15,17,17,.15) inset}
.ccsel{position:relative; display:none; align-items:center; height:100%}
.inputwrap.has-cc .ccsel{display:flex}
.ccsel::after{content:""; position:absolute; right:7px; top:50%; width:0; height:0;
  border-left:4px solid transparent; border-right:4px solid transparent; border-top:4px solid #565959; transform:translateY(-50%); pointer-events:none}
.ccsel select{appearance:none; -webkit-appearance:none; border:0; background:transparent; font:inherit;
  color:var(--ink); padding:5px 21px 5px 11px; height:100%; cursor:pointer}
.inputwrap input{flex:1; min-width:0; border:0; outline:0; background:transparent;
  font:inherit; color:var(--ink); padding:5px 11px; height:32px}

input.field{width:100%; height:34px; padding:5px 11px; font:inherit; color:var(--ink);
  border:1px solid var(--inputborder); border-radius:3px; background:#fff;
  box-shadow:0 1px 2px rgba(15,17,17,.15) inset; outline:0; margin-bottom:8px}
input.field:focus{border-color:var(--focus)}

.btn-primary{width:100%; height:32px; margin-top:8px; cursor:pointer;
  font:inherit; font-size:14px; color:var(--ink); background:var(--yellow);
  border:1px solid var(--yellow); border-radius:100px}
.btn-primary:hover{background:var(--yellow-h); border-color:var(--yellow-b)}
.btn-primary:active{transform:translateY(1px)}
.btn-secondary{width:100%; height:32px; margin-top:8px; cursor:pointer; font:inherit; font-size:14px;
  color:var(--ink); background:#fff; border:1px solid var(--border); border-radius:100px}
.btn-secondary:hover{background:#f7fafa}

.legal{font-size:13px; line-height:16px; margin:16px 0 14px}
.section{margin:0 0 8px}
.link{font-size:14px}
.biz{margin-top:6px}
.biz hr{border:0; border-top:1px solid #e7e7e7; margin:14px 0}
.biz .lbl{margin:0 0 4px}
.biz a{font-size:14px}

.acct{margin:0 0 14px; font-size:14px}
.acct__mail{font-weight:700}
.acct__chg{margin-left:8px; font-size:13px}
.lblrow{display:flex; justify-content:space-between; align-items:baseline; gap:8px}
.lblrow .lbl{margin-bottom:4px}
.forgot{font-size:13px}
.show{display:flex; align-items:center; gap:7px; font-size:13px; margin:8px 0 0; cursor:pointer}

.lead{font-size:14px; margin:0 0 12px}
.greet{font-size:13px; color:var(--muted); background:#f7fafa; border:1px solid #e7e7e7; border-radius:6px; padding:8px 10px; margin:0 0 14px; line-height:18px}
.note-mini{font-size:12px; color:var(--muted); margin:4px 0 0}
.hr{border:0; border-top:1px solid #e7e7e7; margin:14px 0}

/* aperçu carte (ajout) */
.cc{position:relative; width:100%; max-width:298px; height:172px; margin:2px auto 16px;
  border-radius:14px; padding:16px 18px; color:#fff; overflow:hidden;
  background:linear-gradient(135deg,#232f3e,#131a22); box-shadow:0 10px 24px rgba(19,26,34,.28)}
.cc__top{display:flex; justify-content:space-between; align-items:center}
.cc__chip{width:38px; height:26px; border-radius:5px; background:linear-gradient(135deg,#f6d886,#c7a24a)}
.cc__brand{font-weight:700; font-style:italic; letter-spacing:.5px}
.cc__num{margin-top:34px; font-size:19px; letter-spacing:2px}
.cc__bottom{display:flex; justify-content:space-between; margin-top:16px; font-size:11px; text-transform:uppercase; opacity:.9}
.row{display:flex; gap:12px}
.col{flex:1}
.pin{letter-spacing:3px; text-align:center; font-size:18px}

/* wallet (ajout) */
.wallet__brands{display:flex; gap:18px; align-items:center; justify-content:center; margin-bottom:6px}
.wlogo{display:inline-flex; align-items:center; gap:7px; font-weight:700; font-size:14px}
.linkbtn{display:block; margin:12px auto 0; background:none; border:none; color:var(--link); cursor:pointer; font-size:13px; font-family:inherit}
.linkbtn:hover{text-decoration:underline}
.caret{display:none}

/* processing / error / success (ajout) */
.spin{width:42px; height:42px; border-radius:50%; border:3px solid #e7e7e7; border-top-color:#ff9900; animation:sp .8s linear infinite; margin:6px 0 12px}
@keyframes sp{to{transform:rotate(360deg)}}
.wait__msg{color:var(--muted)}
.errorbox{display:flex; gap:10px; align-items:flex-start; border:1px solid #d00; border-radius:8px; padding:12px; margin-bottom:14px}
.errorbox__ic{flex:none; width:22px; height:22px; border-radius:50%; background:#d00; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700}
.errorbox__msg{font-size:13px; margin:0}
.ok__ring{width:64px; height:64px; border-radius:50%; border:3px solid #067d62; display:flex; align-items:center; justify-content:center; margin:6px 0 14px}
.ok__check{color:#067d62; font-size:32px}
.success__msg{font-size:16px; font-weight:700; margin:0}
.success__sub{color:var(--muted); font-size:13px; margin:4px 0 0}

/* footer */
.foot{width:100%; max-width:350px; margin-top:22px; text-align:center; color:#767676; font-size:12px}
.foot__links{display:flex; flex-wrap:wrap; gap:14px; justify-content:center; border-top:1px solid #e7e7e7; padding-top:14px}
.foot__links a{font-size:12px}
.foot__copy{display:block; margin-top:10px; color:#767676}
