/* Local review only. Nothing in this file has been deployed. */
.cms-medical-travel-intro {
  display: none !important;
}

.cms-chat-w .cw-currency {
  border: 1.5px solid #d99612;
  background: #fffaf0;
  color: #8a5a00;
  box-shadow: 0 4px 16px rgba(116, 77, 0, .14);
}

.cms-chat-w .cw-currency:hover {
  background: #fff3d6;
  transform: translateY(-1px);
}

.cw-currency-icon {
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.cms-currency-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(4, 37, 41, .62);
  backdrop-filter: blur(4px);
}

.cms-currency-backdrop.is-open { display: grid; }

.cms-currency-modal {
  position: relative;
  width: min(430px, 100%);
  padding: 27px;
  border: 1px solid #dbe7e8;
  border-radius: 18px;
  background: #fff;
  color: #15333b;
  box-shadow: 0 30px 80px rgba(4, 37, 41, .32);
  font-family: Inter, -apple-system, sans-serif;
}

.cms-currency-modal h2 { margin: 3px 42px 7px 0; font-size: 27px; line-height: 1.2; }
.cms-currency-modal .currency-eyebrow { margin: 0; color: #087c78; font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.cms-currency-modal .currency-intro { margin: 0 0 20px; color: #64748b; font-size: 14px; line-height: 1.5; }
.currency-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eef5f5; color: #173c43; font-size: 23px; cursor: pointer; }
.currency-fields { display: grid; grid-template-columns: 1fr 112px; gap: 11px; }
.currency-fields label { display: grid; gap: 6px; color: #38545f; font-size: 12px; font-weight: 800; }
.currency-fields input,.currency-fields select { width: 100%; min-height: 45px; padding: 9px 11px; border: 1px solid #bdced1; border-radius: 9px; background: #fff; color: #102f37; font: inherit; font-size: 15px; }
.currency-swap { display: block; width: 42px; height: 42px; margin: 12px auto; border: 1px solid #a8cecb; border-radius: 50%; background: #edf8f7; color: #087c78; font-size: 20px; cursor: pointer; }
.currency-result { margin-top: 17px; padding: 17px; border-radius: 12px; background: #eaf7f5; color: #173c43; }
.currency-result span { display: block; color: #4c6770; font-size: 12px; }
.currency-result strong { display: block; margin-top: 4px; color: #075f5c; font-size: 28px; }
.currency-rate-note { margin: 13px 0 0; color: #71838a; font-size: 11px; line-height: 1.45; }

@media (max-width: 600px) {
  /* The translated mobile page can leave this badge as an empty bar. */
  .hero5-badge {
    display: none !important;
  }

  /* Keep both contact actions on one line below the welcome bar. */
  .cms-chat-w {
    right: auto !important;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    left: 50% !important;
    width: min(calc(100% - 24px), 380px) !important;
    padding: 6px !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transform: translateX(-50%) !important;
    border: 1px solid rgba(13, 148, 136, .18) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .97) !important;
    box-shadow: 0 10px 30px rgba(4, 47, 50, .20) !important;
    box-sizing: border-box !important;
    backdrop-filter: blur(10px) !important;
  }

  .cms-chat-w .cw-b {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 48px !important;
    padding: 10px 8px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    font-size: 14px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .cms-chat-w .cw-email {
    border: 1.5px solid #0d9488 !important;
    background: #fff !important;
    color: #0f766e !important;
  }

  .cms-chat-w .cw-wa {
    border: 1.5px solid #20c96b !important;
    background: #20c96b !important;
    color: #fff !important;
  }

  .cms-chat-w .cw-panel {
    position: absolute !important;
    right: 0 !important;
    bottom: calc(100% + 10px) !important;
  }

  #cms-welcome-bar {
    right: 12px !important;
    bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
    left: 12px !important;
  }

  /* Mobile placement will be designed separately; keep the two contact buttons uncluttered. */
  .cms-chat-w .cw-currency { display: none !important; }

  /* Make the horizontal service comparison self-evident by showing part of card two. */
  .cms-fee-grid {
    gap: 12px !important;
    padding-right: 0 !important;
    scroll-padding-inline: 0 !important;
  }

  .cms-fee-grid > .cms-fee-card {
    flex: 0 0 calc(100% - 68px) !important;
    width: calc(100% - 68px) !important;
    scroll-snap-align: start !important;
  }

  /* Use the familiar accordion pattern: label left, down chevron right. */
  .cms-fee-details > summary {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    list-style: none !important;
    cursor: pointer !important;
  }

  .cms-fee-details > summary::-webkit-details-marker {
    display: none !important;
  }

  .cms-fee-details > summary::marker {
    content: "" !important;
  }

  .cms-fee-details > summary::before {
    display: none !important;
    content: none !important;
  }

  .cms-fee-details > summary::after {
    content: "" !important;
    flex: 0 0 10px !important;
    width: 10px !important;
    height: 10px !important;
    margin: 0 5px 5px 0 !important;
    border-right: 2px solid #0f766e !important;
    border-bottom: 2px solid #0f766e !important;
    transform: rotate(45deg) !important;
    transition: transform .18s ease, margin .18s ease !important;
  }

  .cms-fee-details[open] > summary::after {
    margin: 5px 5px 0 0 !important;
    transform: rotate(225deg) !important;
  }

  /* Native date inputs can otherwise keep an intrinsic width on narrow phones. */
  .escort-form-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    width: 100% !important;
  }

  .escort-form-row > * {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .escort-form-row input,
  .escort-form-row select,
  #eDate {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Keep the three welcome-modal actions visually equal. */
  #cms-welcome-body a[href*="welcome_modal_case"],
  #cms-welcome-body a[href*="redirect=find"],
  #cms-welcome-body a[href*="welcome_modal"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: min(100%, 245px) !important;
    min-height: 52px !important;
    padding: 10px 14px !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }
}
