/* Import Poppins font from Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* Apply Poppins font to all elements */
* {
  font-family: "Poppins", sans-serif;
}

#main-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  margin: 10px 10px 10px 10px;
}

#form-wrapper {
  width: 100%;
  max-width: 700px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.container {
  position: relative;

  width: calc(100% - 1px);
  
  height: 610px;
  background: white;
  margin-top: 40px;
  border-radius: 10px;

}

.tabs {
  position: relative;
  margin: 20px auto;
  width: calc(100% - 10px);
  background: white;
  border-radius: 10px;
  text-align: center;
}

.tabs span {
  cursor: pointer;
  position: relative;
}

.tabs span.active::before,
.tabs span.active::after {
  content: "";
  position: absolute;
  bottom: -10px;
  width: 100%;
  border-bottom: 3px solid #d3a221;
  /* Add a solid border to the bottom */
}

.tabs span.active::before {
  left: 0;
}

.tabs span.active::after {
  right: 0;
}

.center {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  background: white;
  border-radius: 10px;
}

.fp-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  background: white;
  border-radius: 10px;
}

.form-heading {
  margin: 0 30px 0 30px;
  padding: 10px 0 0 0;
}

.form-heading-2 {
  margin: 0 30px 0 30px;
  padding: 10px 0 20px 0;
  border-bottom: 1px solid silver;
}

.form-subheading {
  margin: 0 30px 0 30px;
  font-size: 14px;
  font-weight: 300;
  border-bottom: 1px solid silver;
  padding: 0 0 10px 0;
}

.center form,
.fp-center form {
  padding: 0 40px;
  box-sizing: border-box;
}

form .txt_field {
  position: relative;
  border-bottom: 2px solid #adadad;
  margin: 30px 0;
}

.txt_field input {
  width: 100%;
  padding: 0 5px;
  height: 40px;
  font-size: 16px;
  border: none;
  background: none;
  outline: none;
}

.txt_field label {
  position: absolute;
  top: 50%;
  left: 5px;
  color: #adadad;
  transform: translateY(-50%);
  font-size: 16px;
  pointer-events: none;
  display: none;
}

.txt_field span::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 0;
  width: 0px;
  height: 2px;
  background: #2691d9;
  transition: 1s;
}

.txt_field input:focus ~ label,
.txt_field input:valid ~ label,
.txt_field input:not(:placeholder-shown) ~ label {
  display: block;
  top: -8px;
  color: #2691d9;
}

.txt_field input:focus ~ span::before,
.txt_field input:valid ~ span::before,
.txt_field input:not(:placeholder-shown) ~ span::before {
  width: 100%;
}

.txt_field input:focus {
  border-style: none;
}

.txt_field input:focus::placeholder {
  color: transparent;
}


.otp {
  background-color: transparent;
  margin: -5px 0 20px 5px;
  color: #a6a6a6;
  cursor: pointer;
}

.f-element:hover,
.otp:hover {
  text-decoration: underline;
}

.cust-btn {
  width: 100%;
  height: 50px;
  border: 1px solid #d3a221;
  color: white;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.cust-btn:hover {
  background: #c29421;
  color: #e9f4fb;
  transition: 0.5s;
}

.connect-login-divider {
  align-items: center;
  color: #777;
  display: flex;
  font-size: 13px;
  gap: 12px;
  margin: 16px 0;
}

.connect-login-divider::before,
.connect-login-divider::after {
  background: #ddd;
  content: "";
  flex: 1;
  height: 1px;
}

.connect-login-btn {
  align-items: center;
  background: #d09b10;
  border-radius: 10px;
  color: #fff;
  display: flex;
  font-size: 16px;
  font-weight: 700;
  gap: 10px;
  height: 50px;
  justify-content: center;
  text-decoration: none;
  width: 100%;
}

.connect-login-btn:hover {
  background: #bd8c0e;
  color: #fff;
  text-decoration: none;
}

.connect-login-btn img {
  border-radius: 5px;
  height: 24px;
  object-fit: contain;
  width: 24px;
}

.connect-login-notice {
  background: #fff4e8;
  border: 1px solid #d3a221;
  border-radius: 8px;
  color: #8a4400;
  font-size: 13px;
  margin: 12px 30px 0;
  padding: 10px 12px;
  text-align: center;
}

.signup_link {
  margin: 30px 0;
  text-align: center;
  font-size: 16px;
  color: #666666;
}

.signup_link a {
  color: #2691d9;
  text-decoration: none;
}

.signup_link a:hover {
  text-decoration: underline;
}

.alert {
  font-size: 14px;
  margin: 20px 0 20px 0;
  text-align: center;
}

.cust-alert {
  color: #af0112;
  font-size: 14px;
  margin: 10px 0px 5px 5px;
}

.resend-btn {
  background-color: transparent;
  border-color: transparent;
  padding: 0;
}

.resend-btn:disabled {
  background-color: transparent;
  border-color: transparent;
  color: rgb(243 177 177) !important;
  padding: 0;
}

.resend-btn:hover {
  background-color: transparent;
  border-color: transparent;
  color: rgb(148, 25, 25);
  padding: 0;
}

 form small{
  font-weight: 500;
 }
/* Style for the toggle button */
#togglePasswordLogin,
#togglePassReset,
#toggleConPassReset {
  position: absolute;
  right: 0px;
  top: 60%;
  transform: translateY(-50%);
  border: none;
  background-color: transparent;
  cursor: pointer;
}

/* Style for the eye icon */
#togglePasswordLogin i,
#togglePassReset i,
#toggleConPassReset i {
  font-size: 1.2rem;
  /* Adjust as needed */
  color: #575555;
  /* Eye icon color */
}
.check_field{
  margin-bottom: 10px;
}

.l-footer {
 width: 100%;
  position: absolute;
  text-align: center;
  bottom: 15px;
  display: flex;
  justify-content: center; 
  align-items: center; 
}
.f-element{
  cursor: pointer;
  color: #007bff; 
  text-decoration: none;
}
.divider{
  background-color: transparent;
  margin: 0 12px 0 12px;
  color: #6b6a6a;
  cursor: pointer;
}


/* For smaller screens, adjust the layout */
@media only screen and (max-width: 768px) {
  .container {
    max-width: none;
  }

  .tabs span {
    width: 50%;

  }
  .form-heading {
    text-align: center;
    font-size: 20px;

    padding:0;
  }
  
  .form-subheading {
    text-align: center;
    font-size: 12px;
    padding: 0 0 20px 0;
  }
}

@media only screen and (max-width: 1000px) {
  .form-heading {
    font-size: 20px;
    padding:0;
  }
  .form-subheading {
    font-size: 12px;
    padding: 0 0 10px 0;
  }
}
