/* Bus Central Join
   Compact mobile-first join page. Shared header/footer stay global. */

.bc-join-page,
.bc-join-page * {
  box-sizing: border-box;
}

.bc-join-page {
  --bc-navy-950: #07121d;
  --bc-navy-900: #0a1724;
  --bc-navy-850: #0d1b2a;
  --bc-navy-800: #122237;
  --bc-navy-700: #1b3149;
  --bc-orange: #ff5535;
  --bc-orange-soft: #ff765e;
  --bc-ink: #132033;
  --bc-muted: #687387;
  --bc-line: #dfe5ec;
  --bc-paper: #f6f8fb;
  --bc-white: #fff;
  display: block;
  overflow: hidden;
  color: var(--bc-ink);
  background: var(--bc-paper);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.bc-join-hero {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: var(--bc-navy-950);
}

.bc-join-hero__picture,
.bc-join-hero__shade {
  position: absolute;
  inset: 0;
}

.bc-join-hero__picture {
  z-index: 0;
}

.bc-join-hero__picture img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 56% 58%;
}

.bc-join-hero__shade {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7,18,29,.08) 0%, rgba(7,18,29,.12) 38%, rgba(7,18,29,.73) 78%, #07121d 100%),
    linear-gradient(90deg, rgba(7,18,29,.74) 0%, rgba(7,18,29,.42) 46%, rgba(7,18,29,.05) 78%);
}

.bc-join-hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0 22px 42px;
}

.bc-kicker,
.bc-join-kicker {
  margin: 0 0 10px;
  color: var(--bc-orange-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.bc-kicker--dark,
.bc-join-kicker--dark {
  color: #e74a30;
}

.bc-join-hero h1 {
  max-width: 610px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 10vw, 49px);
  font-weight: 760;
  line-height: .99;
  letter-spacing: -.045em;
  text-shadow: 0 4px 24px rgba(0,0,0,.28);
}

.bc-join-hero__intro {
  max-width: 520px;
  margin: 16px 0 0;
  color: rgba(244,248,252,.88);
  font-size: 14px;
  line-height: 1.62;
  text-shadow: 0 2px 16px rgba(0,0,0,.28);
}

.bc-join-hero__cta {
  min-height: 46px;
  margin-top: 22px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: linear-gradient(135deg, #ff5535, #f0442a);
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(235,70,42,.25);
}

.bc-join-hero__highlights {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bc-join-hero__highlights span {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(7,18,29,.34);
  color: rgba(255,255,255,.82);
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(7px);
}

.bc-join-main {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 54px 18px 72px;
  display: grid;
  gap: 30px;
}

.bc-join-intro {
  max-width: 590px;
}

.bc-join-intro h2,
.bc-registration-heading h2 {
  margin: 0;
  color: #0d1a29;
  font-size: clamp(28px, 8vw, 40px);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.bc-join-intro > p:last-of-type {
  margin: 14px 0 0;
  color: var(--bc-muted);
  font-size: 14px;
  line-height: 1.65;
}

.bc-benefits,
.bc-join-benefits {
  margin-top: 26px;
  display: grid;
  gap: 10px;
}

.bc-benefits article,
.bc-join-benefits article {
  padding: 16px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  align-items: start;
  border: 1px solid var(--bc-line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20,38,59,.035);
}

.bc-benefit-icon,
.bc-join-benefit-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #0e2032;
  color: var(--bc-orange-soft);
  font-size: 18px;
  font-weight: 800;
}

.bc-benefits h3,
.bc-join-benefits h3 {
  margin: 1px 0 4px;
  color: #112033;
  font-size: 15px;
}

.bc-benefits p,
.bc-join-benefits p {
  margin: 0;
  color: var(--bc-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.bc-registration-card {
  width: 100%;
  padding: 24px 18px 20px;
  border: 1px solid #dce3eb;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(17,32,51,.08);
}

.bc-registration-heading {
  padding-bottom: 20px;
  border-bottom: 1px solid #edf0f4;
}

.bc-registration-heading h2 {
  font-size: 29px;
}

.bc-registration-heading > p:last-child {
  margin: 9px 0 0;
  color: var(--bc-muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.bc-join-errors {
  margin-top: 18px;
  padding: 14px 15px;
  border: 1px solid #f0b6aa;
  border-radius: 13px;
  background: #fff4f1;
  color: #842e20;
  font-size: 12.5px;
  line-height: 1.5;
}

.bc-join-errors strong {
  display: block;
  margin-bottom: 6px;
}

.bc-join-errors ul {
  margin: 0;
  padding-left: 18px;
}

.bc-join-form {
  margin-top: 20px;
}

.bc-field,
.bc-join-field {
  margin-top: 16px;
}

.bc-field:first-child,
.bc-join-field:first-child {
  margin-top: 0;
}

.bc-field label,
.bc-join-field label {
  display: block;
  margin: 0 0 7px;
  color: #17263a;
  font-size: 12.5px;
  font-weight: 750;
}

.bc-field input,
.bc-join-field input,
.bc-field select,
.bc-join-field select,
.bc-timezone-selects select {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #ccd5df;
  border-radius: 12px;
  outline: none;
  background: #fbfcfe;
  color: #17263a;
  font: inherit;
  font-size: 16px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.bc-field input:focus,
.bc-join-field input:focus,
.bc-field select:focus,
.bc-join-field select:focus,
.bc-timezone-selects select:focus {
  border-color: #f15a3b;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(241,90,59,.12);
}

.bc-field-help,
.bc-join-field-help {
  margin: 6px 0 0;
  color: #788397;
  font-size: 11.5px;
  line-height: 1.45;
}

.bc-timezone-selects {
  display: grid;
  gap: 8px;
}

.bc-password-grid {
  display: grid;
  gap: 0;
}

.bc-captcha,
.bc-join-captcha {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #dfe5ec;
  border-radius: 15px;
  background: #f8fafc;
}

.bc-captcha__heading,
.bc-join-captcha__heading {
  margin-bottom: 12px;
}

.bc-captcha__heading strong,
.bc-join-captcha__heading strong,
.bc-captcha__heading span,
.bc-join-captcha__heading span {
  display: block;
}

.bc-captcha__heading strong,
.bc-join-captcha__heading strong {
  color: #17263a;
  font-size: 12.5px;
}

.bc-captcha__heading span,
.bc-join-captcha__heading span {
  margin-top: 2px;
  color: #788397;
  font-size: 11.5px;
}

.bc-captcha__image,
.bc-join-captcha__image {
  margin: 8px 0 12px;
  overflow: hidden;
  border-radius: 10px;
}

.bc-captcha__image img,
.bc-join-captcha__image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.bc-captcha__question,
.bc-join-captcha__question {
  margin: 10px 0 12px;
  padding: 12px;
  border-radius: 11px;
  background: #fff;
  color: #132033;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.bc-captcha__fallback,
.bc-join-captcha__fallback {
  overflow: hidden;
}

.bc-join-agreement {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
}

.bc-join-agreement input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #ef5133;
}

.bc-join-agreement label {
  color: #667184;
  font-size: 11.5px;
  line-height: 1.5;
}

.bc-join-agreement a {
  color: #d9432b !important;
  font-weight: 750;
  text-decoration: none;
}

.bc-primary-button,
.bc-join-primary {
  width: 100%;
  min-height: 50px;
  margin-top: 20px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #ff5535, #eb4329);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(235,67,41,.20);
}

.bc-primary-button:disabled,
.bc-join-primary:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.bc-signin-note {
  margin: 18px 0 0;
  text-align: center;
  color: #778296;
  font-size: 12px;
}

.bc-login-button,
.bc-signin-login {
  padding: 0;
  border: 0;
  background: transparent;
  color: #d9432b;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

@media (min-width: 760px) {
  .bc-join-hero {
    min-height: 610px;
  }

  .bc-join-hero__content {
    padding: 0 46px 60px;
  }

  .bc-join-main {
    padding: 72px 30px 90px;
  }

  .bc-registration-card {
    padding: 30px 28px 24px;
  }

  .bc-password-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .bc-password-grid .bc-field,
  .bc-password-grid .bc-join-field {
    margin-top: 16px;
  }
}

@media (min-width: 900px) {
  .bc-join-hero {
    min-height: 500px;
    align-items: center;
  }

  .bc-join-hero__picture img {
    object-position: center 56%;
    filter: brightness(1.12) contrast(1.03) saturate(1.02);
  }

  .bc-join-hero__shade {
    background:
      linear-gradient(90deg, rgba(7,18,29,.90) 0%, rgba(7,18,29,.78) 18%, rgba(7,18,29,.54) 38%, rgba(7,18,29,.15) 60%, rgba(7,18,29,0) 77%),
      linear-gradient(180deg, rgba(7,18,29,.02) 0%, rgba(7,18,29,.05) 68%, rgba(7,18,29,.80) 100%);
  }

  .bc-join-hero__content {
    padding: 0 52px;
  }

  .bc-join-hero h1 {
    max-width: 620px;
    font-size: clamp(43px, 4.5vw, 64px);
  }

  .bc-join-hero__intro {
    max-width: 540px;
    font-size: 15px;
  }

  .bc-join-main {
    grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr);
    gap: 54px;
    align-items: start;
    padding-top: 84px;
  }

  .bc-join-intro {
    position: sticky;
    top: 100px;
  }

  .bc-benefits,
.bc-join-benefits {
    margin-top: 30px;
  }
}

@media (min-width: 1180px) {
  .bc-join-hero__content {
    padding-left: 0;
    transform: translateX(-24px);
  }

  .bc-join-main {
    gap: 72px;
  }
}


@media (max-width: 759px) {
  .bc-join-hero {
    min-height: 575px;
    align-items: flex-start;
  }

  .bc-join-hero__picture img {
    object-position: center 3%;
    filter: brightness(1.30) contrast(1.01) saturate(1.03);
  }

  .bc-join-hero__shade {
    background:
      linear-gradient(180deg, rgba(7,18,29,.04) 0%, rgba(7,18,29,.05) 43%, rgba(7,18,29,.14) 70%, rgba(7,18,29,.42) 100%),
      linear-gradient(100deg, rgba(7,18,29,.43) 0%, rgba(7,18,29,.25) 40%, rgba(7,18,29,.08) 67%, rgba(7,18,29,0) 88%);
  }

  .bc-join-hero__content {
    padding-top: 92px;
    padding-bottom: 24px;
  }

  .bc-join-hero h1 {
    max-width: 420px;
    font-size: clamp(32px, 8vw, 39px);
    line-height: 1.03;
    text-shadow: 0 3px 18px rgba(0,0,0,.50);
  }

  .bc-join-hero__intro {
    max-width: 375px;
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.55;
    text-shadow: 0 2px 14px rgba(0,0,0,.56);
  }

  .bc-join-hero__cta {
    margin-top: 18px;
  }

  .bc-join-hero__highlights {
    margin-top: 16px;
  }
}

@media (max-width: 420px) {
  .bc-join-hero {
    min-height: 575px;
  }

  .bc-join-hero__content {
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 34px;
  }

  .bc-join-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .bc-registration-card {
    border-radius: 19px;
  }
}


/* v2 shared-shell integration */
.bc-join-page { width: 100%; }


/* v3 correction: match the actual class names emitted by the Join page */
.bc-join-form {
  margin-top: 20px;
}

.bc-join-field input::placeholder,
.bc-join-field textarea::placeholder {
  color: #8a95a7;
}

.bc-join-primary {
  width: 100%;
}

.bc-signin-login {
  text-decoration: none;
}


.bc-join-heading-mobile {
  display: none;
}

@media (max-width: 759px) {
  .bc-join-heading-desktop {
    display: none;
  }

  .bc-join-heading-mobile {
    display: inline;
  }
}


/* v11: pills removed; keep the hero ending clean */
@media (max-width: 759px) {
  .bc-join-hero__cta {
    margin-bottom: 0;
  }
}


/* v12: add breathing room between timezone selects and password fields */
.bc-password-grid {
  margin-top: 12px;
}
