/* Outer wrapper */
.login-fullscreen {
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  background: #f9fafb;
}

/* Left side: Form */
.login-left {
  width: 50%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
  box-sizing: border-box;
  border-radius: 32px 0 0 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  z-index: 2;
}

/* Hover effect on form */
.login-left:hover {
  transform: scale(1.02);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

.login-form-wrapper {
  background: rgba(255, 255, 255, 0.95); /* semi-transparent */
  padding: 48px 64px;
  border-radius: 28px;
  box-shadow: 0 15px 36px rgba(0, 0, 0, 0.007);
  max-width: 550px;
  width: 100%;
}
.login-form-wrapper:hover {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}
/* Title with green underline */
.login-form-wrapper h2 {
  font-size: 2.8rem;
  color: #1a1a1a;
  font-weight: 800;
  margin-bottom: 0.75rem;
  position: relative;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.login-form-wrapper h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 6px;
  background-color: #A5C420;
  border-radius: 3px;
  margin-top: 14px;
}

/* Description text */
.login-form-wrapper .desc {
  font-size: 1.15rem;
  color: #555;
  font-weight: 500;
  margin-bottom: 2.5rem;
  line-height: 1.4;
}

.input-group {
  margin-bottom: 1.75rem;
}

/* Input fields style */
.input-group input {
  width: 100%;
  padding: 16px 20px;
  font-size: 1.1rem;
  border: 1.5px solid #ddd;
  border-radius: 20px;
  background-color: #fcfcfc;
  box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.03);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  font-weight: 400;
  color: #222;
}
.input-group input:hover,
.input-group input:focus {
  border-color: #A5C420;
  box-shadow: 0 0 12px rgba(165, 196, 32, 0.3);
  outline: none;
}

.input-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: #222;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

/* Button styling */
.btn-login {
  width: 100%;
  background-color: #A5C420;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 16px 0;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(165, 196, 32, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  margin-top: 10px;
}

.btn-login:hover {
  background-color: #8FA419; /* Slightly darker shade for hover */
  box-shadow: 0 8px 20px rgba(143, 164, 25, 0.7);
}

.form-footer {
  margin-top: 2rem;
  font-size: 1rem;
  color: #666;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.forgot-password,
.register-link {
  color: #A5C420;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.forgot-password:hover,
.register-link:hover {
  text-decoration: underline;
  color: #1e7e34;
}

/* Right side: Image */
.login-right {
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-radius: 0 32px 32px 0;
  position: relative;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.05);
}
.login-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92);
  transition: filter 0.3s ease;
}
.login-right:hover img {
  filter: brightness(1);
}

/* Error and success messages */
.acf-sync-error {
  background: #ffe5e5;
  color: #721c24;
  padding: 14px 20px;
  border-left: 6px solid #dc3545;
  margin-bottom: 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.acf-custom-success {
  background: #e6f9ed;
  color: #155724;
  padding: 14px 20px;
  border-left: 6px solid #28a745;
  margin: 20px 0 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}



/* Modal Styles */
.otp-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.otp-modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
}

.otp-close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 25px;
  cursor: pointer;
}

.otp-modal input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.otp-modal button {
  background-color: #2ca6a4;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.otp-modal button:hover {
  background-color: #238f8c;
}


 #send-otp-btn {
    background-color: #37B6FE;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
	margin-top: 15px;
  }

  #send-otp-btn:hover {
    background-color: #1f9ddd; /* darker hover effect */
  }


@media (max-width: 998px) {
.login-right{
	display:none;
}
.login-left{
	width:100%;
}
}
/* Responsive (tablet & mobile) */
@media (max-width: 768px) {
  .login-fullscreen {
    height: auto;
    min-height: 100vh;
    flex-direction: column;
  }

  .login-left,
  .login-right {
    width: 100%;
    height: auto;
  }

  .login-right {
    border-radius: 32px 32px 32px 32px;
  }

  .login-right img {
    height: 280px;
    object-position: center center;
  }

  .login-left {
    padding: 40px 30px;
  }

  .input-group input,
  .btn-login {
    min-width: 320px;
    max-width: 100%;
  }
}

/* Smaller mobile devices */
@media (max-width: 400px) {
 .login-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 16px;
}

  .login-form-wrapper {
    padding: 28px 20px;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  }
  .login-form-wrapper h2 {
    font-size: 1.8rem;
    line-height: 1.2;
    text-align: center;
  }

  .login-form-wrapper .desc {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .input-group label {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
  }

  .input-group input {
    padding: 12px 14px;
    font-size: 1rem;
    border-radius: 14px;
  }

  .btn-login {
    font-size: 1rem;
    padding: 14px 0;
    border-radius: 12px;
    margin-top: 12px;
  }

  .form-footer {
    font-size: 0.85rem;
    text-align: center;
    margin-top: 1.5rem;
  }

  .forgot-password,
  .register-link {
    display: inline-block;
    margin-top: 10px;
  }

  .login-right img {
    height: 220px;
    object-position: center;
    border-radius: 20px;
  }

  .acf-sync-error,
  .acf-custom-success {
    font-size: 0.9rem;
    padding: 12px 16px;
    margin: 16px 0;
  }

}
