/* ==========================================================================
   GET EARLY ACCESS — modal popup
   Structure/aesthetic mirrors ignored-temp/temp-popup design reference and
   the Galytix "Book a Demo" modal (2-col underline fields, centred pill CTA).
   ========================================================================== */

:root {
  --bx-modal-card: #141414;
  --bx-modal-card-border: #2a2a2a;
  --bx-modal-muted: #8c8c8c;
  --bx-modal-rule: #3a3a3a;
}

.bx-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1080;
  background: rgba(0, 0, 0, 0.74);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.bx-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.bx-modal {
  position: relative;
  width: 100%;
  max-width: 980px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--bx-modal-card);
  border: 1px solid var(--bx-modal-card-border);
  border-radius: 18px;
  padding: 30px 56px 26px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 100, 255, 0.1);
  transform: translateY(14px) scale(0.985);
  transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.25, 1);
  color: #fff;
  font-family: "indivisible", Arial, Helvetica, sans-serif;
  scrollbar-width: none; /* Firefox: keep scroll, hide the bar */
  -ms-overflow-style: none; /* legacy Edge/IE */
}

.bx-modal::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Edge: keep scroll, hide the bar */
}

.bx-modal-backdrop.is-open .bx-modal {
  transform: none;
}

.bx-modal__close {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s ease;
}

.bx-modal__close:hover {
  background: rgba(255, 255, 255, 0.07);
}

.bx-modal__close:focus-visible {
  outline: 2px solid var(--bx-blue);
  outline-offset: 2px;
}

.bx-modal__close svg {
  width: 22px;
  height: 22px;
  stroke: #8c8c8c;
  stroke-width: 1.6;
}

.bx-modal__close:hover svg {
  stroke: #fff;
}

.bx-modal__title {
  font-family: var(--bx-font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.06;
  margin: 0 0 6px;
  color: #fff;
}

.bx-modal__sub {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.4;
  color: #c9c9c9;
  margin: 0 0 20px;
}

.bx-modal__alert {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.bx-modal__alert--error {
  background: rgba(255, 69, 58, 0.12);
  border: 1px solid rgba(255, 69, 58, 0.35);
  color: #ff8a80;
}

.bx-modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 48px;
}

.bx-field--full {
  grid-column: 1 / -1;
}

.bx-field {
  display: flex;
  flex-direction: column;
}

.bx-field label {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 7px;
}

.bx-field label .bx-req {
  color: var(--bx-blue);
}

.bx-field input,
.bx-field select,
.bx-field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--bx-modal-rule);
  border-radius: 0;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  padding: 0 0 8px;
  width: 100%;
  outline: none;
  transition: border-color 0.15s ease;
}

.bx-field input::placeholder,
.bx-field textarea::placeholder {
  color: #5c5c5c;
}

.bx-field input:focus,
.bx-field select:focus,
.bx-field textarea:focus {
  border-bottom-color: var(--bx-blue);
}

/* ---------------- Country: custom dropdown (ports Galytix's select.js
   widget/behaviour) — a hidden native <select> stays the source of truth for
   value + required validation, this renders the visible control. The native
   <select> lives outside <form> (see partials/early-access-modal.html) to
   dodge Chrome's address-autofill cascade, so it's hidden by id here rather
   than via nesting under .bx-custom-select. */
.bx-custom-select {
  position: relative;
}

#ea-loc {
  display: none;
}

.bx-select-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: transparent;
  border-bottom: 1px solid var(--bx-modal-rule);
  color: #5c5c5c;
  font-size: 15px;
  padding: 0 0 8px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease;
}

.bx-select-selected.is-filled {
  color: #fff;
}

.bx-select-selected:focus-visible {
  outline: 2px solid var(--bx-blue);
  outline-offset: 3px;
}

.bx-select-selected::after {
  content: "";
  width: 12px;
  height: 8px;
  flex: 0 0 auto;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='12'><path d='M2 2l8 8 8-8' stroke='%230064FF' stroke-width='2.2' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.15s ease;
}

.bx-select-selected.bx-select-arrow-active::after {
  transform: rotate(180deg);
}

/* Rounded blue panel — matches the Galytix "Book a Demo" country dropdown.
   Search stays pinned; only the option list scrolls. */
.bx-select-items {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  max-height: 280px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.bx-select-search-wrap {
  flex: 0 0 auto;
  padding: 10px 12px 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Beat `.bx-field input` (white underline fields) so the filter stays
   readable on the white dropdown panel. */
.bx-field .bx-select-search {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  background: #f4f4f4;
  color: #1a1a1a;
  font-size: 16px;
  line-height: 1.3;
  padding: 8px 10px;
  outline: none;
}

.bx-field .bx-select-search::placeholder {
  color: #8c8c8c;
}

.bx-field .bx-select-search:focus {
  border: 1px solid var(--bx-blue);
  border-bottom-color: var(--bx-blue);
  background: #fff;
  color: #1a1a1a;
}

.bx-select-empty {
  color: #5c5c5c;
  padding: 14px 18px;
  font-size: 14px;
  cursor: default;
}

.bx-select-list {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 4px 0;
}

/* Thin styled scrollbar for the dropdown panels (country + phone dial-code)
   instead of the bulky native one. */
.bx-select-list,
.bx-phone-field .iti__country-list {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
}

.bx-select-list::-webkit-scrollbar,
.bx-phone-field .iti__country-list::-webkit-scrollbar {
  width: 6px;
}

.bx-select-list::-webkit-scrollbar-track,
.bx-phone-field .iti__country-list::-webkit-scrollbar-track {
  background: transparent;
}

.bx-select-list::-webkit-scrollbar-thumb,
.bx-phone-field .iti__country-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
}

.bx-select-list::-webkit-scrollbar-thumb:hover,
.bx-phone-field .iti__country-list::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
}

.bx-select-option {
  color: #1a1a1a;
  padding: 10px 18px;
  font-size: 15px;
  cursor: pointer;
  user-select: none;
}

.bx-select-option + .bx-select-option {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.bx-select-option:hover,
.bx-select-option.bx-same-as-selected,
.bx-select-option.bx-select-active {
  background: var(--bx-blue);
  color: #fff;
}

.bx-select-hide {
  display: none;
}

.bx-field textarea {
  min-height: 34px;
  resize: none;
}

.bx-field__msg {
  margin-top: 6px;
  font-size: 13px;
  color: #ff8a80;
}

/* Honeypot wrapper — see partials/early-access-modal.html for what this is and
   why it is positioned off-screen instead of display:none. Never make it
   visible: a real visitor who fills it in has their submission silently
   dropped. */
.bx-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.bx-consent {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
}

.bx-consent .bx-field__msg {
  flex-basis: 100%;
  margin-left: 30px;
}

.bx-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 2px 0 0;
  accent-color: var(--bx-blue);
  padding: 0;
  border: 0;
}

.bx-consent label {
  font-size: 14px;
  color: var(--bx-modal-muted);
  line-height: 1.55;
  font-weight: 400;
  margin: 0;
  /* Flex-wrap decides whether an item fits its line using its unwrapped
     (max-content) width, not its shrunk width — without this, the long
     sentence doesn't "fit" next to the checkbox and the whole label drops
     to its own line instead of just wrapping its own text. */
  min-width: 0;
  flex: 1 1 0;
}

.bx-consent a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bx-cta-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.bx-pill {
  background: var(--bx-blue);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-family: "indivisible", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 13px 46px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}

.bx-pill:hover {
  background: #0052d6;
}

.bx-pill:active {
  transform: translateY(1px);
}

.bx-pill:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.bx-pill:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.bx-pill__spinner {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 8px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: -2px;
  animation: bx-spin 0.7s linear infinite;
}

@keyframes bx-spin {
  to {
    transform: rotate(360deg);
  }
}

.bx-modal__success {
  text-align: center;
  padding: 30px 0 10px;
}

.bx-modal__success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(0, 100, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bx-modal__success-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--bx-blue);
  stroke-width: 2.4;
}

.bx-modal__success .bx-modal__title,
.bx-modal__success .bx-modal__sub {
  text-align: center;
}

.bx-modal__success .bx-cta-row {
  margin-top: 30px;
}

/* ---------------- intl-tel-input phone field ---------------- */
.bx-phone-field .iti {
  width: 100%;
}

.bx-phone-field .iti--allow-dropdown input[type="tel"] {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--bx-modal-rule);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  /* Arrow is hidden, so this is only flag-width (~20px) plus a small gap —
     beats intl-tel-input's 52px (which reserved space for the dropdown). */
  padding: 0 6px 8px 36px;
  width: 100%;
  outline: none;
  transition: border-color 0.15s ease;
}

.bx-phone-field input[type="tel"]::placeholder {
  color: #5c5c5c;
}

.bx-phone-field input[type="tel"]:focus {
  border-bottom-color: var(--bx-blue);
}

.bx-phone-field .iti__flag-container {
  /* Span the input's full height (intl-tel-input's default) so the flag is
     flex-centered against the whole field. pointer-events:none disables the
     flag picker without changing the library's left-flag layout. */
  top: 0;
  bottom: 0;
  transform: translateY(-2px);
  pointer-events: none;
  cursor: default;
}

.bx-phone-field .iti__selected-flag {
  background: transparent;
  padding: 0 6px 0 0;
}

.bx-phone-field .iti__selected-flag:hover,
.bx-phone-field .iti__selected-flag:focus {
  background: transparent;
}

.bx-phone-field .iti__arrow,
.bx-phone-field .iti__country-list {
  display: none;
}

/* Unused while allowDropdown is false; kept so a future re-enable of the
   phone-country list still matches the Country dropdown panel. */
.bx-phone-field .iti__country-list {
  background: #fff;
  border: 0;
  border-radius: 18px;
  color: #1a1a1a;
  z-index: 60;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  padding: 4px 0;
  /* intl-tel-input sizes this list to its widest row by default (no fixed
     width), which overflowed the narrower phone column in a 2-col grid and
     dragged a horizontal scrollbar in behind it. left:0 anchors it to the
     flag button's own left edge (its actual offset parent — .iti__country-list
     is nested inside .iti__flag-container, not the full-width .iti wrapper,
     so right:0 alone can't reach the field's right edge); JS sets the exact
     width to match the field on open. Ellipsis handles any name that's still
     too long for that width. */
  left: 0;
  box-sizing: border-box;
}

.bx-phone-field .iti__country-list .iti__country {
  color: #1a1a1a;
  border: 0;
}

.bx-phone-field .iti__country-list .iti__dial-code {
  color: #666;
}

.bx-phone-field .iti__country-list .iti__country-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bx-phone-field .iti__country-list .iti__country:hover,
.bx-phone-field .iti__country-list .iti__country.iti__highlight {
  background: var(--bx-blue);
  color: #fff;
}

.bx-phone-field .iti__country-list .iti__country:hover .iti__dial-code,
.bx-phone-field .iti__country-list .iti__country.iti__highlight .iti__dial-code {
  color: #fff;
}

.bx-phone-field .iti__divider {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 0;
  margin-bottom: 0;
}

.bx-phone-field input[type="tel"].bx-input--error {
  border-bottom-color: #ff8a80;
}

/* ---------------- MOBILE ---------------- */
@media (max-width: 900px) {
  .bx-modal-backdrop {
    padding: 0;
    align-items: stretch;
  }

  .bx-modal {
    /* Reset the base rule's max-height:calc(100vh - 40px) — the backdrop is
       a flex container with align-items:stretch at this breakpoint, so with
       no height cap the modal naturally fills its real cross-axis height.
       Avoids 100vh/100dvh falling short of the true visible viewport on
       mobile browsers with a collapsing toolbar. */
    max-width: none;
    max-height: none;
    border-radius: 0;
    border: 0;
    padding: 70px 22px 40px;
  }

  .bx-modal__title {
    font-size: 32px;
  }

  .bx-modal__sub {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .bx-modal__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bx-modal-backdrop,
  .bx-modal {
    transition: none !important;
  }

  .bx-pill__spinner {
    animation: none;
  }
}

/* popup css edit  */

#earlyAccessTitle.bx-modal__title {
    font-size: 2.5rem;
    margin-bottom: 0.2rem;
    font-style: italic;
    font-weight: 600;
    line-height: 0.98;
}
.bx-modal__title {
    font-family: freight-display-pro;
    font-size: clamp(3rem, 5vw, 6rem);
    font-weight: 600;
    line-height: 0.98;
    font-style: italic;
}
.bx-modal__sub {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 0;
    font-weight: 400;
    color: #fff;
    line-height: 1.1;
}

.bx-field label{
    font-size: 1rem;
    letter-spacing: normal;
    font-weight: 500;
}
.bx-pill {
  /* font-size: 1.125rem;
  font-weight: 600; */
  font-size: 20px;
    font-weight: 500;
    padding: 16px 50px;

}
.bx-field__msg {
  color:#ca212a
}