* {
  box-sizing: border-box;
}

body.auth-body {
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

  /* Layered background: fallback first, then image */
  background: 
    url('../images/signup_background.jpg') center/cover no-repeat;
}

.auth-container {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  text-align: center;
}

.auth-logo {
  margin: 0;
  padding: 0;
  line-height: 1;
}
.auth-logo img {
  height: 80px;
  width: auto;
  display: block;
  margin: 0 auto;
  margin-bottom: -12px;
  padding: 0;
}

.auth-container h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #e91e63;
}

.auth-container p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 25px;
}

.form-error {
  background: #ffe6e6;
  color: #c62828;
  padding: 10px 15px;
  margin-bottom: 15px;
  border-left: 4px solid #e91e63;
  border-radius: 4px;
  font-size: 14px;
  display: none;
}

form input,
form select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  box-sizing: border-box;
}

form button[type="submit"] {
  background: #e91e63;
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}
form button:hover [type="submit"] {
  background: #c2185b;
}
form select::-ms-expand {
    display: none;
}
form select:focus {
 outline: none;  
 box-shadow: 0 0 0 2px rgba(233, 30, 99, 0.2); 
}
#signupGender,
#countrySelect,
#signupInterest,
form select { 
    -webkit-appearance: none; 
    -moz-appearance: none; 
    appearance: none;      
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>'); 
    background-repeat: no-repeat;
    background-position: right 12px center; 
    background-size: 20px; 
    padding-right: 40px; 
    text-align: left;
    text-align-last: left; 
}

.login-link {
  margin-top: 20px;
  font-size: 0.9rem;
}
.login-link a {
  color: #e91e63;
  text-decoration: none;
  font-weight: 600;
}

.password-field {
  position: relative;
}

.password-field input {
  width: 100%;
  padding: 12px;
  padding-right: 40px; /* Space for the eye icon */
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

#togglePassword {
  position: absolute;
  top: 40%;
  right: 12px;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #777;
  padding: 0;
  margin: 0;
  line-height: 1;
}

.eye-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #777;
  padding: 0;
  margin: 0;
  line-height: 1;
  width: auto;
  height: auto;
}

#resetSection {
  background: #fff;
  padding: 30px;
  max-width: 400px;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  font-family: 'Poppins', sans-serif;
  display: none;
  text-align: center;
}

#resetSection h3 {
  margin-bottom: 20px;
  color: #d63384; /* Amora pink theme */
  font-size: 20px;
}

#resetEmail {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 15px;
}

#sendResetLinkBtn,
#backToLoginBtn {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border: none;
  border-radius: 6px;
  background-color: #d63384; /* Amora pink */
  color: white;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background 0.3s;
}

#sendResetLinkBtn:hover,
#backToLoginBtn:hover {
  background-color: #b92d71; /* Darker pink */
}

#resetMessage {
  font-size: 14px;
  color: green;
  margin-top: 10px;
}

.message {
  font-size: 14px;
  margin-top: 8px;
}

.message.error {
  color: red;
}

.message.success {
  color: green;
}

.timer {
  font-size: 13px;
  margin-top: 5px;
  color: #555;
}

.back-to-home-link {
    display: block; /* Makes it take full width, pushes content below */
    text-align: left; /* Aligns the arrow and text to the left */
    margin-bottom: 25px; /* Adds space between the link and the main heading */
    color: #FF69B4; /* Use your brand's pink color */
    text-decoration: none; /* Remove underline */
    font-size: 15px; /* A bit smaller than headings, easy to read */
    font-weight: 500; /* Slightly bolder than regular text */
    transition: color 0.2s ease, transform 0.2s ease; /* Smooth transition for hover */
}

.back-to-home-link:hover {
    color: #e652a2; /* Darker pink on hover */
    transform: translateX(-3px); /* Subtle slide effect on hover */
}
