@font-face {
  font-family: 'Vazirmatn';
  src: url('/DesktopModules/RealModule/RealAuthentication/Resources/fonts/Vazirmatn/Vazirmatn[wght].woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.ra-login-shell {
  --ra-blue: #064a98;
  --ra-primary: #0878f9;
  --ra-gold: #d5a108;
  --ra-text: #1f2937;
  --ra-muted: #7b8492;
  position: relative;
  width: min(100%, 1120px);
  min-height: 720px;
  margin-inline: auto;
  padding: 42px 44px 30px;
  overflow: hidden;
  color: var(--ra-text);
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 55%, rgba(211, 224, 241, .58), transparent 25%),
    radial-gradient(circle at 92% 72%, rgba(222, 232, 246, .52), transparent 24%),
    linear-gradient(145deg, #fbfcff 0%, #f7f9fd 52%, #eef4fb 100%);
  box-sizing: border-box;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
}
.ra-login-shell *, .ra-login-shell *::before, .ra-login-shell *::after { box-sizing: border-box; }
.ra-orbit { position: absolute; width: 340px; height: 340px; border: 1px solid rgba(213,161,8,.55); border-radius: 50%; pointer-events: none; }
.ra-orbit::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--ra-gold); box-shadow: 0 0 0 5px rgba(213,161,8,.10); }
.ra-orbit-right { top: -160px; right: -285px; }
.ra-orbit-right::after { bottom: 34px; left: 44px; }
.ra-orbit-left { bottom: -170px; left: -292px; }
.ra-orbit-left::after { top: 50px; right: 30px; }
.ra-login-header { position: relative; z-index: 1; text-align: center; }
.ra-brand { direction: ltr; display: flex; align-items: center; justify-content: center; gap: 15px; color: #c7970b; font: 700 11px/1 Arial, sans-serif; letter-spacing: 5px; }
.ra-brand span { width: 45px; height: 2px; background: var(--ra-gold); border-radius: 2px; }
.ra-login-header h1 { margin: 24px 0 10px; color: var(--ra-blue); font-size: clamp(28px, 4vw, 44px); line-height: 1.3; font-weight: 900; }
.ra-login-header p { margin: 0; color: var(--ra-muted); font-size: 16px; }
.ra-login-progress { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(100px, 220px) 1fr; align-items: start; max-width: 620px; margin: 34px auto 24px; }
.ra-progress-item { display: grid; justify-items: center; gap: 8px; color: #737b87; font-size: 13px; }
.ra-progress-item span { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #d4d8de; border-radius: 50%; background: #fff; font-weight: 800; }
.ra-progress-line { height: 1px; margin-top: 15px; background: repeating-linear-gradient(to left, #d7dbe1 0 3px, transparent 3px 6px); }
.ra-progress-mobile { color: #262b32; }
.ra-progress-mobile span { color: #fff; border-color: var(--ra-gold); background: var(--ra-gold); box-shadow: 0 4px 12px rgba(213,161,8,.26); }
.ra-progress-line::before { content: ""; display: block; width: 50%; height: 2px; background: var(--ra-gold); }
.ra-login-shell:has(.ra-login-step-code) .ra-progress-code,
.ra-login-shell:has(.ra-login-step-register) .ra-progress-code,
.ra-login-shell:has(.ra-login-step-success) .ra-progress-code { color: #262b32; }
.ra-login-shell:has(.ra-login-step-code) .ra-progress-code span,
.ra-login-shell:has(.ra-login-step-register) .ra-progress-code span,
.ra-login-shell:has(.ra-login-step-success) .ra-progress-code span { color: #fff; border-color: var(--ra-gold); background: var(--ra-gold); }
.ra-login-shell:has(.ra-login-step-code) .ra-progress-line::before,
.ra-login-shell:has(.ra-login-step-register) .ra-progress-line::before,
.ra-login-shell:has(.ra-login-step-success) .ra-progress-line::before { width: 100%; }
.ra-login-content { position: relative; z-index: 1; width: min(100%, 590px); margin: 0 auto; }
.ra-login-content .login-card { border: 0; border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: 0 12px 38px rgba(49,77,113,.10); }
.ra-login-content .login-card > .ant-card-body { padding: 0; }
.ra-login-content .login-card { overflow: hidden; }
.ra-login-step { position: relative; min-height: 285px; padding: 54px 42px 34px; border-top: 3px solid transparent; border-image: linear-gradient(to left, transparent 25%, var(--ra-gold) 25% 75%, transparent 75%) 1; }
.ra-card-icon { position: absolute; top: 5px; right: 30px; display: grid; place-items: center; width: 45px; height: 45px; color: var(--ra-gold); border-radius: 50%; background: #fff8df; font-size: 22px; font-weight: 900; }
.ra-card-header { margin: 12px 0 22px; text-align: center; }
.ra-card-header h2 { margin: 0 0 7px; color: var(--ra-blue); font-size: 22px; font-weight: 900; }
.ra-card-header p { margin: 0; color: var(--ra-muted); font-size: 14px; }
.ra-login-step-content { width: 100%; }
.ra-login-shell .ant-form-item { margin-bottom: 17px; }
.ra-form { display: grid; gap: 17px; }
.ra-field { display: grid; gap: 7px; }
.ra-field label { color: #3d4652; font-size: 13px; font-weight: 500; }
.ra-field input:not([type="checkbox"]):not([type="file"]), .ra-field textarea, .ra-field select {
  width: 100%; min-height: 52px; padding: 10px 14px; color: #253044; border: 1px solid #dce1e7;
  border-radius: 8px; outline: 0; background: #fff; font: inherit; transition: border-color .2s, box-shadow .2s;
}
.ra-field textarea { resize: vertical; }
.ra-field input:focus, .ra-field textarea:focus, .ra-field select:focus { border-color: var(--ra-primary); box-shadow: 0 0 0 3px rgba(8,120,249,.10); }
.ra-field input[aria-invalid="true"] { border-color: #dc3545; }
.ra-field-error { color: #c62828; font-size: 12px; }
.ra-button { min-height: 46px; padding: 8px 18px; border: 1px solid transparent; border-radius: 8px; background: #fff; font: 700 14px/1.4 inherit; cursor: pointer; transition: opacity .2s, transform .2s; }
.ra-button:hover:not(:disabled) { transform: translateY(-1px); }
.ra-button:disabled { cursor: not-allowed; opacity: .55; }
.ra-button-primary { width: 100%; min-height: 52px; color: #fff; background: linear-gradient(105deg, #075bc8, var(--ra-primary)); box-shadow: 0 8px 18px rgba(8,120,249,.18); }
.ra-button-secondary { color: #3d4652; border-color: #d8dde3; }
.ra-button-link { color: #717b89; background: transparent; }
.ra-button-row { display: flex; gap: 10px; flex-wrap: wrap; }
.ra-button-row .ra-button { flex: 1; }
.ra-timer { display: inline-block; margin-inline-start: 6px; color: #667085; }
.ra-otp { display: flex; justify-content: center; gap: 10px; }
.ra-otp input { width: 54px !important; height: 58px; padding: 0 !important; border: 1px solid #d8dde3 !important; border-radius: 8px !important; font-size: 22px !important; text-align: center; }
.ra-otp input:focus { border-color: var(--ra-primary) !important; box-shadow: 0 0 0 2px rgba(8,120,249,.10) !important; }
.ra-loading { position: fixed; z-index: 10000; inset: 18px 18px auto auto; display: flex; align-items: center; gap: 8px; padding: 10px 14px; color: #344054; border: 1px solid #e4e7ec; border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgba(16,24,40,.12); }
.ra-loading span { width: 16px; height: 16px; border: 2px solid #d0d5dd; border-top-color: var(--ra-primary); border-radius: 50%; animation: ra-spin .7s linear infinite; }
@keyframes ra-spin { to { transform: rotate(360deg); } }
.ra-notices { position: fixed; z-index: 11000; right: 18px; bottom: 18px; display: grid; gap: 10px; width: min(360px, calc(100vw - 36px)); }
.ra-notice { position: relative; display: grid; gap: 4px; padding: 14px 42px 14px 16px; border: 1px solid #e4e7ec; border-right-width: 4px; border-radius: 10px; background: #fff; box-shadow: 0 10px 30px rgba(16,24,40,.16); }
.ra-notice-error { border-right-color: #d92d20; }.ra-notice-warning { border-right-color: #dc9d00; }.ra-notice-success { border-right-color: #079455; }
.ra-notice span { color: #667085; font-size: 12px; }.ra-notice button { position: absolute; top: 7px; left: 8px; border: 0; background: none; font-size: 22px; cursor: pointer; }
.ra-status { padding: 25px; text-align: center; }.ra-status-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 14px; color: #fff; border-radius: 50%; background: #079455; font-size: 28px; }.ra-status h3 { margin: 0 0 8px; color: var(--ra-blue); }.ra-status p { color: var(--ra-muted); }
.ra-login-shell .ant-form-item-label { padding-bottom: 7px; }
.ra-login-shell .ant-form-item-label > label { color: #3d4652; font-size: 13px; }
.ra-login-shell .ant-input, .ra-login-shell .ant-input-affix-wrapper { height: 52px; border-color: #dce1e7; border-radius: 8px; background: #fff; box-shadow: none; }
.ra-login-shell .ant-input:hover, .ra-login-shell .ant-input:focus,
.ra-login-shell .ant-input-affix-wrapper:hover, .ra-login-shell .ant-input-affix-wrapper-focused { border-color: var(--ra-primary); }
.ra-login-shell .login-button { margin: 8px 0 0; }
.ra-login-shell .login-button .ant-space { display: flex; width: 100%; flex-wrap: wrap; }
.ra-login-shell .login-button .ant-space-item { flex: 1; }
.ra-login-shell .login-button .ant-btn { min-width: 105px; height: 52px; border-radius: 8px; font-size: 15px; font-weight: 700; }
.ra-login-shell .login-button .ant-btn-primary { width: 100%; border: 0; background: linear-gradient(105deg, #075bc8, var(--ra-primary)); box-shadow: 0 8px 18px rgba(8,120,249,.18); }
.ra-login-shell .login-button .ant-btn-primary:hover { background: linear-gradient(105deg, #064da9, #0870e5); }
.ra-login-shell .login-button .ant-btn-link { color: #8b939f; }
.ra-login-shell .ant-otp, .ra-login-shell [class*="otp"] { direction: ltr; justify-content: center; gap: 10px; }
.ra-login-shell .ant-otp-input, .ra-login-shell [class*="otp"] input { width: 54px !important; height: 58px !important; border: 1px solid #d8dde3 !important; border-radius: 8px !important; font-size: 22px; text-align: center; }
.ra-login-shell .ant-otp-input:focus, .ra-login-shell [class*="otp"] input:focus { border-color: var(--ra-primary) !important; box-shadow: 0 0 0 2px rgba(8,120,249,.10) !important; }
.ra-login-benefits { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; padding-top: 23px; border-top: 1px solid rgba(145,157,173,.18); }
.ra-login-benefits > div { display: grid; grid-template-columns: 38px 1fr; column-gap: 10px; align-items: center; }
.ra-benefit-icon { grid-row: 1 / 3; display: grid; place-items: center; width: 36px; height: 36px; color: var(--ra-gold); border-radius: 50%; background: #fff8df; font-weight: 900; }
.ra-login-benefits strong { color: #374151; font-size: 13px; }
.ra-login-benefits small { color: #929aa6; font-size: 11px; }
.ra-login-shell .ant-result { padding: 30px 20px; }
@media (max-width: 700px) {
  .ra-login-shell { min-height: 0; padding: 30px 16px 24px; border-radius: 18px; }
  .ra-login-header h1 { margin-top: 18px; font-size: 30px; }
  .ra-login-header p { padding-inline: 10px; font-size: 13px; line-height: 1.9; }
  .ra-login-progress { grid-template-columns: 1fr 65px 1fr; margin-top: 25px; }
  .ra-progress-item strong { font-size: 11px; }
  .ra-login-step { min-height: 0; padding: 62px 20px 24px; }
  .ra-card-icon { top: 18px; right: 20px; width: 39px; height: 39px; }
  .ra-card-header h2 { font-size: 19px; }
  .ra-login-shell .ant-otp, .ra-login-shell [class*="otp"] { gap: 5px; }
  .ra-login-shell .ant-otp-input, .ra-login-shell [class*="otp"] input { width: 39px !important; height: 48px !important; }
  .ra-otp { gap: 5px; }.ra-otp input { width: 39px !important; height: 48px; }
  .ra-login-benefits { grid-template-columns: 1fr; margin-top: 24px; }
}
