/* v2 auth pages (login / create account / forgot password) */
:root{--ink:#061e5b;--blue:var(--brand-primary,#075ff2);--muted:#647899;--line:#dce7f6;--gold:#e7a700;--soft:#f7faff;--shadow:0 8px 25px rgba(35,78,145,.055)}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink)}
body{
  font-size:14px;
  background:radial-gradient(circle at 80% 10%,rgba(216,231,255,.55),transparent 40%),
             radial-gradient(circle at 12% 88%,rgba(255,242,209,.5),transparent 38%),
             #f8fbff;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-height:100vh;padding:18px 14px;
}
.auth-shell{
  width:100%;max-width:1080px;
  display:grid;grid-template-columns:1.05fr 1fr;
  border:1px solid #dbe7f7;border-radius:20px;overflow:hidden;
  background:rgba(255,255,255,.85);backdrop-filter:blur(6px);
  box-shadow:0 24px 60px rgba(20,58,118,.12);
  animation:shell-in .45s cubic-bezier(.2,.7,.3,1) both;
}
.auth-shell.single{display:block;max-width:880px}
@keyframes shell-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.auth-shell{animation:none}}
/* brand pane */
.auth-brand{
  position:relative;overflow:hidden;
  background:linear-gradient(150deg,var(--brand-primary-dark,#0b3ea8) 0%,var(--brand-primary,#075ff2) 55%,var(--brand-primary-light,#2d8cff) 100%);
  color:#fff;padding:44px 40px;
  display:flex;flex-direction:column;
}
.auth-brand:before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(circle at 85% 12%,rgba(255,255,255,.22),transparent 42%),
             radial-gradient(circle at 8% 95%,rgba(255,255,255,.12),transparent 35%);
  pointer-events:none;
}
.auth-brand>*{position:relative;z-index:2}
.brand-head{display:flex;align-items:center;gap:12px}
.brand-head img{width:58px;height:52px;object-fit:contain;background:#fff;border-radius:12px;padding:5px}
.brand-head b{display:block;font-size:15px;letter-spacing:.3px}
.brand-head small{display:block;font-size:10.5px;opacity:.85;margin-top:3px}
.auth-brand h1{font-size:31px;line-height:1.22;letter-spacing:-.5px;margin:34px 0 0;font-weight:800}
.auth-brand h1 span{color:var(--gold,#ffd35c)}
.auth-brand p{font-size:14px;line-height:1.75;margin:14px 0 0;opacity:.92;max-width:36ch}
.brand-pills{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}
.brand-pills span{
  height:32px;padding:0 13px;border:1px solid rgba(255,255,255,.35);border-radius:9px;
  background:rgba(255,255,255,.14);display:inline-flex;align-items:center;gap:7px;
  font-size:11px;font-weight:600;
}
.brand-pills svg{width:14px;height:14px;stroke:var(--gold,#ffd35c);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.auth-brand .brand-art{
  margin:28px 0 -70px auto;width:92%;max-width:400px;
  border:1px solid rgba(255,255,255,.4);border-bottom:0;border-radius:14px 14px 0 0;
  overflow:hidden;box-shadow:0 -10px 40px rgba(2,20,60,.3);
  background:#fff;
}
.auth-brand .brand-art img{width:100%;height:auto;display:block}
/* form pane */
.auth-card{padding:50px 48px 34px;display:flex;flex-direction:column;justify-content:center}
.auth-card .mobile-logo{display:none}
.auth-card h2{font-size:26px;margin:0;font-weight:800;letter-spacing:-.3px}
.auth-card .subtitle{font-size:13px;color:var(--muted);margin:9px 0 28px}
/* single-card header (create account) */
.card-head{display:flex;align-items:center;gap:14px;margin-bottom:26px}
.card-head img{width:62px;height:56px;object-fit:contain}
.card-head h2{margin:0}
.card-head .subtitle{margin:6px 0 0}
/* alerts */
.alert-error,.alert-success{
  display:flex;align-items:center;gap:9px;border-radius:10px;
  font-size:12px;font-weight:600;padding:11px 13px;margin-bottom:18px;
}
.alert-error{border:1px solid #f6c9c5;background:#fff1f0;color:#c0392b}
.alert-success{border:1px solid #bfe8d2;background:#edfaf3;color:#1a7a4c}
.alert-error svg,.alert-success svg{width:16px;height:16px;flex:0 0 auto;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.alert-error svg{stroke:#e5484d}
.alert-success svg{stroke:#1f9d5f}
/* fields */
.field{margin-bottom:17px}
.field label{display:block;font-size:12.5px;font-weight:700;margin-bottom:8px}
.control{position:relative}
.control>svg{
  position:absolute;left:13px;top:50%;transform:translateY(-50%);
  width:17px;height:17px;stroke:#7e93b8;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
  pointer-events:none;
}
.control input,.control select{
  width:100%;height:52px;border:1px solid var(--line);border-radius:12px;
  background:rgba(255,255,255,.9);padding:0 16px 0 42px;
  font:inherit;font-size:14.5px;color:#1d3a6e;outline:0;
  transition:border-color .15s,box-shadow .15s;
}
.control input{padding-right:46px}
.control select{
  appearance:none;-webkit-appearance:none;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237e93b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;background-size:16px;
}
.control input::placeholder{color:#93a4c1;text-transform:none}
.control input:focus,.control select:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(var(--brand-rgb,7,95,242),.13)}
.toggle-pass{
  position:absolute;right:6px;top:50%;transform:translateY(-50%);
  width:34px;height:34px;border:0;border-radius:9px;background:transparent;cursor:pointer;
  display:grid;place-items:center;color:#7e93b8;
}
.toggle-pass:hover{background:#f0f5fd}
.toggle-pass svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* grid form (create account) */
.grid-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
.grid-form .span-2{grid-column:1/-1}
/* buttons & links */
.row-links{display:flex;justify-content:flex-end;margin:-4px 0 18px}
.row-links a{font-size:12.5px;font-weight:700;color:var(--blue);text-decoration:none}
.row-links a:hover{text-decoration:underline}
.gold-btn{
  width:100%;height:52px;border:0;border-radius:12px;cursor:pointer;
  background:linear-gradient(180deg,var(--gold-light,#f3ba20),var(--gold-dark,#e29a00));color:#fff;
  font:inherit;font-size:15px;font-weight:800;letter-spacing:.2px;
  box-shadow:0 10px 22px rgba(var(--gold-rgb,219,157,0),.28);
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  transition:transform .18s,filter .18s;
}
.gold-btn:hover{transform:translateY(-1px);filter:brightness(1.04)}
.gold-btn:active{transform:translateY(0)}
.gold-btn svg{width:16px;height:16px;stroke:#fff;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.create-row{
  margin-top:24px;padding-top:20px;border-top:1px solid #e9f0fa;
  text-align:center;font-size:13px;color:var(--muted);
}
.create-row a{color:var(--blue);font-weight:800;text-decoration:none}
.create-row a:hover{text-decoration:underline}
.auth-footer{margin-top:16px;font-size:11px;color:#8b9cba;text-align:center}
/* mobile */
@media (max-width:900px){
  body{padding:14px 12px;justify-content:flex-start}
  .auth-shell{grid-template-columns:1fr;max-width:430px;margin-top:4vh;border-radius:18px}
  .auth-shell.single{max-width:430px}
  .auth-brand{display:none}
  .auth-card{padding:30px 22px 24px}
  .auth-card .mobile-logo{
    display:flex;flex-direction:column;align-items:center;text-align:center;margin-bottom:20px;
  }
  .auth-card .mobile-logo img{width:88px;height:78px;object-fit:contain}
  .auth-card .mobile-logo b{font-size:15px;margin-top:8px}
  .auth-card .mobile-logo small{font-size:10.5px;color:var(--muted);margin-top:4px}
  .auth-card h2,.auth-card .subtitle{text-align:center}
  .card-head{display:none}
  .grid-form{grid-template-columns:1fr}
}
@media (max-width:360px){
  .auth-card{padding:24px 16px 20px}
}