/* ========================
   BODY BACKGROUND
   ======================== */
body {
  background: #000;
  color: #fff;
  min-height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;

  background-image: radial-gradient(rgba(0, 150, 255, 0.25) 1px, transparent 1px);
  background-size: 30px 30px;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

/* ========================
   SPLASH SCREEN
   ======================== */
#splash {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #fff;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
  font-size: 2rem;
  font-weight: bold;
}

#typewriter {
  border-right: 3px solid #000;
  white-space: nowrap;
  overflow: hidden;
}

/* ========================
   LOGIN CONTAINER
   ======================== */
.login-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 150, 255, 0.4);
  text-align: center;
  width: 320px;
  animation: fadeIn 1s ease-in-out;
}

.logo {
  width: 100px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 10px rgba(0,150,255,0.8));
}

.title {
  font-size: 1.5rem;
  margin-bottom: 5px;
  text-shadow: 0 0 10px rgba(0,150,255,0.8);
}

.tagline {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 25px;
}

/* ========================
   INPUT FIELDS
   ======================== */
input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: none;
  outline: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

input::placeholder {
  color: rgba(255,255,255,0.6);
}

input:focus {
  background: rgba(0,150,255,0.15);
  box-shadow: 0 0 10px rgba(0,150,255,0.6);
}

/* ========================
   BUTTON
   ======================== */
button {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: #0d6efd;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #0b5ed7;
  box-shadow: 0 0 20px rgba(0,150,255,0.8);
  transform: scale(1.05);
}

/* ========================
   MODAL (for 2FA)
   ======================== */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 0 25px rgba(0,150,255,0.8);
}

/* ========================
   ANIMATIONS
   ======================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}

/* ========================
   LOGIN CONTAINER
   ======================== */
.login-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 150, 255, 0.4);
  text-align: center;
  width: 320px;
  animation: fadeIn 1s ease-in-out;
}

/* ========================
   INPUT FIELDS + BUTTON UNIFORM SIZE
   ======================== */
input,
button {
  display: block;
  width: 100%;
  box-sizing: border-box;
  height: 45px;              /* 👈 Same height for all */
  padding: 10px;
  margin-bottom: 15px;
  border: none;
  outline: none;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

/* Input specific styles */
input {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

input::placeholder {
  color: rgba(255,255,255,0.6);
}

input:focus {
  background: rgba(0,150,255,0.15);
  box-shadow: 0 0 10px rgba(0,150,255,0.6);
}

/* Button styling */
button {
  background: #0d6efd;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}

button:hover {
  background: #0b5ed7;
  box-shadow: 0 0 20px rgba(0,150,255,0.8);
  transform: scale(1.03);
}
