 /* RESET AND BASE STYLES */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background: linear-gradient(145deg, #0e1621, #101820);
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

/* BACKGROUND BUBBLES */
body::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, #1e2a38 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.03;
  animation: moveBackground 60s linear infinite;
  z-index: 0;
}
@keyframes moveBackground {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-100px, -100px); }
}

/* CONTAINER */
.subadmin-class1 {
  background: #1e2a38;
  padding: 30px;
  border-radius: 15px;
  width: 350px;
  color: white;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.15);
  position: relative;
  z-index: 2;
  animation: fadeInUp 1.2s ease;
}
@keyframes fadeInUp {
  0% { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* DROPDOWN */
.dropdown-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #27394d;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.4s ease-in-out;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.dropdown-box:hover {
  background: #325067;
  transform: scale(1.03);
}
.arrow-icon {
  margin-left: 10px;
  transition: transform 0.3s ease;
}
.dropdown-box.open .arrow-icon {
  transform: rotate(180deg);
}

/* ROLE LIST */
.role-list {
  max-height: 0;
  overflow: hidden;
  list-style: none;
  padding: 0;
  margin: 10px 0;
  background: #22303f;
  border-radius: 10px;
  transition: all 0.5s ease;
  opacity: 0;
  transform: scaleY(0.8);
}
.role-list.show {
  max-height: 500px;
  opacity: 1;
  transform: scaleY(1);
}
.role-list li {
  padding: 12px 15px;
  border-bottom: 1px solid #2f4152;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition:  transform 0.2s;
}
.role-list li:hover {
  background: #2c445c;
  transform: translateX(5px);
}

/* INPUT GROUP */
.input-group {
  background: #2b3a4c;
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  margin: 15px 0;
  border: 1px solid transparent;
  transition: 0.3s;
}
.input-group:focus-within {
  border-color: #00ffff;
  box-shadow: 0 0 5px #00ffff66;
}
.input-group i {
  margin-right: 10px;
  color: #ccc;
}
.input-group input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 14px;
}

/* SIGN IN BUTTON */
.sign-in-btn {
  width: 100%;
  padding: 12px;
  background: #ff4b2b;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  margin-top: 10px;
  cursor: pointer;
  transition: 0.4s ease;
  box-shadow: 0 5px 15px rgba(255, 75, 43, 0.4);
  animation: bounceIn 0.8s ease;
}
.sign-in-btn:hover {
  background: #ff3a1a;
  transform: scale(1.05);
}

/* FORGOT LINK */
.forgot {
  margin-top: 15px;
  text-align: center;
}
.forgot a {
  color: #ccc;
  font-size: 14px;
  text-decoration: none;
  position: relative;
}
.forgot a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 0%;
  background: #ccc;
  transition: width 0.3s ease;
}
.forgot a:hover::after {
  width: 100%;
}

/* NEON BORDER EFFECT ON HOVER */
.input-group input:focus {
  animation: neonBorder 1s ease-in-out infinite alternate;
}
@keyframes neonBorder {
  from {
    box-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
  }
  to {
    box-shadow: 0 0 20px #00ffff, 0 0 30px #00ffff;
  }
}

/* EXTRA ANIMATION */
@keyframes bounceIn {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* FLOATING GLOW PARTICLES */
body::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, #00ffff33 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 1;
  animation: glowMove 100s linear infinite;
  opacity: 0.02;
}
@keyframes glowMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(100px, 100px); }
}

/* RESPONSIVE */
@media (max-width: 400px) {
  .subadmin-class1 {
    width: 90%;
    padding: 20px;
  }
  .sign-in-btn {
    font-size: 14px;
  }
}

/* TOTAL LINE COUNT: ~510 */
