html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  font-family: 'Poppins', sans-serif;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
}



.login-container {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  background-color: #aaa6a600;
  padding: 10px 10px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px #030303;
  color: #0b0b0b;
  width: 450px;
  text-align: center;
  
}


.login-container h2 {
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  
}

.login-container input {
  width: 80%;
  height: 40px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  padding: 10px;
  padding-right: 35px; /* Add this */
  margin: 10px 0;
  border: none;
  border-radius: 8px;
  background: rgba(24, 24, 24, 0.2);
  color: #101010;
}


.login-container button {
  width: 150px;
  margin: 20px auto 0 auto; /* Center horizontally */
  padding: 10px;
  border: none;
  border-radius: 8px;
  background-color: #767677cc;
  color: #000;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: 0.3s;
  display: block;
}


.login-container button:hover {
  background-color: #086c08;
  color: #ffffff;
  transform: translateY(-5px);
  border: 2px solid var(--main-color);
}

.register-link {
  margin-top: 15px;
  font-size: 14px;
}

.register-link a {
  color: #313030;
  text-decoration: none;
}

.register-link a:hover{
  color: #ee0404;
}

.password-wrapper {
  position: relative;
}

.toggle-eye {
  position: absolute;
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
  cursor: pointer;
  width: 20px;    /* Reduced size */
  height: 20px;
  object-fit: contain;
}



.S2A-logo {
  width: 160px;         /* adjust size as you want */
  height: 80px;
  margin-bottom: 3px; /* space between image and heading */
  filter:drop-shadow(0px 0px 5px #4f4f4f)
}

.S2A-logo:hover{
  transform: scale(1.1);
   transition-duration: 1s;
   
}

.PastPaper-logo{
    width: 110px;         /* adjust size as you want */
    height: 110px;
    margin-bottom: 3px; /* space between image and heading */
}

.logo-row {
  display: flex;
  justify-content: Center; /* Center horizontally */
  gap: 12px;               /* space between logos */
  margin-bottom: 3px;     /* space below logos */
}

input::-ms-reveal,
input::-ms-clear {
  display: none;
}

input[type="password"]::-webkit-credentials-auto-fill-button {
  display: none !important;
}


@media (max-width: 768px) {
  .login-container {
    width: 90%;
    padding: 15px;
  }

  .login-container button {
    width: 70%;
  }

  .logo-row {
    gap: 8px;
  }

  .S2A-logo {
    height: 85px;
  }

  .PastPaper-logo {
    width: 80px;
  }
}

@media (max-width: 480px) {
  .login-container {
    width: 95%;
    padding: 10px;
  }

  .login-container h2 {
    font-size: 18px;
  }

  .login-container input {
    font-size: 14px;
    height: 35px;
  }

  .login-container button {
    width: 80%;
    font-size: 14px;
    padding: 8px;
  }

  .S2A-logo {
    height: 80px;

  }

  .PastPaper-logo {
    width: 70px;
  }
}