  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #a8e063, #56ab2f);
    font-family: 'Merriweather', serif;
    margin-bottom: 60px;
  }
  
  .login-container {
    background: linear-gradient(to bottom, #dbe0d5, #9de27d);
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
  }
  
  .login-container h1 {
    margin-bottom: 10px;
    color: #4CAF50;
  }
  
  .login-container p {
    margin-bottom: 20px;
    color: #777;
  }
  
  .input-group {
    position: relative;
    margin: 10px 0;
  }
  
  .input-group i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #999;
  }
  
  .input-group input {
    width: 100%;
    padding: 12px 12px 12px 45px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 16px;
  }
  
  .login-form button {
    width: 100%;
    padding: 12px;
    background: #4CAF50;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
  }
  
  .login-form button:hover {
    background: #45a049;
  }
  
  .signup-link {
    margin-top: 15px;
    font-size: 14px;
  }
  
  .signup-link a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
  }
.show-password {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  font-size: 14px;
  color: #333;
}

.show-password input[type="checkbox"] {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: #4CAF50;
  cursor: pointer;
}

.show-password label {
  cursor: pointer;
  display: inline;
}

  .register-container {
    background: linear-gradient(to bottom, #dbe0d5, #9de27d);
    padding: 30px;
    margin-top: 120px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
  }

  .forgot-password-container {
  max-width: 400px;
  width: 90%;
  margin: 50px auto;
  padding: 25px;
  background: linear-gradient(to bottom, #dbe0d5, #9de27d);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
  position: relative;
}

.back-arrow {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 1.3rem;
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.back-arrow:hover {
  color: #4CAF50;
}

.forgot-password-container h2 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.forgot-password-container p {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: #666;
}

.forgot-password-container .input-group {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  background-color: #f9f9f9;
}

.forgot-password-container .input-group i {
  margin-right: 10px;
  color: #555;
  font-size: 1.2rem;
}

.forgot-password-container input[type="email"] {
  border: none;
  outline: none;
  flex: 1;
  font-size: 1rem;
  background: transparent;
}

.forgot-password-container button {
  width: 100%;
  padding: 12px;
  background-color: #4CAF50;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.forgot-password-container button:hover {
  background-color: #45a049;
}

@media screen and (max-width: 480px) {
  .forgot-password-container {
    padding: 20px 15px;
  }

  .forgot-password-container h2 {
    font-size: 1.3rem;
  }

  .forgot-password-container p {
    font-size: 0.9rem;
  }

  .forgot-password-container .input-group {
    flex-direction: row;
    padding: 8px;
  }

  .forgot-password-container input[type="email"] {
    font-size: 0.95rem;
  }

  .forgot-password-container button {
    font-size: 0.95rem;
    padding: 10px;
  }



  .verify-password-container {
     max-width: 400px;
     width: 90%;
     margin: 50px auto;
     padding: 25px;
     background: linear-gradient(to bottom, #dbe0d5, #9de27d);
     border-radius: 10px;
     box-shadow: 0 4px 10px rgba(0,0,0,0.1);
     font-family: Arial, sans-serif;
     position: relative;
  }

  .verify-password-container h2 {
    font-size: 20px;
    text-align: center;
  }

  .verify-password-container p {
    font-size: 13px;
  }

  .input-group input {
    font-size: 15px;
    padding: 10px;
  }

  button[type="submit"] {
    font-size: 15px;
    padding: 10px 0;
  }
   .reset-password-container {
    padding: 20px 15px;
    border-radius: 10px;
  }

  .reset-password-container h2 {
    font-size: 20px;
  }

  .input-group input {
    font-size: 15px;
    padding: 10px;
  }

  button[type="submit"] {
    font-size: 15px;
    padding: 10px 0;
  }
}

.verify-password-container {
  max-width: 400px;
  width: 90%;
  margin: 50px auto;
  padding: 25px;
  background: linear-gradient(to bottom, #dbe0d5, #9de27d);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
  position: relative;
}

.verify-password-container h2 {
  margin-bottom: 15px;
  font-size: 24px;
  color: #333;
  text-align: center;
}

.verify-password-container p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.input-group {
  margin-bottom: 20px;
}

.input-group input {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

button[type="submit"] {
  background-color: #28a745;
  color: white;
  padding: 12px 0;
  width: 100%;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #218838;
}

.reset-password-container {
  max-width: 400px;
  width: 90%;
  margin: 50px auto;
  padding: 25px;
  background: linear-gradient(to bottom, #dbe0d5, #9de27d);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
  position: relative;
}

.reset-password-container h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
  text-align: center;
}

.input-group {
  margin-bottom: 20px;
}

.input-group input {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}
    .resend-wrapper {
      position: absolute;
      right: 5px;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      gap: 5px;
      align-items: center;
    }

    .resend-wrapper span {
      font-size: 13px;
      font-weight: bold;
      color: #888;
    }

    .resend-wrapper button {
      background: none;
      border: none;
      color: #007bff;
      font-size: 13px;
      cursor: pointer;
      padding: 0;
    }

    .resend-wrapper button[disabled] {
      color: #aaa;
      cursor: not-allowed;
    }

    button[type="submit"] {
      padding: 10px 20px;
      background-color: #28a745;
      border: none;
      border-radius: 5px;
      color: white;
      cursor: pointer;
      width: 100%;
    }


    .reset-container {
      max-width: 400px;
      margin: 60px auto;
      padding: 25px;
      background: white;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .reset-container h2 {
      text-align: center;
      margin-bottom: 20px;
    }
    .reset-container .input-group {
      margin-bottom: 15px;
    }
    .reset-container .input-group input {
      width: 100%;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 5px;
    }
    .reset-container button {
      width: 100%;
      padding: 12px;
      background-color: #4CAF50;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }
    .reset-container button:hover {
      background-color: #45a049;
    }

  /*registration form*/
.register-container {
  background: linear-gradient(to bottom, #dbe0d5, #9de27d);
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 50px;
}

.register-container h1 {
  margin-bottom: 10px;
  color: #4CAF50;
}

.register-container p {
  margin-bottom: 20px;
  color: #777;
}

.input-group {
  position: relative;
  margin: 10px 0;
}

.input-group i {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #888; /* unified gray for icons */
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 12px 12px 12px 45px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  background-color: white;
  color: #333;
  appearance: none;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input:focus,
.input-group select:focus {
  border-color: #4CAF50;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

/* 🌾 Gender Select */
.gender-select {
  background-image:
    linear-gradient(to right, #fff, #f9f9f9),
    url("data:image/svg+xml;utf8,<svg fill='gray' height='20' width='20' xmlns='http://www.w3.org/2000/svg'><polygon points='0,0 20,0 10,10'/></svg>");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
  color: #888; /* unified gray text before selection */
  cursor: pointer;
}

/* When user selects gender */
.gender-select:valid {
  color: #333;
}

/* 🎂 Date Input (Birthday) */
.input-group input[type="date"] {
  color: transparent;
  background-color: #fff;
  padding: 12px 12px 12px 45px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  width: 100%;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
}

/* Show 'Birthdate' as a placeholder */
.input-group input[type="date"]::before {
  content: attr(placeholder);
  position: absolute;
  left: 45px;
  top: 50%;
  transform: translateY(-50%);
  color: #888; /* same gray as others */
  pointer-events: none;
  font-size: 16px;
}

/* When date selected */
.input-group input[type="date"]:valid {
  color: #333;
}

.input-group input[type="date"]:valid::before {
  content: "";
}

/* Add focus glow */
.input-group input[type="date"]:focus {
  border-color: #4CAF50;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

/* 👁 Show password section */
.show-password {
  display: flex;
  align-items: center;
  margin: 10px 0;
  font-size: 14px;
  color: #555;
}

.show-password input[type="checkbox"] {
  margin-right: 8px;
}

/* 🌿 Register button */
.register-form button {
  width: 100%;
  padding: 12px;
  background: #4CAF50;
  color: white;
  font-size: 18px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s;
}

.register-form button:hover {
  background: #45a049;
}

/* 🔗 Login link */
.login-link {
  margin-top: 15px;
  font-size: 14px;
  color: #333;
}

.login-link a {
  color: #4CAF50;
  text-decoration: none;
  font-weight: bold;
}

.login-link a:hover {
  text-decoration: underline;
}


  .login-link {
    margin-top: 10px;
    font-size: 14px;
  }
  
  .login-link a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
  }

  .input-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
  }
  
  .input-group input {
    flex: 1;
    padding: 10px 10px 10px 40px;
    font-size: 16px;
  }
  
  .input-group .left-icon {
    position: absolute;
    left: 10px;
    color: #888;
    font-size: 18px;
    pointer-events: none;
  }
  
  .input-group .toggle-password {
    margin-left: 210px;
    cursor: pointer;
    color: #888;
    font-size: 18px;
  }
  
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(34, 139, 34, 0.6);
    backdrop-filter: blur(2px);
  }

  .modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    font-family: 'Segoe UI', sans-serif;
    border: 2px solid #4CAF50;
    box-shadow: 0 8px 20px rgba(0, 128, 0, 0.2);
    color: #2d4a22;
  }

  .modal-content h2 {
    margin-top: 0;
    color: #2e7d32;
    font-size: 24px;
    text-align: center;
  }

  .modal-content ul {
    padding-left: 20px;
    margin: 15px 0;
  }

  .modal-content ul li {
    margin-bottom: 10px;
    line-height: 1.6;
  }

  .modal-content button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 18px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    display: block;
    margin: 20px auto 0;
  }

  .modal-content button:hover {
    background-color: #388e3c;
  }

  .close {
    color: #888;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }

  .close:hover {
    color: #e53935;
  }

  .terms-condition {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px 0;
    font-size: 14px;
    color: #333;
  }

  .terms-condition input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
    accent-color: #4CAF50;
    cursor: pointer;
  }

  .terms-condition label {
    cursor: pointer;
    display: inline;
  }

  .terms-condition a {
    color: #388e3c;
    text-decoration: underline;
    font-weight: 500;
  }

  .terms-condition a:hover {
    color: #2e7d32;
    text-decoration: none;
  }
