* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #f8fdf9;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  display: flex;
  width: 90%;
  max-width: 1000px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.left-section {
  flex: 1;
  background-color: #e8f9ef;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}

.error-message {
  color: red;
  margin-bottom: 10px;
  padding: 4px 10px;
  text-align: center;
  /* background-color: rgb(240, 157, 157); */
}

.success-message {
  color: green;
  margin-bottom: 10px;
  padding: 4px 10px;
  text-align: center;
  /* background-color: rgb(157, 240, 164); */
}

.left-section img {
  width: 230px;
  margin-bottom: 20px;
}

.left-section h2 {
  font-weight: 600;
  color: #1a3d2f;
  margin-bottom: 10px;
}

.left-section p {
  color: #4a6b5c;
  font-size: 14px;
  line-height: 1.6;
}


.right-section {
  flex: 1;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.login-box {
  width: 100%;
  max-width: 350px;
}

.logo {
  text-align: center;
  margin-bottom: 20px;
}

.logo img {
  width: 200px;
}


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

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 15px;
}

label {
  font-size: 14px;
  color: #333;
}

.input-group-custom {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

input {
  width: stretch;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}

.input-group .password-wrapper input {
  width: 100%;
  padding: 10px 40px 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}

.input-group .password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-group .password-wrapper button {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

input:focus {
  border-color: #2e8b57;
}

.forgot {
  text-align: right;
  margin-bottom: 15px;
}

.forgot a {
  font-size: 13px;
  text-decoration: none;
  color: #36a669;
}

.hidden {
  display: none;
}

.toggle-link {
  color: #007bff;
  cursor: pointer;
  font-weight: 500;
}

.toggle-link:hover {
  text-decoration: underline;
}

.btn {
  width: 100%;
  margin-bottom: 20px;
  background-color: #36a669;
  color: white;
  border: none;
  padding: 10px 0;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn:hover {
  background-color: #153026;
}


.divider {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  font-size: 14px;
  color: #888;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: #ddd;
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}


.google-btn {
  background-color: white;
  border: 1px solid #ddd;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.google-btn img {
  width: 20px;
  height: 20px;
}

.headingpp {
  text-align: center;
  margin-bottom: 20px;
  text-transform: capitalize;
}

.otp-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}


.resend-link {
  font-size: 12px;
  color: #3498db;
  text-decoration: none;
}

.otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 15px 0;
}

.otp-box {
  width: 45px;
  height: 45px;
  text-align: center;
  font-size: 1.2rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  color: #333;
}

.otp-box:focus {
  border-color: #3498db;
  outline: none;
}

.signup {
  text-align: center;
  font-size: 14px;
}

.signup a {
  color: #36a669;
  text-decoration: none;
  font-weight: 500;
}


@media (max-width: 850px) {
  .container {
    flex-direction: column;
    width: 95%;
  }

  .left-section {
    order: 2;
    padding: 30px;
  }

  .right-section {
    order: 1;
    padding: 30px 20px;
  }
}

.illustration img {
  width: 230px;
  border-radius: 20px;
  background-color: #e8f9ef;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}