.auth-page{ padding: 22px 0 46px; }

.auth-shell{
  padding: 18px;
}

.auth-head{
  padding: 10px 10px 14px;
}

.auth-title{
  margin: 12px 0 6px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.12;
}

.auth-sub{
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
  font-size: 14px;
  line-height: 1.5;
}

.tabs{
  display:flex;
  gap:10px;
  padding: 8px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  margin: 8px 0 14px;
}

.tab{
  flex:1;
  border:0;
  background: transparent;
  color: var(--text);
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 900;
  cursor:pointer;
}

.tab[aria-selected="true"]{
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.12);
}

.auth-content{
  padding: 4px 10px 12px;
}

.form{
  max-width: 720px;
}

.field{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin: 12px 0;
}

.field label{
  font-weight: 800;
  color: rgba(233,238,252,.9);
  font-size: 13px;
}

.field input{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
  color: var(--text);
  padding: 12px 12px;
  border-radius: 14px;
  outline: none;
  font-size: 14.5px;
}

.field input::placeholder{
  color: rgba(233,238,252,.40);
}

.field input:focus{
  border-color: rgba(255,255,255,.22);
  background: rgba(0,0,0,.26);
}

.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin: 8px 0 14px;
}

.check{
  display:flex;
  align-items:center;
  gap:10px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.actions{ margin-top: 10px; }
.full{ width:100%; justify-content:center; }

.linkbtn{
  border:0;
  background: transparent;
  color: rgba(233,238,252,.9);
  font-weight: 900;
  cursor:pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.small-muted{
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.notice{
  margin-top: 12px;
  min-height: 18px;
  color: rgba(233,238,252,.85);
  font-weight: 700;
  font-size: 13px;
}

.notice.error{ color: rgba(255,178,85,.95); }
.notice.ok{ color: rgba(62,224,192,.95); }

@media (max-width: 720px){
  .grid2{ grid-template-columns: 1fr; }
  .row{ flex-direction: column; align-items:flex-start; }
}
