/* Unified auth.css (no CSS variables) */

/* Reset */
* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1000px 600px at 20% 0%, #13254e 0%, #0b1220 60%);
  color: #e8eefc;
}

/* Links */
a {
  color: #4f8cff;
  text-decoration: none;
}
a:hover { text-decoration: underline; }

/* Page centering */
.page {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 14px;
}

/* Card */
.card {
  width: 100%;
  max-width: 460px;
  background: rgba(17,26,46,.92);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  overflow: hidden;
}

/* Header */
.card-header {
  padding: 22px 22px 12px 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.brand-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .2px;
  margin: 0;
}

.brand-subtitle {
  margin: 8px 0 0 0;
  font-size: 13px;
  color: #a8b3d6;
  line-height: 1.4;
}

/* Body */
.card-body {
  padding: 18px 22px 22px 22px;
}

/* Alerts */
.alert {
  padding: 10px 12px;
  border-radius: 12px;
  margin-bottom: 14px;
  font-size: 13px;
}
.alert-error {
  background: rgba(255,90,106,.12);
  border: 1px solid rgba(255,90,106,.35);
  color: #ffb4bd;
}
.alert-success {
  background: rgba(72,187,120,.15);
  border: 1px solid rgba(72,187,120,.35);
  color: #9ae6b4;
}

/* Forms */
.form-row {
  margin-bottom: 12px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #a8b3d6;
}

.input {
  width: 100%;
  padding: 12px;
  background: rgba(255,255,255,.04);
  color: #e8eefc;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  font-size: 14px;
  outline: none;
}

.input:focus {
  border-color: rgba(79,140,255,.6);
  box-shadow: 0 0 0 4px rgba(79,140,255,.12);
}

.help {
  margin-top: 6px;
  font-size: 12px;
  color: #a8b3d6;
}

/* Buttons */
.btn {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.btn-primary {
  background: #4f8cff;
  color: #061022;
}
.btn-primary:hover {
  background: #3e7bf0;
}

.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: transparent;
  color: #e8eefc;
  font-weight: 700;
}
.btn-google:hover {
  background: rgba(255,255,255,.04);
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  color: #a8b3d6;
  font-size: 12px;
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  background: rgba(255,255,255,.08);
  flex: 1;
}

/* Footer links */
.footer-links {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.center { text-align: center; }

@media (max-width: 420px) {
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }
}
