@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --brand:#008CFF;
  --brand-strong:#0077E6;
  --brand-light:#1EA7FF;
  --bg:#05070D;
  --surface:#0D1624;
  --surface-2:#111D2D;
  --border:#18314F;
  --text:#F5F7FA;
  --text-soft:#A8B0BD;
}

*{box-sizing:border-box}
html,body{margin:0;min-height:100%;}
body{font-family:'Inter',Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased;}

.auth-page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  color:var(--text);
  background:
    radial-gradient(circle at 78% 5%,rgba(0,140,255,.17),transparent 34%),
    radial-gradient(circle at 10% 90%,rgba(0,119,230,.08),transparent 28%),
    var(--bg);
}

.auth-card{
  width:min(100%,500px);
  padding:34px;
  border:1px solid var(--border);
  border-radius:24px;
  background:linear-gradient(180deg,#0F1928 0%,#0B1420 100%);
  box-shadow:0 30px 80px rgba(0,0,0,.38);
}

.brand-lockup{display:flex;align-items:center;gap:12px;margin-bottom:30px}
.brand-mark{
  width:44px;height:44px;flex:0 0 44px;
  display:flex;align-items:center;justify-content:center;
  border-radius:13px;
  background:linear-gradient(135deg,var(--brand-strong),var(--brand-light));
  color:#fff;font-size:10px;font-weight:900;
  box-shadow:0 8px 24px rgba(0,140,255,.18);
}
.brand-image{width:100%;height:100%;border-radius:10px;object-fit:contain;background:#fff}
.brand-lockup strong{display:block;color:var(--text);font-size:16px;font-weight:800;line-height:1.15}
.brand-lockup small{display:block;margin-top:4px;color:#7F8A9D;font-size:9px;font-weight:500;line-height:1.25;letter-spacing:.1em;text-transform:uppercase}

.auth-card h1{margin:0 0 8px;color:var(--text);font-size:30px;font-weight:800;line-height:1.15;letter-spacing:-.04em}
.intro{margin:0;color:var(--text-soft);font-size:13px;line-height:1.6}

.auth-card form{width:100%;display:flex;flex-direction:column;gap:17px;margin-top:27px}
.auth-card label{width:100%;display:flex;flex-direction:column;gap:7px;color:#D8E1EC;font-size:12px;font-weight:600}
.auth-card input{
  width:100%;height:46px;padding:0 13px;
  background:#08111C;border:1px solid #203A59;border-radius:12px;
  color:var(--text);font:inherit;outline:none;caret-color:var(--brand-light)
}
.auth-card input:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(0,140,255,.12)}
.auth-card .button{
  width:100%;height:46px;margin-top:3px;border:0;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(105deg,var(--brand-strong),var(--brand-light));
  color:#fff;font:inherit;font-size:13px;font-weight:800;cursor:pointer;
  box-shadow:0 10px 28px rgba(0,140,255,.17);transition:.18s ease
}
.auth-card .button:hover{filter:brightness(1.08);transform:translateY(-1px)}
.error{margin-top:16px;padding:12px 14px;border:1px solid #5D2936;border-radius:10px;background:#25131A;color:#FF8EA7;font-size:13px}

@media(max-width:550px){
  .auth-page{padding:16px}
  .auth-card{padding:26px 22px;border-radius:20px}
  .auth-card h1{font-size:26px}
}
