.auth-wrap {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
}

.auth-logo {
  font-size: 32px;
  margin-bottom: 4px;
  display: inline-block;
  background: linear-gradient(90deg, #00f5a0, #00c8ff) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.auth-title {
  font-size: 22px;
  margin-bottom: 4px;
}

.auth-sub {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 32px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.auth-divider {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 20px 0;
  position: relative;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.auth-divider span {
  background: var(--surface);
  padding: 0 12px;
  position: relative;
}

.auth-footer {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 20px;
}

.auth-footer a {
  color: var(--accent);
  text-decoration: none;
}

.auth-error {
  font-size: 12px;
  color: var(--red);
  padding: 10px 14px;
  background: rgba(255,77,77,.08);
  border: 1px solid rgba(255,77,77,.2);
  border-radius: var(--radius-sm);
  display: none;
}