/* ═══════════════════════════════════════════════════
   RomsHub v2 — auth.css  (Login page)
   ═══════════════════════════════════════════════════ */

.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080c14;
  position: relative;
  overflow: hidden;
}

.auth-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.auth-orb-1 {
  width: 600px; height: 600px;
  top: -200px; left: -150px;
  background: radial-gradient(circle, rgba(79,142,247,.18) 0%, transparent 70%);
}

.auth-orb-2 {
  width: 500px; height: 500px;
  bottom: -150px; right: -100px;
  background: radial-gradient(circle, rgba(255,207,89,.12) 0%, transparent 70%);
}

.auth-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  padding: 24px 16px;
}

.auth-card {
  background: rgba(15,21,33,.85);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(24px);
  box-shadow: 0 32px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.04) inset;
}

/* Brand */
.auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.auth-brand-logo {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: linear-gradient(135deg, #FFCF59 0%, #ff9d3d 100%);
  box-shadow: 0 0 16px rgba(255,207,89,.35);
  flex-shrink: 0;
}

.auth-brand-name {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.025em;
}

.auth-brand-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #FFCF59;
  background: rgba(255,207,89,.12);
  border: 1px solid rgba(255,207,89,.2);
  border-radius: 999px;
  padding: 2px 9px;
}

.auth-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.035em;
  margin-bottom: 8px;
}

.auth-sub {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 28px;
}

/* Error */
.auth-error {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.25);
  color: #fca5a5;
  font-size: 14px;
  margin-bottom: 20px;
}

/* Form */
.auth-form { display: flex; flex-direction: column; gap: 20px; }

.field-group { display: flex; flex-direction: column; gap: 8px; }

.field-label {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: .01em;
}

.field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.field-icon {
  position: absolute;
  left: 14px;
  color: #475569;
  pointer-events: none;
  display: flex;
}

.field-input {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  color: #e2e8f4;
  border-radius: 12px;
  padding: 12px 14px 12px 42px;
  font-size: 14px;
  outline: none;
  transition: all .2s ease;
}

.field-input::placeholder { color: rgba(226,232,244,.3); }
.field-input:focus {
  border-color: rgba(255,207,89,.4);
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 3px rgba(255,207,89,.08);
}

.pwd-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #475569;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color .2s;
}

.pwd-toggle:hover { color: #94a3b8; }

/* Submit */
.auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #FFCF59 0%, #ffb93d 100%);
  color: #0a0a0a;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  transition: all .25s ease;
  box-shadow: 0 4px 20px rgba(255,207,89,.25);
  margin-top: 4px;
}

.auth-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,207,89,.35);
}

.auth-submit:active { transform: translateY(0); }

.auth-footer-text {
  margin-top: 24px;
  text-align: center;
}

.auth-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #64748b;
  transition: color .2s;
}

.auth-back-link:hover { color: #94a3b8; }
