
:root{
  --bg1: #0e6a62;
  --bg2: #0b4c46;
  --card: #ffffff;
  --text: #0e1012;
  --muted: #5a6168;
  --brand: #2b7a66;
  --accent: #2b7a66;
  --shadow: 0 24px 64px rgba(0,0,0,.25);
  --radius: 18px;
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;

  color: var(--text);
  background: #0f5e57;
}

.bg{
  position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(1200px 600px at 50% -10%, rgba(255,255,255,.12), transparent 60%),
              linear-gradient(180deg, var(--bg1), var(--bg2));
}
.bokeh{
  position: absolute; inset-inline: 0; top: 40%;
  height: 200px; pointer-events: none; opacity: .55;
  background:
    radial-gradient(16px 16px at 8% 40%, rgba(255,214,114,.45), transparent 60%),
    radial-gradient(10px 10px at 18% 60%, rgba(255,214,114,.40), transparent 60%),
    radial-gradient(22px 22px at 28% 45%, rgba(255,214,114,.36), transparent 60%),
    radial-gradient(14px 14px at 42% 58%, rgba(255,214,114,.40), transparent 60%),
    radial-gradient(18px 18px at 56% 48%, rgba(255,214,114,.36), transparent 60%),
    radial-gradient(12px 12px at 70% 60%, rgba(255,214,114,.42), transparent 60%),
    radial-gradient(20px 20px at 82% 44%, rgba(255,214,114,.38), transparent 60%),
    radial-gradient(12px 12px at 92% 58%, rgba(255,214,114,.36), transparent 60%);
  filter: blur(.4px);
  animation: floatX 12s linear infinite;
}
@keyframes floatX{
  0%{ transform: translateX(-6%); }
  50%{ transform: translateX(6%); }
  100%{ transform: translateX(-6%); }
}

.login-shell{
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 16px;
}
.login-card{
  width: min(560px, 92vw);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 28px);
  text-align: center;
}
.brand-logo{
  width: 56px; height: 56px; object-fit: contain; display: block; margin: 0 auto 8px;
}
.brand-name{
  margin: 0 0 4px;
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--brand);
}
.card-title{
  margin: 0 0 16px;
  font-weight: 800;
  color: #1d232a;
  font-size: clamp(14px, 1.6vw, 16px);
}

.form{ display: grid; gap: 12px; margin-top: 8px; }
.field{ text-align: left; display: grid; gap: 6px; }
.label{ font-weight: 700; color: #1a1f24; }
.control{ position: relative; }
.input{
  width: 100%; height: 46px; border-radius: 12px; border: 1px solid #cfd4da;
  background: #fff; color: var(--text); font-weight: 700;
  padding: 0 44px 0 12px;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.input::placeholder{ color:#9aa3ad; font-weight: 600; }
.input:focus{
  outline: none;
  border-color: #b2d2c8;
  box-shadow: 0 0 0 4px rgba(43,122,102,.16);
}

.eye{
  position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 8px; background: #f3f5f7; color: #36414a;
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.eye svg{ width: 18px; height: 18px; }
.i-eye, .i-eye-off{ display: none; }
.eye[data-state="hidden"] .i-eye-off{ display: block; }
.eye[data-state="shown"]  .i-eye{ display: block; }

.quick-links{
  display: grid; gap: 6px; justify-items: start; margin-top: 2px; text-align: left;
}
.ql{
  display: inline-flex; align-items: center; gap: 8px;
  color: #2f4c6a; text-decoration: none; font-weight: 700;
}
.ql:hover{ text-decoration: underline; }
.i{ width: 14px; height: 14px; display: inline-block; border-radius: 4px; }
.i-id{ background: linear-gradient(135deg,#2b7a66,#51ad8c); }
.i-key{ background: linear-gradient(135deg,#e39b2c,#ffc45e); }
.i-activate{ background: linear-gradient(135deg,#1db954,#8be28a); }

.btn.primary{
  margin-top: 8px;
  border: 0; cursor: pointer; width: 120px; height: 40px; border-radius: 14px;
  color: #fff; font-weight: 800; letter-spacing: .2px;
  background: linear-gradient(180deg, #3a896f, #2b7a66);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn.primary:hover{ transform: translateY(-1px); box-shadow: 0 14px 28px rgba(0,0,0,.22); filter: brightness(1.03); }

html body .btn.primary,
html body .btn.ok,
html body .btn.cancel,
html body .btn.back{
  border-radius: 14px !important;
}
.btn.primary:active{ transform: translateY(0); box-shadow: 0 10px 22px rgba(0,0,0,.18); }

.signup-hint{
  margin: 10px 0 0; color: var(--muted); font-weight: 300; text-align: center;
}
.signup-hint a{ color:#1e4b6b; text-decoration: none; font-weight: 800; }
.signup-hint a:hover{ text-decoration: underline; }

@media (max-width: 520px){
  .login-card{ width: min(480px, 94vw); }
}

.bg-video{
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
}
.bg-video video{
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(.95) saturate(1.1);
}

.bg-video::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.84));
}

.bg-video::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 40% at 50% 10%, rgba(22, 86, 73, .30), transparent 70%),
    linear-gradient(180deg, rgba(12, 88, 74, .45), rgba(8, 54, 46, .65));
}

@font-face{
  font-family: "FARegular";
  src: url("ax/fonts/fa-regular-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.fa-user::before{
  font-family: "FARegular";
  content: "\f007";
  speak: never;
}

.form .btn.primary{

  justify-self: center;
  margin: 12px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.form .label{
  font-weight: 400;
  font-size: 14px;
  color: #1a1f24;
}

.quick-links .ql{
  font-weight: 400;
  font-size: 15px;
}

.input::placeholder{
  font-weight: 400;
  color: #9aa3ad;
}

.input{
  font-size: 14px;
  font-weight: 400;
}

.input::placeholder{
  font-size: 13px;
  font-weight: 400;
  color: #a2acb6;
}

.input::-webkit-input-placeholder{ font-size: 13px; font-weight: 400; color:#a2acb6; }
.input::-moz-placeholder{ font-size: 13px; font-weight: 400; color:#a2acb6; }
.input:-ms-input-placeholder{ font-size: 13px; font-weight: 400; color:#a2acb6; }
.input:-moz-placeholder{ font-size: 13px; font-weight: 400; color:#a2acb6; }

.quick-links .ql{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: #2f4c6a;
  text-decoration: none;
}

.quick-links .ql:hover{ text-decoration: underline; }

.quick-links .ql-icon{

  width: 18px;
  height: 18px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
  flex: 0 0 auto;
}

.quick-links .ql{
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, text-shadow .18s ease;
  cursor: pointer;
}

.quick-links .ql-icon{
  transition: transform .18s ease, filter .18s ease;
}

.quick-links .ql:hover{
  transform: translateY(-1px) scale(1.05);
  text-shadow: 0 2px 10px rgba(0,0,0,.28);
}
.quick-links .ql:hover .ql-icon{
  transform: scale(1.12);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.35));
}

.field-eye i{
  font-size: 18px; line-height: 1; pointer-events: none;
}

.field-eye{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 28px; height: 28px;
  border-radius: 0;
  color: #2B7A66;
  transform: translateY(-50%);
}

.field-eye i{
  font-size: 18px;
  line-height: 1;
  color: inherit;
}

.field-eye:hover{ transform: translateY(-50%) scale(1.05); }
.field-eye:active{ transform: translateY(-50%) scale(.98); }
.field-eye:focus-visible{
  outline: none;
}

.control .input{ padding-inline-end: 44px; }

.field-eye{
  position: absolute;
  inset-inline-end: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  cursor: pointer;

  background: transparent;
  border: none;
  box-shadow: none;

  color: #2B7A66;

  transition: transform .18s ease, color .18s ease;
}
.field-eye:hover{ transform: translateY(-50%) scale(1.05); }
.field-eye:active{ transform: translateY(-50%) scale(.98); }
.field-eye:focus-visible{ outline: none; }

.field-eye i{
  font-size: 18px;
  line-height: 1;
  color: inherit;
  pointer-events: none;
}

.control .input{
  padding-inline-end: 44px;
}

.quick-links{
  gap: 14px !important;
}

.quick-links .ql{
  line-height: 1.35;
}

.error-msg{
  display: none;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 400;
  color: #C62828;
}
.error-msg.is-shown{ display: block; }

.input.is-invalid{
  border-color: #C62828;
  box-shadow: 0 0 0 3px rgba(198,40,40,.18);
}

.field-eye{
  width: 34px;
  height: 34px;
  inset-inline-end: 8px;
}
.field-eye i{
  font-size: 22px;
}
.control .input{
  padding-inline-end: 52px;
}

.error-msg{
  display: none;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 400;
  color: #d32f2f;
}
.error-msg.is-shown{ display: block; }

.input.is-invalid{
  border-color: #d32f2f;
  box-shadow: 0 0 0 3px rgba(211,47,47,.18);
}

.login-card{ position: relative; }

.lang-picker{
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  z-index: 3;
}

.lang-btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #dfe8e2;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(0,0,0,.10);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.lang-btn::before{
  content:"";
  position:absolute;
  inset:-4px;
  border-radius: inherit;
  background:#eaf4ef;
  z-index:-1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}

.lang-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0,0,0,.16);
  filter: brightness(1.02);
}
.lang-btn i.bx-globe{ color:#2B7A66; font-size:18px; }
.lang-btn .lang-code{ font-weight:800; color:#174f42; }
.lang-btn .chevron{ font-size:18px; }

.lang-menu{
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  list-style: none;
  margin: 0; padding: 8px;
  background: #fff;
  border: 1px solid #e6ece8;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
  min-width: 160px;
  display: none;
}
.lang-menu.show{ display:block; }

.lang-menu li{
  display: grid;
  grid-template-columns: 18px auto;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 800;
  color:#0f1113;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.lang-menu li .tick{ opacity:0; transform: translateY(-1px); }
.lang-menu li.is-current .tick{ opacity:1; }

.lang-menu li:hover{
  background: linear-gradient(180deg, #fff 0%, #ffe2c9 52%, #fff 100%);
}

@media (max-width: 420px){
  .lang-picker{ top: 8px; inset-inline-end: 8px; }
  .lang-btn::before{ inset:-3px; }
}

.lang-btn{
  inline-size: fit-content;
  padding: 0 10px;
  gap: 6px;
}

.lang-btn i.bx-globe{
  font-size: 14px;
}

.lang-btn .chevron{
  font-size: 14px;
}

.lang-btn .lang-code{
  font-weight: 400;
}

.lang-btn::before{
  inset: -3px;
}

.lang-menu li{ font-weight: 400; }
.lang-menu li.is-current .tick{ opacity: 1; }

html[lang="en"],
html[lang="tr"]{

  font-family: Inter, system-ui, "Segoe UI", Arial, sans-serif;
  letter-spacing: .1px;
}

html[lang="fa"],
html[lang="ar"]{

  font-family: "Vazirmatn","Noto Sans Arabic","IRANSans",Tahoma,Arial,sans-serif;
  letter-spacing: 0;
}

*{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body, input, button{ font-variant-numeric: tabular-nums; }

html[lang="fa"] .form .label,
html[lang="ar"] .form .label{
  text-align: right;
  display: block;
  letter-spacing: 0;
}

html[lang="fa"] .error-msg,
html[lang="ar"] .error-msg{
  text-align: right;
  direction: rtl;
  letter-spacing: 0;
}

html[lang="fa"] .input,
html[lang="ar"] .input{
  font-family: "Vazirmatn","Noto Sans Arabic","IRANSans",Tahoma,Arial,sans-serif !important;
  text-align: start;
  font-weight: 400;
}

html[lang="fa"] .input::placeholder,
html[lang="ar"] .input::placeholder,
html[lang="fa"] .input::-webkit-input-placeholder,
html[lang="ar"] .input::-webkit-input-placeholder,
html[lang="fa"] .input::-moz-placeholder,
html[lang="ar"] .input::-moz-placeholder,
html[lang="fa"] .input:-ms-input-placeholder,
html[lang="ar"] .input:-ms-input-placeholder{
  font-family: "Vazirmatn","Noto Sans Arabic","IRANSans",Tahoma,Arial,sans-serif !important;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}

html[lang="fa"] .field,
html[lang="ar"] .field{
  direction: rtl;
}

html[lang="fa"] body,
html[lang="ar"] body{
  font-family: "Vazirmatn","Noto Sans Arabic","IRANSans",Tahoma,Arial,sans-serif !important;
  letter-spacing: 0 !important;
}

html[lang="fa"] .btn.primary,
html[lang="ar"] .btn.primary{
  font-family: "Vazirmatn","Noto Sans Arabic","IRANSans",Tahoma,Arial,sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  font-size: 16px;
  line-height: 1;
}

html[lang="en"] .btn.primary,
html[lang="tr"] .btn.primary{
  font-family: Inter, system-ui, "Segoe UI", Arial, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: .2px !important;
  font-size: 15px;
  line-height: 1;
}

.btn.primary{
  text-shadow: 0 1px 0 rgba(0,0,0,.18);
}

.quick-links .ql,
.quick-links .ql:hover,
.quick-links .ql:focus,
.quick-links .ql:active{
  text-decoration: none !important;
}

.quick-links .ql:hover{
  transform: translateY(-1px);
  text-shadow: 0 1px 8px rgba(0,0,0,.12);
}
.quick-links .ql-icon{
  transition: transform .18s ease, filter .18s ease;
}
.quick-links .ql:hover .ql-icon{
  transform: scale(1.08);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.28));
}

.signup-hint a{
  display: inline-block;
  text-decoration: none;
  transition: transform .18s ease, text-shadow .18s ease, filter .18s ease;
}

.signup-hint a:hover,
.signup-hint a:focus{
  text-decoration: none;
  transform: scale(1.06);
  text-shadow: 0 1px 8px rgba(0,0,0,.18);
}

.signup-hint a:active{
  transform: scale(.98);
}

.signup-hint a:visited{ text-decoration: none; }

body::before{ content: none !important; }

.login-card{
  position: relative;
  border-radius: 20px;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
          backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow:
    0 18px 44px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.85),
    inset 0 -1px 0 rgba(0,0,0,.04);
  padding: clamp(18px,3vw,28px);
}

.login-card::before{
  content:"";
  position:absolute; inset:0; border-radius: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.90),
    inset 0 -1px 0 rgba(0,0,0,.03);
  pointer-events: none;
}

.lang-picker{ z-index: 2; }

.lang-btn{
  inline-size: fit-content;
  padding: 0 10px;
  gap: 6px;
}

.lang-btn i.bx-globe,
.lang-btn .chevron{ font-size: 14px; }

.lang-btn .lang-code{
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
}
html[lang="en"] .lang-btn .lang-code,
html[lang="tr"] .lang-btn .lang-code{
  font-family: Inter, system-ui, "Segoe UI", Arial, sans-serif;
  letter-spacing: .1px;
}
html[lang="fa"] .lang-btn .lang-code,
html[lang="ar"] .lang-btn .lang-code{
  font-family: "Vazirmatn","Noto Sans Arabic","IRANSans",Tahoma,Arial,sans-serif;
  letter-spacing: 0;
}

.lang-btn::before{ inset: -3px; }

.lang-menu{
  width: 100%; box-sizing: border-box;
  min-width: 0;
  padding: 6px;
}

.lang-menu li{
  white-space: nowrap;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  grid-template-columns: 18px auto;
}

html[lang="en"] .lang-menu li,
html[lang="tr"] .lang-menu li{
  font-family: Inter, system-ui, "Segoe UI", Arial, sans-serif;
  letter-spacing: .1px;
}
html[lang="fa"] .lang-menu li,
html[lang="ar"] .lang-menu li{
  font-family: "Vazirmatn","Noto Sans Arabic","IRANSans",Tahoma,Arial,sans-serif;
  letter-spacing: 0;
}

.lang-menu li .tick{
  margin-inline-end: 2px;
  transform: translateY(-1px);
}

html[lang="fa"] .lang-menu,
html[lang="ar"] .lang-menu{ text-align: start; }

.lang-menu{
  width: 100%; box-sizing: border-box;
  min-width: 0;
  padding: 6px;
}

.lang-menu li{
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  text-align: start;
}

.lang-menu li .tick{
  flex: 0 0 18px;
  text-align: center;
  transform: translateY(-1px);
}

.lang-menu li span:last-child{
  flex: 1 1 auto;
  text-align: start;
}

.lang-menu li{ justify-content: center !important; gap: 6px !important; }
.lang-menu li .tick{ order: 2 !important; flex: 0 0 auto !important; width: auto !important; display: inline-block !important; background: none !important; color: inherit !important; font-size: 14px !important; line-height: 1 !important; text-align: center; opacity: 0; }
.lang-menu li span:last-child{ order: 1 !important; flex: 0 1 auto !important; }
.lang-menu li.is-current .tick{ opacity: 1 !important; }

html[lang="fa"] .lang-menu li .tick, html[lang="ar"] .lang-menu li .tick{ transform: scaleX(-1) !important; }

.lang-menu li[data-lang="fa"],
.lang-menu li[data-lang="ar"]{
  font-family: "Vazirmatn","Noto Sans Arabic","IRANSans",Tahoma,Arial,sans-serif !important;
  letter-spacing: 0;
}
.lang-menu li[data-lang="en"],
.lang-menu li[data-lang="tr"]{
  font-family: Inter, system-ui, "Segoe UI", Arial, sans-serif !important;
  letter-spacing: .1px;
}

.overlay{
  position: fixed; inset: 0;
  display: none; place-items: center;
  background: rgba(0,0,0,.28);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
          backdrop-filter: blur(8px) saturate(120%);
  z-index: 50;
}
.overlay.is-open{ display: grid; }

.modal.sheet{
  width: min(640px, 92vw);
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
          backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 22px 70px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.9);
  padding: clamp(16px, 2.4vw, 24px);
}

.m-head{ display:grid; justify-items:center; gap:8px; margin-bottom:14px; }
.m-hero{ width:56px; height:56px; object-fit:contain; border-radius:12px; }
.m-title{ font-weight:800; font-size: clamp(18px,2.2vw,22px); margin:0; }
.m-note{ color:#4b5563; font-weight:600; text-align:center; margin:6px 0 0; }

.m-form{ display:grid; gap:14px; }
.m-form .field{ display:grid; gap:6px; }
.m-form .label{ font-weight:700; color:#111; }

.actions{ display:flex; gap:12px; justify-content:center; margin-top:24px; }
.btn{ min-height:48px; padding:12px 22px; border-radius:16px; border:0; cursor:pointer;
      font-weight:800; flex:1 1 200px; max-width:320px;
      transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.btn.ok{ background: linear-gradient(180deg,#2f8a66,#2b7a66); color:#fff; }
.btn.cancel{ background: linear-gradient(180deg,#e57373,#d84343); color:#fff; }
.btn:hover{ transform: scale(1.04); box-shadow: 0 12px 28px rgba(0,0,0,.22); filter: brightness(1.02); }
.btn:active{ transform: scale(.98); }

html[lang="fa"] .m-form .label,
html[lang="ar"] .m-form .label{ text-align:right; }
html[lang="fa"] .error-msg,
html[lang="ar"] .error-msg{ text-align:right; direction:rtl; }

#fidPin.input, #fidPin{ padding-inline-end:52px; }

.overlay{
  position: fixed; inset: 0;
  display: none;
  place-items: center;
  background: rgba(0,0,0,.28);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
          backdrop-filter: blur(8px) saturate(120%);
  z-index: 50;
}
.overlay.is-open{ display: grid; }

.modal.sheet{
  width: min(640px, 92vw);
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
          backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 22px 70px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.9);
  padding: clamp(16px, 2.4vw, 24px);
}

.m-head{ display:grid; justify-items:center; gap:8px; margin-bottom:14px; }
.m-hero{ width:56px; height:56px; object-fit:contain; border-radius:12px; }
.m-title{ font-weight:800; font-size: clamp(18px,2.2vw,22px); margin:0; }
.m-note{ color:#4b5563; font-weight:600; text-align:center; margin:6px 0 0; }

.m-form{ display:grid; gap:14px; }
.m-form .field{ display:grid; gap:6px; }
.m-form .label{ font-weight:300; color:#111; }

.actions{ display:flex; gap:12px; justify-content:center; margin-top:24px; }
.btn{ min-height:48px; padding:12px 22px; border-radius:16px; border:0; cursor:pointer;
      font-weight:800; flex:1 1 200px; max-width:320px;
      transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.btn.ok{ background: linear-gradient(180deg,#2f8a66,#2b7a66); color:#fff; }
.btn.cancel{ background: linear-gradient(180deg,#e57373,#d84343); color:#fff; }
.btn:hover{ transform: scale(1.04); box-shadow: 0 12px 28px rgba(0,0,0,.22); filter: brightness(1.02); }
.btn:active{ transform: scale(.98); }

html[lang="fa"] .m-form .label,
html[lang="ar"] .m-form .label{ text-align:right; }
html[lang="fa"] .error-msg,
html[lang="ar"] .error-msg{ text-align:right; direction:rtl; }

#fidPin.input, #fidPin{ padding-inline-end:52px; }

.modal.sheet .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(0,0,0,.16);
}

html[lang="fa"] .modal.sheet .btn,
html[lang="ar"] .modal.sheet .btn{
  font-family: "Vazirmatn","Noto Sans Arabic","IRANSans",Tahoma,Arial,sans-serif !important;
  font-weight: 800 !important;
  font-size: 16px;
  letter-spacing: 0 !important;
}

html[lang="en"] .modal.sheet .btn,
html[lang="tr"] .modal.sheet .btn{
  font-family: Inter, system-ui, "Segoe UI", Arial, sans-serif !important;
  font-weight: 800 !important;
  font-size: 15px;
  letter-spacing: .2px !important;
}

.modal.sheet .btn.ok{  background: linear-gradient(180deg,#2f8a66,#2b7a66); color:#fff; }
.modal.sheet .btn.cancel{ background: linear-gradient(180deg,#e57373,#d84343); color:#fff; }
.modal.sheet .btn:hover{ transform: scale(1.04); box-shadow: 0 12px 28px rgba(0,0,0,.22); filter: brightness(1.02); }
.modal.sheet .btn:active{ transform: scale(.98); }

:root{
  --auth-card-w: min(560px, 92vw);
  --auth-card-radius: 28px;
  --auth-card-pad: clamp(18px, 3vw, 28px);
}

.login-card{
  width: var(--auth-card-w) !important;
  border-radius: var(--auth-card-radius) !important;
  padding: var(--auth-card-pad) !important;
}

.modal.sheet{
  width: var(--auth-card-w) !important;
  border-radius: var(--auth-card-radius) !important;
  padding: var(--auth-card-pad) !important;
}

.modal.sheet .m-note{
  white-space: nowrap;
  overflow: hidden;
  line-height: 1.35;

  font-size: clamp(12px, calc(14px + 0.3vw), 16px);
}

html[lang="fa"] .modal.sheet .m-note,
html[lang="ar"] .modal.sheet .m-note{
  font-family: "Vazirmatn","Noto Sans Arabic","IRANSans",Tahoma,Arial,sans-serif;
  letter-spacing: 0;
}

.hint-suggest{
  display: none;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 12px;
  background: #ecfdf5;
  color: #0f5132;
  box-shadow: 0 1px 0 rgba(255,255,255,.7), 0 6px 14px rgba(0,0,0,.08);
  font-size: 12px;
  font-weight: 600;
}
.hint-suggest.is-shown{ display:block; }

.hint-suggest .fix-btn{
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 3px 10px;
  background: linear-gradient(180deg,#eaf1ff,#e0ebff);
  color: #1e3a8a;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.9), 0 6px 14px rgba(0,0,0,.10);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.hint-suggest .fix-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.16);
}
.hint-suggest .sug-domain{ font-weight: 800; margin: 0 6px; }

html[lang="fa"] .hint-suggest,
html[lang="ar"] .hint-suggest{ direction: rtl; text-align: right; }

.hint-suggest{
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-top: 8px;
}

.hint-suggest .sug-domain{
  color: #0f5132;
  margin: 0 8px;
}

.hint-suggest .fix-btn{
  appearance: none; -webkit-appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 4px 12px;
  background: linear-gradient(180deg,#eaf1ff,#e0ebff);
  color: #1e3a8a;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.9), 0 6px 14px rgba(0,0,0,.10);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.hint-suggest .fix-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.16);
}

html[lang="fa"] .hint-suggest .fix-btn,
html[lang="ar"] .hint-suggest .fix-btn{
  font-family: "Vazirmatn","Noto Sans Arabic","IRANSans",Tahoma,Arial,sans-serif !important;
  letter-spacing: 0 !important;
}

html[lang="en"] .hint-suggest .fix-btn,
html[lang="tr"] .hint-suggest .fix-btn{
  font-family: Inter, system-ui, "Segoe UI", Arial, sans-serif !important;
  letter-spacing: .1px !important;
}

html[lang="fa"] .hint-suggest,
html[lang="ar"] .hint-suggest{
  direction: rtl; text-align: right;
}

input[type="email"],
.input[type="email"],
#fidEmail{
  direction: ltr !important;
  text-align: left !important;
  unicode-bidi: plaintext;
}

input[type="email"]::placeholder,
.input[type="email"]::placeholder,
#fidEmail::placeholder{
  text-align: left;
}

input[type="email"]::-webkit-input-placeholder{ text-align: left; }
input[type="email"]::-moz-placeholder{ text-align: left; }
input[type="email"]:-ms-input-placeholder{ text-align: left; }

input[type="email"],
.input[type="email"],
#fidEmail{
  direction: ltr !important;
  text-align: left !important;
  unicode-bidi: plaintext;
}

html[lang="fa"] input[type="email"]:placeholder-shown,
html[lang="ar"] input[type="email"]:placeholder-shown{
  direction: rtl !important;
  text-align: right !important;
}

html[lang="fa"] input[type="email"]:placeholder-shown::placeholder,
html[lang="ar"] input[type="email"]:placeholder-shown::placeholder{
  text-align: right !important;
}

html[lang="fa"] input[type="email"]:placeholder-shown::-webkit-input-placeholder,
html[lang="ar"] input[type="email"]:placeholder-shown::-webkit-input-placeholder{ text-align: right !important; }
html[lang="fa"] input[type="email"]:placeholder-shown::-moz-placeholder,
html[lang="ar"] input[type="email"]:placeholder-shown::-moz-placeholder{ text-align: right !important; }
html[lang="fa"] input[type="email"]:placeholder-shown:-ms-input-placeholder,
html[lang="ar"] input[type="email"]:placeholder-shown:-ms-input-placeholder{ text-align: right !important; }

html[lang="fa"] input[type="email"]:not(:placeholder-shown),
html[lang="ar"] input[type="email"]:not(:placeholder-shown){
  direction: ltr !important;
  text-align: left !important;
}

#userid{
  direction: ltr !important;
  text-align: left !important;
  unicode-bidi: plaintext;
}

html[lang="fa"] #userid:placeholder-shown,
html[lang="ar"] #userid:placeholder-shown{
  direction: rtl !important;
  text-align: right !important;
}

html[lang="fa"] #userid:placeholder-shown::placeholder,
html[lang="ar"] #userid:placeholder-shown::placeholder{
  text-align: right !important;
}

html[lang="fa"] #userid:placeholder-shown::-webkit-input-placeholder,
html[lang="ar"] #userid:placeholder-shown::-webkit-input-placeholder{ text-align: right !important; }
html[lang="fa"] #userid:placeholder-shown::-moz-placeholder,
html[lang="ar"] #userid:placeholder-shown::-moz-placeholder{ text-align: right !important; }
html[lang="fa"] #userid:placeholder-shown:-ms-input-placeholder,
html[lang="ar"] #userid:placeholder-shown:-ms-input-placeholder{ text-align: right !important; }

.modal.sheet .m-head{ width: 100%; }

.modal.sheet .m-note{
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  line-height: 1.35;
  font-size: clamp(10px, 2vw, 16px);
}

#fpUserId{
  direction: ltr !important;
  text-align: left !important;
  unicode-bidi: plaintext;
}

html[lang="fa"] #fpUserId:placeholder-shown,
html[lang="ar"] #fpUserId:placeholder-shown{
  direction: rtl !important;
  text-align: right !important;
}
html[lang="fa"] #fpUserId:placeholder-shown::placeholder,
html[lang="ar"] #fpUserId:placeholder-shown::placeholder{
  text-align: right !important;
}

html[lang="fa"] #fpUserId:placeholder-shown::-webkit-input-placeholder,
html[lang="ar"] #fpUserId:placeholder-shown::-webkit-input-placeholder{ text-align:right !important; }
html[lang="fa"] #fpUserId:placeholder-shown::-moz-placeholder,
html[lang="ar"] #fpUserId:placeholder-shown::-moz-placeholder{ text-align:right !important; }
html[lang="fa"] #fpUserId:placeholder-shown:-ms-input-placeholder,
html[lang="ar"] #fpUserId:placeholder-shown:-ms-input-placeholder{ text-align:right !important; }

#actEmail{ direction:ltr !important; text-align:left !important; unicode-bidi: plaintext; }
html[lang="fa"] #actEmail:placeholder-shown,
html[lang="ar"] #actEmail:placeholder-shown{ direction:rtl !important; text-align:right !important; }

#actUserId{ direction:ltr !important; text-align:left !important; unicode-bidi: plaintext; }
html[lang="fa"] #actUserId:placeholder-shown,
html[lang="ar"] #actUserId:placeholder-shown{ direction:rtl !important; text-align:right !important; }

#user, #pass{ direction:ltr !important; text-align:left !important; unicode-bidi: plaintext; }
#user::placeholder, #pass::placeholder{ text-align:left !important; }
#user::-webkit-input-placeholder, #pass::-webkit-input-placeholder{ text-align:left !important; }
#user::-moz-placeholder, #pass::-moz-placeholder{ text-align:left !important; }
.field-eye[data-target="pass"]{ inset-inline-end:auto !important; right:8px !important; left:auto !important; }
html[lang="fa"] #user::placeholder, html[lang="ar"] #user::placeholder,
html[lang="fa"] #pass::placeholder, html[lang="ar"] #pass::placeholder{ text-align:right !important; direction:rtl; }
html[lang="fa"] #user::-webkit-input-placeholder, html[lang="ar"] #user::-webkit-input-placeholder,
html[lang="fa"] #pass::-webkit-input-placeholder, html[lang="ar"] #pass::-webkit-input-placeholder{ text-align:right !important; direction:rtl; }
html[lang="fa"] #user::-moz-placeholder, html[lang="ar"] #user::-moz-placeholder,
html[lang="fa"] #pass::-moz-placeholder, html[lang="ar"] #pass::-moz-placeholder{ text-align:right !important; direction:rtl; }
html[lang="fa"] #pass, html[lang="ar"] #pass{ padding-right:56px !important; }

.modal.sheet .m-note{
  font-size: clamp(10px, 2vw, 16px);
}

.btn.primary{

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  height: auto;
  width: auto;
  min-width: clamp(120px, 22vw, 150px);

  padding-block: clamp(10px, 1.4vw, 12px);
  padding-inline: clamp(18px, 3vw, 28px);

  white-space: nowrap;
  word-break: keep-all;

  font-size: clamp(13px, 2vw, 16px);
  line-height: 1;
}

html[lang="fa"] .btn.primary,
html[lang="ar"] .btn.primary{
  font-weight: 800;
  letter-spacing: 0;
  font-size: clamp(14px, 2vw, 16px);
}

@media (max-width: 360px){
  .btn.primary{ min-width: 140px; }
}

.cap-board{
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: #f6f7f8;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.cap-main{
  width: 100%; height: 100%; object-fit: cover; display:block;
}

.cap-target{
  position: absolute;
  width: 92px; height: 92px;
  border-radius: 50%;
  border: 3px dashed #2b7a66;
  box-shadow: 0 0 0 6px rgba(43,122,102,.12), inset 0 0 10px rgba(0,0,0,.12);
  animation: capPulse 1.15s ease-in-out infinite;
}
@keyframes capPulse{
  0%{ transform: scale(1); }
  50%{ transform: scale(1.06); }
  100%{ transform: scale(1); }
}

.cap-piece{
  position: absolute;
  width: 92px; height: 92px;
  border-radius: 50%;
  cursor: grab; user-select: none; touch-action: none;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.25));
}
.cap-piece:active{ cursor: grabbing; }

.cap-hint{
  margin: 23px 0 0; text-align: center;
  color: #174f42; font-weight: 800;
}
.cap-error{ display:none; margin-top:6px; text-align:center; color:#c62828; font-weight:800; }
.cap-error.show{ display:block; }

#ov-captcha .modal.sheet{
  width: var(--auth-card-w) !important;
  border-radius: var(--auth-card-radius) !important;
  padding: var(--auth-card-pad) !important;
}

#ov-captcha .cap-board{
  inline-size: 100% !important;
  max-inline-size: 100% !important;
  aspect-ratio: 16/9 !important;
  overflow: hidden !important;
  border-radius: 16px;
}

#ov-captcha .cap-main{
  inline-size: 100% !important;
  block-size: 100% !important;
  object-fit: cover !important;
  display: block;
}

html[lang="fa"] .login-modal.sheet,
html[lang="ar"] .login-modal.sheet,
html[lang="fa"] .login-modal.sheet .m-title,
html[lang="ar"] .login-modal.sheet .m-title,
html[lang="fa"] .login-modal.sheet .m-note,
html[lang="ar"] .login-modal.sheet .m-note,
html[lang="fa"] .login-modal.sheet .m-head,
html[lang="ar"] .login-modal.sheet .m-head,
html[lang="fa"] .login-modal.sheet label,
html[lang="ar"] .login-modal.sheet label,
html[lang="fa"] .login-modal.sheet .label,
html[lang="ar"] .login-modal.sheet .label,
html[lang="fa"] .login-modal.sheet input,
html[lang="ar"] .login-modal.sheet input,
html[lang="fa"] .login-modal.sheet select,
html[lang="ar"] .login-modal.sheet select,
html[lang="fa"] .login-modal.sheet textarea,
html[lang="ar"] .login-modal.sheet textarea,
html[lang="fa"] .login-modal.sheet .btn,
html[lang="ar"] .login-modal.sheet .btn,
html[lang="fa"] .login-modal.sheet button,
html[lang="ar"] .login-modal.sheet button,
html[lang="fa"] .login-modal.sheet p,
html[lang="ar"] .login-modal.sheet p,
html[lang="fa"] .login-modal.sheet span,
html[lang="ar"] .login-modal.sheet span{
  font-family: "Vazirmatn","Noto Sans Arabic","IRANSans",Tahoma,Arial,sans-serif !important;
  letter-spacing: 0 !important;
}

html[lang="fa"] #ov-forgetId,
html[lang="fa"] #ov-activationId,
html[lang="fa"] #ov-forgetPass,
html[lang="fa"] #ov-captcha,
html[lang="ar"] #ov-forgetId,
html[lang="ar"] #ov-activationId,
html[lang="ar"] #ov-forgetPass,
html[lang="ar"] #ov-captcha,
html[lang="fa"] #ov-forgetId *,
html[lang="fa"] #ov-activationId *,
html[lang="fa"] #ov-forgetPass *,
html[lang="fa"] #ov-captcha *,
html[lang="ar"] #ov-forgetId *,
html[lang="ar"] #ov-activationId *,
html[lang="ar"] #ov-forgetPass *,
html[lang="ar"] #ov-captcha *{
  font-family: "Vazirmatn","Noto Sans Arabic","IRANSans",Tahoma,Arial,sans-serif !important;
  letter-spacing: 0 !important;
}

html[lang="fa"] #ov-forgetId .bx,
html[lang="ar"] #ov-forgetId .bx,
html[lang="fa"] #ov-activationId .bx,
html[lang="ar"] #ov-activationId .bx,
html[lang="fa"] #ov-forgetPass .bx,
html[lang="ar"] #ov-forgetPass .bx,
html[lang="fa"] #ov-captcha .bx,
html[lang="ar"] #ov-captcha .bx,
html[lang="fa"] #ov-forgetId [class*="bx-"],
html[lang="ar"] #ov-forgetId [class*="bx-"],
html[lang="fa"] #ov-activationId [class*="bx-"],
html[lang="ar"] #ov-activationId [class*="bx-"],
html[lang="fa"] #ov-forgetPass [class*="bx-"],
html[lang="ar"] #ov-forgetPass [class*="bx-"],
html[lang="fa"] #ov-captcha [class*="bx-"],
html[lang="ar"] #ov-captcha [class*="bx-"]{
  font-family: "boxicons" !important;
  font-weight: normal !important;
  font-style: normal !important;
  letter-spacing: normal !important;
}

.login-modal.sheet .m-title{
  font-family: "Vazirmatn","Noto Sans Arabic","IRANSans",Tahoma,Arial,sans-serif !important;
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 22px);
  margin: 0;
}
.login-modal.sheet .m-note{
  color:#4b5563;
  font-weight: 600;
  text-align: center;
  margin: 6px 0 0;
}

html[lang="fa"] .login-modal.sheet .m-title,
html[lang="ar"] .login-modal.sheet .m-title,
html[lang="fa"] #ov-forgetId .m-title,
html[lang="ar"] #ov-forgetId .m-title,
html[lang="fa"] #ov-activationId .m-title,
html[lang="ar"] #ov-activationId .m-title,
html[lang="fa"] #ov-forgetPass .m-title,
html[lang="ar"] #ov-forgetPass .m-title{
  font-family: "Vazirmatn","Noto Sans Arabic","IRANSans",Tahoma,Arial,sans-serif !important;
  font-weight: 700 !important;
  -webkit-text-stroke: 0 !important;
  text-stroke: 0 !important;
  text-shadow: none !important;
  letter-spacing: 0 !important;
}

.login-modal.sheet{
  width: min(560px, 92vw) !important;
  max-width: 92vw !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,.92) !important;
  -webkit-backdrop-filter: blur(16px) saturate(160%) !important;
          backdrop-filter: blur(16px) saturate(160%) !important;
  border: 1px solid rgba(255,255,255,.7) !important;
  box-shadow: 0 22px 70px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.9) !important;
  padding: clamp(18px, 3vw, 28px) !important;
}
.login-modal.sheet .m-head{
  margin-bottom: 14px;
}
.login-modal.sheet .m-hero{
  width: 56px;
  height: 56px;
}
.login-modal.sheet .m-title{
  font-size: clamp(18px, 2.2vw, 22px) !important;
}
.login-modal.sheet .m-note{
  font-size: clamp(13px, 1.3vw, 15px);
}
.login-modal.sheet .m-form{
  gap: 14px;
}
.login-modal.sheet .actions{
  margin-top: 20px;
  gap: 12px;
}
.login-modal.sheet .btn{
  min-height: 48px;
  font-size: clamp(14px, 1.3vw, 16px);
}

.login-card .card-title,
.card-title{
  font-family: "Vazirmatn","Noto Sans Arabic","IRANSans",Tahoma,Arial,sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  margin-top: 14px !important;
  margin-bottom: 22px !important;
}
html[lang="fa"] .card-title,
html[lang="ar"] .card-title{
  font-family: "Vazirmatn","Noto Sans Arabic","IRANSans",Tahoma,Arial,sans-serif !important;
  font-weight: 700 !important;
  -webkit-text-stroke: 0 !important;
  text-stroke: 0 !important;
  text-shadow: none !important;
}

#black{ z-index: 200 !important; }
#alert{ z-index: 210 !important; }
.msg-box{ z-index: 300 !important; }

#black.black{
  background: rgba(8, 36, 33, .55) !important;
  -webkit-backdrop-filter: blur(6px) saturate(1.05);
          backdrop-filter: blur(6px) saturate(1.05);
  transition: opacity .18s ease-in-out;
}

#alert.alert{
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  transform: translate(-50%, -50%) scale(.98);
  width: min(420px, 92vw) !important;
  max-width: min(420px, 92vw) !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 94, 87, .10) !important;
  border-radius: 20px !important;
  box-shadow:
    0 30px 80px rgba(3, 30, 27, .45),
    0 2px 0 rgba(255, 255, 255, .9) inset !important;
  padding: 28px 24px 22px !important;
  transition: opacity .20s ease, transform .22s cubic-bezier(.2,.8,.25,1) !important;
  font-family: "Vazirmatn","Noto Sans Arabic","IRANSans",Tahoma,Arial,sans-serif;
}
#alert.alert[style*="opacity: 1"],
#alert.alert[style*="opacity:1"]{
  transform: translate(-50%, -50%) scale(1);
}

html[dir="rtl"] #alert.alert{ direction: rtl; text-align: center; }
html[dir="ltr"] #alert.alert{ direction: ltr; text-align: center; }

#alert.alert #icon.icon{
  position: relative;
  display: inline-block !important;
  width: 104px !important;
  height: 104px !important;
  margin: 2px auto 16px auto !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;

  background-image: url("../../img/robot-mascot.png") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 84px 84px !important;
  background-color: #ecfeff !important;
  border-radius: 50% !important;
  box-shadow:
    0 0 0 4px rgba(94, 234, 212, 0.22),
    0 0 0 10px rgba(94, 234, 212, 0.10),
    0 10px 22px rgba(13, 148, 136, 0.18) !important;
  animation: alertIconPop .45s cubic-bezier(.2,.9,.3,1.4) both;
}

#alert.alert #icon.icon.fa-check-circle{
  background-color: #ecfdf5 !important;
  box-shadow:
    0 0 0 4px rgba(52, 211, 153, 0.25),
    0 0 0 10px rgba(52, 211, 153, 0.10),
    0 10px 22px rgba(5, 150, 105, 0.20) !important;
}

#alert.alert #icon.icon.fa-exclamation-circle,
#alert.alert #icon.icon.fa-times-circle,
#alert.alert #icon.icon.fa-exclamation-triangle{
  background-color: #fff1f2 !important;
  box-shadow:
    0 0 0 4px rgba(251, 113, 133, 0.25),
    0 0 0 10px rgba(251, 113, 133, 0.10),
    0 10px 22px rgba(220, 38, 38, 0.20) !important;
}

#alert.alert #icon.icon.fa-info-circle{
  background-color: #ecfeff !important;
  box-shadow:
    0 0 0 4px rgba(94, 234, 212, 0.25),
    0 0 0 10px rgba(94, 234, 212, 0.10),
    0 10px 22px rgba(13, 148, 136, 0.20) !important;
}

#alert.alert #icon.icon::after{
  content: "";
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  background-color: #0d9488;
  box-shadow: 0 0 0 3px #ffffff, 0 4px 10px rgba(13,148,136,.30);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='8' r='1.4' fill='white' stroke='none'/><path d='M12 12 L12 17'/></svg>");
}
#alert.alert #icon.icon.fa-check-circle::after{
  background-color: #059669;
  box-shadow: 0 0 0 3px #ffffff, 0 4px 10px rgba(5,150,105,.30);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12 L10 17 L19 7'/></svg>");
}
#alert.alert #icon.icon.fa-exclamation-circle::after,
#alert.alert #icon.icon.fa-times-circle::after,
#alert.alert #icon.icon.fa-exclamation-triangle::after{
  background-color: #dc2626;
  box-shadow: 0 0 0 3px #ffffff, 0 4px 10px rgba(220,38,38,.30);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 6 L12 13'/><circle cx='12' cy='17.2' r='1.2' fill='white' stroke='none'/></svg>");
}
html[dir="rtl"] #alert.alert #icon.icon::after{
  right: auto;
  left: -2px;
}

@keyframes alertIconPop{
  0%   { transform: scale(.55) rotate(-10deg); opacity: 0; }
  65%  { transform: scale(1.10) rotate(4deg);  opacity: 1; }
  100% { transform: scale(1)    rotate(0);     opacity: 1; }
}

#alert.alert #alert-title,
#alert.alert .title{
  display: block;
  margin: 0 0 8px 0 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0f5e57 !important;
  letter-spacing: 0;
  line-height: 1.35;
}

#alert.alert #alert-text,
#alert.alert .text{
  display: block;
  margin: 6px 12px 20px 12px !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
  color: #3a4147 !important;
  word-break: break-word;

  unicode-bidi: plaintext;
}

#alert.alert #alert-positive,
#alert.alert #alert-negative,
#alert.alert .btn-alert{
  min-width: 104px;
  margin: 8px 6px 0 6px !important;
  padding: 10px 20px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  font-family: inherit !important;

  border-radius: 14px !important;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, background-color .18s ease;
  border: 0 !important;
  user-select: none;
}

#alert.alert #alert-positive{ display: inline-block !important; }
#alert.alert #alert-negative:not([style*="display: none"]):not([style*="display:none"]){
  display: inline-block !important;
}

#alert.alert #alert-positive,
#alert.alert .positive-btn{
  background: linear-gradient(180deg, #2b7a66 0%, #1f6554 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(43, 122, 102, .32);
}
#alert.alert #alert-positive:hover,
#alert.alert .positive-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(43, 122, 102, .38);
}
#alert.alert #alert-positive:active,
#alert.alert .positive-btn:active{
  transform: translateY(0);
}

#alert.alert #alert-negative,
#alert.alert .negative-btn{
  background: #f4e8e7 !important;
  color: #b33a3a !important;
  box-shadow: inset 0 0 0 1px rgba(179, 58, 58, .18);
}
#alert.alert #alert-negative:hover,
#alert.alert .negative-btn:hover{
  background: #efdcda !important;
  transform: translateY(-1px);
}

@media (max-width: 420px){
  #alert.alert{
    padding: 22px 18px 18px !important;
    border-radius: 18px !important;
  }
  #alert.alert #icon.icon{
    width: 80px !important;
    height: 80px !important;
    background-size: 64px 64px !important;
    font-size: 0 !important;
  }
  #alert.alert #icon.icon::after{ width: 26px; height: 26px; background-size: 20px 20px; }
  #alert.alert #alert-positive,
  #alert.alert #alert-negative{ min-width: 88px; padding: 9px 16px !important; }
}

html[lang="fa"] #user, html[lang="ar"] #user,
html[lang="fa"] #pass, html[lang="ar"] #pass{
  text-align: left !important;
}
@media (max-width: 520px){
  html[lang="fa"] #user, html[lang="ar"] #user,
  html[lang="fa"] #pass, html[lang="ar"] #pass{
    text-align: center !important;
  }

  html[lang="fa"] #pass, html[lang="ar"] #pass{
    padding-inline-start: 52px !important;
  }
}