/* auth.css */

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #1e3c72, #2a5298);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.wrapper {
  background-color: rgba(0, 0, 0, 0.25);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  width: 90%;
  max-width: 400px;
}

h1, h2 {
  margin-bottom: 20px;
  font-weight: 600;
}

/* Make ALL input boxes equal height */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  border-radius: 8px;
  outline: none;
  font-size: 16px;
  box-sizing: border-box; /* Ensure padding doesn't add extra size */
}


input[type="radio"] {
  margin: 0 5px;
}

button {
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  background-color: #00b4d8;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 5px;
}

button:hover {
  background-color: #0077b6;
}

a {
  color: #90e0ef;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.remember-forgot,
.register-link {
  margin-top: 15px;
  font-size: 14px;
}


.password-box {
  position: relative;
  width: 100%; /* Matches input width */
  display: flex;
  align-items: center;
}

.password-box input {
  width: 100%;
  padding-right: 45px; /* Space for toggle button */
  box-sizing: border-box;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 16px;
}


/* Fix for password toggle button visibility */
.password-box button {
  all: unset; /* Reset all inherited button styles */
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-size: 20px;
  cursor: pointer;
  color: #fff; /* Visible on dark background */
  padding: 5px; /* Tap-friendly for Android */
}

#toggle-password {
  position: absolute;
  top: 30%;
  right: 10px;
  transform: translateY(-50%);
  font-size: 20px;
  cursor: pointer;
  color: #000000; /* Bright white for visibility */
  background: transparent;
  border: none;
  padding: 5px;
  z-index: 2; /* Ensure it's above input */
}

