:root {
  --primary-color: #092c4c;
  --secondary-color: #a3d7ff;
  --accent-color: #0492ff;
  --muted-color: #7b8190;
  --gray-color: #adb5bd;
  --darkgray-color: #495057;
  --gray-bg-color: #f7f7f7;
  --success-color: #34c38f;
  --error-color: #ff4b4b;
}

body {
  font-family: "Nunito Sans", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;
}

.register-form-container {
  padding: 8rem 0;
}

.loginWrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: auto;
  min-height: 100vh;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.loginCard {
  padding: 50px;
  min-width: 572px;
  max-width: 692px;

  background: #fff;
  border-radius: 28px;
  border: 1px solid #ced4da;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.05);
}

/* .registerCard {
  padding: 50px;
  width: 572px;
  max-width: 95%;
  background: #fff;
  border-radius: 28px;
  border: 1px solid #ced4da;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.05);
} */

.min-h-screen {
  height: 100vh;
}

.loginCard .cardTitle {
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  text-align: center;
}

.mt-40px {
  margin-top: 40px;
}

#successMessage {
  color: var(--accent-color);
}

.color-error {
  color: var(--error-color);
}

/* ----form-css---- */
.form-css .input-group {
  height: 55px;
  border-radius: 6px;
  border: 1px solid #ced4da;
  background: #fff;
  padding-left: 14px;
  padding-right: 14px;
}

.form-css .form-select {
  height: 55px;
  border-radius: 6px;
  border: 1px solid #ced4da;
  /* background: #fff; */
  padding-left: 14px;
  padding-right: 14px;
}

.form-css input {
  border: 0px;
}

.form-css input:focus {
  outline: none !important;
  box-shadow: none !important;
}

.form-css input::placeholder {
  color: #4f4f4f;
  opacity: 0.5;
}

.form-css .btn-primary {
  background: var(--accent-color);
}

#backBtn {
  margin: auto;
  display: block;
  color: var(--accent-color);
  margin-top: 12px;
}

.form-css .btn-primary {
  border-radius: 6px;
  background: var(--accent-color);
  padding: 16px 10px;
  height: 55px;
  outline: none;
  border: none;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
}

.form-css .label-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.form-css .label-row a {
  font-size: 14px;
}

.notice {
  font-size: 10px;
  margin-top: 10px;
  color: #abafb2;
}

.toggle-password {
  padding-right: 0;
  padding-left: 0;
}

.parsley-errors-list,
input.parsley-error,
select.parsley-error,
textarea.parsley-error {
  color: var(--error-color) !important;
}

.parsley-errors-list {
  /* margin-top: 12px; */
}

.parsley-errors-list li {
  font-size: 14px;
}

input.parsley-error,
select.parsley-error,
textarea.parsley-error {
  background-color: #fff !important;
}

.formError {
  position: relative;
  margin-top: 8px;
  color: var(--error-color);
}

input.parsley-success,
select.parsley-success,
textarea.parsley-success {
  color: #000 !important;
  background-color: #fff !important;
}

input:not(.otp-input).parsley-error,
input:not(.otp-input).parsley-success {
  border: 0px !important;
}

/* ----form-css---- */

.icon-size {
  width: 24px;
  height: 24px;
}

.color-muted {
  color: #737373;
}

.color-accent {
  color: var(--accent-color);
}

@media only screen and (max-width: 767px) {
  .loginCard {
    padding: 40px 20px;
    border-radius: 15px;
    max-width: 95%;
  }
  .loginCard .cardTitle {
    font-size: 26px;
  }

  .loginCard .cardTitle + p {
    font-size: 14px;
  }

  .form-css .form-label {
    font-size: 14px;
  }
  .form-css .input-group,
  .form-css .form-select {
    padding-left: 10px;
    padding-right: 10px;
    min-height: 45px;
  }

  .form-css .input-group img {
    width: 20px;
  }
  .form-css .btn-primary {
    font-size: 16px;
    height: 45px;
    padding: 10px;
  }
}

/* New styles for registration steps */
.step {
  display: none;
}

.step.active {
  display: block;
}

.step-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.step-indicator-item {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ced4da;
}

.step-indicator-item.active {
  background-color: var(--accent-color);
}

/* Updated step indicator styles */
.step-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
}

.step-indicator-item {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid var(--accent-color);
  z-index: 2;
}

.step-indicator-item.active {
  background-color: var(--accent-color);
}

.step-indicator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-color);
  z-index: 1;
}

.step-indicator-progress {
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  background-color: var(--accent-color);
  z-index: 1;
  transition: width 0.3s ease;
}

/* OTP field styles */
#otpField {
  display: none;
}

#otpField.show {
  display: block;
}

select {
  font-size: 16px;
  padding-left: 10px;
  padding-right: 10px;
  min-height: 53px;
}

@media only screen and (max-width: 767px) {
  .auth-container {
    padding: 1rem 0;
  }

  .loginWrapper {
    gap: 20px;
  }
  .loginCard {
    padding: 40px 20px;
    border-radius: 15px;
    min-width: 100%;
    max-width: 100%;
  }
  .loginCard .cardTitle {
    font-size: 26px;
  }

  .loginCard .cardTitle + p {
    font-size: 14px;
  }

  .form-css .form-label {
    font-size: 14px;
  }
  .form-css .input-group {
    padding-left: 10px;
    padding-right: 10px;
    height: 45px;
  }
  .form-css .input-group img {
    width: 20px;
  }
  .form-css .btn-primary {
    font-size: 16px;
    height: 45px;
    padding: 10px;
  }
}

@media only screen and (max-height: 800px) {
  .auth-container {
    justify-content: flex-start;
  }
}

.bg-grayBg {
  background-color: #f7f7f7;
}

/* ////OTP */

.otp-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media screen and (max-width: 767px) {
  .otp-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

.otp-wrapper .resendOtpBtn {
  color: var(--accent-color);
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
}

.opt-timer {
  color: var(--accent-color);
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
}
.otp-container {
  display: flex;
  gap: 10px;
  /* margin-bottom: 20px; */
}
.otp-input {
  width: 60px;
  font-size: 24px;
  text-align: center;
  border: 1px solid #ced4da !important;
  outline: none;
  height: 55px;
  border-radius: 6px;
}
.otp-input:focus {
  border-color: var(--accent-color);
}

/* .iti-mobile .iti__country-list {
  max-height: 270px;
  max-width: 370px;
} */

/* Phone Input */
.iti__selected-flag {
  padding-left: 0;
}

.iti--separate-dial-code .iti__selected-flag {
  background-color: transparent !important;
}
.iti.iti--allow-dropdown {
  display: flex !important;
  background-color: #fff !important;
}

.panCardModalBtn {
  background: transparent;
  border: 0;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.loader {
  border: 2px solid #f3f3f3; /* Light grey */
  border-top: 2px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 12px;
  height: 12px;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-left: 8px;
}

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