/* Base neon-body */
body.neon-body {
  font-family: 'Orbitron', sans-serif;
  background: radial-gradient(circle at center, #0a0016 0%, #090013 100%);
  color: #fff;
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Container */
.login-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

/* Card */
.login-card {
  width: 100%;
  max-width: 400px;
  background: rgba(10, 0, 30, 0.85);
  border: 2px solid #b44bff;
  border-radius: 15px;
  box-shadow: 0 0 30px #b44bff55, inset 0 0 10px #b44bff22;
  padding: 2rem;
  text-align: center;
  animation: fadeIn 1.2s ease;
  backdrop-filter: blur(10px);
}

/* Glow title */
.glow-title {
  font-size: 1.8rem;
  color: #c38bff;
  animation: neonGlow 1.5s infinite alternate;
  margin-bottom: 0.5rem;
}

/* Subtitle */
.subtitle {
  color: #b48bff;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* Form */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.input-group {
  text-align: left;
}

.input-group label {
  color: #d4b8ff;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.3rem;
}

.input-group input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 2px solid #b44bff;
  background: rgba(20, 0, 40, 0.6);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: all 0.2s ease;
}

.input-group input:focus {
  border-color: #c38bff;
  box-shadow: 0 0 10px #b44bffaa;
}

/* Button */
.btn-violet {
  margin-top: 1rem;
  background: linear-gradient(135deg, #b44bff, #8230ff);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  animation: btnGlow 1.5s infinite alternate;
  transition: transform 0.2s, box-shadow 0.3s;
}

.btn-violet:hover {
  transform: scale(1.07);
}

/* Footer link */
.footer-text {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #a580ff;
}

.neon-link {
  color: #c38bff;
  text-decoration: none;
  border-bottom: 1px dashed #c38bff66;
  transition: 0.3s;
}

.neon-link:hover {
  text-shadow: 0 0 10px #c38bff;
  color: #fff;
}

/* Messages */
.message {
  padding: 10px 15px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
}

.message.error {
  background-color: #ff4d4f;
  color: #fff;
}

.message.success {
  background-color: #52c41a;
  color: #fff;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes neonGlow {
  0%, 100% { text-shadow: 0 0 5px #c38bff, 0 0 10px #b44bff, 0 0 20px #8230ff; }
  50% { text-shadow: 0 0 20px #c38bff, 0 0 40px #b44bff, 0 0 60px #8230ff; }
}

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 0 15px #b44bffaa; }
  50% { box-shadow: 0 0 30px #c38bffff; }
}

/* Responsive */
@media (max-width: 480px) {
  .login-card {
    padding: 1.5rem;
  }

  .glow-title {
    font-size: 1.5rem;
  }

  .btn-violet {
    font-size: 0.9rem;
    padding: 10px;
  }
}
