/* Setadyar download popup (plugin setadyar-leads). Every rule starts with #syl: the theme (Ahura) styles bare tags
   (button background, input focus colour, font-family on every tag), and an id outranks those rules. */
html.syl-lock, html.syl-lock body { overflow: hidden !important; }

#syl { --g: #5B9A32; --g2: #3E7420; --gl: #EEF5E9; --r: #BE1E2D; --k: #1F2328; --k2: #404040; --m: #6B7280; --l: #E5E7EB;
  position: fixed; inset: 0; z-index: 2147483000; display: none; align-items: center; justify-content: center; padding: 16px;
  font-family: IRANSansFaNum, Vazirmatn, Tahoma, sans-serif; direction: rtl; text-align: right; color: var(--k);
  font-size: 15px; line-height: 1.8; }
#syl.syl-on { display: flex; }
#syl * { box-sizing: border-box; font-family: inherit; letter-spacing: normal; }
#syl .syl-bg { position: absolute; inset: 0; background: rgba(17, 24, 39, .58); animation: syl-fade .18s ease-out; }
#syl .syl-box { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; background: #fff; border-radius: 20px; padding: 24px 22px 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28); animation: syl-up .22s ease-out; outline: none; }

#syl .syl-x { position: absolute; top: 12px; left: 12px; width: 36px; height: 36px; padding: 0; margin: 0; border: 0; border-radius: 10px;
  background: #F3F4F6; color: var(--k2); font-size: 22px; line-height: 36px; text-align: center; cursor: pointer; box-shadow: none; }
#syl .syl-x:hover { background: var(--l); color: var(--k); }

#syl .syl-head { display: flex; gap: 12px; align-items: flex-start; padding-left: 40px; margin-bottom: 14px; }
#syl .syl-ico { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 13px; background: var(--gl); color: var(--g2);
  display: flex; align-items: center; justify-content: center; }
#syl .syl-ico svg { width: 28px; height: 28px; }
#syl h3 { margin: 0; padding: 0; font-size: 17.5px; font-weight: 800; line-height: 1.6; color: var(--k); }
#syl .syl-sub { margin: 2px 0 0; font-size: 13.5px; color: var(--m); line-height: 1.7; }

#syl .syl-list { list-style: none; margin: 0 0 16px; padding: 10px 14px; background: #F7F9F5; border: 1px solid #E3EBDC; border-radius: 14px; }
#syl .syl-list li { list-style: none; display: flex; gap: 8px; align-items: baseline; margin: 0; padding: 3px 0; font-size: 14px; line-height: 1.75; color: var(--k2); }
#syl .syl-list li::before, #syl .syl-list li::marker { content: none; }
#syl .syl-list i { flex: 0 0 18px; font-style: normal; font-weight: 800; text-align: center; color: var(--g); }
#syl .syl-list li.n { color: var(--m); }
#syl .syl-list li.n i { color: var(--r); font-weight: 700; }
#syl .syl-sr { position: absolute; top: 0; right: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

#syl .syl-form, #syl .syl-done { margin: 0; }
#syl label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--k); }
#syl label b { color: var(--r); font-weight: 700; }
#syl label small { font-weight: 400; color: var(--m); font-size: 12.5px; }
#syl input[type=tel], #syl input[type=text] { display: block; width: 100%; height: 50px; margin: 0 0 14px; padding: 0 14px;
  border: 1.5px solid var(--l); border-radius: 12px; background: #fff; color: var(--k); font-size: 16px; line-height: 50px;
  box-shadow: none; outline: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
#syl input[type=tel] { text-align: left; letter-spacing: .04em; font-size: 17px; }
#syl input[type=tel]::placeholder { text-align: left; letter-spacing: .04em; }
#syl input::placeholder { color: #A1A7B0; opacity: 1; }
#syl input[type=tel]:focus, #syl input[type=text]:focus { border-color: var(--g); box-shadow: 0 0 0 3px rgba(91, 154, 50, .18); }
#syl input.syl-bad, #syl input.syl-bad:focus { border-color: var(--r); box-shadow: 0 0 0 3px rgba(190, 30, 45, .12); }
#syl .syl-err { min-height: 0; margin: -10px 0 12px; font-size: 13px; line-height: 1.7; color: var(--r); }
#syl .syl-err:empty { display: none; }
/* hidden in place, never pushed off-screen: in a right-to-left scroll box, content off to the left is scrollable,
   and «left:-10000px» gave the popup a 10000px horizontal scroll (۲۲ مهر ۱۴۰۵) */
#syl .syl-hp { position: absolute !important; top: 0; right: 0; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); opacity: 0; pointer-events: none; white-space: nowrap; }
#syl .syl-msg { display: none; margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: #FDEEEF; color: #8F1420; font-size: 13.5px; line-height: 1.75; }

#syl .syl-btn { display: flex; width: 100%; min-height: 52px; margin: 2px 0 0; padding: 12px 18px; border: 0; border-radius: 14px;
  align-items: center; justify-content: center; gap: 10px; cursor: pointer; text-decoration: none; text-transform: none;
  background: linear-gradient(135deg, #6DB03F, var(--g)); background-color: #5FA436; color: #fff;
  font-size: 16px; font-weight: 800; line-height: 1.5; box-shadow: 0 10px 24px rgba(91, 154, 50, .3);
  transition: background .15s, box-shadow .15s, transform .15s; }
#syl .syl-btn svg { width: 20px; height: 20px; flex: 0 0 20px; }
#syl .syl-btn:hover { background: var(--g2); color: #fff; }
#syl .syl-btn:active { transform: translateY(1px); }
#syl .syl-btn:focus-visible, #syl .syl-x:focus-visible, #syl a:focus-visible { outline: 3px solid rgba(91, 154, 50, .45); outline-offset: 2px; }
#syl .syl-btn[disabled] { cursor: progress; opacity: .85; transform: none; }
#syl .syl-spin { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%;
  animation: syl-rot .7s linear infinite; }
#syl .syl-btn.syl-busy .syl-spin { display: inline-block; }
#syl .syl-btn.syl-busy svg { display: none; }
#syl .syl-btn2 { background: #F3F4F6; color: var(--k); box-shadow: none; }
#syl .syl-btn2:hover { background: var(--l); color: var(--k); }
#syl .syl-note { margin: 10px 0 0; text-align: center; font-size: 12.5px; color: var(--m); }

#syl .syl-done { display: none; text-align: center; padding: 6px 0 2px; }
#syl .syl-okc { width: 60px; height: 60px; margin: 0 auto 10px; border-radius: 50%; background: var(--gl); color: var(--g2);
  font-size: 30px; font-weight: 800; line-height: 60px; text-align: center; }
#syl .syl-done p { margin: 6px 0 16px; font-size: 14px; color: var(--k2); }
#syl .syl-done a { color: var(--g2); font-weight: 700; text-decoration: underline; }

/* phones: a sheet from the bottom, thumb-reachable button */
@media (max-width: 520px) {
  #syl { align-items: flex-end; padding: 0; }
  #syl .syl-box { max-width: none; border-radius: 20px 20px 0 0; padding: 22px 16px calc(16px + env(safe-area-inset-bottom));
    max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); animation: syl-sheet .24s ease-out; }
  #syl h3 { font-size: 16.5px; }
  #syl .syl-list li { font-size: 13.5px; }
}

@keyframes syl-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes syl-up { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes syl-sheet { from { transform: translateY(100%); } to { transform: none; } }
@keyframes syl-rot { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  #syl .syl-bg, #syl .syl-box { animation: none; }
  #syl .syl-spin { animation-duration: 1.6s; }
}
