.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 200px auto 50px;
  max-width: 800px;
  border: 1px solid #93c84a52;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login-image {
  display: block;
  flex: 1;
  height: 100%;
}

.login-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Existing styles above */

.remember-me--forget-password {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
  color: #555;
}

.remember-me--forget-password label {
  display: flex;
  align-items: center;
}

.remember-me--forget-password input[type="checkbox"] {
  margin-right: 7px;

}

.remember-me--forget-password .text-checkbox {
  cursor: pointer;
  margin-bottom: 20px;
}

.remember-me--forget-password p {
  margin: 0;
  cursor: pointer;
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s;
}

.remember-me--forget-password p:hover {
  color: #0056b3;
  text-decoration: underline;
}

.login-form {
  flex: 1;
  padding: 40px;
}

.login-form form {
  display: flex;
  flex-direction: column;
}

.login-form h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
}

.login-form label {
  margin-bottom: 8px;
  font-weight: bold;
  color: #555;
}

.login-form input {
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

.login-form button {
  padding: 12px;
  background-color: #93c84a52;
  border-radius: 50px;
  color: #000000;
  font-size: 16px;
  cursor: pointer;
  font-weight: 500;
  border: 2px solid #94C84A;
}

.login-form button:hover {
  background-color: #94C84A;
}

.google-login {
  margin-top: 20px;
}

.google-login button {
  width: 100%;
  padding: 10px;
  background-color: #93c84a52;
  border: none;
  border-radius: 50px;
  color: rgb(0, 0, 0);
  font-size: 16px;
  cursor: pointer;
  border: 2px solid #94C84A;
}

.google-login button:hover {
  background-color: #94C84A;
}

/* Flex container and child alignment */
.flex-c-m {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

/* Styling for the Google login button */
.login100-form-social-item {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #000000;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 50px;
  transition: background-color 0.3s;
}

/* Specific background color for Google */
.bg3 {
  background-color: #93c84a52;
  border: 2px solid #94c84a;
}

.login100-form-social-item i {
  margin-right: 8px;
}

/* Hover effect */
.login100-form-social-item:hover {
  background-color: #94C84A;
}

.login-social-media {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: #555;
  text-align: center;
}

.error {
  color: red;
  font-size: 14px;
  margin: 10px 0;
  padding: 10px;
  background-color: #f8d7da;
  border: 1px solid #f5c2c7;
  border-radius: 5px;
}

.password-wrapper {
  position: relative;
  width: 100%;
}

#password {
  width: 100%;
  padding-right: 45px;
  /* Space for eye icon */
  box-sizing: border-box;
}

/* Eye icon button inside the input box */
.password-toggle {
  position: absolute;
  right: 12px;
  /* Keep it inside */
  top: 50%;
  transform: translateY(-50%);
  background: none !important;
  border: none !important;
  cursor: pointer;
  padding: 0;
  outline: none;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
}

/* Remove pseudo-element decorations if they exist */
.password-toggle::before,
.password-toggle::after {
  content: none !important;
  display: none !important;
}

.password-toggle i,
.password-toggle i:before,
.password-toggle i:after {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.password-toggle:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Keep icon color transition but no circle */
.password-toggle i {
  font-size: 18px;
  color: #555;
  transition: color 0.18s ease-in-out;
}

/* Optional: change color when active/hover */
.password-toggle:hover i,
.password-toggle[aria-pressed="true"] i {
  color: #94C84A;
}

/* Media queries for responsiveness */
@media (max-width: 599px) {
  .password-wrapper {
    position: relative;
    /* ensure relative for the toggle */
  }

  .login-container {
    flex-direction: column;
    width: 90%;
    margin: 50px auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }

  .login-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
  }

  .login-image img {
    width: 100%;
    height: 90%;
    object-fit: cover;
    border-radius: 12px;
  }

  .login-form {
    padding: 25px 15px;
    width: 100%;
    text-align: center;
  }

  .login-form h2 {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .login-form label {
    font-size: 15px;
    text-align: left;
  }

  .login-form input {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
  }

  .password-wrapper {
    width: 100%;
  }

  .password-toggle {
    right: 10px;
    width: 22px;
    height: 22px;
  }

  .login-form button {
    width: 100%;
    padding: 14px;
    font-size: 17px;
    margin-top: 5px;
    background: #94C84A;
    color: #000;
    border-radius: 50px;
    border: none;
    font-weight: 600;
  }

  .login-form button:hover {
    background: #7EB53A;
  }

  .remember-me--forget-password {
    font-size: 13px;
    margin-bottom: 15px;
  }

  .remember-me--forget-password p {
    font-size: 13.5px;
  }

  .error {
    font-size: 13px;
    padding: 8px;
  }

  .login-social-media {
    font-size: 13px;
  }

  .google-login button {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-top: 12px;
  }

  .password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    justify-content: right;
  }

  #password {
    padding-right: 40px;
  }
}