/* ======= GLOBAL DARK BACKGROUND + PARTICLE SUPPORT ======= */
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  background-color: #121212;
  color: white;
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
  position: relative;
  z-index: 1; /* ensures content is above the particle canvas */
}

/* Center the container on the screen */
body {
  display: flex;
  align-items: center;
  justify-content: center;
}


#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* canvas layer behind everything */
  background: transparent;
  pointer-events: none; /* disables clicks blocking UI */
}



.login-container {
  position: relative;           /* Ensures it's above particles */
  z-index: 1;                   /* Keeps it above particle layer */
  width: 90%;
  max-width: 400px;
  padding: 40px;

  /* Glassmorphism Effect */
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);

  /* Shadow for depth */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  text-align: center;
}


input[type="tel"],
input[type="text"] {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  background-color: #444;
  color: white;
}

button {
  background-color: #7c3aed;
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  margin-top: 10px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #9b59b6;
}

.separator {
  margin: 20px 0;
  font-weight: bold;
  opacity: 0.6;
}

.guest-btn {
  background-color: #444;
}

.guest-btn:hover {
  background-color: #666;
}

@media screen and (max-width: 600px) {
  .login-container {
    padding: 30px;
    width: 95%;
    border-radius: 10px;
  }
  input,
  button {
    font-size: 15px;
  }
}
