/* Background Grid */
body.login-page {
  margin: 0;
  padding: 0;
  background: #06131a;
  font-family: 'Orbitron', sans-serif;
  color: #00ffff;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.grid-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#0a1f28 1px, transparent 1px),
                    radial-gradient(#0a1f28 1px, transparent 1px);
  background-position: 0 0, 15px 15px;
  background-size: 30px 30px;
  opacity: 0.3;
  z-index: 0;
}

/* HUD Container */
.login-hud {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* LOCKED Circle */
.lock-indicator .hud-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff0000 40%, transparent 70%);
  border: 4px solid rgba(255, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
  position: relative;
  box-shadow: 0 0 25px #ff0000;
}

.locked-text {
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  background: rgba(255, 0, 0, 0.6);
  padding: 8px 20px;
  border-radius: 5px;
  letter-spacing: 2px;
}

/* Password Form HUD Style */
.hud-form form {
  display: flex;
  align-items: center;
  background: rgba(0, 255, 255, 0.1);
  border: 2px solid #00ffffaa;
  border-radius: 15px;
  overflow: hidden;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 15px #00ffff80;
}

.hud-form label.username-label {
  padding: 12px 15px;
  background: transparent;
  color: #00ffff;
  font-weight: bold;
  width: 100px;
}

.hud-form input[type="password"] {
  padding: 12px;
  background: transparent;
  border: none;
  color: #00ffff;
  font-size: 1rem;
  width: 160px;
  outline: none;
}

.hud-form button {
  background: #ff0000;
  border: none;
  color: white;
  padding: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.hud-form button:hover {
  background: #ff4d4d;
}

.lock-icon {
  font-size: 1.2rem;
}

/* Error Message */
.error {
  margin-top: 10px;
  color: #ff4d4d;
  font-size: 0.9rem;
}

/* Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 10px #ff0000;
  }
  50% {
    box-shadow: 0 0 30px #ff0000;
  }
  100% {
    box-shadow: 0 0 10px #ff0000;
  }
}
