@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 15px;
  background: #002e6b;
  overflow: hidden;
  position: relative;
  color: white;
}

/* Particles background */
#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.wrapper {
  max-width: 450px;
  width: 100%;
  padding: 30px;
  background: transparent;
  border-radius: 10px;
  overflow-y: auto;
  max-height: 90vh;
}

.wrapper .title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #01ffff;
}

form .input-line {
  position: relative;
  margin-bottom: 25px;
}

.input-line input,
.input-line select {
  width: 100%;
  padding: 10px 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid #01ffff;
  color: white;
  font-size: 16px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Placeholder styling */
.input-line input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Dropdown arrow */
.input-line select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.41 0L6 4.58 10.59 0 12 1.41 6 7.41 0 1.41z' fill='%2301ffff'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1rem;
  padding-right: 1.5rem;
}

.input-line select option {
  background-color: #002e6b;
  color: white;
}

/* Toggle eye icon */
.toggle-password {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  cursor: pointer;
}

.toggle-password i {
  font-size: 16px;
}

/* Submit Button */
.button input {
  background-color: #01ffff;
  color: #002e6b;
  padding: 12px;
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  transition: 0.3s;
  cursor: pointer;
}

.button input:hover {
  background-color: #00dede;
  box-shadow: 0 0 10px #01ffff;
}

/* Signup link */
.signup-link {
  text-align: center;
  margin-top: 25px;
  font-size: 15px;
}

.signup-link a {
  color: #01ffff;
  text-decoration: none;
}

.signup-link a:hover {
  text-decoration: underline;
}

/* Scrollbar Styling (optional) */
.wrapper::-webkit-scrollbar {
  width: 6px;
}

.wrapper::-webkit-scrollbar-thumb {
  background-color: #01ffff;
  border-radius: 3px;
}

@media (max-width: 480px) {
  .wrapper {
    padding: 20px 15px;
  }

  .wrapper .title {
    font-size: 26px;
  }

  .input-line input,
  .input-line select {
    font-size: 14px;
  }

  .button input {
    font-size: 14px;
    padding: 10px;
  }

  .signup-link {
    font-size: 13px;
  }
}
