/* GsmUser.wiki auth pages */
.auth-wrap {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 56px 24px 64px;
  width: 100%;
}
.auth-card {
  width: min(460px, 100%);
  background: var(--bg-nav);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 30px 26px;
  box-shadow: var(--shadow-md);
}
.auth-head { margin-bottom: 22px; }
.auth-brand { font-size: 26px; margin-bottom: 14px; }
.auth-head h1 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 6px; }
.auth-head p { margin: 0; color: var(--text-secondary); font-size: 13.5px; line-height: 1.55; }
.auth-form .form-group { margin-bottom: 16px; }
.auth-form .form-label { font-size: 13px; }
.auth-form .form-input { background: var(--bg-secondary); }
.auth-check {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-secondary);
  margin: 2px 0 18px; cursor: pointer;
}
.auth-check input { accent-color: var(--primary); width: 15px; height: 15px; margin: 0; }
.auth-alert {
  background: rgba(220, 38, 38, .08);
  border: 1px solid rgba(220, 38, 38, .28);
  color: var(--accent-red);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 12.5px;
  line-height: 1.5;
  margin-bottom: 18px;
}
.auth-error { color: var(--accent-red); }
.auth-switch {
  margin: 20px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
}
.auth-switch a { color: var(--primary); font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }
@media (max-width: 520px) {
  .auth-card { padding: 24px 20px; }
  .auth-wrap { padding: 32px 16px 48px; }
}

.auth-alert.is-ok {
  background: rgba(22, 163, 74, .08);
  border-color: rgba(22, 163, 74, .3);
  color: #15803d;
}

.verify-lead {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.verify-code-input {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .45em;
  padding-left: .45em;
  font-variant-numeric: tabular-nums;
}

.verify-resend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-secondary);
}

.verify-resend button,
.verify-switch button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
}

.verify-resend button:hover,
.verify-switch button:hover { text-decoration: underline; }

.verify-note {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-tertiary);
}

.verify-switch {
  margin: 18px 0 0;
  text-align: center;
  font-size: 12.5px;
}
