/* Elite Drivers — home hero + booking module
   Store Theme (Office) overrides --sx-* / --ed-* via _Layout <style>. */
:root {
  --sx-primary: #0b3d2e;
  --sx-secondary: #5c6b64;
  --sx-accent: #c9a227;
  --sx-bg: #f7f4ef;
  --sx-text: #14201c;
  --sx-header: #072820;
  --sx-footer: #e8efeA;
  --sx-radius: 18px;
  --sx-font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --sx-line: rgba(11, 61, 46, 0.12);

  --ed-green: var(--sx-primary);
  --ed-green-deep: var(--sx-header);
  --ed-green-mid: var(--sx-primary);
  --ed-gold: var(--sx-accent);
  --ed-gold-soft: var(--sx-accent);
  --ed-cream: var(--sx-bg);
  --ed-surface: #ffffff;
  --ed-text: var(--sx-text);
  --ed-muted: var(--sx-secondary);
  --ed-line: var(--sx-line);
  --ed-radius: var(--sx-radius);
  --ed-shadow: 0 22px 48px rgba(7, 40, 32, 0.14);
  --ed-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ed-font: var(--sx-font);
  --ed-display: Georgia, "Times New Roman", serif;
}

.ed-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--ed-font);
}

.ed-site__body {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.ed-site__main {
  flex: 1 0 auto;
}

.ed-body-boost {
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(201, 162, 39, 0.14), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(20, 96, 71, 0.1), transparent 50%),
    var(--ed-cream);
}

.ed-hero--compact {
  min-height: 220px !important;
}

.ed-hero--compact .ed-hero__content {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* —— Hero —— */
.ed-hero {
  position: relative;
  min-height: min(72vh, 620px);
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: linear-gradient(145deg, var(--ed-green-deep) 0%, var(--ed-green) 48%, var(--ed-green-mid) 100%);
  color: #fff;
}

.ed-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ed-hero__media .unique-slider-container,
.ed-hero__media .unique-slider,
.ed-hero__media .unique-slide,
.ed-hero__media .ed-banner,
.ed-hero__media .ed-banner__track,
.ed-hero__media .ed-banner__slide.is-active {
  height: 100% !important;
  min-height: min(72vh, 620px);
}

/* Banner media only in hero — no text overlays on video/image */
.ed-hero__media .unique-slide-content,
.ed-hero__media .ed-banner__content {
  display: none;
}

.ed-banner--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: min(72vh, 620px);
  background: linear-gradient(145deg, var(--ed-green-deep) 0%, var(--ed-green) 48%, var(--ed-green-mid) 100%);
}

.ed-banner__empty-msg {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.ed-banner {
  position: relative;
  width: 100%;
  height: 100%;
  background: #111;
}

.ed-banner__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.ed-banner__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease-in-out;
}

.ed-banner__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

.ed-banner__media {
  position: absolute;
  inset: 0;
  display: block;
  background: #111;
}

.ed-banner__media--link {
  cursor: pointer;
}

.ed-banner__img,
.ed-banner__video,
.ed-banner__media--embed iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}

.ed-banner__media--embed iframe {
  position: absolute;
  inset: 0;
}

.ed-banner__content {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  pointer-events: none;
  color: #fff;
}

.ed-banner__content a {
  pointer-events: auto;
}

.ed-banner__nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.75rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  pointer-events: none;
}

.ed-banner__btn,
.ed-banner__dot {
  pointer-events: auto;
  border: 0;
  cursor: pointer;
}

.ed-banner__btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
}

.ed-banner__dots {
  display: flex;
  gap: 0.4rem;
}

.ed-banner__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  padding: 0;
}

.ed-banner__dot.is-active {
  background: #fff;
}

.ed-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(7, 40, 32, 0.92) 0%, rgba(7, 40, 32, 0.72) 42%, rgba(7, 40, 32, 0.35) 100%),
    linear-gradient(0deg, rgba(7, 40, 32, 0.55), transparent 45%);
  pointer-events: none;
}

.ed-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 3.5rem);
  animation: ed-rise 0.8s var(--ed-ease) both;
}

.ed-hero__brand {
  font-family: var(--ed-display);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 0.85rem;
  color: #fff;
}

.ed-hero__brand span {
  color: var(--ed-gold-soft);
}

.ed-hero__lead {
  margin: 0 0 1.5rem;
  max-width: 28rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.ed-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: var(--ed-gold);
  color: var(--ed-green-deep);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s var(--ed-ease), background 0.25s var(--ed-ease);
  width: fit-content;
}

.ed-hero__cta:hover {
  background: var(--ed-gold-soft);
  color: var(--ed-green-deep);
  transform: translateY(-2px);
}

@keyframes ed-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .ed-hero__content { animation: none; }
  .ed-hero__cta { transition: none; }
}

/* —— Booking shell —— */
.ed-booking-shell {
  position: relative;
  z-index: 3;
  margin: 1.75rem auto 3rem;
  max-width: 1100px;
  padding: 0 1rem;
  animation: ed-rise 0.9s var(--ed-ease) 0.08s both;
}

.ed-booking-panel {
  background: var(--ed-surface);
  border-radius: var(--ed-radius);
  box-shadow: var(--ed-shadow);
  border: 1px solid var(--ed-line);
  overflow: hidden;
}

.ed-tabs {
  display: flex;
  gap: 0.35rem;
  padding: 0.75rem;
  background: linear-gradient(180deg, #f0f5f2, #e7efeA);
  border-bottom: 1px solid var(--ed-line);
  list-style: none;
  margin: 0;
}

.ed-tabs .tab-item {
  flex: 1;
  text-align: center;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--ed-muted);
  background: transparent;
  border: 1px solid transparent;
  transition: background 0.2s var(--ed-ease), color 0.2s var(--ed-ease), box-shadow 0.2s var(--ed-ease);
  user-select: none;
}

.ed-tabs .tab-item:hover {
  color: var(--ed-green);
  background: rgba(255, 255, 255, 0.65);
}

.ed-tab-content.tab-content {
  border: none;
  padding: 1.25rem 1.35rem 1.5rem;
  background: transparent;
}

.ed-tabs .tab-item.active {
  background: var(--ed-green);
  color: var(--ed-gold-soft);
  box-shadow: 0 8px 18px rgba(11, 61, 46, 0.28);
}

.ed-tab-content {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.ed-tab-content .tab-panel {
  display: none;
}

.ed-tab-content .tab-panel.active {
  display: block;
  animation: ed-rise 0.45s var(--ed-ease) both;
}

/* —— Form —— */
.ed-booking-form .form-label,
.ed-booking-form .control-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--ed-muted);
}

.ed-booking-form .control-label.required::after,
.ed-booking-form .form-label.required::after {
  content: " *";
  color: #c0392b;
}

.ed-booking-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem 1.25rem;
  align-items: start;
  width: 100%;
}

.ed-booking-col-left,
.ed-booking-col-right {
  min-width: 0;
  width: 100%;
}

.ed-booking-datetime-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.ed-duration-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.ed-booking-form .form-control,
.ed-booking-form .form-select {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  border-color: var(--ed-line);
  min-height: 2.75rem;
  padding: 0.55rem 0.85rem;
}

.ed-booking-form .input-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
}

.ed-booking-form .input-group > .form-control {
  width: 1%;
  min-width: 0;
  flex: 1 1 auto;
}

.ed-booking-form .input-group > .input-group-text {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ed-booking-form .form-control:focus,
.ed-booking-form .form-select:focus {
  border-color: var(--ed-green-mid);
  box-shadow: 0 0 0 0.2rem rgba(20, 96, 71, 0.15);
}

.ed-booking-form__alerts {
  text-align: center;
}

.ed-booking-form__alerts .validation-summary-valid,
.ed-booking-form__alerts p:empty {
  display: none;
}

.ed-booking-form__alerts:has(.validation-summary-errors),
.ed-booking-form__alerts:has(p:not(:empty)) {
  margin-bottom: 0.75rem;
}

.ed-booking-form .form-group {
  margin-bottom: 0.7rem;
}

.ed-booking-form .form-group--last {
  margin-bottom: 0.15rem;
}

.ed-geo-field__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.35rem;
}

.ed-geo-field__head .control-label {
  display: inline-block;
  margin-bottom: 0;
}

.ed-captcha-check--inline {
  margin-top: 0.85rem;
  max-width: none;
  width: 100%;
}

.ed-booking-form .select2-container {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

.ed-booking-form .select2-container--default .select2-selection--single {
  min-height: 2.75rem;
  height: auto;
  border-radius: 12px;
  border-color: var(--ed-line);
  padding: 0.35rem 0.5rem;
}

.ed-booking-form .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 2rem;
  color: var(--ed-text);
  padding-right: 2.5rem;
  padding-left: 0.35rem;
}

.ed-booking-form .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 2.65rem;
  right: 0.35rem;
}

.ed-booking-form .select2-container--default .select2-selection--single .select2-selection__clear {
  margin-right: 1.35rem;
  font-size: 1rem;
  line-height: 2rem;
}

.ed-booking-form .input-group.datetime-picker .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.ed-booking-form .input-group.datetime-picker .input-group-text {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  background: #f0f5f2;
  color: var(--ed-green);
  border-color: var(--ed-line);
}

.ed-booking-actions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  padding-top: 0;
  width: 100%;
}

.ed-btn-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: min(100%, 280px);
  padding: 0.95rem 1.75rem;
  border: none;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--ed-green-mid), var(--ed-green));
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 30px rgba(11, 61, 46, 0.28);
  transition: transform 0.2s var(--ed-ease), filter 0.2s var(--ed-ease);
}

.ed-btn-book:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  color: #fff;
}

.ed-btn-book:disabled {
  opacity: 0.7;
  transform: none;
}

/* —— History —— */
.ed-history {
  min-height: 12rem;
}

.ed-history-page {
  margin-top: 1.25rem;
}

.ed-history-filters {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--ed-line);
  background: #f7faf8;
}

.ed-history-filters__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.ed-history-filters__input {
  flex: 1 1 14rem;
  min-width: 0;
}

.ed-history-filters__size {
  flex: 0 0 auto;
  width: 5.5rem;
}

.ed-history-filters__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--ed-line);
  background: #fff;
  color: var(--ed-green);
  font-weight: 650;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
}

.ed-history-filters__btn:hover {
  background: color-mix(in srgb, var(--ed-green) 8%, #fff);
  color: var(--ed-green);
  text-decoration: none;
}

.ed-history-filters__btn--primary {
  border-color: var(--ed-green);
  background: var(--ed-green);
  color: #fff;
}

.ed-history-filters__btn--primary:hover {
  background: var(--ed-green-deep);
  color: #fff;
}

.ed-history-filters__btn--ghost {
  border-color: color-mix(in srgb, var(--ed-green) 40%, #fff);
}

.ed-history-tab-tools {
  display: flex;
  justify-content: flex-end;
  padding: 0 0 0.75rem;
}

.ed-history-filters .form-control,
.ed-history-filters .form-select {
  border-radius: 10px;
  border-color: var(--ed-line);
  min-height: 2.45rem;
}

@media (max-width: 575.98px) {
  .ed-history-filters__size {
    width: 4.75rem;
  }
}

.ed-history-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--ed-muted);
  gap: 0.75rem;
}

.ed-history-empty h3 {
  font-family: var(--ed-display);
  color: var(--ed-green);
  margin: 0;
}

.ed-history-empty__text {
  margin: 0;
  max-width: 28rem;
  line-height: 1.5;
}

.ed-btn-ghost {
  position: relative;
  top: auto;
  transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--ed-green);
  color: var(--ed-green);
  background: #fff;
  font-weight: 650;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  z-index: auto;
}

.ed-btn-ghost:hover {
  background: var(--ed-green);
  color: var(--ed-gold-soft);
}

.ed-history-table-wrap {
  display: none;
  overflow-x: auto;
}

.ed-history-cards {
  display: grid;
  gap: 0.85rem;
}

.ed-history-card {
  border: 1px solid var(--ed-line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: #fbfcfb;
}

.ed-history-card__top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.55rem;
}

.ed-history-card__title {
  font-weight: 700;
  color: var(--ed-text);
  margin: 0;
}

.ed-history-card__meta {
  font-size: 0.88rem;
  color: var(--ed-muted);
  margin: 0.15rem 0;
}

.ed-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.ed-badge--ok { background: #d8f3e4; color: #146047; }
.ed-badge--warn { background: #fff3cd; color: #856404; }
.ed-badge--bad { background: #fde2e2; color: #a11; }

/* Override global body gold (--theme-font) for readable history lists */
body.ed-site .ed-history-page,
body.ed-site .ed-history,
body.ed-site .ed-history-root,
body.ed-site .ed-history-table,
body.ed-site .ed-history-table td,
body.ed-site .ed-history-card__title,
body.ed-site .ed-history-footer,
body.ed-site .ed-history-footer .text-muted,
body.ed-site .ed-booking-panel .ed-history {
  color: #1a1a1a !important;
}

.ed-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.ed-history-table th,
.ed-history-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--ed-line);
  text-align: left;
  vertical-align: middle;
}

body.ed-site .ed-history-table th {
  background: #f0f5f2;
  color: #4a5560 !important;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.ed-site .ed-history-card__meta {
  color: #4a5560 !important;
}

.ed-history-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.ed-history-table .ed-history-card__actions {
  margin-top: 0;
}

.ed-history-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #d5ddd8;
  background: #fff;
  color: #1a1a1a;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
}

.ed-history-action:hover {
  border-color: var(--ed-green);
  color: var(--ed-green);
}

.ed-history-action--chat {
  border-color: color-mix(in srgb, var(--ed-green) 45%, #fff);
  background: color-mix(in srgb, var(--ed-green) 8%, #fff);
  color: var(--ed-green);
}

.ed-history-action.has-unread {
  position: relative;
  border-color: #c9a227;
}

.ed-history-unread {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  margin-left: 0.3rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: #c0392b;
  color: #fff !important;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.ed-modal-open {
  overflow: hidden;
}

.ed-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.ed-modal[hidden] {
  display: none !important;
}

.ed-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 16, 0.45);
}

.ed-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(34rem, 100%);
  max-height: min(86vh, 40rem);
  overflow: hidden;
  background: #fff;
  color: #1a1a1a;
  border-radius: 14px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
  padding: 1.1rem 1.15rem 1rem;
}

.ed-modal__head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  flex: 0 0 auto;
  margin-bottom: 0.75rem;
}

.ed-modal__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
}

.ed-modal__sub {
  margin: 0.25rem 0 0;
  color: #4a5560;
  font-size: 0.88rem;
}

.ed-modal__close {
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  color: #4a5560;
  cursor: pointer;
}

.ed-timeline {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0.35rem 0.35rem 0;
  flex: 1 1 auto;
  min-height: 10rem;
  max-height: min(50vh, 22rem);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  border: 1px solid #e6ebe8;
  border-radius: 10px;
  background: #f7faf8;
}

.ed-timeline__item,
.ed-timeline li {
  position: relative;
  display: flex;
  margin: 0.55rem 0.65rem;
  color: #1a1a1a;
}

.ed-timeline__item.is-you {
  justify-content: flex-end;
}

.ed-timeline__item.is-office,
.ed-timeline__item.is-status {
  justify-content: flex-start;
}

.ed-timeline__bubble {
  max-width: min(88%, 22rem);
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e1e8e4;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.ed-timeline__item.is-you .ed-timeline__bubble {
  background: color-mix(in srgb, var(--ed-green) 10%, #fff);
  border-color: color-mix(in srgb, var(--ed-green) 28%, #fff);
}

.ed-timeline__item.is-office .ed-timeline__bubble {
  background: #eef6f2;
  border-color: #cfe0d7;
}

.ed-timeline__item.is-status .ed-timeline__bubble {
  background: #fff9eb;
  border-color: #f0e2b8;
}

.ed-timeline__who {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a1a1a;
}

.ed-timeline__item.is-you .ed-timeline__who {
  color: var(--ed-green);
  text-align: right;
}

.ed-timeline__item.is-office .ed-timeline__who {
  color: #0f6b4c;
}

.ed-timeline__item.is-status .ed-timeline__who {
  color: #8a6a12;
}

.ed-timeline__when {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.ed-timeline__item.is-you .ed-timeline__when,
.ed-timeline__item.is-you .ed-timeline__note {
  text-align: right;
}

.ed-timeline__note {
  margin-top: 0.28rem;
  font-size: 0.9rem;
  color: #1a1a1a;
  line-height: 1.35;
  word-break: break-word;
}

.ed-timeline__empty {
  color: #6b7280;
  list-style: none;
  margin: 0.85rem !important;
  padding: 0.25rem;
}

.ed-timeline__hint {
  flex: 0 0 auto;
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  color: #6b7280;
}

.ed-timeline-compose {
  flex: 0 0 auto;
  margin-top: 0.65rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e6ebe8;
}

.ed-timeline-compose .form-control {
  margin-bottom: 0.55rem;
  color: #1a1a1a;
}

.ed-timeline-compose__quota {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.ed-timeline-compose__quota.is-blocked {
  color: #a11;
}

.ed-timeline-compose__status {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  color: #146047;
}

.ed-timeline-compose__status.is-error {
  color: #a11;
}

.ed-timeline-compose.is-blocked .form-control {
  background: #f3f4f6;
  cursor: not-allowed;
}

.ed-timeline-compose.is-blocked [data-ed-timeline-send-btn] {
  opacity: 0.55;
  pointer-events: none;
}

.ed-history-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ed-line);
}

.ed-history-footer .pagination {
  margin: 0;
}

.ed-history-footer .page-link {
  color: var(--ed-green);
  border-radius: 8px;
  margin: 0 0.1rem;
}

.ed-history-footer .page-item.active .page-link {
  background: var(--ed-green);
  border-color: var(--ed-green);
  color: #fff;
}

@media (min-width: 768px) {
  .ed-history-cards { display: none; }
  .ed-history-table-wrap { display: block; }
}

@media (max-width: 767.98px) {
  .ed-booking-shell { margin-top: 1.25rem; }
  .ed-tabs .tab-item { font-size: 0.88rem; padding: 0.75rem 0.5rem; }

  /* Full banner/video visible — no tall crop with letterbox bands */
  .ed-hero {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .ed-hero__media,
  .ed-hero__media .unique-slider-container,
  .ed-hero__media .unique-slider,
  .ed-hero__media .unique-slide,
  .ed-hero__media .ed-banner,
  .ed-hero__media .ed-banner__track,
  .ed-hero__media .ed-banner__slide.is-active,
  .ed-banner--empty {
    position: absolute;
    inset: 0;
    min-height: 0 !important;
    height: 100% !important;
    max-height: none !important;
  }

  .ed-banner__img,
  .ed-banner__video,
  .ed-banner__media--embed iframe {
    object-fit: contain;
    object-position: center;
    background: #111;
  }

  .ed-tab-content,
  .ed-tab-content.tab-content {
    padding: 0.85rem 0.85rem 1.1rem;
  }

  .ed-booking-form__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ed-booking-col-left,
  .ed-booking-col-right,
  .ed-captcha-check--inline {
    width: 100%;
    max-width: 100%;
  }

  .ed-booking-col-left { order: 1; }
  .ed-booking-col-right { order: 2; }
  .ed-captcha-check--inline {
    order: 3;
    margin-top: 1rem;
  }

  .ed-booking-datetime-row {
    grid-template-columns: 1fr;
  }

  .ed-booking-form .form-select,
  .ed-booking-form .select2-container,
  .ed-booking-form .input-group {
    width: 100% !important;
    max-width: 100% !important;
  }

  .ed-booking-form .input-group > .form-control {
    width: 1% !important;
    max-width: none !important;
    flex: 1 1 auto !important;
  }

  .ed-booking-form .input-group > .input-group-text {
    flex: 0 0 auto !important;
    width: auto !important;
  }

  .ed-booking-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-right: 2.75rem;
  }

  .ed-btn-book {
    min-width: 100%;
  }
}

@media (min-width: 768px) {
  .ed-booking-datetime-row {
    grid-template-columns: 1.2fr 1fr;
    gap: 0.65rem;
  }
}

@media (min-width: 992px) {
  .ed-booking-form__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "left right"
      "captcha right";
    column-gap: 1.35rem;
    row-gap: 0.55rem;
  }

  .ed-booking-col-left { grid-area: left; }
  .ed-booking-col-right { grid-area: right; }
  .ed-captcha-check--inline {
    grid-area: captcha;
    margin-top: 0;
    align-self: start;
  }
}

/* —— Top nav (premium green / gold) —— */
.navbar.ed-nav {
  --ed-nav-h: 3.6rem;
  position: sticky;
  top: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--ed-green) 92%, #fff) 0%, var(--ed-green-deep) 100%) !important;
  backdrop-filter: blur(12px);
  border-bottom: none !important;
  box-shadow:
    0 1px 0 rgba(201, 162, 39, 0.55),
    0 12px 28px rgba(7, 40, 32, 0.28);
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  z-index: 1030;
}

.navbar.ed-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--ed-gold) 35%, var(--ed-gold-soft) 50%, var(--ed-gold) 65%, transparent 100%);
  pointer-events: none;
}

.ed-nav__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  min-height: var(--ed-nav-h);
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem 0.5rem;
  gap: 0.5rem;
}

.ed-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: 1rem;
  text-decoration: none;
}

.ed-nav__logo,
.navbar.ed-nav .menu-logo {
  width: auto !important;
  height: 2.35rem;
  max-width: 132px;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.ed-nav__wordmark {
  font-family: var(--ed-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f4f7f5;
  line-height: 1.1;
  white-space: nowrap;
}

.ed-nav__wordmark em {
  font-style: normal;
  color: var(--ed-gold-soft);
}

.ed-nav__mobile-actions {
  margin-left: auto;
}

.ed-nav__toggler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(201, 162, 39, 0.55);
  border-radius: 10px;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
}

.ed-nav__toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(201, 162, 39, 0.25);
}

.ed-nav__toggler .navbar-toggler-icon {
  display: none;
}

.ed-nav__toggler-open,
.ed-nav__toggler-close {
  display: none;
  color: #fff;
}

.ed-nav__toggler[aria-expanded="false"] .ed-nav__toggler-open,
.ed-nav__toggler:not([aria-expanded="true"]) .ed-nav__toggler-open {
  display: inline-block;
}

.ed-nav__toggler[aria-expanded="true"] .ed-nav__toggler-close {
  display: inline-block;
}

.ed-nav__toggler[aria-expanded="true"] .ed-nav__toggler-open {
  display: none;
}

.ed-nav__links {
  gap: 0.15rem;
  padding: 0.65rem 0;
}

/* Beat site.css .nav-item { 20px/24px !important } */
.navbar.ed-nav .nav-item,
.navbar.ed-nav .ed-nav__links .nav-item,
.navbar.ed-nav .nav-link,
.navbar.ed-nav .ed-nav__link,
.navbar.ed-nav .ed-nav__cta,
.navbar.ed-nav .ed-nav__signin {
  font-size: 0.875rem !important;
  line-height: 1.25;
}

.navbar.ed-nav .ed-nav__links .nav-item {
  padding: 0;
}

.navbar.ed-nav .ed-nav__links .nav-item::after {
  display: none !important;
  content: none !important;
}

.navbar.ed-nav .ed-nav__link {
  position: relative;
  color: rgba(244, 247, 245, 0.88) !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.55rem 0.85rem !important;
  border-radius: 999px;
  transition: color 0.2s var(--ed-ease), background 0.2s var(--ed-ease);
}

.navbar.ed-nav .ed-nav__link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--ed-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s var(--ed-ease);
}

.navbar.ed-nav .ed-nav__link:hover,
.navbar.ed-nav .ed-nav__link:focus {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}

.navbar.ed-nav .ed-nav__link:hover::after,
.navbar.ed-nav .ed-nav__link:focus::after,
.navbar.ed-nav .ed-nav__link.is-active::after {
  transform: scaleX(1);
}

.navbar.ed-nav .ed-nav__link.is-active {
  color: var(--ed-gold-soft) !important;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

.ed-nav__end {
  gap: 0.45rem;
  order: 2;
}

.ed-nav__inner .navbar-collapse {
  order: 3;
}

@media (min-width: 992px) {
  .ed-nav__end {
    order: 3;
    margin-left: 0.65rem !important;
  }

  .ed-nav__inner .navbar-collapse {
    order: 2;
    flex-grow: 1;
  }
}

.ed-nav__bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  color: rgba(244, 247, 245, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-decoration: none;
  transition: background 0.2s var(--ed-ease), color 0.2s var(--ed-ease);
}

.ed-nav__bell:hover,
.ed-nav__bell:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.ed-nav__bell .bi-bell {
  font-size: 1.15rem;
  line-height: 1;
}

.ed-nav__bell.has-unread {
  color: var(--ed-gold-soft);
  border-color: color-mix(in srgb, var(--ed-gold-soft) 55%, transparent);
}

.ed-nav__bell.has-unread .bi-bell {
  animation: ed-bell-pulse 1.6s ease-in-out infinite;
}

.ed-nav__badge {
  position: absolute;
  top: -0.2rem;
  right: -0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: #c0392b;
  color: #fff !important;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  border: 2px solid var(--ed-green-deep, #06402B);
}

.ed-nav__badge[hidden] {
  display: none !important;
}

@keyframes ed-bell-pulse {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(-12deg); }
  30% { transform: rotate(10deg); }
  45% { transform: rotate(-6deg); }
  60% { transform: rotate(0deg); }
}

.navbar.ed-nav .ed-nav__cta.is-active {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35), 0 8px 18px rgba(0, 0, 0, 0.22);
  filter: brightness(1.06);
}

.navbar.ed-nav .ed-nav__signin.is-active {
  background: rgba(201, 162, 39, 0.22);
  color: #fff !important;
}

.ed-nav__cta-item {
  margin-left: 0.35rem;
}

.ed-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--ed-gold-soft), var(--ed-gold));
  color: var(--ed-green-deep) !important;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s var(--ed-ease), filter 0.2s var(--ed-ease);
  white-space: nowrap;
}

.ed-nav__cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  color: var(--ed-green-deep) !important;
}

.ed-nav__auth-item {
  margin-left: 0.25rem;
}

.ed-nav__signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(228, 199, 106, 0.65);
  color: var(--ed-gold-soft) !important;
  font-weight: 650;
  text-decoration: none;
  transition: background 0.2s var(--ed-ease), color 0.2s var(--ed-ease);
  white-space: nowrap;
}

.ed-nav__signin:hover {
  background: rgba(201, 162, 39, 0.18);
  color: #fff !important;
}

.navbar.ed-nav .avatar-circle {
  background: linear-gradient(145deg, var(--ed-gold), #a8841a);
  color: var(--ed-green-deep);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

@media (max-width: 991.98px) {
  .ed-nav__wordmark {
    font-size: 0.98rem;
  }

  .ed-nav__links {
    gap: 0.2rem;
    padding: 0.85rem 0 1rem;
  }

  .navbar.ed-nav .ed-nav__link {
    padding: 0.7rem 0.85rem !important;
  }

  .navbar.ed-nav .ed-nav__link::after {
    display: none;
  }

  .ed-nav__cta-item,
  .ed-nav__auth-item {
    margin: 0.35rem 0 0;
  }

  .ed-nav__cta,
  .ed-nav__signin {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .ed-nav__wordmark {
    display: none;
  }
}

/* —— Footer (ECommerce-aligned) —— */
.ed-footer {
  background: var(--sx-footer, #e8efeA);
  color: var(--ed-text);
  border-top: 1px solid color-mix(in srgb, var(--ed-line) 80%, #bbb);
  margin-top: auto;
}

.ed-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.75rem 1.25rem 2rem;
  display: grid;
  gap: 1.75rem;
}

.ed-footer__brand {
  display: grid;
  gap: 0.35rem;
}

.ed-footer__mark {
  margin: 0;
  font-family: var(--ed-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ed-green);
  letter-spacing: -0.02em;
}

.ed-footer__tagline {
  margin: 0;
  max-width: 36ch;
  color: var(--ed-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.ed-footer__connect {
  display: grid;
  gap: 0.65rem;
}

.ed-footer__connect-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ed-connect-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.65rem 1rem 0.65rem 0.7rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--ed-line) 85%, #ccc);
  box-shadow: 0 8px 18px rgba(11, 61, 46, 0.06);
  color: var(--ed-text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
  transition: transform 0.18s var(--ed-ease), box-shadow 0.18s var(--ed-ease);
}

.ed-connect-chip:hover {
  color: var(--ed-text);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(11, 61, 46, 0.1);
}

.ed-connect-chip__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  flex-shrink: 0;
  font-size: 1.05rem;
  color: #fff;
  background: var(--ed-green);
}

.ed-connect-chip--email .ed-connect-chip__ico {
  background: color-mix(in srgb, var(--ed-gold) 82%, #8a6a12);
  color: var(--ed-green-deep);
}

.ed-connect-chip--phone .ed-connect-chip__ico {
  background: #2b2f33;
  color: #fff;
}

.ed-connect-chip--whatsapp .ed-connect-chip__ico {
  background: #25d366;
  color: #fff;
}

.ed-connect-chip--facebook .ed-connect-chip__ico { background: #1877f2; }
.ed-connect-chip--instagram .ed-connect-chip__ico { background: #c13584; }
.ed-connect-chip--youtube .ed-connect-chip__ico { background: #ff0000; }
.ed-connect-chip--twitter .ed-connect-chip__ico { background: #0f1419; }
.ed-connect-chip--linkedin .ed-connect-chip__ico { background: #0a66c2; }

.ed-footer__nav {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ed-footer__col {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.ed-footer__heading {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ed-muted);
  font-weight: 700;
}

.ed-footer__col a {
  color: var(--ed-text);
  opacity: 0.88;
  font-size: 0.95rem;
  text-decoration: none;
  width: fit-content;
}

.ed-footer__col a:hover {
  opacity: 1;
  color: var(--ed-gold);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.ed-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid color-mix(in srgb, var(--ed-line) 70%, #bbb);
}

.ed-footer__copy,
.ed-footer__credit {
  margin: 0;
  color: var(--ed-muted);
  font-size: 0.88rem;
}

.ed-footer__credit {
  margin-left: auto;
}

.ed-footer__credit a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.ed-footer__credit a:hover {
  color: var(--ed-gold);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.ed-legal__title {
  font-family: var(--ed-display);
  color: var(--ed-green);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.75rem;
}

.ed-legal__lead {
  max-width: 52ch;
  margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
  .ed-footer__nav {
    grid-template-columns: 1fr;
  }

  .ed-footer__credit {
    margin-left: 0;
  }
}

/* —— Auth (Sign in / Create account) —— */
.ed-auth {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.ed-auth__hero {
  text-align: center;
  padding: 1.25rem 0.5rem 1.75rem;
  animation: ed-rise 0.7s var(--ed-ease) both;
}

.ed-auth__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ed-muted);
}

.ed-auth__title {
  margin: 0 0 0.55rem;
  font-family: var(--ed-display);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ed-green);
  line-height: 1.1;
}

.ed-auth__title span {
  color: var(--ed-gold);
}

.ed-auth__lead {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--ed-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.ed-auth__panel {
  background: var(--ed-surface);
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  box-shadow: var(--ed-shadow);
  padding: clamp(1.35rem, 3vw, 2.25rem);
  animation: ed-rise 0.85s var(--ed-ease) 0.06s both;
}

.ed-auth__panel--narrow {
  max-width: 440px;
  margin: 0 auto;
}

.ed-auth__section {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ed-muted);
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--ed-line);
}

.ed-auth__field {
  margin-bottom: 1rem;
}

.ed-auth__field .form-label,
.ed-auth__field .control-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--ed-text);
}

.ed-auth__form .form-control,
.ed-auth__form .form-select {
  border-radius: 12px;
  border-color: var(--ed-line);
  padding: 0.7rem 0.9rem;
  color: var(--ed-text);
  background: #fbfcfb;
  min-height: 2.75rem;
}

.ed-auth__form .form-control:focus,
.ed-auth__form .form-select:focus {
  border-color: color-mix(in srgb, var(--ed-green) 55%, #fff);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--ed-gold) 28%, transparent);
}

.ed-auth__form .select2-container {
  width: 100% !important;
}

.ed-auth__form .select2-container--default .select2-selection--single {
  min-height: 2.75rem;
  border-radius: 12px;
  border-color: var(--ed-line);
  background: #fbfcfb;
  padding: 0.35rem 0.5rem;
}

.ed-auth__form .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 2rem;
  color: var(--ed-text);
}

.ed-auth__form .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 2.65rem;
}

.ed-auth__google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--ed-line);
  background: #fff;
  color: var(--ed-text);
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(7, 40, 32, 0.06);
  transition: border-color 0.2s var(--ed-ease), transform 0.2s var(--ed-ease);
}

.ed-auth__google:hover {
  border-color: color-mix(in srgb, var(--ed-green) 35%, #ccc);
  color: var(--ed-green);
  transform: translateY(-1px);
}

.ed-auth__divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: var(--ed-muted);
  font-size: 0.8rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ed-auth__divider::before,
.ed-auth__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ed-line);
}

.ed-auth__otp-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}

.ed-auth__actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.ed-auth__actions--split {
  grid-template-columns: 1fr;
  justify-items: stretch;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 576px) {
  .ed-auth__actions--split {
    grid-template-columns: 1fr 1fr;
    max-width: none;
  }
}

.ed-auth__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ed-ease), filter 0.2s var(--ed-ease), background 0.2s var(--ed-ease);
}

.ed-auth__btn:hover {
  transform: translateY(-1px);
}

.ed-auth__btn--primary {
  background: linear-gradient(180deg, color-mix(in srgb, var(--ed-green) 88%, #fff), var(--ed-green-deep));
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(7, 40, 32, 0.22);
}

.ed-auth__btn--primary:hover {
  filter: brightness(1.05);
  color: #fff !important;
}

.ed-auth__btn--accent {
  background: linear-gradient(180deg, var(--ed-gold-soft), var(--ed-gold));
  color: var(--ed-green-deep) !important;
  box-shadow: 0 10px 20px rgba(201, 162, 39, 0.28);
}

.ed-auth__btn--accent:hover {
  color: var(--ed-green-deep) !important;
  filter: brightness(1.04);
}

.ed-auth__btn--ghost {
  background: transparent;
  border-color: var(--ed-green);
  color: var(--ed-green) !important;
}

.ed-auth__btn--ghost:hover {
  background: color-mix(in srgb, var(--ed-green) 8%, #fff);
  color: var(--ed-green) !important;
}

.ed-auth__alert {
  margin-bottom: 1rem;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
}

.ed-auth__alert--ok {
  background: #d8f3e4;
  color: #146047;
  border: 1px solid color-mix(in srgb, #146047 25%, #fff);
}

.ed-auth__alert--err {
  background: #fde2e2;
  color: #a11;
  border: 1px solid color-mix(in srgb, #a11 22%, #fff);
}

.ed-auth__phone-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.5rem;
}

.ed-auth__otp-fallback {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  color: var(--ed-green);
}

.ed-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.ed-captcha-check {
  margin: 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--ed-line);
  border-radius: 10px;
  background: #fff;
  max-width: 28rem;
}

.ed-captcha-check--error {
  border-color: #c62828;
  background: #fff5f5;
}

.ed-captcha-check__label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-weight: 650;
  color: var(--ed-text);
  cursor: pointer;
  user-select: none;
}

.ed-captcha-check__label input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--ed-green);
  cursor: pointer;
  flex-shrink: 0;
}

.ed-captcha-check__status {
  margin: 0.35rem 0 0 1.75rem;
  font-size: 0.85rem;
  color: var(--ed-muted);
  line-height: 1.35;
}

.ed-captcha-check__status.is-ok {
  color: #1a7f37;
  font-weight: 600;
}

.ed-captcha-check__status.is-error {
  color: #a11;
  font-weight: 600;
}

.ed-geo-btn {
  position: relative;
  top: auto;
  transform: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--ed-green) 35%, #fff);
  background: color-mix(in srgb, var(--ed-green) 8%, #fff);
  color: var(--ed-green);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  z-index: auto;
  flex-shrink: 0;
}

.ed-geo-btn:hover:not(:disabled) {
  background: color-mix(in srgb, var(--ed-green) 14%, #fff);
}

.ed-geo-btn:disabled,
.ed-geo-btn.is-loading {
  opacity: 0.7;
  cursor: wait;
}

.ed-geo-status {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--ed-muted);
}

.ed-geo-status--error {
  color: #a11;
}

.ed-geo-map-link {
  color: var(--ed-green);
  font-weight: 650;
}
