/* auth.css */
:root{
  --bg1:#0b1220;
  --bg2:#0a1a14;
  --card:#0f1b33cc;
  --card2:#0f1b33f2;
  --line:#223457;
  --txt:#e8f0ff;
  --muted:#a8b4cc;
  --accent:#22c55e;
  --danger:#ef4444;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color:var(--txt);
  background:
    radial-gradient(1200px 700px at 20% 20%, rgba(34,197,94,.18), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(59,130,246,.18), transparent 55%),
    linear-gradient(140deg, var(--bg1), var(--bg2));
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.9; text-decoration:underline}

.container{
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.shell{
  width:min(980px, 100%);
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
}

@media (max-width: 900px){
  .shell{grid-template-columns:1fr}
}

.hero{
  border:1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border-radius: var(--radius);
  padding:26px;
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}

.hero::before{
  content:"";
  position:absolute; inset:-40px;
  background:
    radial-gradient(closest-side at 30% 30%, rgba(34,197,94,.20), transparent 65%),
    radial-gradient(closest-side at 70% 20%, rgba(59,130,246,.15), transparent 60%);
  filter: blur(20px);
  opacity:.9;
}

.brand{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}

.logo{
  width:40px; height:40px;
  border-radius:12px;
  background: linear-gradient(135deg, rgba(34,197,94,.9), rgba(59,130,246,.9));
  display:grid;
  place-items:center;
  font-weight:800;
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}

.brand h1{
  margin:0;
  font-size:18px;
  letter-spacing:.2px;
}
.brand p{
  margin:2px 0 0;
  color:var(--muted);
  font-size:13px;
}

.heroContent{
  position:relative;
  margin-top:22px;
}

.heroTitle{
  font-size:30px;
  line-height:1.15;
  margin:0 0 10px;
}
.heroSubtitle{
  margin:0 0 18px;
  color:var(--muted);
  max-width:48ch;
}

.bullets{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
  color:var(--muted);
}
.bullets li{
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.dot{
  margin-top:6px;
  width:10px; height:10px;
  border-radius:4px;
  background: rgba(34,197,94,.9);
  box-shadow: 0 0 0 4px rgba(34,197,94,.12);
}

.card{
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, var(--card2), var(--card));
  border-radius: var(--radius);
  padding:22px;
  box-shadow: var(--shadow);
}

.cardHeader{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.cardHeader h2{
  margin:0;
  font-size:18px;
}
.cardHeader .hint{
  margin:6px 0 0;
  color:var(--muted);
  font-size:13px;
}

.form{
  display:grid;
  gap:12px;
  margin-top:14px;
}

.field{
  display:grid;
  gap:6px;
}

.label{
  font-size:13px;
  color:var(--muted);
}

.inputWrap{
  position:relative;
}

input, select{
  width:100%;
  padding:12px 12px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:var(--txt);
  outline:none;
  border-radius: 12px;
  transition: border .15s ease, background .15s ease;
}

input:focus, select:focus{
  border-color: rgba(34,197,94,.55);
  background: rgba(255,255,255,.08);
}

.toggleBtn{
  position:absolute;
  right:10px; top:50%;
  transform: translateY(-50%);
  background: transparent;
  border:0;
  color: var(--muted);
  padding:6px 8px;
  cursor:pointer;
  border-radius:10px;
}
.toggleBtn:hover{background: rgba(255,255,255,.07); color: var(--txt);}

.row2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width: 520px){
  .row2{grid-template-columns:1fr}
}

.metaRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:6px;
  color:var(--muted);
  font-size:13px;
}

.checkbox{
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  user-select:none;
}
.checkbox input{width:auto}

.btn{
  margin-top:6px;
  width:100%;
  padding:12px 14px;
  border-radius: 12px;
  border:1px solid rgba(34,197,94,.45);
  background: linear-gradient(135deg, rgba(34,197,94,.95), rgba(16,185,129,.85));
  color:#052010;
  font-weight:800;
  cursor:pointer;
}
.btn:hover{filter: brightness(1.03)}
.btn:disabled{
  opacity:.55;
  cursor:not-allowed;
}

.alert{
  display:none;
  padding:10px 12px;
  border-radius: 12px;
  background: rgba(239,68,68,.13);
  border:1px solid rgba(239,68,68,.35);
  color: #ffd6d6;
  font-size:13px;
}

.alert.show{display:block}

.success{
  background: rgba(34,197,94,.14);
  border-color: rgba(34,197,94,.38);
  color: #d7ffe6;
}

.footerNote{
  margin-top:14px;
  color:var(--muted);
  font-size:12px;
  line-height:1.35;
}
.smallLink{color: rgba(34,197,94,.9)}

/* ===================================== */
/* SCROLLBAR */
/* ===================================== */

::-webkit-scrollbar{
  width:10px;
}

::-webkit-scrollbar-track{
  background:#08111f;
}

::-webkit-scrollbar-thumb{
  background:#1d3557;
  border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
  background:#2563eb;
}

/* ===================================== */
/* INPUT AUTOFILL */
/* ===================================== */

input:-webkit-autofill{
  -webkit-box-shadow:0 0 0 1000px rgba(255,255,255,.06) inset !important;
  -webkit-text-fill-color:#fff !important;
  transition: background-color 9999s ease-in-out 0s;
}

/* ===================================== */
/* BUTTON TRANSITION */
/* ===================================== */

.btn,
.toggleBtn,
.smallLink{
  transition: all .18s ease;
}