﻿input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type='number'] {
  -moz-appearance: textfield;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: IRANSans, sans-serif;
  font-size: 16px;
  direction: rtl;
}

a {
  text-decoration: none;
}

main {
  border-bottom: none !important;
}

.Register,
.ForgotPasswordPhone {
  margin-bottom: 50px;
}

.Register.reg-split {
  margin-bottom: 0 !important;
}

.mainDiv {
  box-shadow: unset !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 80vh !important;
  background-color: white !important;
  overflow-y: auto !important;
  border: none !important;
}

.Register .mainDiv,
.ForgotPasswordPhone .mainDiv {
  height: unset !important;
  margin-bottom: 25px !important;
}

/*.Register .mainDiv {*/
/*    padding: 50px 0;*/
/*}*/

.form {
  box-shadow: 11px 0 40px -96px rgba(0, 0, 0, 0.07) !important;
  padding: 20px 30px !important;
  background: #80808014 !important;
  display: flex !important;
  justify-content: center !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 35% !important;
  border-radius: 20px !important;
  border: 3px solid #5c4484 !important;
  margin-left: unset !important;
}

.Register .form {
  width: 40% !important;
  padding: 20px !important;
  overflow: visible !important;
  max-width: 100%;
}

.ForgotPasswordPhone .form {
  width: 40% !important;
  padding: 20px !important;
}

.form h1 {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #0f74e1 !important;
  margin-bottom: 40px !important;
  font-family: IRANSans, sans-serif !important;
}

.ForgotPasswordPhone .form h1 {
  margin-bottom: 25px !important;
}

.form .InputGroup {
  display: flex;
  align-items: center !important;
  margin-bottom: 25px !important;
  justify-content: space-between !important;
  width: 100% !important ;
}

.mainDiv div {
  margin-left: unset !important;
}

.Register .form .InputGroup,
.ForgotPasswordPhone .form .InputGroup {
  flex-direction: column !important;
  align-items: flex-start !important;
}

.ForgotPasswordPhone .form label {
  margin-right: unset !important;
  margin-left: unset !important;
}

#forgotBtn {
  padding: 5px 25px !important;
  font-size: 16px !important;
  color: #5c4484 !important;
  font-weight: 500 !important;
  background-color: white !important;
  border-radius: 10px !important;
  transition: all 300ms ease-in !important;
  border: 1px solid #5c4484 !important;
  margin: auto !important;
}

#codeMelliPassword:focus,
#codeMelliPhone:focus,
#codeMelliForgotPasswordPhone:focus {
  filter: none !important;
  border: 1px solid #dce0e4 !important;
}

#codeMelliPassword:hover,
#codeMelliPhone:hover,
#codeMelliForgotPasswordPhone:hover {
  cursor: not-allowed !important;
}

#forgotBtn:hover {
  color: white !important;
  background-color: #5c4484 !important;
}

.Register .form label {
  margin-right: 5px !important;
}

.forgotPasswordNewPhone .form .InputGroup {
  margin-bottom: 0 !important;
}

.ForgotPasswordFinal div {
  margin-top: 16px !important;
}

.ForgotPasswordFinal .mainDiv .form p {
  font-size: 16px !important;
}

.ForgotPasswordFinal .mainDiv .form span {
  font-size: 18px !important;
  color: rgba(0, 0, 0, 0.75) !important;
}

.mainDiv .form .ForgotGroup {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-direction: column !important;
  padding: 10px !important;
  margin: 10px 0 !important;
  box-shadow: 9.1px 4.6px 12.9px -78px rgba(0, 0, 0, 0.035),
    73px 37px 103px -78px rgba(0, 0, 0, 0.07) !important;
  background-color: white !important;
  border-radius: 10px !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: all 500ms ease-out !important;
  border: 1px solid #5c4484 !important;
}

.mainDiv .form .ForgotGroup:hover {
  cursor: pointer !important;
}

.mainDiv .form h4 {
  color: white !important;
  font-size: 16px !important;
  margin-bottom: 10px !important;
}

.mainDiv .form .ForgotGroup h4 {
  color: #5c4484 !important;
  font-family: inherit !important;
}

.mainDiv .form .ForgotGroup :last-child {
  margin-bottom: 0 !important;
}

.mainDiv .form .ForgotGroup span {
  color: #5c4484 !important;
  font-size: 16px !important;
  direction: ltr !important;
}

.form p {
  color: #5c4484 !important;
  font-weight: 600 !important;
  text-align: center !important;
  font-size: 12px !important;
  margin-bottom: 25px !important;
}

.ForgotPasswordNewPassword .form .field input {
  width: 90% !important;
}

.ForgotPasswordNewPassword .form .field {
  width: 100% !important;
}

.forgotPasswordNewPhone .form .field {
  width: 100% !important;
}

.Password .form .field {
  width: 100% !important;
}

.Phone .form .field {
  width: 100% !important;
}

.Register .form .field {
  width: 100% !important;
}

.form .field {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.Register .form .field {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  grid-column-gap: 20px !important;
}

.form label {
  color: #707070 !important;
  font-size: 15px !important;
  margin: auto !important;
  text-align: center !important;
  width: 40% !important;
}

.Register .form label,
.ForgotPasswordPhone .form label {
  width: unset !important;
}

.mainDiv .form input {
  padding: 8px 10px !important;
  background-color: white !important;
  color: #3f1717 !important;
  direction: rtl !important;
  outline: none !important;
  border: 1px solid #dce0e4 !important;
  font-size: 15px !important;
  font-family: inherit !important;
  border-radius: 7px !important;
  width: 100% !important;
}

.mainDiv .form .input-disabled {
  background-color: #dddddd !important;
  color: rgba(0, 0, 0, 0.3) !important;
  cursor: not-allowed !important;
}

.mainDiv .field-disabled {
  cursor: not-allowed !important;
  opacity: 0.5 !important;
}

.mainDiv .form input:focus,
.form-control:focus {
  filter: drop-shadow(0 0 3px #5c4484) !important;
  border: solid 1px #5c4484 !important;
}

.form .number {
  text-align: center !important;
}

.Phone .form .field input {
  width: 70% !important;
}

.Password .form .field input {
  width: 80% !important;
}

.CodeMelli .form .field input {
  width: 80% !important;
}

.forgotPasswordNewPhone .form input {
  width: 70% !important;
}

.form input::placeholder {
  color: rgba(0, 0, 0, 0.4) !important;
  text-align: right !important;
  font-size: 14px !important;
}

.form input:focus::placeholder {
  color: transparent !important;
}

.form .btnDiv {
  display: flex !important;
  align-items: center !important;
  flex-direction: row-reverse !important;
}

.form button {
  outline: none !important;
  border-radius: 10px !important;
  width: 150px !important;
  transition: all 0.5s linear !important;
  padding: 5px 10px !important;
  background-color: #5c4484 !important;
  color: white !important;
  cursor: pointer !important;
  font-size: 16px !important;
  font-family: inherit !important;
  margin-bottom: 15px !important;
  border: none !important;
  margin-top: 40px !important;
  line-height: unset !important;
  font-weight: unset !important;
}

.form button.returnBtn {
  background-color: #fc2c24 !important;
  margin-right: 10px !important;
}

.form button.btn-disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  width: 150px !important;
}

.form #warning-text {
  color: orangered !important;
  text-align: justify !important;
}

.form .span-disabled {
  cursor: not-allowed !important;
}

.ForgotPasswordPhone button {
  margin-top: 30px !important;
}

.form button:hover {
  opacity: 0.8 !important;
}

/*.form input:focus {*/
/*    border: 1px solid aqua;*/
/*}*/

.Register .form .SelectGroup {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  margin-bottom: 25px !important;
}

.ForgotPasswordPhone .form .SelectGroup {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  margin-bottom: 25px !important;
  justify-content: center !important;
}

.mainDiv .error {
  background-color: indianred !important;
  color: white !important;
  padding: 5px 10px !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 5px !important;
  font-size: 14px !important;
  margin: 10px auto !important;
  text-align: center !important;
}

.form span {
  cursor: pointer !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #707070 !important;
}

.underline {
  width: 100% !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.47) !important;
  height: 2px !important;
  margin-bottom: 15px !important;
}

.mainDiv .form .BirthDay,
.mainDiv .form .BirthMonth,
.mainDiv .form .BirthYear {
  padding: 8px 0;
  color: #3f1717;
  width: 100%;
  direction: rtl;
  outline: none;
  font-size: 15px;
  margin-left: 10px !important;
  font-family: inherit;
  border-radius: 7px;
  text-align: center;
  margin-top: 0 !important;
}

.mainDiv .form .Radio {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-right: 5px;
}

.mainDiv .form .Radio input {
  width: unset !important;
  margin-right: 0 !important;
}

.mainDiv .form .Radio label {
  margin-left: 3px !important;
}

.mainDiv .form .Radio :nth-child(3) {
  margin-right: 30px !important;
}

.mainDiv .form .BirthYear {
  margin-left: 0 !important;
}

.form-control {
  border-radius: 5px !important;
  margin: 0 5px !important;
  width: 100% !important;
  height: unset !important;
}

.mainDiv .captcha-container {
  width: 100% !important;
  display: flex !important;
  justify-content: flex-start !important;
  margin-bottom: 30px !important;
}

.MainDiv {
  margin-left: auto !important;
  padding: 15px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 300px !important;
  background: white !important;
  border-radius: 10px !important;
}

.MainDiv div {
  display: flex !important;
  justify-content: space-evenly !important;
  align-items: center !important;
}

@media (max-width: 1300px) {
  .mainDiv .form {
    width: 50% !important;
  }

  .Register .mainDiv .form,
  .ForgotPasswordPhone .mainDiv .form {
    width: 70% !important;
  }
}

@media (max-width: 900px) {
  .mainDiv .form {
    width: 80% !important;
  }
}

@media (max-width: 768px) {
  .Register .mainDiv .form,
  .ForgotPasswordPhone .mainDiv .form {
    width: 90% !important;
  }

  .form label {
    width: unset !important;
  }

  .Register .form label,
  .ForgotPasswordPhone .form label {
    width: unset !important;
  }

  .Register .mainDiv .form .field {
    grid-template-columns: 1fr !important;
  }

  .Register .mainDiv .form .SelectGroup,
  .ForgotPasswordPhone .mainDiv .form .SelectGroup {
    flex-direction: column !important;
  }

  .ForgotPasswordPhone .mainDiv .form .SelectGroup select,
  .Register .mainDiv .form .SelectGroup select {
    margin-bottom: 15px !important;
  }

  .Register .mainDiv {
    padding: 30px 0 !important;
  }

  .Register .mainDiv .form {
    padding: 20px !important;
  }
}

@media (max-width: 600px) {
  .mainDiv {
    min-height: 70vh !important;
  }

  .mainDiv .from .InputGroup {
    margin-bottom: 10px !important;
  }

  .footer {
    bottom: unset !important;
  }

  .mainDiv .form h1 {
    margin-bottom: 10px !important;
  }

  .mainDiv .form p {
    margin-bottom: 10px !important;
  }

  .mainDiv .form button {
    margin-top: 5px !important;
  }

  .mainDiv .form {
    width: 90% !important;
  }

  .mainDiv .form .InputGroup,
  .mainDiv .form .SelectGroup {
    flex-direction: column !important;
  }
}

@media (max-width: 400px) {
  .mainDiv .form {
    width: 100% !important;
    padding: 20px 10px !important;
  }
}

#Register.register-page {
  max-width: 100%;
  overflow-x: hidden;
  font-family: IRANSans, sans-serif;
  font-size: 16px;
}

#Register.register-page,
#Register.register-page input,
#Register.register-page select,
#Register.register-page button,
#Register.register-page label,
#Register.register-page p,
#Register.register-page span,
#Register.register-page h1,
#Register.register-page h2,
#Register.register-page textarea {
  font-family: IRANSans, sans-serif !important;
}

#Register.register-page .fa {
  font-family: FontAwesome !important;
}

.register-birth-label {
  width: 100%;
  display: block;
  margin: 0 0 8px;
  padding-right: 5px;
  color: #707070;
  font-weight: 400;
  font-size: 15px;
}

.Register .form .SelectGroup.register-birth-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  gap: 8px !important;
  width: 100% !important;
  overflow: visible !important;
}

.Register .form .register-birth-field {
  flex: 1 1 110px;
  min-width: 110px;
  max-width: 100%;
}

.Register .form .register-birth-field select.form-control {
  width: 100% !important;
  margin: 0 !important;
  min-width: 0 !important;
}

.Register .form .error {
  width: 100% !important;
  max-width: 100%;
  word-wrap: break-word;
  z-index: 2;
  position: relative;
}

.Register .form .btnDiv {
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.lobibox-notify-wrapper {
  z-index: 11000 !important;
}

.lobibox-notify-wrapper.top,
.lobibox-notify-wrapper.top.right,
.lobibox-notify-wrapper.top.left {
  top: 88px !important;
}

.lobibox-notify-wrapper.right {
  right: 12px !important;
}

@media (max-width: 992px) {
  .Register .form,
  .Register .mainDiv .form {
    width: 92% !important;
    max-width: 640px !important;
  }

  .Register .mainDiv .captcha-container,
  .Register .mainDiv .MainDiv {
    width: 100% !important;
    max-width: 100% !important;
  }

  .lobibox-notify-wrapper.top,
  .lobibox-notify-wrapper.top.right,
  .lobibox-notify-wrapper.top.left {
    top: 80px !important;
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
  }

  .lobibox-notify-wrapper .lobibox-notify,
  .lobibox-notify.notify-mini {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  .Register .mainDiv {
    min-height: auto !important;
    padding: 16px 0 32px !important;
  }

  .Register .form,
  .Register .mainDiv .form {
    width: 94% !important;
    padding: 16px 12px !important;
  }

  .Register .form .register-birth-field {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .Register .form .btnDiv {
    flex-direction: row-reverse !important;
  }

  .Register .form button,
  .Register .form button.btn-disabled,
  .Register .form button.returnBtn {
    width: calc(50% - 6px) !important;
    min-width: 0 !important;
    margin-top: 12px !important;
    margin-right: 0 !important;
    font-size: 14px !important;
  }

}

@media (max-width: 480px) {
  .Register .form,
  .Register .mainDiv .form {
    width: 100% !important;
    border-radius: 12px !important;
    padding: 14px 10px !important;
  }

  .Register .form button,
  .Register .form button.btn-disabled,
  .Register .form button.returnBtn {
    width: 100% !important;
  }

}

/* Patient register — split layout (form + navy panel) */
html:has(body.register-split-active),
body.register-split-active {
  height: 100% !important;
  height: 100dvh !important;
  overflow: hidden !important;
  overscroll-behavior: none;
  background: #f3f6fb !important;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.register-split-active .modern-navbar,
body.register-split-active .footer.shafa-footer,
body.register-split-active #Main_Fade.footer {
  display: none !important;
}

body.register-split-active .main {
  flex: none !important;
  width: 100% !important;
  height: 100% !important;
  height: 100dvh !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

#Register.register-page.is-register-step,
#Register.register-page:has(.reg-split:not(.ng-hide)) {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  height: 100%;
  height: 100dvh;
}

#Register .reg-split {
  width: 100% !important;
  height: 100%;
  margin: 0 !important;
}

#Register .reg-shell {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  justify-content: safe center !important;
  width: 100% !important;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 24px 16px;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  direction: rtl;
  background: #f3f6fb !important;
}

#Register .reg-brand {
  display: none !important;
}

#Register .reg-form-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 560px;
  min-width: 0;
}

#Register .reg-panel {
  position: relative;
  flex: 0 1 auto;
  width: 100%;
  max-width: none;
  min-width: 0;
  max-height: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0;
  padding: 0;
  overflow: visible;
  direction: ltr;
  background: transparent !important;
  border: none !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#Register .reg-back {
  display: inline-flex !important;
  position: absolute;
  top: 28px;
  right: 40px;
  left: auto;
  z-index: 5;
  align-self: flex-start;
  flex-direction: row;
  direction: rtl;
  align-items: center;
  gap: 8px;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 6px 2px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #64748b !important;
  font-family: IRANSans, sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

#Register .reg-back i {
  font-size: 14px;
  color: inherit;
}

#Register .reg-back:hover,
#Register .reg-back:focus {
  color: #1639c4 !important;
  background: transparent !important;
  opacity: 1 !important;
  outline: none;
}

#Register .reg-back:disabled,
#Register .reg-back.btn-disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
}

#Register .reg-card {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  direction: rtl;
}

#Register .reg-heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#Register .reg-birth-block {
  display: flex;
  flex-direction: column;
}

#Register .reg-notes {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#Register .reg-card h1 {
  margin: 0 0 8px !important;
  padding: 0 !important;
  text-align: center !important;
  color: #0f172a !important;
  font-size: 32px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}

#Register .reg-lead {
  display: block !important;
  margin: 0 0 28px !important;
  text-align: center !important;
  color: #94a3b8 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

#Register .reg-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
  width: 100%;
  margin-bottom: 18px;
  direction: rtl;
}

#Register .reg-span-2 {
  grid-column: 1 / -1;
}

#Register .reg-field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  margin: 0 0 18px;
}

#Register .reg-grid .reg-field {
  margin-bottom: 0;
}

#Register .reg-field label,
#Register .reg-label,
#Register .reg-split .register-birth-label {
  width: auto !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  text-align: right !important;
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  display: block;
  font-family: IRANSans, sans-serif !important;
}

#Register .reg-split input[type="text"],
#Register .reg-split input[type="tel"],
#Register .reg-split select.form-control {
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 0 22px !important;
  border: 1.5px solid #dbe7f2 !important;
  border-radius: 16px !important;
  background-color: #fff !important;
  box-shadow: none !important;
  color: #1f2937 !important;
  font-family: inherit !important;
  font-size: 16px !important;
  line-height: 52px !important;
  direction: rtl !important;
  text-align: right !important;
  outline: none !important;
  appearance: none;
  -webkit-appearance: none;
}

#Register .reg-split input#insurNum {
  direction: ltr !important;
  text-align: left !important;
}

#Register .reg-split select.form-control {
  padding-left: 36px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 L6 6.5 L11 1.5' fill='none' stroke='%2394a3b8' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: left 16px center !important;
  background-size: 12px 8px !important;
  cursor: pointer;
}

#Register .reg-split input[type="text"]:focus,
#Register .reg-split input[type="tel"]:focus,
#Register .reg-split select.form-control:focus {
  border-color: #1a73e8 !important;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.16) !important;
  filter: none !important;
}

#Register .reg-split input::placeholder {
  color: #b0b8c4 !important;
  text-align: right !important;
  font-size: 15px !important;
  font-family: IRANSans, sans-serif !important;
}

#Register .reg-split input:focus::placeholder {
  color: transparent !important;
}

#Register .reg-split .input-disabled,
#Register .reg-split input:disabled,
#Register .reg-split select:disabled {
  background-color: #eef2f6 !important;
  color: #6b7280 !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
}

#Register .reg-split .register-birth-label {
  margin-top: 2px !important;
}

#Register .reg-split .SelectGroup.register-birth-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 0 18px !important;
  direction: rtl;
}

#Register .reg-split .register-birth-field {
  position: relative;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: none !important;
}

#Register .reg-split .register-birth-native {
  position: absolute !important;
  display: none !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: -1 !important;
  clip: rect(0, 0, 0, 0) !important;
}

#Register .reg-field > .register-birth-field {
  display: block !important;
  width: 100% !important;
  flex: none !important;
  max-width: none !important;
}

#Register .reg-split .reg-birth-trigger {
  display: flex !important;
  position: relative;
  z-index: 2;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 52px !important;
  min-height: 52px !important;
  touch-action: manipulation;
  pointer-events: auto !important;
  -webkit-tap-highlight-color: transparent;
  margin: 0 !important;
  padding: 0 22px 0 36px !important;
  border: 1.5px solid #dbe7f2 !important;
  border-radius: 16px !important;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 L6 6.5 L11 1.5' fill='none' stroke='%2394a3b8' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: left 16px center !important;
  background-size: 12px 8px !important;
  box-shadow: none !important;
  color: #1f2937 !important;
  font-family: IRANSans, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  text-align: right !important;
  cursor: pointer !important;
  appearance: none !important;
  overflow: hidden;
}

#Register .reg-split .reg-birth-trigger.is-empty {
  color: #9ca3af !important;
  font-weight: 500 !important;
}

#Register .reg-split .reg-birth-trigger:focus {
  border-color: #1a73e8 !important;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.16) !important;
  outline: none !important;
}

#Register .reg-split .reg-birth-trigger.input-disabled,
#Register .reg-split .reg-birth-trigger:disabled {
  background-color: #eef2f6 !important;
  color: #6b7280 !important;
  cursor: not-allowed !important;
}

body.reg-birth-modal-open {
  overflow: hidden !important;
}

#Register .reg-birth-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: transparent;
  pointer-events: auto;
}

#Register .reg-birth-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(15, 23, 42, 0.28);
}

#Register .reg-birth-modal {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  height: min(56vh, 440px);
  max-height: min(56vh, 440px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  pointer-events: auto;
  background: #fff !important;
  border-radius: 24px !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

#Register .reg-birth-modal-head {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 6px;
  direction: rtl;
}

#Register .reg-birth-modal-head h3 {
  margin: 0 !important;
  color: #111827 !important;
  font-family: IRANSans, sans-serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}

#Register .reg-birth-close {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #1a73e8 !important;
  font-family: IRANSans, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}

#Register .reg-birth-modal.is-sheet {
  width: 100%;
  max-width: 420px;
  height: min(86svh, 680px);
  max-height: min(86svh, 680px);
  border-radius: 28px !important;
}

#Register .reg-birth-modal.is-sheet .reg-birth-modal-head {
  padding: 18px 20px 12px;
}

#Register .reg-birth-modal.is-sheet .reg-birth-modal-head h3 {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

#Register .reg-birth-modal.is-sheet .reg-birth-list {
  padding: 4px 16px 20px;
}

#Register .reg-birth-modal.is-sheet .reg-birth-list li {
  min-height: 52px;
  margin: 0 0 2px !important;
  padding: 10px 16px !important;
  border-radius: 16px !important;
  background: transparent !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #1e293b !important;
}

#Register .reg-birth-modal.is-sheet .reg-birth-list li.is-selected {
  background: #e8f1fb !important;
}

#Register .reg-birth-modal.is-sheet .reg-birth-radio {
  width: 20px !important;
  height: 20px !important;
  border-width: 2px !important;
  border-color: #cbd5e1 !important;
}

#Register .reg-birth-modal.is-sheet .reg-birth-radio.is-checked {
  border-color: #1a73e8 !important;
  box-shadow: inset 0 0 0 5px #1a73e8 !important;
}

#Register .reg-birth-search {
  flex-shrink: 0;
  padding: 6px 16px 10px;
}

#Register .reg-birth-search input,
#Register .reg-birth-search input.reg-birth-query {
  width: 100% !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 1.5px solid #e5eaf1 !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: #1f2937 !important;
  font-family: IRANSans, sans-serif !important;
  font-size: 16px !important;
  text-align: right !important;
  outline: none !important;
  pointer-events: auto !important;
  -webkit-user-select: text !important;
  user-select: text !important;
  -webkit-touch-callout: default;
}

#Register .reg-birth-search input:focus {
  border-color: #1a73e8 !important;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12) !important;
}

#Register .reg-birth-list {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 4px 12px 16px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  list-style: none;
}

#Register .reg-birth-list li {
  display: flex !important;
  position: relative;
  z-index: 2;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px;
  min-height: 46px;
  margin: 0 0 4px !important;
  padding: 8px 14px !important;
  border-radius: 14px !important;
  color: #1f2937 !important;
  font-family: IRANSans, sans-serif !important;
  font-size: 16px !important;
  direction: rtl;
  cursor: pointer;
  pointer-events: auto !important;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#Register .reg-birth-list li.is-selected {
  background: #eef6ff !important;
}

#Register .reg-birth-list li.reg-birth-empty {
  justify-content: center !important;
  color: #94a3b8 !important;
  cursor: default;
}

#Register .reg-birth-item-label {
  flex: 0 1 auto;
}

#Register .reg-birth-radio {
  flex: 0 0 18px;
  width: 18px !important;
  height: 18px !important;
  border: 2px solid #cbd5e1 !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-sizing: border-box;
}

#Register .reg-birth-radio.is-checked {
  border-color: #1a73e8 !important;
  box-shadow: inset 0 0 0 4px #1a73e8 !important;
}

#Register .reg-split .reg-birth-trigger span {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.7 !important;
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  cursor: pointer !important;
}

@media (max-width: 768px) {
  #Register .reg-birth-overlay {
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
  }

  #Register .reg-birth-overlay:has(.is-sheet) {
    padding: 12px 10px;
  }

  #Register .reg-birth-modal {
    width: 100%;
    max-width: 360px;
    height: min(52dvh, 380px);
    max-height: min(52dvh, 380px);
    border-radius: 24px !important;
  }

  #Register .reg-birth-modal.is-sheet {
    max-width: none;
    width: calc(100% - 20px);
    height: min(88svh, 720px);
    max-height: min(88svh, 720px);
    border-radius: 28px !important;
  }

  #Register .reg-split .SelectGroup.register-birth-row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
}

@media (max-width: 480px) {
  #Register .reg-split .SelectGroup.register-birth-row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  #Register .reg-split .reg-birth-trigger {
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 16px 0 32px !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    background-position: left 14px center !important;
    border-radius: 16px !important;
  }

  #Register .reg-birth-modal-head {
    padding: 16px 16px 6px;
  }

  #Register .reg-birth-modal-head h3 {
    font-size: 18px !important;
  }

  #Register .reg-birth-search {
    padding: 6px 14px 10px;
  }

  #Register .reg-birth-list li {
    min-height: 44px;
    font-size: 15px !important;
  }
}

@media (max-width: 360px) {
  #Register .reg-split .SelectGroup.register-birth-row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  #Register .reg-split .reg-birth-trigger {
    padding: 0 8px 0 22px !important;
    font-size: 16px !important;
  }
}

#Register .reg-insurance-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px 16px;
  width: 100%;
  margin: 0 0 18px;
  direction: rtl;
}

#Register .reg-insurance-wrap.has-num {
  grid-template-columns: 1fr 1fr;
}

#Register .reg-insurance-wrap.has-custom {
  grid-template-columns: 1fr 1fr;
}

#Register .reg-insurance-wrap.has-custom .reg-insur-type {
  grid-column: 1 / -1;
}

#Register .reg-insurance-wrap .reg-field {
  margin: 0;
}

#Register .reg-gender-wrap {
  margin: 0 0 18px;
}

#Register .reg-gender {
  display: flex;
  gap: 16px;
  direction: rtl;
}

#Register .reg-pill {
  position: relative;
  flex: 1 1 0;
  margin: 0 !important;
  width: auto !important;
  cursor: pointer;
  font-weight: 500 !important;
}

#Register .reg-pill input {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  opacity: 0 !important;
  cursor: pointer;
}

#Register .reg-pill span {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 52px !important;
  min-height: 52px !important;
  border: 1.5px solid #dbe7f2 !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: #334155 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: border-color 0.15s ease, color 0.15s ease;
}

#Register .reg-pill input:checked + span {
  background: #e8f1fb !important;
  border-color: #1a73e8 !important;
  border-width: 2px !important;
  color: #1639c4 !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}

#Register .reg-pill input:disabled + span {
  opacity: 0.55;
  cursor: not-allowed !important;
}

#Register #warning-text {
  display: block;
  color: #e11d48 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.8 !important;
  text-align: right !important;
  cursor: default !important;
}

#Register .reg-split .captcha-container {
  width: 100% !important;
  display: block !important;
  margin: 0 0 16px !important;
}

#Register .reg-split .captcha-container .MainDiv {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  align-items: stretch !important;
}

#Register .reg-split .captcha-container .MainDiv .reg-captcha-widget {
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: stretch;
  align-items: stretch !important;
  gap: 12px;
  width: 100% !important;
  min-width: 0;
  margin: 0 0 6px !important;
  direction: rtl;
}

#Register .reg-split .captcha-container .MainDiv .reg-captcha-code {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  gap: 8px;
  width: auto !important;
  min-width: 0;
  position: relative;
  z-index: 2;
  direction: rtl;
}

#Register .reg-split .captcha-container .MainDiv .reg-captcha-image {
  flex: 1 1 180px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 160px;
  max-width: 220px;
  height: 64px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  overflow: hidden;
  background: #eef3f8 !important;
  border: 1.5px solid #dbe7f2 !important;
  border-radius: 16px !important;
}

#Register .reg-split .captcha-container input[name="arcaptcha-token"],
#Register .reg-split .captcha-container #hidden-input3 {
  display: none !important;
}

#Register .reg-split .captcha-container .MainDiv img#img3 {
  width: auto !important;
  max-width: 100% !important;
  height: 58px !important;
  max-height: 58px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: none;
}

#Register .captcha-container p,
#Register .reg-split .captcha-container p,
#Register .reg-split .captcha-container .MainDiv p,
#Register .reg-split .captcha-container .MainDiv > p {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

#Register .reg-split .captcha-container input#result3,
#Register .reg-split .captcha-container input#result,
#Register .reg-split .captcha-container input#result2 {
  direction: rtl !important;
  text-align: right !important;
}

#Register .reg-split .captcha-container input::placeholder,
#Register .reg-split .captcha-container input::-webkit-input-placeholder,
#Register .reg-split .captcha-container input#result3::placeholder,
#Register .reg-split input#result3::placeholder {
  color: #9aa3b0 !important;
  opacity: 1 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  direction: rtl !important;
  text-align: right !important;
  font-family: IRANSans, sans-serif !important;
}

#Register .reg-split .captcha-container input:focus::placeholder,
#Register .reg-split input#result3:focus::placeholder {
  color: #9aa3b0 !important;
}

#Register .reg-split .captcha-container .MainDiv span {
  color: #64748b !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  cursor: default !important;
}

#Register .reg-split .captcha-container input[type="text"],
#Register .reg-split .captcha-container input[type="tel"],
#Register .reg-split .captcha-container .MainDiv input[type="text"],
#Register .reg-split .captcha-container .MainDiv input[type="tel"],
#Register .reg-split .captcha-container .MainDiv .reg-captcha-widget input#result3 {
  display: block;
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  position: relative;
  z-index: 1;
  height: 64px !important;
  min-height: 64px !important;
  line-height: 64px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border-radius: 16px !important;
  overflow: hidden;
}

#Register .reg-split select.form-control {
  line-height: normal !important;
}

#Register .reg-split .captcha-container #reload3.reg-captcha-reload,
#Register .reg-split button.reg-captcha-reload {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 64px !important;
  width: 64px !important;
  min-width: 64px !important;
  height: 64px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1.5px solid #e4ebf2 !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: none !important;
  color: #8b9aab !important;
  font-size: 18px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

#Register .reg-split .captcha-container #reload3.reg-captcha-reload i {
  margin: 0 !important;
  color: inherit !important;
  font-size: 18px !important;
}

#Register .reg-split .captcha-container #reload3.reg-captcha-reload:hover,
#Register .reg-split .captcha-container #reload3.reg-captcha-reload:focus {
  color: #1639c4 !important;
  border-color: #1a73e8 !important;
  background: #fff !important;
  opacity: 1 !important;
  outline: none;
}

#Register .reg-split .captcha-container #reload3.reg-captcha-reload:active i {
  transform: rotate(-180deg);
  transition: transform 0.35s ease;
}

#Register .reg-note {
  margin: 3px 0 !important;
  color: #6b87a8 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  text-align: center !important;
}

#Register .reg-note u {
  color: #ea580c !important;
  text-underline-offset: 2px;
}

#Register .reg-split .error {
  width: 100% !important;
  margin: 10px 0 !important;
  background: #e11d48 !important;
  color: #fff !important;
}

#Register .reg-submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100% !important;
  height: 52px !important;
  margin: 22px 0 0 !important;
  padding: 0 18px !important;
  border: none !important;
  border-radius: 16px !important;
  background: #1a73e8 !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

#Register .reg-submit:hover,
#Register .reg-submit:focus {
  background: #0d5ec9 !important;
  color: #fff !important;
  opacity: 1 !important;
  outline: none;
}

#Register .reg-submit:disabled,
#Register .reg-submit.btn-disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  box-shadow: none;
}

#Register .reg-brand {
  display: none !important;
}

#Register .reg-brand-circles,
#Register .reg-brand-plus-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

#Register .reg-brand-circle {
  position: absolute;
  -webkit-border-radius: 50% !important;
  -moz-border-radius: 50% !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(147, 197, 253, 0.42);
  background: transparent;
  box-sizing: border-box;
}

#Register .reg-brand-circle--a {
  width: 320px;
  height: 320px;
  top: 6%;
  left: -8%;
  opacity: 0.55;
}

#Register .reg-brand-circle--b {
  width: 210px;
  height: 210px;
  top: 16%;
  left: 8%;
  border-color: rgba(147, 197, 253, 0.28);
  opacity: 0.7;
}

#Register .reg-brand-circle--c {
  width: 180px;
  height: 180px;
  bottom: 8%;
  right: -6%;
  opacity: 0.45;
}

#Register .reg-brand-circle--d {
  width: 110px;
  height: 110px;
  top: 18%;
  right: 10%;
  border-color: rgba(96, 165, 250, 0.35);
  opacity: 0.6;
}

#Register .reg-plus {
  position: absolute;
  color: #93c5fd;
  opacity: 0.22;
}

#Register .reg-plus::before,
#Register .reg-plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  -webkit-border-radius: 2px !important;
  -moz-border-radius: 2px !important;
  border-radius: 2px !important;
}

#Register .reg-plus::before {
  width: 18%;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

#Register .reg-plus::after {
  width: 100%;
  height: 18%;
  top: 50%;
  transform: translateY(-50%);
}

#Register .reg-plus.xs {
  width: 12px;
  height: 12px;
  opacity: 0.16;
}

#Register .reg-plus.sm {
  width: 18px;
  height: 18px;
  opacity: 0.2;
}

#Register .reg-plus.md {
  width: 28px;
  height: 28px;
  opacity: 0.22;
  color: #7db8f5;
}

#Register .reg-plus.lg {
  width: 40px;
  height: 40px;
  opacity: 0.18;
}

#Register .reg-plus.xl {
  width: 52px;
  height: 52px;
  opacity: 0.14;
  color: #a5d0ff;
}

#Register .reg-plus.plus-a { top: 8%; left: 8%; }
#Register .reg-plus.plus-b { top: 12%; left: 28%; }
#Register .reg-plus.plus-c { top: 22%; left: 14%; }
#Register .reg-plus.plus-d { top: 10%; right: 18%; }
#Register .reg-plus.plus-e { top: 28%; right: 8%; }
#Register .reg-plus.plus-f { top: 46%; left: 10%; }
#Register .reg-plus.plus-g { top: 52%; right: 16%; }
#Register .reg-plus.plus-h { bottom: 28%; left: 22%; }
#Register .reg-plus.plus-i { bottom: 16%; right: 12%; }
#Register .reg-plus.plus-j { bottom: 10%; left: 8%; }

#Register .reg-logo,
#Register .reg-brand-bottom {
  position: relative;
  z-index: 1;
}

#Register .reg-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

#Register .reg-logo img {
  width: 52px;
  height: 52px;
  padding: 8px;
  -webkit-border-radius: 16px !important;
  -moz-border-radius: 16px !important;
  border-radius: 16px !important;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(26, 115, 232, 0.12);
  object-fit: contain;
}

#Register .reg-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

#Register .reg-logo-text strong {
  color: #1639c4;
  font-size: 21px;
  font-weight: 700;
}

#Register .reg-logo-text span {
  color: #6b87a8 !important;
  font-size: 12px !important;
  letter-spacing: 1.6px;
  font-weight: 500 !important;
  cursor: default !important;
}

#Register .reg-mark {
  width: 74px;
  height: 74px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-border-radius: 22px !important;
  -moz-border-radius: 22px !important;
  border-radius: 22px !important;
  background: #1a73e8;
  box-shadow: 0 12px 28px rgba(26, 115, 232, 0.28);
}

#Register .reg-kicker {
  margin: 0 0 8px !important;
  color: #6b87a8 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-align: right !important;
}

#Register .reg-slogan {
  margin: 0 0 22px;
  color: #0f74e1;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.55;
  text-align: right;
}

#Register .reg-features {
  list-style: none;
  margin: 0;
  padding: 0;
}

#Register .reg-features li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #1e3a5f;
  font-size: 16px;
}

#Register .reg-features i {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-border-radius: 50% !important;
  -moz-border-radius: 50% !important;
  border-radius: 50% !important;
  background: #ecfdf5;
  color: #22c55e;
  font-size: 11px;
}

@media (max-height: 740px) and (min-width: 861px) {
  #Register .reg-shell {
    justify-content: flex-start !important;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  #Register .reg-panel {
    max-height: none;
  }
}

@media (max-width: 1100px) {
  #Register .reg-panel {
    padding: 0;
  }

  #Register .reg-brand {
    padding: 28px 24px 36px;
  }

  #Register .reg-slogan {
    font-size: 24px;
  }
}

@media (max-width: 992px) {
  #Register.register-page.is-register-step,
  #Register.register-page:has(.reg-split:not(.ng-hide)) {
    margin: 0 !important;
  }
}

@media (max-width: 860px) {
  html,
  body.register-split-active {
    height: 100% !important;
    height: 100dvh !important;
    height: 100svh !important;
    overflow: hidden !important;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body.register-split-active .main,
  #Register.register-page.is-register-step,
  #Register.register-page:has(.reg-split:not(.ng-hide)) {
    height: 100% !important;
    height: 100dvh !important;
    height: 100svh !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  #Register .reg-shell {
    flex-direction: column !important;
    justify-content: stretch !important;
    align-items: stretch !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 6px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
  }

  #Register .reg-brand {
    display: none !important;
  }

  #Register .reg-form-stack {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
  }

  #Register .reg-panel {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: 100%;
    min-height: 0 !important;
    margin: 0 auto;
    padding: 0 4px;
    overflow: hidden;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-border-radius: 20px !important;
    -moz-border-radius: 20px !important;
    border-radius: 20px !important;
  }

  #Register .reg-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    margin: 0 auto;
    padding-bottom: 0;
    gap: 0;
    overflow: hidden;
  }

  #Register .reg-form-body {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
  }

  #Register .reg-back {
    position: static !important;
    top: auto;
    right: auto;
    left: auto;
    align-self: flex-start;
    flex-shrink: 0;
    z-index: 6;
    margin: 0 2px 6px !important;
  }

  #Register .reg-heading {
    flex-shrink: 0;
    gap: 4px;
  }

  #Register .reg-card h1 {
    margin: 0 !important;
    font-size: 22px !important;
    line-height: 1.3 !important;
    text-align: right !important;
  }

  #Register .reg-lead {
    display: block !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-align: right !important;
  }

  #Register .reg-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px 12px;
    margin: 0;
  }

  #Register .reg-field {
    margin: 0;
  }

  #Register .reg-birth-block {
    flex-shrink: 0;
    gap: 6px;
  }

  #Register .reg-insurance-wrap {
    flex-shrink: 0;
    gap: 12px 10px;
    margin: 0;
  }

  #Register .reg-insurance-wrap.has-num {
    grid-template-columns: 1fr 1fr;
  }

  #Register .reg-insurance-wrap.has-custom {
    grid-template-columns: 1fr 1fr;
  }

  #Register .reg-insurance-wrap.has-custom .reg-insur-type {
    grid-column: 1 / -1;
  }

  #Register .reg-gender-wrap {
    flex-shrink: 0;
    margin: 0;
    overflow: hidden;
  }

  #Register .reg-gender {
    flex-shrink: 0;
    gap: 8px;
    padding: 0;
    overflow: hidden;
  }

  #Register .reg-field label,
  #Register .reg-label,
  #Register .reg-split .register-birth-label {
    margin: 0 0 6px !important;
    font-size: 12px !important;
  }

  #Register #warning-text {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  #Register .reg-split .SelectGroup.register-birth-row {
    flex-wrap: nowrap !important;
    gap: 6px !important;
    margin: 0 !important;
  }

  #Register .reg-split .register-birth-field {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }

  #Register .reg-split input[type="text"],
  #Register .reg-split input[type="tel"],
  #Register .reg-split select.form-control,
  #Register .reg-split .reg-birth-trigger,
  #Register .reg-split .captcha-container input[type="text"],
  #Register .reg-split .captcha-container input[type="tel"] {
    height: 46px !important;
    min-height: 46px !important;
    border-radius: 16px !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  #Register .reg-pill span {
    height: 46px !important;
    min-height: 46px !important;
    border-radius: 16px !important;
    font-size: 14px !important;
  }

  #Register .reg-pill input:checked + span {
    background: #e8f1fb !important;
    border-color: #1a73e8 !important;
    border-width: 2px !important;
    color: #1639c4 !important;
    box-shadow: none !important;
  }

  #Register .reg-split .captcha-container {
    flex-shrink: 0;
    margin: 0 !important;
  }

  #Register .reg-split .captcha-container .MainDiv .reg-captcha-widget {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin: 0 !important;
    direction: rtl;
  }

  #Register .reg-split .captcha-container .MainDiv .reg-captcha-code {
    grid-area: code;
    order: 0;
    width: auto !important;
    min-width: 0;
  }

  #Register .reg-split .captcha-container .MainDiv .reg-captcha-image {
    flex: 0 0 88px;
    width: 88px !important;
    min-width: 88px;
    max-width: 88px;
    height: 56px !important;
    padding: 0 6px !important;
  }

  #Register .reg-split .captcha-container .MainDiv img#img3 {
    height: 50px !important;
    max-height: 50px !important;
  }

  #Register .reg-split .captcha-container input[type="text"],
  #Register .reg-split .captcha-container input[type="tel"],
  #Register .reg-split .captcha-container .MainDiv input[type="text"],
  #Register .reg-split .captcha-container .MainDiv input[type="tel"],
  #Register .reg-split .captcha-container .MainDiv .reg-captcha-widget input#result3 {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    height: 56px !important;
    min-height: 56px !important;
    line-height: 56px !important;
    padding: 0 10px !important;
    font-size: 16px !important;
  }

  #Register .reg-split .captcha-container #reload3.reg-captcha-reload,
  #Register .reg-split button.reg-captcha-reload {
    flex: 0 0 56px !important;
    width: 56px !important;
    min-width: 56px !important;
    height: 56px !important;
  }

  #Register .captcha-container p,
  #Register .reg-split .captcha-container p,
  #Register .reg-split .captcha-container .MainDiv p {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #Register .reg-split .captcha-container input::placeholder,
  #Register .reg-split .captcha-container input::-webkit-input-placeholder,
  #Register .reg-split input#result3::placeholder {
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  #Register .reg-note {
    display: none !important;
  }

  #Register .reg-submit {
    position: static !important;
    flex-shrink: 0;
    height: 48px !important;
    margin: 0 !important;
    border-radius: 16px !important;
    font-size: 16px !important;
    box-shadow: none !important;
  }

  #Register input,
  #Register select,
  #Register textarea,
  #Register .reg-birth-trigger {
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  #Register .reg-shell {
    padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  }

  #Register .reg-form-stack {
    width: 100%;
    height: 100%;
  }

  #Register .reg-panel {
    width: 100%;
    margin: 0 auto;
    height: 100%;
    max-height: 100%;
    padding: 0;
    overflow: hidden;
    -webkit-border-radius: 16px !important;
    -moz-border-radius: 16px !important;
    border-radius: 16px !important;
  }

  #Register .reg-card {
    gap: 0;
  }

  #Register .reg-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px 12px;
    margin: 0;
  }

  #Register .reg-card h1 {
    font-size: 22px !important;
    text-align: right !important;
  }

  #Register .reg-lead {
    display: block !important;
    text-align: right !important;
  }

  #Register .reg-split .SelectGroup.register-birth-row {
    flex-wrap: nowrap !important;
  }

  #Register .reg-split .register-birth-field {
    flex: 1 1 0 !important;
  }

  #Register .reg-gender {
    flex-direction: row;
    gap: 12px;
  }

  #Register .reg-pill span {
    height: 46px !important;
    min-height: 46px !important;
    border-radius: 16px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 360px) {
  #Register .reg-panel {
    padding: 0;
  }

  #Register .reg-card {
    gap: 0;
  }

  #Register .reg-split .register-birth-field {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }

  #Register .reg-split .captcha-container .MainDiv .reg-captcha-widget {
    gap: 6px !important;
  }
}

/* Phone step — boxed card + captcha matching the details form */
#Register.register-page:has(.reg-auth:not(.ng-hide)) {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#Register .reg-auth.reg-auth {
  width: 100% !important;
  margin: 0 !important;
}

#Register .reg-auth .reg-auth-shell,
#Register .reg-auth .mainDiv.reg-auth-shell {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: calc(100vh - 180px) !important;
  margin: 0 !important;
  padding: 28px 16px 48px !important;
  background: #f3f6fb !important;
  overflow: visible !important;
  box-shadow: none !important;
  border: none !important;
}

#Register .reg-auth .reg-auth-card,
#Register .reg-auth .form.reg-auth-card {
  width: 100% !important;
  max-width: 560px !important;
  margin: 0 auto !important;
  padding: 36px 40px 28px !important;
  background: #ffffff !important;
  border: 1px solid #e8eef5 !important;
  -webkit-border-radius: 28px !important;
  -moz-border-radius: 28px !important;
  border-radius: 28px !important;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08) !important;
  align-items: stretch !important;
}

#Register .reg-auth .form.reg-auth-card h1 {
  margin: 0 0 28px !important;
  text-align: center !important;
  color: #0f74e1 !important;
  font-size: 24px !important;
  font-weight: 700 !important;
}

#Register .reg-auth .form.reg-auth-card .field,
#Register .reg-auth #phoneField {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
}

#Register .reg-auth .InputGroup {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px;
  width: 100% !important;
  margin: 0 0 16px !important;
}

#Register .reg-auth .InputGroup label {
  width: auto !important;
  min-width: 148px;
  margin: 0 !important;
  padding: 0 !important;
  color: #6b7280 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-align: right !important;
  white-space: nowrap;
}

#Register .reg-auth .InputGroup input,
#Register .reg-auth .form.reg-auth-card input[type="text"],
#Register .reg-auth .form.reg-auth-card input[type="tel"],
#Register .reg-auth .form.reg-auth-card input[type="password"],
#Register .reg-auth #phone {
  flex: 1 1 auto;
  width: auto !important;
  max-width: 280px;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1.5px solid #e4e9f0 !important;
  -webkit-border-radius: 12px !important;
  -moz-border-radius: 12px !important;
  border-radius: 12px !important;
  background-color: #fff !important;
  box-shadow: none !important;
  color: #1f2937 !important;
  font-family: inherit !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  direction: rtl !important;
  text-align: center !important;
  outline: none !important;
  filter: none !important;
}

#Register .reg-auth .InputGroup input:focus,
#Register .reg-auth .form.reg-auth-card input[type="text"]:focus,
#Register .reg-auth .form.reg-auth-card input[type="tel"]:focus {
  border-color: #1a73e8 !important;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.16) !important;
  filter: none !important;
}

#Register .reg-auth .InputGroup input.input-disabled,
#Register .reg-auth .InputGroup input:disabled,
#Register .reg-auth #codeMelliPhone,
#Register .reg-auth #codeMelliPassword {
  background-color: #eef2f6 !important;
  color: #6b7280 !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
}

#Register .reg-auth .form.reg-auth-card input::placeholder {
  color: #b0b8c4 !important;
  text-align: center !important;
}

#Register .reg-auth .captcha-container,
#Register .reg-auth .mainDiv .captcha-container {
  width: 100% !important;
  display: block !important;
  margin: 8px 0 10px !important;
}

#Register .reg-auth .captcha-container .MainDiv {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  align-items: stretch !important;
}

#Register .reg-auth .captcha-container .MainDiv .reg-captcha-widget {
  display: grid !important;
  grid-template-columns: minmax(0, 1.45fr) minmax(92px, 1fr) 48px;
  grid-template-areas: "answer image reload";
  align-items: center !important;
  gap: 8px;
  width: 100% !important;
  margin: 0 0 6px !important;
  direction: ltr;
}

#Register .reg-auth .captcha-container .MainDiv .reg-captcha-image {
  grid-area: image;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  overflow: hidden;
  background: #eef3f8 !important;
  border: 1.5px solid #e4ebf2 !important;
  -webkit-border-radius: 12px !important;
  -moz-border-radius: 12px !important;
  border-radius: 12px !important;
}

#Register .reg-auth .captcha-container .MainDiv img#img {
  width: auto !important;
  max-width: 100% !important;
  height: 48px !important;
  max-height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  object-fit: contain;
  mix-blend-mode: normal;
}

#Register .reg-auth .captcha-container p,
#Register .reg-auth .captcha-container .MainDiv p,
#Register .reg-auth .form.reg-auth-card .captcha-container p {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#Register .reg-auth .captcha-container input#result,
#Register .reg-auth .captcha-container input#result2 {
  direction: rtl !important;
  text-align: right !important;
}

#Register .reg-auth .captcha-container input::placeholder,
#Register .reg-auth .captcha-container input#result::placeholder {
  color: #9aa3b0 !important;
  opacity: 1 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  direction: rtl !important;
  text-align: right !important;
  font-family: IRANSans, sans-serif !important;
}

#Register .reg-auth .captcha-container input[type="text"],
#Register .reg-auth .captcha-container input[type="tel"],
#Register .reg-auth .captcha-container .MainDiv .reg-captcha-widget input#result {
  grid-area: answer;
  display: block;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  justify-self: stretch;
  height: 52px !important;
  min-height: 52px !important;
  line-height: 52px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  -webkit-border-radius: 12px !important;
  -moz-border-radius: 12px !important;
  border-radius: 12px !important;
}

#Register .reg-auth .captcha-container #reload.reg-captcha-reload,
#Register .reg-auth button.reg-captcha-reload {
  grid-area: reload;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  order: 0;
  flex: 0 0 48px !important;
  width: 48px !important;
  min-width: 48px !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1.5px solid #e4ebf2 !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: none !important;
  color: #8b9aab !important;
  font-size: 18px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

#Register .reg-auth .captcha-container #reload.reg-captcha-reload i {
  margin: 0 !important;
  color: inherit !important;
  font-size: 18px !important;
}

#Register .reg-auth .captcha-container #reload.reg-captcha-reload:hover,
#Register .reg-auth .captcha-container #reload.reg-captcha-reload:focus {
  color: #1639c4 !important;
  border-color: #1a73e8 !important;
  background: #fff !important;
  opacity: 1 !important;
  outline: none;
}

#Register .reg-auth .form.reg-auth-card > p,
#Register .reg-auth .field > p {
  width: 100% !important;
  margin: 4px 0 12px !important;
  color: #6b87a8 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  text-align: center !important;
  line-height: 1.8 !important;
}

#Register .reg-auth .error {
  width: 100% !important;
  margin: 10px 0 !important;
  background: #e11d48 !important;
  color: #fff !important;
}

#Register .reg-auth .btnDiv {
  display: flex !important;
  flex-direction: row-reverse !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px;
  width: 100% !important;
  margin-top: 22px !important;
}

#Register .reg-auth .btnDiv button,
#Register .reg-auth #phoneBtn,
#Register .reg-auth #passwordBtn,
#Register .reg-auth #returnPhoneBtn,
#Register .reg-auth #returnPasswordBtn {
  flex: 1 1 0;
  width: auto !important;
  max-width: 160px;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: none !important;
  border-radius: 16px !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

#Register .reg-auth #phoneBtn,
#Register .reg-auth #passwordBtn,
#Register .reg-auth #codeMelliBtn {
  background: #1a73e8 !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(26, 115, 232, 0.28) !important;
}

#Register .reg-auth #phoneBtn:hover,
#Register .reg-auth #phoneBtn:focus,
#Register .reg-auth #passwordBtn:hover,
#Register .reg-auth #passwordBtn:focus,
#Register .reg-auth #codeMelliBtn:hover,
#Register .reg-auth #codeMelliBtn:focus {
  background: #0d5ec9 !important;
  color: #fff !important;
  opacity: 1 !important;
}

#Register .reg-auth #codeMelliBtn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center;
  width: auto !important;
  min-width: 160px;
  max-width: 200px;
  height: 44px !important;
  margin: 10px auto 0 !important;
  padding: 0 28px !important;
  border: none !important;
  border-radius: 16px !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
}

#Register .reg-auth #codeMelliBtn.btn-disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

#Register .reg-auth .well.btn-circle {
  width: 100% !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-align: center !important;
}

#Register .reg-auth .well.btn-circle a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px !important;
  border: 1.5px solid #1a73e8 !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: #1639c4 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

#Register .reg-auth #returnPhoneBtn,
#Register .reg-auth #returnPasswordBtn,
#Register .reg-auth .btnDiv button.returnBtn {
  background: #fc2c24 !important;
  color: #fff !important;
}

#Register .reg-auth .btnDiv button.btn-disabled,
#Register .reg-auth #phoneBtn.btn-disabled,
#Register .reg-auth #passwordBtn.btn-disabled,
#Register .reg-auth #returnPhoneBtn.btn-disabled,
#Register .reg-auth #returnPasswordBtn.btn-disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

#Register .reg-auth .underline {
  width: 100% !important;
  height: 1px !important;
  margin: 18px 0 16px !important;
  border: none !important;
  border-bottom: 1px solid #e8eef5 !important;
  background: transparent !important;
}

#Register .reg-auth #forgotBtn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: auto !important;
  min-width: 220px;
  height: 42px !important;
  margin: 0 auto !important;
  padding: 0 18px !important;
  border: 1.5px solid #1a73e8 !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: #1639c4 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

#Register .reg-auth #forgotBtn:hover,
#Register .reg-auth #forgotBtn:focus {
  background: #eef6ff !important;
  color: #1639c4 !important;
  opacity: 1 !important;
}

#Register .reg-auth #forgotBtn.span-disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

#Register .reg-auth #codeMelliPassword:focus,
#Register .reg-auth #codeMelliPassword:hover {
  border: 1.5px solid #e4e9f0 !important;
  box-shadow: none !important;
  filter: none !important;
}

@media (max-width: 768px) {
  #Register.register-page:has(.reg-auth:not(.ng-hide)) {
    height: auto !important;
    overflow: visible !important;
  }

  #Register .reg-auth .reg-auth-shell,
  #Register .reg-auth .mainDiv.reg-auth-shell {
    min-height: calc(100dvh - 88px) !important;
    height: auto !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px 12px 32px !important;
    overflow: visible !important;
  }

  #Register .reg-auth .reg-auth-card,
  #Register .reg-auth .form.reg-auth-card {
    padding: 24px 16px 18px !important;
    -webkit-border-radius: 20px !important;
    -moz-border-radius: 20px !important;
    border-radius: 20px !important;
  }

  #Register .reg-auth .btnDiv,
  #Register .reg-auth #codeMelliBtn {
    position: sticky;
    bottom: 0;
    z-index: 4;
    background: #fff;
  }

  #Register .reg-auth .InputGroup {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px;
  }

  #Register .reg-auth .InputGroup label {
    min-width: 0;
  }

  #Register .reg-auth .InputGroup input,
  #Register .reg-auth .form.reg-auth-card input[type="text"],
  #Register .reg-auth .form.reg-auth-card input[type="tel"],
  #Register .reg-auth .form.reg-auth-card input[type="password"] {
    max-width: none !important;
    width: 100% !important;
  }

  #Register .reg-auth .btnDiv button,
  #Register .reg-auth #phoneBtn,
  #Register .reg-auth #passwordBtn,
  #Register .reg-auth #returnPhoneBtn,
  #Register .reg-auth #returnPasswordBtn {
    max-width: none;
  }

  #Register .reg-auth #forgotBtn {
    width: 100% !important;
    min-width: 0;
  }

  #Register .reg-auth #codeMelliBtn {
    width: 100% !important;
    max-width: 220px;
  }

  #Register .reg-auth .captcha-container .MainDiv .reg-captcha-widget {
    display: grid !important;
    grid-template-columns: minmax(0, 1.6fr) minmax(84px, 0.9fr) 44px !important;
    grid-template-areas: "answer image reload" !important;
    min-width: 0;
  }

  #Register .reg-auth .captcha-container input[type="text"],
  #Register .reg-auth .captcha-container input[type="tel"],
  #Register .reg-auth .captcha-container .MainDiv .reg-captcha-widget input#result {
    grid-area: answer;
    min-width: 0;
    width: auto !important;
    padding: 0 8px !important;
  }
}

@media (max-width: 360px) {
  #Register .reg-auth .reg-auth-shell,
  #Register .reg-auth .mainDiv.reg-auth-shell {
    padding: 16px 8px 24px !important;
  }

  #Register .reg-auth .reg-auth-card,
  #Register .reg-auth .form.reg-auth-card {
    padding: 20px 12px 16px !important;
  }

  #Register .reg-auth .btnDiv {
    gap: 8px;
  }

  #Register .reg-auth .btnDiv button,
  #Register .reg-auth #phoneBtn,
  #Register .reg-auth #passwordBtn,
  #Register .reg-auth #returnPhoneBtn,
  #Register .reg-auth #returnPasswordBtn {
    min-width: 0;
    height: 42px !important;
    font-size: 14px !important;
  }
}
