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

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #07090d;
  color: #e2e8f0;
  overflow: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 55% 50% at 50% 50%, rgba(14,165,233,0.05) 0%, transparent 70%);
  z-index: 0;
}

.scan-line {
  position: fixed;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.2), transparent);
  animation: scan 8s linear infinite;
  z-index: 1;
}

@keyframes scan {
  0%   { top: -1px; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 0.6; }
  100% { top: 100vh; opacity: 0; }
}

main {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.card {
  width: 100%;
  max-width: 360px;
  background: #0d1117;
  border: 1px solid rgba(14,165,233,0.15);
  border-radius: 12px;
  padding: 32px 28px 26px;
  box-shadow: 0 0 60px rgba(14,165,233,0.04), 0 24px 60px rgba(0,0,0,0.7);
}

.brand { text-align: center; margin-bottom: 22px; }

.radar-icon { width: 52px; height: 52px; margin: 0 auto 12px; }

.radar-sweep {
  transform-origin: 30px 30px;
  animation: sweep 4s linear infinite;
}
@keyframes sweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

h1 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 8px;
  text-indent: 8px;
  color: #f1f5f9;
  margin-bottom: 3px;
}

.brand-sub {
  font-size: 9px;
  letter-spacing: 3px;
  color: rgba(14,165,233,0.5);
  text-transform: uppercase;
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.15), transparent);
  margin-bottom: 20px;
}

form { display: flex; flex-direction: column; gap: 14px; }

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

label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(148,163,184,0.5);
}

.field-group input {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  color: #e2e8f0;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.field-group input:focus { border-color: rgba(14,165,233,0.4); }
.field-group input::placeholder { color: rgba(75,85,99,0.8); }

.pw-row { display: flex; gap: 6px; }
.pw-row input { flex: 1; }

.eye-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  color: rgba(148,163,184,0.4);
  padding: 0 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.15s;
  flex-shrink: 0;
}
.eye-btn:hover { color: #94a3b8; background: rgba(255,255,255,0.07); }

.login-btn {
  width: 100%;
  padding: 12px;
  background: #0ea5e9;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.15s;
  margin-top: 2px;
}
.login-btn:hover { filter: brightness(1.1); }
.login-btn:disabled { opacity: 0.35; cursor: not-allowed; filter: none; }

.error { font-size: 12px; color: #f87171; text-align: center; min-height: 14px; }
