/* ===== Reset ===== */
*{
  box-sizing:border-box;
  font-family: Inter, Pretendard, system-ui, sans-serif;
}
html,body{
  margin:0;
  height:100%;
}

/* ===== Theme ===== */
:root{
  --bg:#0b0e16;
  --card:#121726;
  --text:#e6e8f0;
  --muted:#9aa0b5;
  --primary:#00d2ff;
  --accent:#7f5cff;
  --border:#1f2540;
}

/* ===== Page ===== */
body{
  background:
    radial-gradient(circle at 20% 10%, rgba(0,210,255,.12), transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(127,92,255,.18), transparent 45%),
    var(--bg);
  color:var(--text);
}

.auth-page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}

/* ===== Card ===== */
.auth-card{
  width:100%;
  max-width:420px;
  background:var(--card);
  border-radius:22px;
  padding:28px;
  border:1px solid var(--border);
  box-shadow:0 40px 120px rgba(0,0,0,.55);
}

/* ===== Brand ===== */
.auth-brand{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}
.auth-brand img{
  width:550px;
  height:400px;
  border-radius:12px;
}
.auth-brand h1{
  margin:0;
  font-size:24px;
  font-weight:900;
}

.auth-sub{
  text-align:center;
  margin:10px 0 22px;
  color:var(--muted);
  font-size:14px;
}

/* ===== Social ===== */
.social-group{
  display:grid;
  gap:10px;
}
.social-btn{
  height:44px;
  border-radius:14px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  color:var(--text);
  font-weight:800;
  cursor:pointer;
}
.social-btn:hover{
  background:rgba(255,255,255,.08);
}

/* ===== Divider ===== */
.divider{
  display:flex;
  align-items:center;
  gap:10px;
  margin:18px 0;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}
.divider::before,
.divider::after{
  content:"";
  flex:1;
  height:1px;
  background:rgba(255,255,255,.08);
}

/* ===== Form ===== */
.auth-form{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.field label{
  display:block;
  font-size:12px;
  font-weight:800;
  color:var(--muted);
  margin-bottom:6px;
}

.field input{
  width:100%;
  height:44px;
  padding:0 14px;
  border-radius:14px;
  background:#1a1f36;
  border:1px solid rgba(255,255,255,.08);
  color:var(--text);
  font-size:14px;
}
.field input:focus{
  outline:none;
  border-color:rgba(0,210,255,.45);
  box-shadow:0 0 0 4px rgba(0,210,255,.15);
}

/* password */
.password-wrap{
  position:relative;
}
.eye{
  position:absolute;
  right:8px;
  top:50%;
  transform:translateY(-50%);
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
}

/* row */
.row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:13px;
}

.check{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-weight:700;
}
.check input{ accent-color: var(--primary); }

.link{
  color:var(--primary);
  text-decoration:none;
  font-weight:800;
}
.link:hover{ color:#fff; }

/* submit */
.btn-primary{
  margin-top:6px;
  height:46px;
  border-radius:16px;
  border:none;
  cursor:pointer;
  font-weight:900;
  color:#06080f;
  background:linear-gradient(135deg,var(--primary),var(--accent));
}

/* footer */
.footer-text{
  margin-top:18px;
  text-align:center;
  font-size:13px;
  color:var(--muted);
}
.footer-text a{
  color:var(--primary);
  font-weight:900;
  text-decoration:none;
}
