/* Reset */
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "Montserrat", sans-serif;
  background: #000;
}

/* Canvas full screen behind everything */
#starfield {
  position: fixed; /* fixed so it stays fullscreen */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0; /* behind everything */
}

/* Container centered and above canvas */
.admin-login-container {
  position: fixed; /* full screen overlay */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1; /* above canvas */
}

/* Login box styling stays the same */
.admin-login-box {
  background: rgba(10, 10, 25, 0.95);
  border-radius: 20px;
  padding: 2rem 3rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.4), 0 0 40px rgba(138, 43, 226, 0.3);
}

/* Titles */
.admin-title,
.admin-subtitle {
  background: linear-gradient(270deg, #8a2be2, #00bfff, #8a2be2);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 10s ease infinite;
  margin: 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* Labels */
.admin-login-box label {
  display: block;
  margin-bottom: 0.3rem;
  color: #fff;
  text-shadow: 0 0 5px #fff, 0 0 10px #00bfff;
  font-weight: 500;
  font-size: 0.9rem;
  text-align: left;
}

/* Inputs */
.admin-login-box input {
  width: 100%;
  padding: 0.7rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-shadow: 0 0 3px #fff;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.admin-login-box input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.admin-login-box input:focus {
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Button */
.login-button {
  width: 100%;
  padding: 0.8rem;
  margin-top: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 0 5px #fff, 0 0 10px #00bfff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.6), 0 0 30px rgba(0, 191, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(138, 43, 226, 0.8), 0 0 50px rgba(0, 191, 255, 0.5);
}

/* Animations */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}