/* Native Free Online Trial booking flow. The visual tokens are inherited from
   the existing Online Mentoring journey rather than creating a new subsystem. */
.native-booking-widget {
  scroll-margin-top: 11rem;
}

main section.schedule.mentoring-booking .native-booking-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  font-size: 1.4rem;
}

.native-booking-steps li {
  color: var(--muted, #b9b7d1);
}

.native-booking-steps li.is-current,
.native-booking-steps li.is-complete {
  color: #f7f6ff;
}

.native-booking-steps li span:first-child {
  font-size: 1.2rem;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

main section.schedule.mentoring-booking .native-booking-steps li span:last-child {
  display: inline;
  width: auto;
  height: auto;
  flex: 1 1 auto;
  border: 0;
  border-radius: 0;
  color: inherit;
  font-size: 1.4rem;
  line-height: 1.25;
}

.native-booking-steps li.is-current span:first-child {
  background: linear-gradient(135deg, #8c44f7, #d542c9);
  border-color: transparent;
  color: #fff;
}

.native-booking-steps li.is-complete span:first-child {
  background: #102f4f;
  border-color: #14dce4;
  color: #14dce4;
}

.native-booking-shell {
  box-sizing: border-box;
  width: 100%;
  margin-top: 1.4rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(21, 220, 228, 0.24);
  border-radius: 1.65rem;
  background: linear-gradient(145deg, rgba(7, 13, 50, 0.76), rgba(19, 18, 69, 0.7));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.native-booking-feedback {
  display: flex;
  min-height: 3.6rem;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.native-booking-status {
  min-height: 1.55rem;
  margin: 0 0 1rem;
  color: #c8c7df;
  font-size: 1.5rem;
}

.native-booking-retry {
  min-height: 3.6rem;
  padding: 0.55rem 1rem;
  flex: 0 0 auto;
  border: 1px solid rgba(20, 220, 228, 0.65);
  border-radius: 0.85rem;
  background: rgba(16, 47, 79, 0.8);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 1.35rem;
  font-weight: 750;
}

.native-booking-retry:hover {
  background: rgba(23, 73, 116, 0.92);
}

.native-booking-status.is-error {
  color: #ffc2c8;
}

.native-booking-status.is-success {
  color: #8cf0cd;
}

.native-booking-status.is-loading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.native-booking-status.is-loading::before {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  border: 2px solid rgba(112, 231, 237, 0.3);
  border-top-color: #70e7ed;
  border-radius: 50%;
  content: "";
  animation: native-booking-spin 700ms linear infinite;
}

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

.native-booking-panel[hidden] {
  display: none;
}

.native-booking-panel {
  box-sizing: border-box;
  display: block;
  width: 100%;
}

.native-booking-panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.35rem;
}

.native-booking-panel-heading h4 {
  margin: 0.25rem 0 0;
  color: #fff;
  font-size: clamp(2.2rem, 2.5vw, 3rem);
}

.native-booking-panel-heading > p {
  max-width: 19rem;
  margin: 0;
  color: #b7b5ce;
  font-size: 1.5rem;
  text-align: right;
}

.booking-panel-kicker {
  margin: 0;
  color: #70dce3;
  font-family: var(--font-mono, "Ubuntu Mono", monospace);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.native-date-list {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.65rem;
}

.native-date-button,
.native-time-button {
  min-height: 4.8rem;
  border: 1px solid rgba(86, 116, 189, 0.45);
  border-radius: 1rem;
  background: rgba(8, 12, 46, 0.9);
  color: #f5f4fc;
  cursor: pointer;
  font: inherit;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.native-date-button {
  display: grid;
  place-items: center;
  gap: 0.08rem;
  padding: 0.55rem 0.35rem;
}

.native-date-button span:first-child {
  color: #a9a8c5;
  font-size: 1.3rem;
  text-transform: uppercase;
}

.native-date-button strong {
  color: #fff;
  font-size: 1.8rem;
}

.native-date-button span:last-child {
  color: #c6c6da;
  font-size: 1.3rem;
}

.native-date-button:hover,
.native-time-button:hover,
.native-date-button[aria-pressed="true"],
.native-time-button[aria-pressed="true"] {
  transform: translateY(-2px);
  border-color: #16dbe6;
  background: linear-gradient(145deg, rgba(19, 66, 111, 0.94), rgba(38, 24, 90, 0.94));
  box-shadow: 0 0.55rem 1.35rem rgba(3, 198, 227, 0.14);
}

.native-date-button:disabled,
.native-time-button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.native-time-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 0.75rem;
}

.native-time-button {
  padding: 0.82rem 0.75rem;
  font-weight: 700;
}

.native-time-button small {
  display: block;
  margin-top: 0.28rem;
  color: #c8c7dd;
  font-size: 1.3rem;
  font-weight: 400;
}

.native-time-button .native-time-source {
  color: #9694b4;
  font-size: 1.2rem;
}

.native-empty-times {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.1rem;
  border: 1px dashed rgba(95, 127, 192, 0.55);
  border-radius: 1rem;
  color: #d2d0e3;
  font-size: 1.5rem;
}

.native-more-dates {
  min-height: 4.4rem;
  margin: 0;
  padding: 0.8rem 1.4rem;
  border: 1px solid rgba(20, 220, 228, 0.58);
  border-radius: 0.9rem;
  background: rgba(8, 12, 46, 0.7);
  color: #6fe8ee;
  cursor: pointer;
  font: inherit;
  font-size: 1.4rem;
  font-weight: 700;
}

.native-more-dates:hover {
  border-color: #14dce4;
  background: rgba(16, 47, 79, 0.85);
  color: #fff;
}

.native-booking-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 1.55rem;
}

.native-booking-actions .outline-link,
.native-booking-actions .gradient-link {
  display: inline-flex;
  min-height: 4.4rem;
  align-items: center;
  justify-content: center;
  margin: 0;
  cursor: pointer;
  font: inherit;
  font-size: 1.4rem;
  font-weight: 800;
}

.native-booking-actions [hidden] {
  display: none;
}

.native-booking-actions button:disabled {
  cursor: not-allowed;
  filter: saturate(0.45);
  opacity: 0.58;
  transform: none;
}

.native-booking-actions--date {
  margin-top: 1rem;
}

.native-booking-actions--review > div {
  display: flex;
  gap: 0.65rem;
}

.native-booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
}

.native-field {
  min-width: 0;
}

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

.native-field label {
  display: block;
  margin-bottom: 0.44rem;
  color: #f8f7ff;
  font-size: 1.5rem;
  font-weight: 700;
}

.native-field label > span[aria-hidden="true"] {
  color: #f888a0;
}

.native-optional {
  color: #adaac5;
  font-size: 1.4rem;
  font-weight: 400;
}

.native-field input,
.native-field select {
  box-sizing: border-box;
  width: 100%;
  min-height: 4.4rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(95, 126, 191, 0.57);
  border-radius: 0.82rem;
  background: #080b2b;
  color: #fff;
  font: inherit;
  font-size: 1.6rem;
}

.native-field input:focus,
.native-field select:focus,
.native-date-button:focus-visible,
.native-time-button:focus-visible,
.native-more-dates:focus-visible,
.native-booking-retry:focus-visible,
.native-booking-actions button:focus-visible {
  outline: 3px solid rgba(20, 221, 230, 0.92);
  outline-offset: 3px;
}

.native-field input[aria-invalid="true"],
.native-field select[aria-invalid="true"] {
  border-color: #f18ba1;
}

.native-field-error {
  min-height: 1.12rem;
  margin: 0.32rem 0 0;
  color: #ffb5c2;
  font-size: 1.4rem;
}

.native-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.native-booking-review {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(89, 119, 184, 0.45);
  border-radius: 1rem;
}

.native-booking-review > div {
  min-height: 5.25rem;
  padding: 1rem 1.1rem;
  border-right: 1px solid rgba(89, 119, 184, 0.32);
  border-bottom: 1px solid rgba(89, 119, 184, 0.32);
}

.native-booking-review > div:nth-child(even) {
  border-right: 0;
}

.native-booking-review > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.native-booking-review dt {
  margin-bottom: 0.3rem;
  color: #8edce2;
  font-family: var(--font-mono, "Ubuntu Mono", monospace);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.native-booking-review dd {
  margin: 0;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.native-booking-assurance {
  margin: 1rem 0 0;
  color: #c7c6d9;
  font-size: 1.5rem;
  line-height: 1.6;
}

.native-booking-privacy {
  margin: 0.65rem 0 0;
  color: #aaa8c2;
  font-size: 1.4rem;
  line-height: 1.55;
}

.native-booking-privacy a {
  color: #70e7ed;
  text-underline-offset: 0.2em;
}

@media (max-width: 780px) {
  main section.schedule.mentoring-booking .native-booking-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .native-booking-panel-heading {
    align-items: start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .native-booking-panel-heading > p {
    max-width: none;
    text-align: left;
  }

  .native-date-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .native-booking-widget .booking-widget-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .native-booking-shell {
    padding: 1.15rem;
    border-radius: 1.2rem;
  }

  .native-booking-feedback {
    align-items: stretch;
    flex-direction: column;
  }

  .native-booking-retry {
    width: 100%;
    margin-bottom: 0.8rem;
  }

  .native-booking-steps li {
    min-width: 0;
  }

  main section.schedule.mentoring-booking .native-booking-steps li span:last-child {
    font-size: 1.3rem;
  }

  .native-date-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .native-booking-form,
  .native-booking-review {
    grid-template-columns: 1fr;
  }

  .native-booking-review > div,
  .native-booking-review > div:nth-child(even),
  .native-booking-review > div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(89, 119, 184, 0.32);
  }

  .native-booking-review > div:last-child {
    border-bottom: 0;
  }

  .native-booking-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .native-booking-actions > span {
    display: none;
  }

  .native-booking-actions .outline-link,
  .native-booking-actions .gradient-link,
  .native-booking-actions .native-more-dates {
    width: 100%;
    text-align: center;
  }

  .native-booking-actions--review > div {
    display: grid;
    gap: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .native-date-button,
  .native-time-button,
  .native-booking-steps li span:first-child {
    transition: none;
  }

  .native-booking-status.is-loading::before {
    animation: none;
  }
}
