:root {
  --appy-blue: #3B82F6;
  --appy-blue-light: #60A5FA;
  --appy-sky: #93C5FD;
  --appy-white: #F8FAFC;
  --appy-dark: #1E293B;
  --appy-soft: #EAF4FF;
  --appy-warm: #FFF7ED;
  --appy-green: #22C55E;
  --appy-red: #DC2626;
  --shadow: 0 24px 70px rgba(30, 41, 59, 0.16);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(180deg, var(--appy-soft), var(--appy-warm));
  color: var(--appy-dark);
  min-height: 100vh;
}

.auth-shell {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 40px;
}

.auth-card h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  margin: 0 0 8px;
}

.auth-card .sub {
  color: #64748B;
  margin: 0 0 28px;
  line-height: 1.5;
}

.auth-field {
  margin-bottom: 18px;
}

.auth-field label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}

.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="password"] {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: inherit;
  background: var(--appy-white);
  transition: border-color 0.15s ease;
}

.auth-field input:focus {
  outline: none;
  border-color: var(--appy-blue);
}

.auth-field .hint {
  font-size: 12px;
  color: #94A3B8;
  margin-top: 6px;
}

.auth-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.auth-submit {
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--appy-blue), #2563EB);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.auth-submit:hover { transform: translateY(-2px); }

.auth-submit-secondary {
  background: #fff;
  color: var(--appy-dark);
  border: 1.5px solid #E2E8F0;
}

.auth-links {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: #64748B;
}

.auth-links a {
  color: var(--appy-blue);
  font-weight: 700;
  text-decoration: none;
}

.auth-links a:hover { text-decoration: underline; }

.auth-alert {
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.auth-alert-error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.auth-alert-success {
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
}

.auth-alert ul {
  margin: 0;
  padding-left: 20px;
}

.profile-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #E2E8F0;
  font-size: 15px;
}

.profile-row:last-child { border-bottom: none; }

.profile-row .label { color: #64748B; font-weight: 700; }

.badge-verified {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: #DCFCE7;
  color: #166534;
}

.badge-unverified {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: #FEF3C7;
  color: #92400E;
}
