/* ============================================================
   RadarOmega — Login / Force Reset Page Styles
   ============================================================ */

.login-body {
  background: var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; overflow: hidden; position: relative;
}

/* ── Radar Background Animation ──────────────────────────── */
.radar-bg {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  pointer-events: none; z-index: 0;
}

.radar-ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.07);
}
.r1 { width: 160px;  height: 160px; }
.r2 { width: 300px;  height: 300px; border-color: rgba(0,212,255,0.055); }
.r3 { width: 450px;  height: 450px; border-color: rgba(0,212,255,0.04); }
.r4 { width: 600px;  height: 600px; border-color: rgba(0,212,255,0.025); }
.r5 { width: 800px;  height: 800px; border-color: rgba(0,212,255,0.015); }

.radar-sweep {
  position: absolute; top: 50%; left: 50%;
  width: 400px; height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(0,212,255,0.5), transparent);
  animation: radar-spin 5s linear infinite;
  border-radius: 2px;
}
@keyframes radar-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Login Wrapper & Card ────────────────────────────────── */
.login-wrap {
  position: relative; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 100vh; padding: 20px;
}

.login-card {
  background: rgba(22, 27, 34, 0.94);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 16px;
  padding: 44px 38px;
  width: 400px; max-width: 100%;
  backdrop-filter: blur(24px);
  box-shadow:
    0 0 60px rgba(0,212,255,0.07),
    0 24px 64px rgba(0,0,0,0.65);
}

/* ── Logo Block ──────────────────────────────────────────── */
.login-logo {
  text-align: center; margin-bottom: 30px;
}
.login-logo .logo-icon {
  width: 58px; height: 58px;
  background: rgba(0,212,255,0.12);
  border: 2px solid var(--cyan);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 12px;
  box-shadow: 0 0 24px rgba(0,212,255,0.2);
}
.login-logo h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px; font-weight: 700; letter-spacing: .04em;
  color: var(--text-primary);
}
.login-logo p {
  font-size: 13px; color: var(--text-secondary); margin-top: 4px;
}

/* ── Form Elements ───────────────────────────────────────── */
.form-group { margin-bottom: 16px; }

.form-group label {
  display: block; font-size: 11px; font-weight: 700;
  color: var(--text-secondary); margin-bottom: 6px;
  letter-spacing: .06em; text-transform: uppercase;
}

.form-group input {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px; color: var(--text-primary);
  font-size: 14px; font-family: 'Inter', sans-serif;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.12);
}
.form-group input::placeholder { color: var(--text-muted); }

/* Password field with toggle */
.input-wrap { position: relative; }
.input-wrap input { padding-right: 44px; }
.pw-toggle {
  position: absolute; right: 10px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  cursor: pointer; font-size: 16px; color: var(--text-muted);
  transition: color .2s; padding: 4px;
  display: flex; align-items: center; justify-content: center;
}
.pw-toggle:hover { color: var(--text-primary); }

/* ── Login Button ────────────────────────────────────────── */
.btn-login {
  width: 100%; padding: 13px;
  background: var(--cyan); color: #0d1117;
  border: none; border-radius: 8px;
  font-size: 15px; font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: .09em; text-transform: uppercase;
  cursor: pointer; margin-top: 6px;
  transition: background .2s, box-shadow .2s;
}
.btn-login:hover {
  background: #33dcff;
  box-shadow: 0 0 28px rgba(0,212,255,0.4);
}
.btn-login:active { transform: scale(0.99); }

.btn-amber {
  background: var(--amber) !important;
  color: #0d1117 !important;
}
.btn-amber:hover {
  background: #ffaa33 !important;
  box-shadow: 0 0 28px rgba(255,140,0,0.4) !important;
}

/* ── Alerts ──────────────────────────────────────────────── */
.alert {
  padding: 11px 14px; border-radius: 8px;
  font-size: 13px; margin-bottom: 16px;
}
.alert-success {
  background: rgba(0,230,118,0.1);
  border: 1px solid rgba(0,230,118,0.3);
  color: var(--green);
}
.alert-error {
  background: rgba(255,59,59,0.1);
  border: 1px solid rgba(255,59,59,0.3);
  color: var(--red);
}
.alert-warning {
  background: rgba(255,140,0,0.1);
  border: 1px solid rgba(255,140,0,0.3);
  color: var(--amber);
}

/* ── Footer ──────────────────────────────────────────────── */
.login-footer {
  text-align: center; margin-top: 22px;
  font-size: 12px; color: var(--text-muted);
}
.login-footer strong { color: var(--text-secondary); }
.login-footer a { color: var(--text-secondary); }
.login-footer a:hover { color: var(--cyan); }

/* ── Force Reset Card ────────────────────────────────────── */
.reset-card {
  border-color: rgba(255,140,0,0.3) !important;
  box-shadow:
    0 0 50px rgba(255,140,0,0.07),
    0 24px 64px rgba(0,0,0,0.65) !important;
}
.reset-icon {
  font-size: 42px; text-align: center;
  margin-bottom: 10px; display: block;
}
.reset-card h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 26px; font-weight: 700;
  text-align: center; margin-bottom: 8px;
}
.reset-card > p {
  font-size: 13px; color: var(--text-secondary);
  text-align: center; margin-bottom: 20px; line-height: 1.6;
}