/* auth/auth.css */
:root{
  --pink1:#ff7aa5;
  --pink2:#ff5d95;
  --soft:#f6f7fb;
  --text:#1f2937;
  --muted:#6b7280;
  --border:#e5e7eb;
  --shadow: 0 18px 55px rgba(16,24,40,.10);
}

*{ box-sizing:border-box; }
body{
  margin:0;
  min-height:100vh;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(circle at 10% 10%, #fde7f1, #ffffff 35%, #eef2ff 85%);
  color:var(--text);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.auth-wrap{
  width: min(980px, 100%);
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap:24px;
  align-items:stretch;
}

.hero{
  border:1px solid var(--border);
  background: linear-gradient(145deg, #ffffff, #fbfbff);
  border-radius:22px;
  padding:28px;
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}
.hero:before{
  content:"";
  position:absolute;
  inset:-40px -50px auto auto;
  width:220px;height:220px;
  background: radial-gradient(circle, rgba(255,122,165,.35), rgba(99,102,241,.20), transparent 70%);
  filter: blur(2px);
  border-radius:50%;
}
.hero h1{ margin:0 0 10px; font-size:34px; letter-spacing:.2px; }
.hero p{ margin:0; color:var(--muted); line-height:1.55; max-width:38ch; }
.hero .points{ margin-top:18px; padding-left:18px; color:var(--muted); line-height:1.7; }
.badge{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 14px; border-radius:14px; border:1px solid var(--border);
  background:#fff; margin-top:16px;
}
.dot{ width:10px; height:10px; border-radius:50%; background: linear-gradient(90deg, var(--pink1), #6366f1); }

.card{
  border:1px solid var(--border);
  background:#fff;
  border-radius:22px;
  padding:26px 26px 22px;
  box-shadow: var(--shadow);
}

.logo{
  width:82px; height:82px;
  border-radius:22px;
  display:grid;
  place-items:center;
  margin:0 auto 14px;
  background: linear-gradient(145deg, #e8ecff, #ffe4ef);
  position:relative;
}
.logo:after{
  content:"";
  position:absolute; inset:10px;
  border-radius:18px;
  border:3px solid rgba(255,93,149,.55);
  box-shadow: 0 10px 25px rgba(255,93,149,.18);
}
.logo span{
  font-size:40px;
  font-weight:800;
  color:#5b2a5d;
  z-index:1;
  font-family: Georgia, "Times New Roman", serif;
}

.title{
  text-align:center;
  margin:0;
  font-size:26px;
}
.subtitle{
  text-align:center;
  margin:6px 0 18px;
  color:var(--muted);
  font-size:14px;
}

.tabs{
  display:flex;
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  margin-bottom:14px;
}
.tab{
  flex:1;
  padding:10px 12px;
  text-align:center;
  cursor:pointer;
  background:#fff;
  color:var(--muted);
  border:none;
  font-weight:700;
}
.tab.active{
  color:var(--text);
  background: linear-gradient(90deg, rgba(255,122,165,.15), rgba(99,102,241,.12));
}

.form-group{ margin:14px 0; }
.label{
  font-size:13px;
  color:var(--muted);
  margin-bottom:7px;
  display:block;
}
.input{
  width:100%;
  padding:13px 14px;
  border:1px solid var(--border);
  border-radius:14px;
  outline:none;
  font-size:15px;
  background:#fff;
}
.input:focus{
  border-color: rgba(99,102,241,.55);
  box-shadow: 0 0 0 4px rgba(99,102,241,.12);
}
.input-wrap{
  position:relative;
}
.eye-btn{
  position:absolute;
  right:10px; top:50%;
  transform:translateY(-50%);
  border:none; background:transparent;
  cursor:pointer;
  padding:6px;
  color:#9ca3af;
}
.eye-btn:hover{ color:#111827; }

.btn{
  width:100%;
  border:none;
  padding:14px 16px;
  border-radius:14px;
  font-weight:800;
  cursor:pointer;
  color:#fff;
  background: linear-gradient(90deg, var(--pink1), var(--pink2));
  box-shadow: 0 16px 35px rgba(255,93,149,.25);
  margin-top:6px;
}
.btn:hover{ filter: brightness(0.98); }

.row-split{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-top:10px;
  font-size:13px;
}
.link{
  color: var(--pink2);
  text-decoration:none;
  font-weight:700;
}
.link:hover{ text-decoration:underline; }

.alert{
  border-radius:14px;
  padding:12px 14px;
  font-size:14px;
  margin-bottom:12px;
  border:1px solid var(--border);
}
.alert.success{ background:#ecfdf5; border-color:#a7f3d0; color:#065f46; }
.alert.error{ background:#fff1f2; border-color:#fecdd3; color:#9f1239; }

.small{ font-size:13px; color:var(--muted); text-align:center; margin-top:14px; }

@media (max-width: 920px){
  .auth-wrap{ grid-template-columns: 1fr; }
  .hero{ display:none; }
}
