body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text","Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.28), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(244, 114, 182, 0.32), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(52, 211, 153, 0.25), transparent 55%),
    #020617;
  color: #f9fafb;
  -webkit-font-smoothing: antialiased;
}


.login-app {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  border-radius: 22px;
  padding: 20px 18px 18px;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(30, 64, 175, 0.9);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.95);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.login-logo {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  background: conic-gradient(from 140deg, #f97316, #22c55e, #06b6d4, #6366f1, #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #020617;
}

.login-text {
  display: flex;
  flex-direction: column;
}

.login-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.login-subtitle {
  font-size: 11px;
  opacity: 0.75;
}

.login-tabs {
  display: flex;
  gap: 6px;
  background: rgba(15, 23, 42, 0.9);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(51, 65, 85, 0.9);
  margin-bottom: 12px;
}

.login-tab {
  flex: 1;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #9ca3af;
  padding: 6px 0;
  font-size: 12px;
  cursor: pointer;
}

.login-tab-active {
  background: linear-gradient(135deg, #22c55e, #06b6d4, #6366f1);
  color: #020617;
  font-weight: 600;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.login-form-hidden {
  display: none;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}

.login-field span {
  opacity: 0.85;
}

.login-field input {
  border-radius: 12px;
  border: 1px solid rgba(55, 65, 81, 0.95);
  background: rgba(15, 23, 42, 0.96);
  padding: 8px 10px;
  color: #e5e7eb;
  font-size: 13px;
}

.login-field-inline span {
  margin-bottom: 2px;
}

.login-sms-row {
  display: flex;
  gap: 6px;
}

.login-sms-row input {
  flex: 1;
}

.login-sms-btn {
  border-radius: 12px;
  border: none;
  padding: 8px 10px;
  font-size: 12px;
  background: rgba(30, 64, 175, 0.95);
  color: #e5e7eb;
  cursor: pointer;
  white-space: nowrap;
}

.login-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.login-btn-primary,
.login-btn-secondary {
  border-radius: 999px;
  border: none;
  padding: 9px 10px;
  font-size: 13px;
  cursor: pointer;
}

.login-btn-primary {
  background: linear-gradient(135deg, #22c55e, #06b6d4, #6366f1);
  color: #020617;
  font-weight: 600;
}

.login-btn-secondary {
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.8);
  color: #e5e7eb;
}

.login-footer {
  margin-top: 14px;
  font-size: 11px;
  opacity: 0.75;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.login-footer a {
  color: #a5b4fc;
  text-decoration: none;
}


.login-sms-btn[disabled] {
  opacity: 0.5;
  cursor: default;
}
