.otp-card {
  /* width: 380px; */
  /* margin: 80px auto; */
  padding: 30px 10px;
  background: #fff;
  border-radius: 14px;
  /* box-shadow: 0 10px 30px rgba(0,0,0,0.08); */
  text-align: center;
}

.resend-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.otp-header h2 {
  margin-bottom: 8px;
  font-size: 26px;
  color: #222;
}

.otp-header p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.otp-header span {
  display: block;
  font-size: 13px;
  color: #999;
  margin-top: 5px;
}

.otp-container {
  display: flex;
  justify-content: space-between;
  margin: 25px 0;
  gap: 10px;
}

.otp-box {
  width: 45px;
  height: 50px;
  text-align: center;
  font-size: 20px;
  border: 1px solid grey;
  border-radius: 8px;
  outline: none;
  transition: 0.2s;
  background: #fafafa;
}

.otp-box:focus {
  border-color: #6c5ce7;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.otp-timer {
  font-size: 13px;
  color: #555;
  margin-bottom: 15px;
}

#timer {
  font-weight: bold;
  color: #6c5ce7;
}

.otp-btn {
  width: 100%;
  padding: 12px;
  background: #0b0b4f;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s;
}

.otp-btn:hover {
  background: #5947d6;
}

.otp-footer {
  margin-top: 15px;
  font-size: 13px;
  color: #666;
}

.resend-btn {
  border: none;
  background: none;
  color: #6c5ce7;
  cursor: pointer;
  font-weight: bold;
}

.password-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 1rem;
  top: 1rem;
}

body.no-scroll {
  overflow: hidden;
  height: 100%;
}

#newloginform {
  display: flex;
  max-width: 900px;
  /* margin: 40px auto; */
  /* background: #fff; */
  /* border-radius: 20px; */
  /* overflow: hidden; */
  /* box-shadow: 0 10px 35px rgba(0, 0, 0, .08); */
  width: 100%;
  max-height: 90vh;
  background: #fff;
  border-radius: 12px;
  box-sizing: border-box;
  position: relative;
  margin: auto;
  overflow-y: auto;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

#newloginformimgpart {
  width: 48%;
  overflow: hidden;
}

#newloginformimgpart img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#newloginformcontentpart {
  width: 52%;
  padding: 40px;
}

.stayroyallogo {
  width: 110px;
  margin-bottom: 15px;
}

.newloginformheading {
  font-size: 35px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  font-family: auto;
}

.newloginformdesc {
  color: #6c757d;
  margin-bottom: 30px;
  line-height: 1.6;
  text-align: center;
}

.newloginformnumberbox {
  display: flex;
  gap: 10px;
  margin-bottom: 5px;
}

.newloginformcountrycode {
  width: 90px;
  height: 52px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0 10px;
}

.newloginformmobileinput {
  flex: 1;
  height: 52px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0 15px;
  width: 100%;
}

.newloginformmobileinput:focus,
.newloginformcountrycode:focus {
  outline: none;
  border-color: #0d6efd;
}

.newloginformsubmitbtn {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 10px;
  background: #0b0b4f;
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
  margin-top:1rem;
}

.newloginformsubmitbtn:hover {
  background: #101047;
}

.newloginformterms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
}

.newloginformtermsicon {
  color: #0b0b4f;
  font-size: 18px;
  margin-top: 2px;
  background-color: #2584d32b;
  width: 45px;
  border-radius: 25px;
  align-content: center;
  height: 40px;
  text-align: center;
}

.newloginformtermstext {
  font-size: 13px;
  color: #6c757d;
  margin: 0;
}

.newloginformtermstext a {
  color: #0d6efd;
}

.newregisterformtermstext a {
  color: #0d6efd;
}

.newregisterformtermstext p {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.newloginformdivider {
  text-align: center;
  margin: 25px 0;
  position: relative;
}

.newloginformdivider span {
  background: #fff;
  padding: 0 15px;
  position: relative;
  z-index: 2;
  color: #6c757d;
}

.newloginformdivider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ddd;
}

.newloginformotpinfo {
  display: flex;
  gap: 12px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 12px;
}

.newloginformotpicon {
  color: #0b0b4f;
  font-size: 20px;
  margin-top: 2px;
  background-color: #2584d32b;
  width: 45px;
  border-radius: 25px;
  align-content: center;
  height: 40px;
  text-align: center;
}

.newloginformotptext {
  margin: 0;
  font-size: 14px;
  color: #555;
}

#newregisterformcontentpart {
  width: 100%;
  padding: 0px;
}

.newregisterbackbtn {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 20px;
  font-weight: 600;
  justify-content: space-between;
}

.newregisterrow {
  display: flex;
  gap: 15px;
}

.newregisterfield {
  width: 100%;
  /* margin-bottom: 18px; */
}

.newregisterlabel {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.newregisterinput,
.newregisterselect {
  width: 100%;
  height: 52px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0 15px;
}

.newregisterphonebox {
  display: flex;
  gap: 10px;
}

.newregistercountrycode {
  width: 90px;
  height: 52px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0 10px;
}

.newregistermobileinput {
  flex: 1;
  height: 52px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0 15px;
}

.newregisterinput:focus,
.newregisterselect:focus,
.newregistercountrycode:focus,
.newregistermobileinput:focus {
  outline: none;
  border-color: #0d6efd;
}

.newregistersubmitbtn {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 10px;
  background: #0b0b4f;
  color: #fff;
  font-weight: 600;
}

.newregisterfloatinggroup {
  position: relative;
  margin-bottom: 18px;
}

.newregisterinput {
  width: 100%;
  height: 52px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0 15px;
}

.newregisterinput:focus + .newregisterfloatinglabel,
.newregisterinput:not(:placeholder-shown) + .newregisterfloatinglabel {
  top: -10px;
  font-size: 12px;
  color: #0d6efd;
  font-weight: 600;
}

.floating-select:focus-visible + .newregisterfloatinglabel,
.floating-select.has-value + .newregisterfloatinglabel {
  top: -10px;
  font-size: 12px;
  color: #0d6efd;
  font-weight: 600;
}

.newregisterfloatinglabel {
  position: absolute;
  left: 15px;
  top: 16px;
  background: #fff;
  padding: 0 5px;
  color: #777;
  pointer-events: none;
  transition: all 0.25s ease;
  margin: 0;
}

/* Full Screen Overlay */
#loginCommonModel {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  z-index: 99999;
  padding: 20px;
  box-sizing: border-box;
}

/* Show hone par */
#loginCommonModel.active {
  display: flex;
}

/* Login Form */
#newloginform {
  width: 100%;
  background: #fff;
  border-radius: 12px;

  box-sizing: border-box;
  position: relative;
  margin: auto;

  overflow-y: auto;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.loginModelClose {
  position: absolute;
  right: 25px;
  top: 20px;
  padding: 4px 10px;
  border: 1px solid #c29d68;
  color: #c29d68;
  border-radius: 20px;
}



@media (max-width: 768px) {
  #newregisterformcontentpart {
    width: 100%;
    padding: 0px;
  }

  .newregisterrow {
    flex-direction: column;
    gap: 0;
  }

  #newloginform {
    flex-direction: column;
    margin: 15px;
  }

  #newloginformimgpart {
    width: 100%;
    height: 220px;
  }

  #newloginformcontentpart {
    width: 100%;
    padding: 25px;
  }

  .newloginformheading {
    font-size: 24px;
  }
}


/* Mobile */
@media (max-width: 576px) {
  #loginCommonModel {
    padding: 15px;
    align-items: flex-start;
  }

  #newloginform {
    margin: 20px auto;
    max-height: calc(100vh - 40px);
  }
}