/* ChaleSend static site fixes (loaded after the original builder styles) */
.hidden { display: none !important; }

/* Logo size (the builder set this with script) */
.logo__box .cs-logo { width: 263px; max-width: 100%; }
.logo__box .cs-logo .crop-image { min-width: 100%; }

/* Native dropdowns in forms (the builder replaced them with its own widget) */
select.cs-select {
  display: block !important;
  width: 100%;
  min-height: 36px;
  padding: 0 36px 0 12px;
  font: inherit;
  font-size: 15px;
  line-height: 2.4;
  color: inherit;
  border: 1px solid var(--input_select_borderColor, rgba(255, 255, 255, .35));
  border-radius: var(--input_select_borderRadius, 0);
  background-color: var(--input_select_background, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23888' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
select.cs-select option { color: #222; background: #fff; }
.form__row .label + div { width: 100%; }

/* Form status messages: shown over the form, as the builder did */
form[data-widget="static-form"] { position: relative; }
form[data-widget="static-form"].sent > :not(.form__holder) { visibility: hidden; }
form[data-widget="static-form"] .form__holder { padding: 16px; text-align: center; }
form[data-widget="static-form"] .form__holder span { white-space: normal; overflow: visible; }
form[data-widget="static-form"] .form__holder .section__text a { color: inherit; text-decoration: underline; }
form[data-widget="static-form"] .form__holder.error { cursor: pointer; }
form[data-widget="static-form"] button.is-sending { opacity: .6; cursor: wait; }

/* Page sits below the fixed header (site.js measures its exact height into --cs-header-h);
   the first section's background extends up behind the header, as on the original site */
.template.template__fixed-header { padding-top: var(--cs-header-h, 90px); }
.fixed-header-plug.cs-plug { top: calc(-1 * var(--cs-header-h, 90px)); height: var(--cs-header-h, 90px); }
.section_bg.cs-under-header { top: calc(-1 * var(--cs-header-h, 90px)) !important; height: calc(100% + var(--cs-header-h, 90px)) !important; }

/* Mobile menu: when the full menu doesn't fit, a burger opens a full-screen panel */
.cs-burger, .cs-panel { display: none; }
html.cs-collapsed header.header_wrapper .header-nav,
html.cs-collapsed header.header_wrapper .header__wrap > .header-layout-wrapper:not(.header-logo) { display: none !important; }
html.cs-collapsed .cs-burger {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  position: fixed; top: calc((var(--cs-header-h, 90px) - 44px) / 2); right: 12px; z-index: 10001;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: rgb(34, 35, 37); cursor: pointer;
}
html.cs-collapsed .cs-burger span { display: block; height: 2px; width: 22px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
html.cs-collapsed.cs-menu-open .cs-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
html.cs-collapsed.cs-menu-open .cs-burger span:nth-child(2) { opacity: 0; }
html.cs-collapsed.cs-menu-open .cs-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
html.cs-collapsed.cs-menu-open .cs-panel {
  display: flex; flex-direction: column;
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 10000; overflow-y: auto;
  padding: 23px 24px 40px; background: #fff;
  font-family: Ubuntu, Montserrat, sans-serif;
}
.cs-panel__logo { display: block; height: 44px; margin-bottom: 20px; }
.cs-panel__logo img { height: 100%; width: auto; }
.cs-panel__link {
  display: block; padding: 16px 2px; border-bottom: 1px solid rgba(0, 0, 0, .08);
  color: rgb(34, 35, 37); font-size: 17px; font-weight: 700; letter-spacing: .02em;
  text-transform: uppercase; text-decoration: none;
}
.cs-panel__link[aria-current="page"] { color: rgb(0, 128, 128); }
.cs-panel__button {
  display: block; margin-top: 28px; padding: 14px 20px; border-radius: 999px;
  background: rgb(0, 128, 128); color: #fff; text-align: center; font-weight: 700; text-decoration: none;
}
html.cs-menu-open, html.cs-menu-open body { overflow: hidden; }

@media (max-width: 767px) {
  .logo__box .cs-logo { width: 170px; }
}

/* 404 page */
.cs-404 { padding: 80px 20px 120px; background: rgb(240, 249, 248); }
.cs-404__inner { max-width: 560px; margin: 0 auto; text-align: center; font-family: Ubuntu, Montserrat, sans-serif; color: rgb(34, 35, 37); }
.cs-404__code { font-size: 72px; font-weight: 700; color: rgb(0, 128, 128); line-height: 1; margin: 0 0 12px; }
.cs-404__title { font-size: 32px; font-weight: 700; margin: 0 0 12px; font-family: Montserrat, sans-serif; color: rgb(34, 35, 37) !important; }
.cs-404__text { color: rgb(50, 51, 53) !important; }
.cs-404__text { font-size: 17px; line-height: 1.6; margin: 0 0 28px; }
.cs-404__button { display: inline-block; padding: 14px 28px; border-radius: 999px; background: rgb(0, 128, 128); color: #fff; font-weight: 700; text-decoration: none; }

/* Form submit row: the builder sized this with script, leaving it 0px tall without it */
form[data-widget="static-form"] .form__row._submit,
form[data-widget="static-form"] .form__row._submit .layout,
form[data-widget="static-form"] .form__row._submit .grid-component,
form[data-widget="static-form"] .form__row._submit .buttons__wrap { height: auto !important; }
form[data-widget="static-form"] .form__row._submit { margin-top: 8px; }
form[data-widget="static-form"] .form__row._submit button.btn { height: auto !important; min-height: 48px; padding: 12px 32px; cursor: pointer; }
form[data-widget="static-form"] .form__row._submit button.btn_primary,
form[data-widget="static-form"] .form__row._submit button.btn_primary span { color: #fff !important; }
form[data-widget="static-form"] .form__holder * { color: inherit !important; }
form[data-widget="static-form"] .form__holder.error .text-h4 span { font-size: 24px; line-height: 1.3; font-weight: 700; }
form[data-widget="static-form"] .form__holder .cs-msg { font-size: 16px; line-height: 1.5; }

/* Long-form legal text (Terms & Conditions) */
.cs-legal { max-width: 820px; margin: 0 auto; padding: 8px 20px 72px; font-family: var(--font_secondary, Ubuntu), sans-serif; color: rgb(50, 51, 53); font-size: 16px; line-height: 1.7; }
.template .cs-legal h2:not(.MuiTypography-root) { display: block !important; margin: 32px 0 8px !important; padding: 0 !important; font-family: var(--font_primary, Montserrat), sans-serif !important; font-size: 20px !important; line-height: 1.35 !important; font-weight: 700 !important; color: rgb(34, 35, 37) !important; letter-spacing: normal !important; text-transform: none !important; }
.cs-legal p { margin: 0 0 14px; }
.cs-legal ul { margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.cs-legal li { margin: 0 0 6px; }
.cs-legal a { color: rgb(0, 128, 128); text-decoration: underline; }
.cs-legal__updated { font-size: 14px; color: rgb(100, 102, 105); text-align: center; margin-bottom: 28px !important; }
@media (max-width: 767px) { .cs-legal { font-size: 15px; padding-bottom: 48px; } .template .cs-legal h2:not(.MuiTypography-root) { font-size: 18px !important; } }

/* Homepage rate calculator */
.cs-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cs-fx-wrap { height: auto !important; }
.cs-fx {
  box-sizing: border-box; max-width: 400px; padding: 16px 18px; background: #fff; border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1); color: #222325; font-family: var(--font_secondary, Ubuntu), sans-serif;
  font-size: 14px; line-height: 1.4; text-align: left;
}
.cs-fx * { box-sizing: border-box; }
.cs-fx__row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 12px; }
.cs-fx__country { display: flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; }
.cs-fx__country img { width: 24px; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.cs-fx__select { max-width: 150px; padding: 4px 2px; border: 0; background: transparent; font: inherit; font-size: 14px; color: inherit; cursor: pointer; }
.cs-fx__label { display: block; font-size: 13px; margin-bottom: 4px; }
.cs-fx__input, .cs-fx__output {
  display: block; width: 100%; padding: 8px 10px; margin: 0 0 10px; border: 1px solid #ccc; border-radius: 5px;
  font: inherit; font-size: 16px; color: #222325; background: #fff;
}
.cs-fx__output { background: #f4f4f4; font-weight: 700; font-size: 18px; min-height: 42px; }
.cs-fx__note { margin: 2px 0 4px; font-size: 13px; color: #666; }
.cs-fx__fees { margin: 0 0 6px; font-size: 13px; font-weight: 700; }
.cs-fx__small { margin: 0; font-size: 11.5px; color: #888; }
.cs-fx__small a { color: #888; text-decoration: underline; }
