/* WordPress-specific Deposit Shield fixes; loaded last. */
html, body.ds-landing { margin:0; background:#030405; }
body.ds-landing { overflow-x:clip; }

/* Regulatory and high-risk disclosure: one vertical column, without inherited grid/center alignment. */
.ds-landing .site-footer .legal-copy.ds-legal-copy {
  display:flex !important;
  flex-direction:column;
  align-items:stretch;
  gap:0;
  text-align:start;
  width:100%;
  padding:34px 0 31px;
  margin:0;
}
.ds-landing .site-footer .ds-regs {
  display:flex; flex-wrap:wrap; align-items:stretch;
  gap:10px; margin:0 0 24px;
}
.ds-landing .site-footer .ds-reg {
  display:flex; flex-direction:column; gap:3px;
  padding:11px 15px; border:1px solid #252525;
  border-radius:7px; background:#0b0b0b;
  text-align:start;
}
.ds-landing .site-footer .ds-reg strong {
  font-size:12px; font-weight:750; color:#f3f3f3; letter-spacing:.01em;
}
.ds-landing .site-footer .ds-reg span {
  color:#a4a4a4; font-size:12px; white-space:nowrap;
}
.ds-landing .site-footer .legal-copy.ds-legal-copy p.ds-provider {
  margin:0 0 25px; padding:0;
  width:100%; max-width:92ch;
  text-align:start; font-size:13px; line-height:1.85; color:#a7a9ae;
}
.ds-landing .site-footer .legal-copy.ds-legal-copy h3.ds-riskhead {
  display:block; margin:0 0 15px; padding:0;
  width:100%; text-align:start;
  color:#f3f3f3; font-size:14px; font-weight:750;
  line-height:1.5; letter-spacing:.01em;
}
.ds-landing .site-footer .legal-copy.ds-legal-copy p.ds-risk {
  box-sizing:border-box;
  margin:0; padding:2px 0 2px 17px;
  padding-inline-start:17px; padding-inline-end:0;
  border:0; border-inline-start:2px solid #c4553d;
  width:100%; max-width:100ch;
  text-align:start; font-size:13px; line-height:1.85; color:#a7a9ae;
}
/* RTL border stays at the right and padding moves to the same side. */
html[dir=rtl] .ds-landing .site-footer .legal-copy.ds-legal-copy p.ds-risk {
  padding-left:0; padding-right:17px;
}

/* Benefit dots: fully span their calculator text column; first-line alignment in EN and AR. */
.ds-landing .calculator-layout .calc-copy {
  width:100%;
  min-width:0;
}

.ds-landing .calc-copy-benefits {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  justify-items:stretch;
  width:100%;
  max-width:none;
  min-width:0;
  margin-inline:0;
  padding:0;
  list-style:none;
}
.ds-landing .calc-copy-benefits li {
  display:flex;
  align-items:flex-start;
  gap:16px;
  width:100%;
  min-width:0;
  text-align:start;
}
.ds-landing .calc-copy-benefits li::before {
  display:block;
  box-sizing:border-box;
  width:7px; height:7px;
  margin:calc((1.6em - 7px) / 2) 0 0;
  border-radius:50%;
  content:'';
  flex:none;
}
.ds-landing .calc-copy-benefits li span {
  display:block;
  flex:1 1 auto;
  min-width:0;
  width:auto;
  max-width:none;
}
.ds-landing .ds-chat-feedback:not([hidden]) {
  display:block;
  font-size:13px; line-height:1.45; margin-top:10px; color:#e2d2c0;
}
@media (max-width:860px) {
  .ds-landing .calc-copy-benefits {
    width:100%;
    max-width:none;
    margin-inline:0;
  }
}
@media (max-width:600px) {
  .ds-landing .site-footer .legal-copy.ds-legal-copy {
    padding:30px 0 28px;
  }
  .ds-landing .site-footer .ds-regs { gap:8px; margin-bottom:22px; }
  .ds-landing .site-footer .ds-reg { padding:10px; }
  .ds-landing .site-footer .legal-copy.ds-legal-copy p.ds-provider,
  .ds-landing .site-footer .legal-copy.ds-legal-copy p.ds-risk { font-size:12px; }
  .ds-landing .site-footer .legal-copy.ds-legal-copy h3.ds-riskhead { margin-bottom:14px; }
}


/* The Freshchat iframe owns its own layout. Do not force #fc_frame or
   #fc_widget dimensions/overflow: that can hide the reply field. */

/* Freshchat pre-chat form: restore the requested large desktop size.
   The launcher is separate and remains transparent (v8 behavior).
   The form wrapper is non-click-catching, while its actual controls remain usable. */
body.ds-landing div.chat-fc-form-outer {
  position: fixed;
  z-index: 9999999999;
  bottom: 20px;
  right: 20px;
  width: 90%;
  max-width: 400px !important;
  height: 720px !important;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  border-radius: 5px;
  color: #333;
  font-family: var(--font, 'DM Sans', Arial, sans-serif);
  background-color: white !important;
  margin: 0;
  padding: 0;
  box-shadow: 0 5px 25px rgba(0, 0, 0, .16) !important;
  pointer-events: none;
}
/* Only the form content receives clicks; the wrapper does not block chat inputs. */
body.ds-landing div.chat-fc-form-outer > * {
  pointer-events: auto;
}
/* Prevent an empty late-loaded form shell from becoming a white 720px rectangle. */
body.ds-landing div.chat-fc-form-outer:not(:has(input, select, textarea)) {
  height: 0 !important;
  min-height: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
/* Responsive size: preserve 20px clearance from edges even on narrow screens. */
@media (max-width: 600px) {
  body.ds-landing div.chat-fc-form-outer {
    width: calc(100vw - 40px);
    max-width: 400px !important;
  }
}
body.ds-landing div.chat-fc-form-outer input:not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]),
body.ds-landing div.chat-fc-form-outer textarea,
body.ds-landing div.chat-fc-form-outer select {
  background: #fff !important;
  color: #333 !important;
}
/* Match the landing typography for Freshchat's page-level pre-chat UI.
   The native conversation sits in a cross-origin iframe and is left untouched. */
body.ds-landing div.chat-fc-form-outer,
body.ds-landing div.chat-fc-form-outer input,
body.ds-landing div.chat-fc-form-outer select,
body.ds-landing div.chat-fc-form-outer textarea,
body.ds-landing div.chat-fc-form-outer label,
body.ds-landing div.chat-fc-form-outer p,
body.ds-landing div.chat-fc-form-outer button {
  font-family: var(--font, 'DM Sans', Arial, sans-serif) !important;
}
body.ds-landing div.chat-fc-form-outer label,
body.ds-landing div.chat-fc-form-outer p {
  color: #333 !important;
}

/* Transparent, page-owned launcher; Freshchat's native launcher is disabled
   through headerProperty.hideChatButton, not by editing its cross-origin iframe. */
body.ds-landing .ds-custom-chat-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99999999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: transform .15s ease;
}
body.ds-landing .ds-custom-chat-launcher img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
}
body.ds-landing .ds-custom-chat-launcher:hover {
  transform: scale(1.05);
}
@media (prefers-reduced-motion: reduce) {
  body.ds-landing .ds-custom-chat-launcher { transition: none; }
}
body.ds-landing .ds-custom-chat-launcher:focus-visible {
  outline: 2px solid #007fff;
  outline-offset: 4px;
}
body.ds-landing .ds-custom-chat-launcher[hidden] { display: none !important; }
@media(max-width: 600px) {
  body.ds-landing .ds-custom-chat-launcher { right: 14px; bottom: 14px; width: 56px; height: 56px; }
}

/* User-approved calculator adjustments. Logical margin also supports Arabic RTL. */
.ds-landing .calc-copy .calc-steps-link {
  color: var(--uexo-blue);
  text-decoration: none !important;
}
.ds-landing .calc-copy-benefits li span {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  max-width: none;
  margin-inline-start: 20px;
}

/* v10: Correct marker alignment and remove doubled text indent on screens up to 860px. */
@media (max-width: 860px) {
  .ds-landing .calc-copy-benefits li::before {
    position: relative;
  }
  .ds-landing .calc-copy-benefits li span {
    margin-inline-start: 0;
  }
}
