/* === auth_styles.css | Login/Create Account === */
form {
  max-width: 500px;
  margin: 50px auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 99, 71, 0.4);
}

form h2 {
  text-align: center;
  color: #ff6347;
  font-size: 2em;
  margin-bottom: 20px;
}

input[type="text"],
input[type="password"],
input[type="tel"],
input[type="email"] {
  width: 100%;
  padding: 10px 40px 10px 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  width: 20px;
  cursor: pointer;
}

.toggle-password svg {
  width: 20px;
  height: 20px;
  fill: #888;
  display: block;
  transition: fill 0.3s;
}

.toggle-password:hover svg {
  fill: #ff6347;
}

button {
  width: 100%;
  padding: 12px;
  background-color: #ff6347;
  border: none;
  border-radius: 5px;
  color: white;
  font-size: 1.2em;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #cc3f2c;
}

form p a {
  color: #ff6347;
  text-decoration: none;
}

form p a:hover {
  text-decoration: underline;
}

.home-link {
  text-align: center;
  margin: 30px 0 10px;
}

.home-link a {
  font-size: 1.1em;
  color: #ff6347;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.home-link a:hover {
  color: #cc3f2c;
}

/* Hide browser's native eye icon in password fields (Edge, Safari, Chrome) */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none;
}

input[type="password"]::-webkit-credentials-auto-fill-button {
  visibility: hidden;
  display: none !important;
  pointer-events: none;
  position: absolute;
  right: 0;
}

input[type="password"]::after {
  display: none;
}
