/* 
snippet header auth modal css
async load to improve html size and performance
 */
.auth-modal-wrapper {
  border-radius: var(--popup-corner-radius) var(--popup-corner-radius) 0 0;
}
.auth-modal-header .overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}
.auth-modal-container {
  box-sizing: border-box;
  margin: auto 0;
  width: inherit;
}
.auth-modal-content {
  padding: 16px 16px 60px;
}
.auth-modal-content .form_item {
  position: relative;
  width: 100%;
}
.auth-modal-content .form_item + .form_item {
  margin-top: 16px;
}
.auth-modal-content .form_input {
  padding: 10px 16px;
  transition: all 400ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
  width: 100%;
  height: 44px;
  margin: 0;
  font-size: 14px;
  line-height: 18px;
  background-color: transparent;
  outline: 0;
}
.auth-modal-content .form_input:focus {
  border-color: var(--color-foreground);
}
.auth-modal-content .form_label {
  position: absolute;
  top: 13px;
  left: 16px;
  font-size: 14px;
  line-height: 18px;
  transition: all 400ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
  cursor: text;
}
.auth-modal-content .form_input[has-value] + .form_label {
  display: none;
}
.auth-modal-content .form-tips-text {
  padding: 13px 16px;
  margin: 20px 0 16px;
  align-self: stretch;
  color: var(--color-secondary-disabled, #f27396);
  background-color: var(--color-secondary, #fdecef);
}
.auth-modal-content .form-tips-error {
  margin-top: 10px;
  text-align: left;
  display: flex;
  align-items: center;
}
.auth-modal-content .form-tips-error svg {
  margin-right: 4px;
  flex-shrink: 0;
}
#progress-bar-container {
  position: relative;
  width: 248px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}
#progress-bar-bg {
  position: absolute;
  left: 24px;
  top: 14px;
  width: 197px;
  height: 6px;
  border-radius: 3px;
}
#progress-bar-container.step-1 #progress-bar-bg {
  background: #e6e8ea;
}
#progress-bar-container.step-2 #progress-bar-bg {
  background: linear-gradient(90deg, #3bb346 5.4%, #e6e8ea 100%);
}
#progress-bar-container.step-3 #progress-bar-bg {
  background: #3bb346;
}
#progress-bar-start {
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#progress-bar-start::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 5px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  z-index: 1;
}
#progress-bar-start-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
}
#progress-bar-container.step-1 #progress-bar-start::after {
  background: #e6e8ea;
}
#progress-bar-container.step-2 #progress-bar-start-bg,
#progress-bar-container.step-3 #progress-bar-start-bg {
  background: #a5e0a7;
  opacity: 0.3;
}
#progress-bar-container.step-2 #progress-bar-start::after,
#progress-bar-container.step-3 #progress-bar-start::after {
  background: #3bb346;
}
#start_num,
#end_num,
#icon_start_check,
#icon_end_check {
  z-index: 2;
}
#progress-bar-end {
  position: absolute;
  right: 0;
  top: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#progress-bar-end::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 5px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  z-index: 1;
}
#progress-bar-end-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
}
#progress-bar-container.step-1 #progress-bar-end::after,
#progress-bar-container.step-2 #progress-bar-end::after {
  background: #e6e8ea;
}
#progress-bar-container.step-3 #progress-bar-end::after {
  background: #3bb346;
}
#progress-bar-container.step-3 #progress-bar-end-bg {
  background: #a5e0a7;
  opacity: 0.3;
}
#progress-bar-container.step-1 #icon_start_check,
#progress-bar-container.step-1 #icon_end_check,
#progress-bar-container.step-2 #start_num,
#progress-bar-container.step-2 #icon_end_check,
#progress-bar-container.step-3 #start_num,
#progress-bar-container.step-3 #end_num {
  display: none;
}
#progress-bar-container.step-1 #start_num,
#progress-bar-container.step-1 #end_num,
#progress-bar-container.step-2 #icon_start_check,
#progress-bar-container.step-2 #end_num,
#progress-bar-container.step-3 #icon_start_check,
#progress-bar-container.step-3 #icon_end_check {
  display: block;
}

@media (min-width: 960px) {
  .auth-modal-wrapper {
    border: var(--popup-border-width) solid var(--color-border);
    border-radius: var(--popup-corner-radius);
  }
  .auth-modal-wrapper.inner-success .auth-modal-container {
    align-items: center;
  }
  .auth-modal-content {
    padding: 60px 0 80px;
  }
  .auth-modal-title {
    max-width: 379px;
    letter-spacing: 0;
    font-size: calc(46px * var(--font-body-scale));
    line-height: calc(54px * var(--font-body-scale));
  }
  .auth-modal-content {
    width: 379px;
  }
  #progress-bar-container {
    margin-bottom: 100px;
  }
  spz-sidebar.auth-modal-sidebar[side='bottom'] {
    top: 20px;
    bottom: 20px;
    right: 0 !important;
    transform: translateX(calc(100vw - 968px)) !important;
    animation-name: sidebar-slide-out-right;
    max-width: 948px !important;
    width: 100vw !important;
    max-height: calc(100vh - 40px) !important;
    min-height: 45px !important;
  }
  spz-sidebar.auth-modal-sidebar[side='bottom'][open] {
    animation-name: sidebar-slide-in-right;
  }
  @keyframes sidebar-slide-in-right {
    from {
      transform: translateX(100%);
    }
    to {
      transform: translateX(23%);
    }
  }
  @keyframes sidebar-slide-out-right {
    from {
      transform: translateX(23%);
    }
    to {
      transform: translateX(100%);
    }
  }
}
.inner-auth {
  height: 80vh;
}
.inner-success {
  height: 45vh;
}
.overflow-hidden-drawer {
  overflow: hidden !important;
}
@media (min-width: 960px) {
  .inner-auth,
  .inner-succes {
    height: 100%;
  }
}
