.green-bg {
  background-color: #59cb00;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.circle {
  position: absolute;
  background-color: #42b32f;
  border-radius: 50%;
  z-index: 0;
  animation: magnetMotion 2s infinite cubic-bezier(0.52, -0.01, 0.48, 1.03);
}

.circle-top-right {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
}

.circle-bottom-left {
  width: 400px;
  height: 400px;
  bottom: -120px;
  left: -120px;
  animation-delay: 1s;
}

/* Keyframes for the Magnet Effect */
@keyframes magnetMotion {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-25px);
  }

  100% {
    transform: translateY(0);
  }
}

.z-1 {
  z-index: 1;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h2,
p {
  margin: 0;
}

.form-label {
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.form-control {
  font-size: 16px;
}

.auth .icon-field {
  position: relative;
}

.auth .icon {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

input:focus,
button:focus {
  outline: none;
  box-shadow: none;
}

.forgot-password-container {
  min-height: 100vh;
  background-color: #f9f9f9;
}

.inner-container {
  width: 700px;
}

.input-field {
  width: 80%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 6px;
  border: 1px solid #e4e4e4;
  background-color: #e4e4e4;
}

.forgot-btn {
  text-align: center;
  width: 400px;
  background-color: #59cb00;
  color: white;
  padding: 12px;
  margin-top: 20px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.5s ease;
}

.forgot-btn:hover {
  transform: scale(1.1);
}

.otpInput {
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 20px;
  margin: 0 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 50px;
}

.forgot-icon {
  font-size: 20px;
  left: 10px;
  top: 55px;
  color: #888;
  z-index: 1;
}

/* Hide left side on small screens */
@media (max-width: 768px) {
  .auth-left {
    display: none !important;
  }

  .auth-right {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  .inner-container {
    width: 100% !important; /* Full width on mobile */
    padding: 0 1.5rem;
  }

  .input-field {
    width: 100% !important;
  }

  .forgot-btn {
    width: 100% !important;
    max-width: 100%;
  }

  .otpInput {
    width: 45px;
    height: 45px;
    font-size: 18px;
    margin: 0 4px;
  }
}

@media (max-width: 480px) {
  .otpInput {
    width: 38px;
    height: 38px;
    font-size: 16px;
    margin: 0 3px;
  }

  .inner-container {
    padding: 0 1rem;
  }
}
