/* Default styles for both desktop and mobile */
body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  padding: 0;
  background-image: linear-gradient(135deg, #FAB2FF 10%, #1904E5 100%);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: "Open Sans", sans-serif;
  color: #333333;
}

.box-form {
  margin: 0 auto;
  width: 100%; /* or any desired value */
  max-width: 400px; /* Add this line to limit the maximum width on mobile devices */
  background: #FFFFFF;
  border-radius: 50px;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* Update to column direction for mobile devices */
  align-items: center; /* Update to center alignment */
  box-shadow: 0 0 20px 6px #090b6f85;
  transform: scale(1.40); /* Apply slight zoom effect */
}

.box-form .left {
  color: #FFFFFF;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("201791110-rabbit-couple-with-heart-shape-light-background-valentines-day-concept-generative-ai.webp");
  /* Remove the overflow property */
}

.box-form .left .overlay {
  padding: 30px;
  width: 100%;
  height: 100%;
  background: #5961f9ad;
  overflow: hidden;
  box-sizing: border-box;
}

.box-form .left .overlay h1 {
  font-size: 5vmax;
  line-height: 1;
  font-weight: 900;
  margin-top: 40px;
  margin-bottom: 20px;
}

.box-form .left .overlay p {
  font-size: 1.5rem;
  font-weight: 900;
  animation: quotesAnimation 3s ease-in-out infinite alternate;
}

@keyframes quotesAnimation {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.box-form .right {
  padding: 20px; /* Reduce the padding for mobile devices */
  /* Remove the overflow property */
}

.box-form .right h5 {
  font-size: 2rem;
  line-height: 0;
}

.box-form .right p {
  font-size: 1.25rem;
  font-weight: bold;
}

.box-form .right .inputs {
  overflow: visible
}

.box-form .right input {
  width: 100%;
  padding: 10px;
  margin-top: 15px; /* Reduce the margin for mobile devices */
  font-size: 16px;
  border: none;
  outline: none;
  border-bottom: 2px solid #5961f9ad;
  border-radius: 8px;
  transition: border-bottom 0.3s ease-in-out;
}

.box-form .right input:focus {
  border-bottom: 2px solid #3472F7;
  transform: translateX(5px);
  transition: transform 0.3s ease-in-out;
}

.box-form .right .remember-me--forget-password {
  display: flex;
  flex-direction: column; /* Update to vertical column layout */
  align-items: flex-start; /* Align items to the start (left side) */
  margin-top: 10px; /* Add margin to create space between Remember me and Forgot password */
}

.box-form .right .remember-me--forget-password label {
  margin-bottom: 5px; /* Add margin at the bottom of the label */
}

.box-form .right .forget-password-text {
  font-size: 1rem;
  font-weight: bold;
}


.box-form .right button {
  float: right;
  color: #fff;
  font-size: 14px; /* Reduce the font size for mobile devices */
  padding: 10px 25px; /* Reduce the padding for mobile devices */
  border-radius: 50px;
  display: inline-block;
  border: 0;
  outline: 0;
  box-shadow: 0px 4px 20px 0px #49c628a6;
  background-image: linear-gradient(135deg, #70F570 10%, #49C628 100%);
}

label {
  display: block;
  position: relative;
  margin-left: 30px;
}

label::before {
  content: ' \f00c';
  position: absolute;
  font-family: FontAwesome;
  background: transparent;
  border: 3px solid #70F570;
  border-radius: 4px;
  color: transparent;
  left: -30px;
  transition: all 0.2s linear;
}

label:hover::before {
  font-family: FontAwesome;
  content: ' \f00c';
  color: #fff;
  cursor: pointer;
  background: #70F570;
}

label:hover::before .text-checkbox {
  background: #70F570;
}

label span.text-checkbox {
  display: inline-block;
  height: auto;
  position: relative;
  cursor: pointer;
  transition: all 0.2s linear;
}

label input[type="checkbox"] {
  display: none;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}


/* Mobile-specific styles */
@media (max-width: 980px) {
  body {
    /* Add your mobile-specific body styles here */
  }

  .box-form {
    /* Add your mobile-specific box-form styles here */
  }

  .box-form .left {
    /* Add your mobile-specific left styles here */
  }

  .box-form .right {
    /* Add your mobile-specific right styles here */
  }

  /* Add more styles for other elements as needed */
}