@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #4070f4;
}
.wrapper{
  position: relative;
  max-width: 500px;
  width: 100%;
  background: #fff;
  padding: 34px;
  border-radius: 6px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}
.wrapper h2{
  position: relative;
  font-size: 22px;
  font-weight: 600;
  color: #333;
}
.wrapper h2::before{
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 28px;
  border-radius: 12px;
  background: #4070f4;
}
.wrapper form{
  margin-top: 30px;
}
.wrapper form .input-box{
  height: 52px;
  margin: 18px 0;
}
form .input-box input{
  height: 100%;
  width: 100%;
  outline: none;
  padding: 0 15px;
  font-size: 17px;
  font-weight: 400;
  color: #333;
  border: 1.5px solid #C7BEBE;
  border-bottom-width: 2.5px;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.input-box input:focus,
.input-box input:valid{
  border-color: #4070f4;
}
form .policy{
  display: flex;
  align-items: center;
}
form h3{
  color: #707070;
  font-size: 14px;
  font-weight: 500;
  margin-left: 10px;
}
.input-box.button input{
  color: #fff;
  letter-spacing: 1px;
  border: none;
  background: #4070f4;
  cursor: pointer;
}
.input-box.button input:hover{
  background: #0e4bf1;
}
form .text h3{
 color: #333;
 width: 100%;
 text-align: center;
}
form .text h3 a{
  color: #4070f4;
  text-decoration: none;
}
form .text h3 a:hover{
  text-decoration: underline;
}
#sendOtpBtn {
  background-color: #f08c1c;
  color: white;
  border: 2px solid #f08c1c;
  border-radius: 8px;
  padding: 14px 25px;
  /* font-size: 16px;
  font-weight: bold; */
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  position: absolute;
  right: 0px;
  top: 0px;
  text-transform: uppercase;
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
  /* Set a minimum width */
  min-width: 120px; 
  text-align: center; /* Center the text */
}

#sendOtpBtn:hover {
  background-color: #f08c1c;
  border-color: #f08c1c;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 86, 179, 0.2);
}

#sendOtpBtn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.6);
  border-color: #f08c1c;
}

#sendOtpBtn:disabled {
  background-color: #c6e0ff;
  border-color: #b8d4ff;
  color: #a2b5d8;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

#sendOtpBtn.loading {
  padding-left: 35px;
  pointer-events: none;
}

#sendOtpBtn.loading::after {
  content: '';
  position: absolute;
  left: 10px;
  top: 30%; 
  transform: translateY(-50%); 
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#sendOtpBtn:active {
  transform: scale(0.98);
}
