/* MeteoEdge — auth pages (signup / login) */
.auth-body {
  background: var(--bg-0);
  color: var(--text-1);
  font-family: 'Inter Tight', system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface-1);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  padding: 32px 32px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.auth-brand .brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, #4cc9f0, #4ade80);
}
.auth-brand .brand-name {
  font-weight: 800;
  letter-spacing: .8px;
  font-size: 17px;
}

.auth-card h1 {
  margin: 8px 0 4px;
  font-size: 24px;
  font-weight: 700;
}

.auth-sub {
  margin: 0 0 22px;
  font-size: 13px;
  color: var(--text-2, #94a3b8);
  line-height: 1.45;
}

.auth-error {
  background: rgba(239, 68, 68, .12);
  border: 1px solid rgba(239, 68, 68, .35);
  color: #fca5a5;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 14px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-form label {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--text-2, #94a3b8);
  font-weight: 500;
  gap: 6px;
}
.auth-form label small {
  color: var(--text-3, #64748b);
  font-weight: 400;
  margin-left: 4px;
}
.auth-form input {
  background: var(--bg-1);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text-1);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s ease;
}
.auth-form input:focus {
  border-color: #4cc9f0;
  box-shadow: 0 0 0 3px rgba(76, 201, 240, .15);
}

.auth-btn {
  margin-top: 6px;
  background: linear-gradient(135deg, #4cc9f0, #4ade80);
  border: none;
  color: #06070c;
  padding: 11px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: .2px;
}
.auth-btn:hover { filter: brightness(1.06); }

.auth-alt, .auth-foot {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--text-2, #94a3b8);
  text-align: center;
}
.auth-alt a, .auth-foot a {
  color: #4cc9f0;
  text-decoration: none;
}
.auth-alt a:hover, .auth-foot a:hover { text-decoration: underline; }

.auth-foot {
  margin-top: 22px;
  font-size: 12px;
  color: var(--text-3, #64748b);
}
