.alr-jalali-date {
  cursor: pointer;
  touch-action: manipulation;
}
.jdp-container {
  max-width: 100%;
}
.jdp-container * {
  box-sizing: border-box;
}
.alr-wrapper {
  width: 100%;
  position: relative;
}

.alr-form-container {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.alr-login-form,
.alr-register-form {
  width: 100%;
}

.alr-form {
  display: flex;
  flex-direction: column;
}

.alr-section {
  display: flex;
  flex-direction: row;
  margin-bottom: 128px;
  position: relative;
}

.alr-section:before {
  width: 100vw;
  height: 1px;
  background-color: #9e9e9e;
  content: '';
  position: absolute;
  bottom: -64px;
  left: 50%;
  transform: translateX(-50%);
}

.alr-section .alr-heading {
  min-width: 230px;
}
.alr-field {
  flex-grow: 1;
}

.alr-heading {
  margin: 0;
  line-height: 1.4;
}
.alr-field {
  display: flex;
  flex-direction: column;
}
.alr-label {
  display: block;
  font-weight: 600;
}
.password_rules_notice {
  text-align: start;
  color: #616161;
}
.alr-input,
.alr-form select,
.alr-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;

  border: 1px solid #d8d8d8;
  border-radius: 8px;

  background: #fff;

  transition: border-color 0.25s ease, box-shadow 0.25s ease,
    background 0.25s ease;
}
.alr-input:focus,
.alr-form select:focus,
.alr-form textarea:focus {
  outline: none;
}
.alr-password-wrapper {
  position: relative;
}
.alr-password-wrapper .alr-input {
  padding-right: 48px;
}
.alr-password-toggle {
  position: absolute;

  top: 50%;
  right: 12px;
  top: 28px;

  transform: translateY(-50%);

  border: 0;
  background: transparent;

  cursor: pointer;

  padding: 4px;
}
.alr-password-rules {
  margin-top: 10px;
}
.alr-password-rules ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.alr-rule {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  white-space: nowrap;
}
.alr-rule.invalid {
  color: #d63638;
}
.alr-rule.valid {
  color: #00a32a;
}
.alr-rule::before {
  font-size: 14px;
}
.alr-rule.invalid::before {
  content: '✕';
}
.alr-rule.valid::before {
  content: '✓';
}
.alr-password-notice {
  margin-top: 12px;
  line-height: 1.6;
  text-align: start;
}
.alr-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alr-checkbox {
  margin-top: 3px;
}
.alr-remember-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.alr-button {
  width: 100%;
  border: 0;
  cursor: pointer;
  padding: 10px;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}
.alr-button:hover {
  transform: translateY(-1px);
}
.alr-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.alr-button.alr-register-submit {
  max-width: 402px;
  align-self: center;
}
.alr-link {
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.alr-link:hover {
  opacity: 0.8;
}
.alr-switch-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.alr-toasts {
  bottom: auto;
  position: fixed;
  top: 52px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
  width: max-content;
  max-width: 95vw;
}

.alr-toast {
  background: var(--alr-toast-bg);
  border-radius: 0px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  opacity: 0;
  color: var(--alr-toast-color);
  direction: rtl;
  pointer-events: all;
  min-width: min(80vw, 412px);
  max-width: 412px;
  animation: alr-toast-in 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  border-right: 3px solid var(--alr-toast-border);
}
.alr-toast.alr-toast--out {
  animation: alr-toast-out 0.22s ease forwards;
}
.alr-toast.alr-toast--in {
  animation: alr-toast-in 0.22s ease forwards;
}

.alr-toast-text {
  flex: 1;
  font-size: 12px;
  line-height: 19px;
  font-weight: 500;
}
.alr-toast-close {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  line-height: 19px;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.15s, background 0.15s;
}
.alr-toast-close:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.05);
}

@keyframes alr-toast-in {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes alr-toast-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
}

.alr-success {
  padding: 14px 18px;

  border-radius: 8px;

  background: #ecfdf3;
  border: 1px solid #abefc6;

  color: #067647;
  opacity: 0;
}
.alr-error {
  padding: 14px 18px;

  border-radius: 8px;

  background: #fef3f2;
  border: 1px solid #fecdca;

  color: #b42318;
}

input[type='tel']::placeholder {
  text-align: right;
}
input[type='tel']::-webkit-input-placeholder {
  text-align: right;
}
input[type='tel']:-moz-placeholder {
  text-align: right;
}
input[type='tel']::-moz-placeholder {
  text-align: right;
}
input[type='tel']:-ms-input-placeholder {
  text-align: right;
}

.alr-loading {
  display: none;

  width: 18px;
  height: 18px;

  border-radius: 50%;

  border: 2px solid currentColor;
  border-top-color: transparent;

  animation: alr-spin 0.7s linear infinite;
}
@keyframes alr-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}
.alr-jalali-date {
  cursor: pointer;
}
.jdp-container {
  z-index: 99999;
}
.jdp-container * {
  box-sizing: border-box;
}

.alr-login-form,
.alr-register-form {
  animation: alrFade 0.35s ease;
}
@keyframes alrFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.alr-form-container {
  transition: min-height 0.35s ease;
}
.alr-button:active {
  transform: translateY(1px);
}

@media (max-width: 1024px) {
  .alr-form {
    gap: 18px;
  }
}
@media (max-width: 767px) {
  .alr-remember-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .alr-button {
    width: 100%;
  }

  .alr-section {
    flex-direction: column;
  }
}
.alr-forgot,
.alr-verify,
.alr-new-password {
  max-width: min(420px, 95%);
  margin: auto;
  padding: 200px 0 200px;
}
.alr-eye-show {
  display: none;
}
.alr-eye-icon {
  height: 24px;
}
