/* Login page — Pro Max */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080b14;
  position: relative;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Animated background orbs */
body::before {
  content: '';
  position: fixed;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,0,.18) 0%, transparent 70%);
  top: -120px; left: -120px;
  animation: orbFloat 8s ease-in-out infinite alternate;
  pointer-events: none;
}
body::after {
  content: '';
  position: fixed;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,.12) 0%, transparent 70%);
  bottom: -100px; right: -100px;
  animation: orbFloat 10s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}

@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.08); }
}

/* Auth card */
.auth-card {
  width: 100%;
  max-width: 420px;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  padding: 36px 40px !important;
  box-shadow: 0 25px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,122,0,.06);
  position: relative;
  z-index: 1;
}

/* Brand badge */
.brand-badge {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff7a00, #ff3d00);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(255,122,0,.35);
}

.auth-card h1 {
  color: #f0f4ff;
  font-weight: 700;
  font-size: 1.3rem;
}
.auth-card .text-secondary { color: #7d8a9e !important; }

/* Form labels */
.form-label {
  color: #aab4c8;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}

/* Inputs */
.form-control, .form-select {
  background: rgba(255,255,255,.05) !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  border-radius: 10px !important;
  color: #f0f4ff !important;
  font-size: 14px !important;
  transition: border-color .15s, box-shadow .15s !important;
}
.form-control::placeholder { color: rgba(255,255,255,.25) !important; }
.form-control:focus {
  border-color: #ff7a00 !important;
  box-shadow: 0 0 0 3px rgba(255,122,0,.2) !important;
  background: rgba(255,255,255,.07) !important;
}
.form-floating label { color: rgba(255,255,255,.35) !important; }
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: rgba(255,122,0,.7) !important;
}

/* Input group show-password toggle */
.input-group .btn-outline-secondary {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: #7d8a9e;
  border-radius: 0 10px 10px 0 !important;
  transition: all .15s;
}
.input-group .btn-outline-secondary:hover { color: #ff7a00; border-color: #ff7a00; }
.input-group .form-floating { flex: 1; }
.input-group .form-floating .form-control { border-radius: 10px 0 0 10px !important; }

/* Submit button */
.btn-primary {
  background: linear-gradient(135deg, #ff7a00, #ff3d00) !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 13px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: .3px;
  box-shadow: 0 8px 24px rgba(255,90,0,.35) !important;
  transition: opacity .15s, transform .15s !important;
}
.btn-primary:hover { opacity: .9; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

/* SSO button */
.btn-sso {
  background: rgba(255,255,255,.05) !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  border-radius: 10px !important;
  color: #f0f4ff !important;
  padding: 12px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: all .15s !important;
}
.btn-sso:hover {
  background: rgba(255,255,255,.1) !important;
  border-color: rgba(255,255,255,.2) !important;
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: rgba(255,255,255,.2);
  font-size: 12px;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.divider::before { margin-right: 10px; }
.divider::after  { margin-left: 10px; }
.divider span { padding: 0 6px; }

/* Links */
.link {
  color: #ff7a00;
  text-decoration: none;
  font-weight: 500;
  transition: opacity .15s;
}
.link:hover { opacity: .75; color: #ff7a00; }

/* Checkbox */
.form-check-input:checked {
  background-color: #ff7a00 !important;
  border-color: #ff7a00 !important;
}

/* Alert */
.alert-danger {
  background: rgba(239,68,68,.1) !important;
  border: 1px solid rgba(239,68,68,.25) !important;
  color: #fca5a5 !important;
  border-radius: 10px !important;
}

/* Footer text */
.auth-card .small { color: rgba(255,255,255,.3) !important; }

/* Progress bar at top (login.js) */
.progress-container {
  height: 3px;
  background: transparent;
}
.progress-bar {
  display: block;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #ff7a00, #ff3d00);
  transition: width .3s ease;
}

/* Responsive */
@media (max-width: 480px) {
  .auth-card { border-radius: 0; min-height: 100vh; padding: 32px 24px !important; border: none; }
}