.login-page {
  background: #f7f9fc;
}
.page-content {
  width: 100%;
  margin: 0 auto;
  display: flex;

  display: -webkit-flex;
  justify-content: center;
  -o-justify-content: center;
  -ms-justify-content: center;
  -moz-justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -o-align-items: center;
  -ms-align-items: center;
  -moz-align-items: center;
  -webkit-align-items: center;
  overflow: hidden;
}

.form-left {
  position: relative;
  background: url("../img/login_page_banner.jpeg") no-repeat;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: calc(100% - 2%);
  position: relative;
  z-index: 1;
}

.form-left:after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #008c96;
  background: -webkit-linear-gradient(bottom, #007e87, #ed5d74);
  background: -o-linear-gradient(bottom, #e8519e, #c77ff2);
  background: -moz-linear-gradient(bottom, #e8519e, #c77ff2);
  background: linear-gradient(bottom, #e8519e, #c77ff2);
  opacity: 0.8;
}

.form-v6-content .form-detail input,
.form-v6-content .form-detail select {
  width: 100%;
  padding: 0px 15px 10px 0px;
  border: 2px solid transparent;
  border-bottom: 2px solid #e5e5e5;
  appearance: unset;
  -moz-appearance: unset;
  -webkit-appearance: unset;
  -o-appearance: unset;
  -ms-appearance: unset;
  outline: none;
  -moz-outline: none;
  -webkit-outline: none;
  -o-outline: none;
  -ms-outline: none;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 20px;
  background: transparent;
}
.form-v6-content .form-detail select {
  cursor: pointer;
  padding-right: 24px;
  box-sizing: border-box;
  max-width: 100%;
  min-width: 180px;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}
.form-v6-content .form-detail .form-row {
  max-width: 100%;
}
.form-v6-content .form-detail .form-row input:focus,
.form-v6-content .form-detail .form-row select:focus {
  border-bottom: 2px solid #ed5d74;
}

/* Speciality custom dropdown: opens upward, fixed max height */
.reg-speciality-wrap {
  position: relative;
  margin-bottom: 20px;
}
.reg-speciality-trigger {
  width: 100%;
  padding: 0 15px 10px 0;
  border: 2px solid transparent;
  border-bottom: 2px solid #e5e5e5;
  outline: none;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  background: transparent;
  cursor: pointer;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
}
.reg-speciality-trigger:hover,
.reg-speciality-trigger:focus {
  border-bottom-color: #ed5d74;
}
.reg-speciality-trigger-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.reg-speciality-trigger-icon-wrap img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}
.reg-speciality-label {
  flex: 1;
  min-width: 0;
}
.reg-speciality-arrow {
  transition: transform 0.2s ease;
  opacity: 0.7;
}
.reg-speciality-wrap.is-open .reg-speciality-arrow {
  transform: rotate(180deg);
}
.reg-speciality-list {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  margin-bottom: 4px;
  max-height: min(50vh, 280px);
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  z-index: 20;
  display: none;
}
.reg-speciality-list.is-open {
  display: block;
}
.reg-speciality-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #333;
}
.reg-speciality-option:last-child {
  border-bottom: none;
}
.reg-speciality-option-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}
.reg-speciality-option-icon-placeholder {
  display: block;
  flex-shrink: 0;
  min-width: 24px;
  min-height: 24px;
}
.reg-speciality-option-label {
  flex: 1;
  min-width: 0;
}
.reg-speciality-option:hover,
.reg-speciality-option[aria-selected="true"] {
  background: #f5f5f5;
}

/* Registration mobile (country code + number) styling */
.reg-mobile-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.reg-mobile-group .dropdown-toggle {
  padding: 0 15px 10px 0;
  border: 2px solid transparent;
  border-bottom: 2px solid #e5e5e5;
  border-radius: 0;
  outline: none;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  background: transparent;
  cursor: pointer;
  min-height: 44px;
  line-height: 1.2;
}
.reg-mobile-group .dropdown-toggle:focus,
.reg-mobile-group .dropdown-toggle:hover {
  border-bottom-color: #ed5d74;
  box-shadow: none;
}
.reg-mobile-group input {
  flex: 1;
}

/* Limit country dropdown menu height to viewport and make it scrollable */
.reg-mobile-group .dropdown-menu {
  max-height: 60vh;
  overflow-y: auto;
}

.form-checkbox {
  width: 100%;
  margin: 0px;
}

.checkboxes input {
  width: auto !important;
  border: none !important;
}

input[type="checkbox"] {
  width: 25px;
  background: none !important;
  padding: 20px;
  border: 2px solid #1d929c;
  height: 20px;
  position: relative;
  margin: 2px 5px 2px 0;
  float: left;
}
.form-checkbox input[type="checkbox"]:before {
  position: absolute;
  content: "";
  border: 2px solid #1d929c;
  border-radius: 4px;
  width: 23px;
  height: 23px;
  top: 0px;
  left: 0px;
}
input[type="checkbox"]:checked:after {
  background: #1d929c;
  content: "\2714";
  color: #fff;
  vertical-align: middle;
  text-align: center;
  line-height: 18px;
  position: absolute;
  cursor: pointer;
  height: 20px;
  width: 21px;
  left: 2px;
  top: 1px;
  font-size: 18px;
}
.checkboxes {
  font-size: 13px;
  color: #121212;
  font-weight: 400;
  margin-top: 0px;
  max-width: 100%;
  font-family: "Montserrat";
}

.checkboxes a {
  color: #1d929c;
}
.checkboxes a:hover {
  color: #000;
}
.checkboxes div {
  margin-right: 15px;
  margin-bottom: 20px;
}
.contact-social-area {
  text-align: center;
  margin-top: 0px;
}
.contact-social-area p {
  font-size: 24px;
  color: #fff;
}
.contact-social-area a {
  font-size: 24px;
  display: inline-block;
  margin-right: 15px;
  color: #333;
}
.contact-social-area a:hover {
  color: #000;
}
.form-row-last .btn {
  line-height: 20px;
  color: #fff !important;
  width: auto !important;
  padding: 0 !important;
  height: 50px;
  border: none !important;
}
/* Responsive */
@media screen and (max-width: 991px) {
  .form-v6-content {
    margin: 180px 20px;
    flex-direction: column;
    -o-flex-direction: column;
    -ms-flex-direction: column;
    -moz-flex-direction: column;
    -webkit-flex-direction: column;
  }
  .form-v6-content .form-left {
    width: 100%;
  }
  .form-v6-content .form-left img {
    width: 100%;
    height: 100%;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 8px;
  }
  .form-v6-content .form-detail {
    padding: 30px 20px 30px 20px;
    width: auto;
  }
  .form-v6-content .form-detail .form-row input,
  .form-v6-content .form-detail .form-row select {
    width: 96%;
  }
  .form-v6-content .form-detail .register {
    margin-bottom: 80px;
  }
}
@media screen and (min-width: 769px) {
  .img-d-none {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .form-v6-content .form-detail .form-row input,
  .form-v6-content .form-detail .form-row select {
    width: 94%;
  }
  .form-v6-content .form-detail select {
    min-height: 48px;
    font-size: 16px;
  }
}

@media screen and (max-width: 575px) {
  .form-v6-content .form-detail .form-row input,
  .form-v6-content .form-detail .form-row select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .form-v6-content .form-detail select {
    min-height: 48px;
    font-size: 16px;
    padding: 8px 32px 8px 0;
  }
}

.form-row input.eremedium-btn {
  float: left;
  height: 46px;
  background-color: #24abb7;
  color: #ffffff;
  line-height: 46px;
  border: none;
  border-radius: 5px;
}

/* Registration step breadcrumb */
.reg-steps {
  margin-bottom: 28px;
}
.reg-steps-list {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  padding: 14px 20px;
  margin: 0;
  gap: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(36, 171, 183, 0.15);
}
.reg-step {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #94a3b8;
  font-weight: 500;
}
.reg-step-num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #94a3b8;
  font-weight: 700;
  font-size: 15px;
  margin-right: 10px;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.reg-step-label {
  margin-right: 6px;
  transition: color 0.25s ease;
}
.reg-step.reg-step-active .reg-step-num {
  background: linear-gradient(145deg, #24abb7 0%, #1d929c 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(36, 171, 183, 0.4);
}
.reg-step.reg-step-active .reg-step-label {
  color: #0f172a;
  font-weight: 600;
}
.reg-step.reg-step-done .reg-step-num {
  background: linear-gradient(145deg, #24abb7 0%, #1d929c 100%);
  color: transparent;
  box-shadow: 0 2px 8px rgba(36, 171, 183, 0.25);
}
.reg-step.reg-step-done .reg-step-num::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.reg-step.reg-step-done .reg-step-label {
  color: #64748b;
}
.reg-step:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 3px;
  border-radius: 2px;
  background: #e2e8f0;
  margin: 0 10px;
  transition: background 0.25s ease;
}
.reg-step.reg-step-done:not(:last-child)::after {
  background: linear-gradient(90deg, #24abb7, #1d929c);
}

#back-step3-to-step1 {
  margin-top: 25px;
}
@media screen and (max-width: 575px) {
  .reg-steps-list {
    padding: 12px 16px;
  }
  .reg-step-label {
    display: none;
  }
  .reg-step-num {
    margin-right: 0;
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .reg-step:not(:last-child)::after {
    width: 24px;
    margin: 0 6px;
  }
}
