/* Hoseini Finance — Entry Point popup v1.0.2
 * Fully scoped styles, host font inherited, native dialog top layer.
 */
.hfep-overlay,
.hfep-overlay *,
.hfep-overlay *::before,
.hfep-overlay *::after { box-sizing: border-box !important; }
.hfep-overlay:not([open]) { display: none !important; }
.hfep-overlay[open] {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 24px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #f4f5f3 !important;
  box-shadow: none !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: auto !important;
  direction: rtl !important;
  text-align: right !important;
  outline: none !important;
  font-family: inherit !important;
  -webkit-font-smoothing: antialiased;
  animation: hfep-backdrop-in .25s ease-out both;
}
.hfep-overlay::backdrop {
  background: rgba(0, 0, 0, .86) !important;
  -webkit-backdrop-filter: blur(13px) !important;
  backdrop-filter: blur(13px) !important;
}
.hfep-overlay .hfep-dialog {
  --hfep-accent: #82e8c7;
  flex: 0 0 auto;
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  width: min(690px, 100%) !important;
  max-width: 100% !important;
  border: 1px solid rgba(180, 200, 188, .27) !important;
  border-radius: 22px !important;
  background: #141716 !important;
  box-shadow: 0 34px 105px rgba(0,0,0,.69), inset 0 1px 0 rgba(255,255,255,.07) !important;
  color: #f4f5f3 !important;
  font-family: inherit !important;
  direction: rtl !important;
  text-align: right !important;
  animation: hfep-card-in .38s cubic-bezier(.22,.85,.3,1) both;
}
.hfep-overlay .hfep-dialog::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 10%, #82e8c7 50%, transparent 90%);
  opacity: .62;
  pointer-events: none;
  z-index: 3;
}
.hfep-overlay .hfep-dialog::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  top: -165px;
  left: -100px;
  background: radial-gradient(circle, rgba(130,232,199,.105), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.hfep-overlay .hfep-icon-close {
  position: absolute !important;
  z-index: 5 !important;
  top: 23px !important;
  left: 25px !important;
  right: auto !important;
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(205,217,210,.18) !important;
  border-radius: 10px !important;
  color: #c4cbc6 !important;
  background: rgba(255,255,255,.055) !important;
  cursor: pointer !important;
  transition: background .2s, color .2s, border-color .2s !important;
  font-family: inherit !important;
}
.hfep-overlay .hfep-icon-close:hover {
  background: rgba(130,232,199,.12) !important;
  border-color: rgba(130,232,199,.48) !important;
  color: #82e8c7 !important;
}
.hfep-overlay .hfep-icon-close svg { display: block !important; }
.hfep-overlay .hfep-intro {
  position: relative;
  padding: 34px 39px 28px !important;
  background: linear-gradient(118deg, rgba(130,232,199,.022), transparent 62%) !important;
}
.hfep-overlay .hfep-eyebrow {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 9px !important;
  max-width: calc(100% - 38px);
  margin: 0 0 17px !important;
  color: #aab6ae !important;
  font-family: Arial, sans-serif !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 1.8px !important;
  line-height: 1.65 !important;
  white-space: normal;
  text-align: right !important;
}
.hfep-overlay .hfep-dot {
  display: inline-block !important;
  width: 6px !important;
  height: 6px !important;
  flex: 0 0 auto;
  background: #82e8c7 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 0 4px rgba(130,232,199,.07);
}
.hfep-overlay #hfep-heading {
  display: block !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  font-family: inherit !important;
  font-size: clamp(23px, 3.3vw, 31px) !important;
  font-weight: 850 !important;
  line-height: 1.65 !important;
  letter-spacing: normal !important;
  color: #fbfcfa !important;
  text-align: right !important;
  text-transform: none !important;
}
.hfep-overlay .hfep-description {
  margin: 0 !important;
  padding: 0 !important;
  color: #d9e1dc !important;
  font-family: inherit !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.9 !important;
  text-align: right !important;
}
.hfep-overlay .hfep-description-accent { color: #82e8c7 !important; }
.hfep-overlay .hfep-middle {
  position: relative !important;
  border-top: 1px solid rgba(255,255,255,.075) !important;
  padding: 23px 39px 24px !important;
  background: linear-gradient(120deg, #191e1b, #171b18 60%, #191d1a) !important;
}
.hfep-overlay .hfep-middle-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 15px !important;
  margin-bottom: 15px !important;
}
.hfep-overlay .hfep-label {
  margin: 0 !important;
  color: #e8ece7 !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 730 !important;
  line-height: 1.85 !important;
}
.hfep-overlay .hfep-label strong { color: #82e8c7 !important; font-weight: 850 !important; }
.hfep-overlay .hfep-gift {
  display: grid !important;
  flex: 0 0 auto !important;
  place-items: center !important;
  height: 34px !important;
  width: 34px !important;
  border: 1px solid rgba(130,232,199,.19) !important;
  border-radius: 10px !important;
  background: rgba(130,232,199,.07) !important;
  color: #82e8c7 !important;
}
.hfep-overlay .hfep-tags {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 11px !important;
}
.hfep-overlay .hfep-tag {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 11px !important;
  min-width: 0 !important;
  min-height: 60px !important;
  padding: 11px 13px !important;
  border: 1px solid rgba(170,202,179,.18) !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.027) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.023) !important;
  color: #f0f6f1 !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  line-height: 1.6 !important;
  text-align: right !important;
}
.hfep-overlay .hfep-tag-num {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  width: 31px !important;
  height: 31px !important;
  border: 1px solid rgba(130,232,199,.23) !important;
  border-radius: 9px !important;
  background: rgba(130,232,199,.085) !important;
  color: #9af6d5 !important;
  font: 700 11px/1 Arial, sans-serif !important;
}
.hfep-overlay .hfep-tag-check {
  color: #82e8c7 !important;
  font: 600 13px/1 Arial, sans-serif !important;
  margin-right: auto !important;
}
.hfep-overlay .hfep-closing {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 14px 0 0 !important;
  color: #aebdb3 !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.8 !important;
}
.hfep-overlay .hfep-mini-line {
  flex: 0 0 auto !important;
  width: 18px !important;
  height: 2px !important;
  border-radius: 10px !important;
  background: #82e8c7 !important;
}
.hfep-overlay .hfep-footer {
  display: flex !important;
  direction: rtl !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  border-top: 1px solid rgba(255,255,255,.09) !important;
  padding: 19px 39px 20px !important;
  background: #141716 !important;
}
.hfep-overlay .hfep-footer button,
.hfep-overlay .hfep-footer a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 11px !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 10px 17px !important;
  border-radius: 10px !important;
  font-family: inherit !important;
  font-style: normal !important;
  font-size: 13px !important;
  font-weight: 790 !important;
  line-height: 1.65 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: transform .2s, background .2s, border-color .2s !important;
  -webkit-tap-highlight-color: transparent;
}
.hfep-overlay .hfep-footer button:hover,
.hfep-overlay .hfep-footer a:hover { transform: translateY(-1px); }
.hfep-overlay .hfep-footer button:focus-visible,
.hfep-overlay .hfep-footer a:focus-visible,
.hfep-overlay .hfep-icon-close:focus-visible { outline: 2px solid #82e8c7 !important; outline-offset: 3px !important; }
.hfep-overlay .hfep-dismiss {
  border: 1px solid rgba(224,238,226,.19) !important;
  background: rgba(255,255,255,.052) !important;
  color: #d7ded9 !important;
}
.hfep-overlay .hfep-dismiss:hover { background: rgba(255,255,255,.1) !important; }
.hfep-overlay .hfep-cta {
  border: 1px solid #82e8c7 !important;
  background: #82e8c7 !important;
  color: #10271e !important;
  box-shadow: 0 5px 17px rgba(30,142,105,.12) !important;
}
.hfep-overlay .hfep-cta:hover { background: #a8f1da !important; border-color: #a8f1da !important; }
.hfep-overlay .hfep-cta svg { display: block !important; flex: 0 0 auto !important; }
@keyframes hfep-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes hfep-card-in { from { opacity: 0; transform: translateY(15px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 650px) {
  .hfep-overlay[open] { padding: 16px !important; }
  .hfep-overlay .hfep-dialog { border-radius: 18px !important; }
  .hfep-overlay .hfep-intro { padding: 30px 25px 25px !important; }
  .hfep-overlay .hfep-icon-close { left: 17px !important; top: 18px !important; }
  .hfep-overlay .hfep-eyebrow { font-size: 8px !important; letter-spacing: 1px !important; margin-bottom: 17px !important; }
  .hfep-overlay #hfep-heading { font-size: clamp(23px,5.6vw,28px) !important; }
  .hfep-overlay .hfep-description { font-size: 16px !important; }
  .hfep-overlay .hfep-middle { padding: 20px 25px 21px !important; }
  .hfep-overlay .hfep-label { font-size: 14px !important; }
  .hfep-overlay .hfep-gift { width: 31px !important; height: 31px !important; }
  .hfep-overlay .hfep-tag { font-size: 12px !important; gap: 6px !important; padding: 8px !important; min-height: 53px !important; }
  .hfep-overlay .hfep-tag-num { width: 25px !important; height: 25px !important; font-size: 9px !important; }
  .hfep-overlay .hfep-tag-check { font-size: 11px !important; }
  .hfep-overlay .hfep-footer { padding: 16px 25px 18px !important; }
  .hfep-overlay .hfep-footer button, .hfep-overlay .hfep-footer a { padding: 9px 12px !important; min-height: 43px !important; font-size: 12px !important; }
}
@media (max-width: 400px) {
  .hfep-overlay[open] { padding: 12px !important; }
  .hfep-overlay .hfep-intro { padding: 24px 19px 23px !important; }
  .hfep-overlay .hfep-middle { padding: 19px !important; }
  .hfep-overlay .hfep-footer { padding: 14px 19px 17px !important; }
  .hfep-overlay .hfep-tags { gap: 8px !important; }
  .hfep-overlay .hfep-tag { min-height: 58px !important; }
  .hfep-overlay .hfep-footer a, .hfep-overlay .hfep-footer button { font-size: 11px !important; }
  .hfep-overlay .hfep-icon-close { left: 14px !important; top: 14px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hfep-overlay[open], .hfep-overlay .hfep-dialog { animation: none !important; }
  .hfep-overlay .hfep-footer a, .hfep-overlay .hfep-footer button, .hfep-overlay .hfep-icon-close { transition: none !important; }
}
