/* ============================================================
   EAS — The Lounge Form
   v1.0 | Sub Agent 4, Task 2
   Split-screen: 40% Journey Canvas / 60% form
   ============================================================ */

/* ── Reset & container ──────────────────────────────────────── */

#eas-lounge *,
#eas-lounge *::before,
#eas-lounge *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* FIX 1 — Kill Elementor container top-gap on /begin/ (page ID 18429) */
body.page-id-18429 {
  margin: 0 !important;
  padding: 0 !important;
}

body.page-id-18429 .e-con,
body.page-id-18429 .e-con-inner {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#eas-lounge {
  display: flex;
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  position: relative;
  top: 0;
  left: 0;
  font-family: 'Jost', sans-serif;
  color: #1A1A1A;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* ── LEFT PANEL — Journey Canvas ────────────────────────────── */

.eas-lounge-panel {
  position: sticky;
  top: 0;
  left: 0;
  width: 40%;
  min-height: 100vh;
  background-color: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 36px;
  transition: background-image 0.5s ease;
  flex-shrink: 0;
}

.eas-lounge-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,8,5,0.72) 0%,
    rgba(10,8,5,0.45) 50%,
    rgba(10,8,5,0.68) 100%
  );
  z-index: 0;
}

.eas-lounge-panel > * {
  position: relative;
  z-index: 1;
}

/* FIX 7 — Logo absolute position on left panel */
.eas-lounge-panel-brand,
.eas-lounge-logo {
  position: absolute !important;
  top: 32px !important;
  left: 32px !important;
  z-index: 20 !important;
}

.eas-lounge-panel-brand img {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

/* FIX 3 — Left panel journey summary */
.eas-lounge-summary,
.eas-journey-summary {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 10;
  color: #E8E0D0;
  font-size: 13px;
  width: calc(100% - 80px);
  max-width: 300px;
}

/* Journey Canvas */
.eas-lounge-canvas {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 0;
}

.eas-canvas-label {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  color: rgba(200, 191, 168, 0.7);
  margin-bottom: 16px;
}

.eas-canvas-empty p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-style: italic;
  color: rgba(200, 191, 168, 0.5);
  line-height: 1.6;
}

.eas-canvas-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eas-canvas-list li {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: #C8BFA8;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  animation: canvasItemIn 0.4s ease both;
}

.eas-canvas-list li::before {
  content: '·';
  color: #C8A96E;
  font-size: 18px;
  line-height: 1.2;
  flex-shrink: 0;
}

.eas-canvas-list .eas-canvas-value {
  color: #FFFFFF;
  font-weight: 600;
}

@keyframes canvasItemIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.eas-lounge-panel-tagline {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(200, 191, 168, 0.5);
  display: flex;
  gap: 10px;
}

.eas-panel-divider {
  color: #C8A96E;
}


/* ── RIGHT PANEL — Form ─────────────────────────────────────── */

.eas-lounge-form-wrap {
  flex: 1;
  background: #0A0A0A;
  color: #E8E0D0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  margin-top: 0;
  padding: 60px 48px 40px 48px !important;
}

/* Progress bar */
.eas-lounge-progress {
  display: flex;
  gap: 8px;
  padding: 32px 48px 0;
  justify-content: center;
  align-items: center;
}

.eas-progress-pip {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  background: #D0CAC0;
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.2s ease;
}

.eas-progress-pip.active {
  background: #C8A96E;
  transform: scale(1.4);
}

.eas-progress-pip.done {
  background: #C8A96E;
}


/* Steps */
.eas-lounge-steps {
  flex: 1;
  position: relative;
}

.eas-step {
  display: none;
  flex-direction: column;
  gap: 28px;
  padding: 48px 48px 40px;
  border: none;
  animation: stepIn 0.35s ease both;
}

.eas-step.eas-step--active {
  display: flex !important; /* overrides inline style="display:none;" on steps 2–7 */
}

@keyframes stepIn {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes stepBack {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}

.eas-step.eas-step--back {
  animation: stepBack 0.35s ease both;
}

.eas-step-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.eas-step-num {
  font-size: 11px;
  letter-spacing: 2px;
  color: #C8A96E;
  font-weight: 500;
}

.eas-step-num em {
  font-style: normal;
  color: #B0AA9E;
}

/* FIX 2 — Heading visibility on dark background */
.eas-step-header h1,
.eas-step-header h2,
[class*="eas-step"] h1,
[class*="eas-step"] h2 {
  color: #F0E8D8 !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-shadow: none !important;
}

.eas-step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 300;
  line-height: 1.15;
  color: #F0E8D8 !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-shadow: none !important;
}

.eas-step-sub {
  font-size: 15px;
  color: #6B6560;
  line-height: 1.7;
  max-width: 480px;
}


/* Fields */
.eas-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eas-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.eas-field-group label {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 500;
  color: #6B6560;
  text-transform: uppercase;
}

.eas-optional {
  color: #B0AA9E;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.eas-field-group input,
.eas-field-group textarea,
.eas-field-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #E0DDD5;
  background: #FFFFFF;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  color: #1A1A1A;
  border-radius: 2px;
  transition: border-color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.eas-field-group input:focus,
.eas-field-group textarea:focus,
.eas-field-group select:focus {
  outline: none;
  border-color: #C8A96E;
}

.eas-field-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.7;
}

select {
  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' stroke='%23C8A96E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}


/* Cards */
.eas-card-grid,
.eas-cards-grid,
.eas-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px !important;
  padding: 0 0 24px 0 !important;
}

.eas-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px !important;
  border: 1px solid #3A3A3A !important;
  background: transparent !important;
  border-radius: 2px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
  color: #E8E0D0 !important;
  margin-bottom: 8px !important;
}

.eas-card:hover {
  border-color: #C8A96E;
  background: #1A1A14;
}

.eas-card.selected,
.eas-card--selected,
.eas-card[aria-selected="true"],
.eas-option.selected,
.eas-option--selected {
  border: 2px solid #C8A96E !important;
  background-color: #1A1A14 !important;
  color: #F0E8D8 !important;
}

.eas-card.selected .eas-card-label,
.eas-card--selected .eas-card-label {
  color: #C8A96E !important;
}

.eas-card-label,
.eas-option-title {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #E8E0D0 !important;
}

.eas-card-sub,
.eas-option-subtitle {
  font-size: 12px;
  color: #9A9080 !important;
  line-height: 1.5;
}

.eas-card--sm {
  padding: 14px 16px;
}

/* ── Option cards (alias for .eas-card dark theme) ──────────── */
.eas-option {
  background: transparent;
  border: 1px solid #3A3A3A;
  color: #E8E0D0;
}

.eas-option:hover,
.eas-option.selected,
.eas-option--selected {
  background: #1A1A14;
  border-color: #C8A96E;
  color: #F0E8D8;
}

.eas-option-title {
  color: #E8E0D0;
}

.eas-option-subtitle {
  color: #9A9080;
}

/* Duration + party size grids */
.eas-duration-grid,
.eas-party-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* Accommodation grid */
.eas-accommodation-grid {
  grid-template-columns: 1fr;
}

/* Honeymoon highlight card */
.eas-honeymoon-highlight {
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

body.eas-honeymoon .eas-honeymoon-highlight {
  border-color: #D4A574;
  background: #FEF6ED;
  box-shadow: 0 0 0 1px #D4A574;
}

body.eas-honeymoon .eas-card.selected {
  border-color: #D4A574;
  background: #FEF0E0;
}

body.eas-honeymoon .eas-card:hover {
  border-color: #D4A574;
}


/* Migration guidance */
.eas-migration-guidance {
  background: #141414;
  border-radius: 2px;
  padding: 24px;
  animation: stepIn 0.3s ease both;
}

.eas-migration-title {
  display: block;
  font-size: 10px;
  letter-spacing: 2.5px;
  color: #C8A96E;
  margin-bottom: 16px;
}

.eas-migration-seasons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eas-migration-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.eas-mig-period {
  font-size: 11px;
  font-weight: 500;
  color: #C8BFA8;
  white-space: nowrap;
  min-width: 72px;
  padding-top: 1px;
}

.eas-mig-detail {
  font-size: 13px;
  color: #8A8480;
  line-height: 1.5;
}

.eas-mig-peak .eas-mig-period {
  color: #C8A96E;
}

.eas-mig-peak .eas-mig-detail {
  color: #C8BFA8;
}

.eas-migration-note {
  margin-top: 14px;
  font-size: 12px;
  color: #6B6560;
  font-style: italic;
}


/* Step actions */
.eas-step-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 8px;
}

/* FIX 6 — Continue/Back button dark theme */
.eas-btn-next,
.eas-btn-submit,
.eas-btn-primary,
button[type="submit"],
.eas-step-actions button {
  padding: 14px 32px !important;
  background: #1A1A14 !important;
  color: #E8E0D0 !important;
  border: 1px solid #C8A96E !important;
  font-family: 'Jost', sans-serif;
  font-size: 11px !important;
  font-weight: 500;
  letter-spacing: 2px !important;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 1px;
  transition: background 0.2s ease, color 0.2s ease;
  position: relative;
}

.eas-btn-next:hover,
.eas-btn-submit:hover {
  background: #C8A96E;
}

.eas-btn-next:disabled,
.eas-btn-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.eas-btn-back {
  padding: 16px 24px;
  background: transparent;
  color: #8A8480;
  border: 1px solid #E0DDD5;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 1px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.eas-btn-back:hover {
  border-color: #8A8480;
  color: #1A1A1A;
}

body.eas-honeymoon .eas-btn-next,
body.eas-honeymoon .eas-btn-submit {
  background: #C8803A;
}

body.eas-honeymoon .eas-btn-next:hover,
body.eas-honeymoon .eas-btn-submit:hover {
  background: #D4A574;
}

.eas-submit-loading { display: none; }
.eas-btn-submit.loading .eas-submit-label { display: none; }
.eas-btn-submit.loading .eas-submit-loading { display: inline; }


/* Social proof */
.eas-social-proof {
  border-left: 2px solid #C8A96E;
  padding: 16px 20px;
  background: #FEFDF8;
}

.eas-review-quote p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 14px;
  color: #3A3530;
  line-height: 1.8;
  margin-bottom: 10px;
}

.eas-review-quote cite {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #8A8480;
  font-style: normal;
}

/* Trust row */
.eas-trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 4px;
}

.eas-tato-badge {
  opacity: 0.7;
  filter: grayscale(1);
  object-fit: contain;
  height: 80px;
  width: auto;
  max-width: none;
  display: block;
  flex-shrink: 0;
}

.eas-trust-text {
  font-size: 11px;
  color: #B0AA9E;
  letter-spacing: 0.5px;
}

/* Privacy note */
.eas-form-privacy {
  font-size: 11px;
  color: #B0AA9E;
  margin-top: 6px;
}


/* ── SUCCESS STATE ───────────────────────────────────────────── */

.eas-lounge-success {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 60px 48px;
}

.eas-success-inner {
  max-width: 440px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.eas-success-icon {
  width: 56px;
  height: 56px;
  border: 1.5px solid #C8A96E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #C8A96E;
}

.eas-success-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 300;
  color: #1A1A1A;
}

.eas-success-sub {
  font-size: 15px;
  color: #6B6560;
  line-height: 1.7;
}

.eas-success-home {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #C8A96E;
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 169, 110, 0.3);
  padding-bottom: 2px;
}


/* ── EXIT INTENT OVERLAY ─────────────────────────────────────── */

.eas-exit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 5, 0.82);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: overlayIn 0.3s ease both;
}

@keyframes overlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.eas-exit-inner {
  background: #0A0A0A;
  border: 1px solid #2A2A2A;
  color: #E8E0D0;
  max-width: 480px;
  width: 100%;
  padding: 48px;
  border-radius: 2px;
  position: relative;
  animation: stepIn 0.35s ease both;
}

.eas-exit-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #8A8480;
  line-height: 1;
}

.eas-exit-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: #C8A96E;
  margin-bottom: 16px;
}

.eas-exit-copy {
  font-size: 15px;
  color: #E8E0D0;
  line-height: 1.7;
  margin-bottom: 28px;
}

.eas-exit-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eas-exit-resume {
  padding: 16px;
  background: #0A0A0A;
  color: #E8E0D0;
  border: 1px solid #C8A96E;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 1px;
}

.eas-exit-leave {
  font-size: 12px;
  color: #666666;
  text-align: center;
  text-decoration: none;
}


/* ── HONEYMOON THEME OVERRIDES ───────────────────────────────── */

body.eas-honeymoon .eas-step-num { color: #D4A574; }
body.eas-honeymoon .eas-canvas-label { color: rgba(212, 165, 116, 0.7); }
body.eas-honeymoon .eas-lounge-panel-tagline .eas-panel-divider { color: #D4A574; }
body.eas-honeymoon .eas-progress-pip.active,
body.eas-honeymoon .eas-progress-pip.done { background: #D4A574; }
body.eas-honeymoon .eas-canvas-list li::before { color: #D4A574; }
body.eas-honeymoon .eas-success-icon { border-color: #D4A574; color: #D4A574; }
body.eas-honeymoon .eas-success-home { color: #D4A574; }
body.eas-honeymoon .eas-card.selected { border-color: #D4A574; background: #FEF0E0; }
body.eas-honeymoon .eas-field-group input:focus,
body.eas-honeymoon .eas-field-group textarea:focus { border-color: #D4A574; }


/* ── RESPONSIVE ─────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .eas-lounge-panel { width: 35%; }
}

@media (max-width: 768px) {
  #eas-lounge { flex-direction: column; }

  .eas-lounge-panel {
    position: relative;
    width: 100%;
    min-height: 280px;
    padding: 28px 24px;
  }

  .eas-lounge-canvas { display: none; }

  .eas-step {
    padding: 32px 24px 28px;
    gap: 22px;
  }

  .eas-lounge-progress { padding: 20px 24px 0; }

  .eas-card-grid { grid-template-columns: 1fr; }
  .eas-duration-grid,
  .eas-party-grid { grid-template-columns: repeat(2, 1fr); }

  .eas-field-row { grid-template-columns: 1fr; }

  .eas-step-title { font-size: 28px; }

  .eas-step-actions { flex-direction: column-reverse; align-items: stretch; }
  .eas-btn-next,
  .eas-btn-back,
  .eas-btn-submit { width: 100%; text-align: center; }
}

/* ─────────────────────────────────────────────────────────────
   RESTORE NOTICE — soft inline indicator, auto-dismisses
───────────────────────────────────────────────────────────── */
.eas-restore-notice {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  color: #888888;
  font-style: italic;
  text-align: center;
  padding: 8px 0;
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* ─────────────────────────────────────────────────────────────
   JOURNEY CTA — [eas_journey_cta journey="X"]
   Border style, no fill. Hover inverts.
───────────────────────────────────────────────────────────── */
.eas-cta-block {
  padding: 60px 0;
}

.eas-cta {
  display: inline-block;
  padding: 16px 40px;
  background: transparent;
  color: #C8A96E;
  border: 1px solid #C8A96E;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.eas-cta:hover,
.eas-cta:focus {
  background: #C8A96E;
  color: #0A0A0A;
}

@media (max-width: 767px) {
  .eas-cta-block { padding: 40px 0; }
  .eas-cta { width: 100%; text-align: center; display: block; }
}


/* ─────────────────────────────────────────────────────────────
   JOURNEY CARDS GRID — Step 1: 3 columns × 2 rows on desktop
───────────────────────────────────────────────────────────── */
.eas-journey-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 767px) {
  .eas-journey-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .eas-journey-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ─────────────────────────────────────────────────────────────
   PAGE /begin/ — FULL IMMERSION: no site chrome, dark base
   Suppresses header, footer, and any Foxiz/Elementor wrappers.
───────────────────────────────────────────────────────────── */

/* Kill header — covers Foxiz, EK, and our own header IDs */
body.page-id-18429 #eas-header,
body.page-id-18429 .eas-header,
body.page-id-18429 header,
body.page-id-18429 .site-header,
body.page-id-18429 #site-header,
body.page-id-18429 .rb-header-wrap,
body.page-id-18429 .header-inner,
body.page-id-18429 #rb-header {
  display: none !important;
}

/* Kill footer */
body.page-id-18429 #eas-footer,
body.page-id-18429 .eas-footer,
body.page-id-18429 footer,
body.page-id-18429 .site-footer,
body.page-id-18429 #site-footer,
body.page-id-18429 .rb-footer-wrap,
body.page-id-18429 #rb-footer {
  display: none !important;
}

/* Dark body + kill Foxiz content wrappers' white backgrounds */
body.page-id-18429 {
  background-color: #0A0A0A !important;
  color: #E8E0D0 !important;
}

body.page-id-18429 .site-content,
body.page-id-18429 #content,
body.page-id-18429 main,
body.page-id-18429 .entry-content,
body.page-id-18429 .rb-container,
body.page-id-18429 .rb-inner-wrap,
body.page-id-18429 .rb-content-wrap,
body.page-id-18429 .elementor-section-wrap,
body.page-id-18429 .e-con-inner {
  background: #0A0A0A !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Ensure the lounge container fills the full viewport */
body.page-id-18429 #eas-lounge {
  min-height: 100vh;
  width: 100%;
}

/* ─────────────────────────────────────────────────────────────
   ADMIN BAR — hidden on /begin/ so the immersive layout is clean.
   show_admin_bar(false) in header.php is the primary fix;
   this CSS is belt-and-suspenders for any hook ordering edge case.
───────────────────────────────────────────────────────────── */
body.page-id-18429 #wpadminbar {
  display: none !important;
}

/* Remove the html margin WordPress adds when admin bar is shown */
body.admin-bar.page-id-18429 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Modern browsers: scope the html margin to this page only */
html.admin-bar:has(body.page-id-18429) {
  margin-top: 0 !important;
}

/* ─────────────────────────────────────────────────────────────
   BACKGROUND — additional Foxiz/Elementor selector coverage
───────────────────────────────────────────────────────────── */
body.page-id-18429 article,
body.page-id-18429 .rb-col,
body.page-id-18429 .rb-row,
body.page-id-18429 [class*="rb-"] {
  background: transparent !important;
}

/* Padding-top reset for any theme that adds header-height offset */
body.page-id-18429 .site-content,
body.page-id-18429 #content,
body.page-id-18429 main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ── FINAL COSMETIC FIXES — APRIL 2026 ─────────────── */

/* 1. Journey canvas — pin to bottom of image panel with gradient
   Actual class from template: .eas-lounge-canvas (id="eas-journey-canvas") */
.eas-lounge-canvas {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    width: 100% !important;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.90) 0%,
        rgba(0,0,0,0.50) 60%,
        transparent 100%
    ) !important;
    padding: 60px 24px 28px 24px !important;
    z-index: 5 !important;
    box-sizing: border-box !important;
    flex: none !important;
}

.eas-lounge-canvas * {
    color: rgba(232,224,208,0.9) !important;
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
    line-height: 1.8 !important;
}

/* 2. TATO logo — invert to white on dark panel */
.eas-tato-badge img,
.eas-tato-logo img,
[class*="tato"] img,
img[src*="tato"] {
    filter: brightness(0) invert(1) !important;
    opacity: 0.8 !important;
    max-width: 80px !important;
}

/* 3. Select dropdowns — dark background */
body.page-id-18429 select,
body.page-id-18429 .eas-select,
body.page-id-18429 select option,
#eas-lounge select,
#eas-lounge-form select {
    background-color: #1A1A14 !important;
    background: #1A1A14 !important;
    color: #E8E0D0 !important;
    border: 1px solid #3A3A3A !important;
    padding: 12px 16px !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* 4. Select dropdown options */
#eas-lounge select option {
    background-color: #1A1A14 !important;
    color: #E8E0D0 !important;
}

/* 5. Selected option highlight */
#eas-lounge select option:checked,
#eas-lounge select option:hover {
    background-color: #C8A96E !important;
    color: #0A0A0A !important;
}

/* 6. Input fields — travel month, year, numbers */
#eas-lounge input[type="text"],
#eas-lounge input[type="number"],
#eas-lounge .eas-input {
    background: #1A1A14 !important;
    color: #E8E0D0 !important;
    border: 1px solid #3A3A3A !important;
}

/* 7. Card selected state — confirm gold border */
.eas-card.selected,
.eas-card--selected,
.eas-card[data-selected="true"] {
    border: 2px solid #C8A96E !important;
    background: #1A1A14 !important;
}

.eas-card.selected .eas-card-label,
.eas-card.selected .eas-card-sub {
    color: #C8A96E !important;
}

/* 8. Trust row + social proof
   Actual classes from template: .eas-trust-row, .eas-social-proof */
.eas-trust-row {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin-top: 20px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(200,169,110,0.3) !important;
    color: #9A9080 !important;
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
}

.eas-trust-row img {
    filter: brightness(0) invert(1) !important;
    opacity: 0.75 !important;
    height: 80px !important;
    width: auto !important;
    max-width: none !important;
}

.eas-social-proof {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 16px !important;
}

/* ── EXIT INTENT MODAL — DARK LUXURY OVERRIDES ───────────────────── */
/* .eas-exit-overlay is the full-screen semi-transparent backdrop.      */
/* .eas-exit-inner is the modal card — all visual overrides go here.    */

.eas-exit-inner {
    background: #0A0A0A !important;
    border: 1px solid #2A2A2A !important;
    color: #E8E0D0 !important;
}

.eas-exit-title {
    color: #C8A96E !important;
}

.eas-exit-copy {
    color: #E8E0D0 !important;
}

.eas-exit-resume {
    background: #0A0A0A !important;
    color: #E8E0D0 !important;
    border: 1px solid #C8A96E !important;
}

.eas-exit-leave {
    color: #666666 !important;
    text-decoration: none !important;
}

/* ── GREAT MIGRATION SEASONAL GUIDE ─────────────────────────────── */
/* Confirmed class from template: .eas-migration-guidance (line 186)   */
/* [class*="migration-guide"] matches .eas-migration-guidance          */
/* Structure: divs (.eas-migration-row), not table tr/td               */

.eas-migration-guide,
.eas-seasonal-guide,
.eas-migration-guidance,
[class*="migration-guide"],
[class*="seasonal-guide"],
.eas-migration-table {
    padding: 20px 24px !important;
    margin-bottom: 24px !important;
    border: 1px solid #2A2A2A !important;
    border-radius: 2px !important;
}

/* Row divs — confirmed .eas-migration-row (lines 190-194) */
.eas-migration-row,
.eas-migration-guide tr,
.eas-migration-table tr,
[class*="migration-guide"] tr {
    padding: 8px 0 !important;
}

/* Period + detail spans — confirmed .eas-mig-period / .eas-mig-detail */
.eas-mig-period,
.eas-mig-detail,
.eas-migration-guide td,
.eas-migration-table td,
[class*="migration-guide"] td {
    padding: 8px 12px !important;
    color: #B0A890 !important;
}

/* ── NATIVE SELECT — CROSS-BROWSER DARK OVERRIDE ─────────────────── */

#eas-lounge select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-color: #1A1A14 !important;
    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' stroke='%23C8A96E' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    padding-right: 40px !important;
    color: #E8E0D0 !important;
    border: 1px solid #3A3A3A !important;
}

/* Force option elements dark (Chrome/Edge) */
#eas-lounge select option {
    background: #1A1A14 !important;
    color: #E8E0D0 !important;
}

/* ── END FINAL COSMETIC FIXES ───────────────────── */

/* ── CHARACTER COUNTER — Step 7 textarea ────────── */
.eas-char-counter {
  font-size: 11px;
  color: #555;
  display: block;
  text-align: right;
  margin-top: 4px;
  font-family: monospace;
  transition: color 0.2s;
}

.eas-working-day-msg {
  font-size: 12px;
  color: #888;
  font-style: italic;
  display: block;
  margin-top: 6px;
  line-height: 1.6;
}

.eas-hidden {
  display: none;
}

/* ── JOURNEY-MATCHED REVIEW BLOCK — Step 7 ──────────── */
.eas-trust-signal {
  margin: 20px 0;
  padding: 16px;
  border-left: 2px solid rgba(200, 169, 110, 0.25);
  background: rgba(200, 169, 110, 0.03);
}

.eas-trust-stars {
  color: #C8A96E;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.eas-trust-quote {
  font-size: 13px;
  color: #B0A890;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 6px;
}

.eas-trust-source {
  font-size: 10px;
  color: #555;
  font-family: monospace;
  letter-spacing: 1px;
}

/* ── SELECT DARK OVERRIDE — FIX 2 ───────────────────────────── */
/* .eas-lounge-form targets the form element if class is applied;  */
/* existing #eas-lounge select rules cover the current DOM.        */
.eas-lounge-form select,
.eas-lounge-form select option {
  background-color: #1A1A1A !important;
  color: #E8E0D0 !important;
  border: 1px solid #2A2A2A !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.eas-lounge-form select:focus {
  outline: none !important;
  border-color: #C8A96E !important;
  box-shadow: none !important;
}

/* ── EXIT INTENT MODAL — MOBILE ─────────────────────────────── */

@media (max-width: 768px) {
  .eas-exit-inner {
    padding: 32px 24px 24px !important;
    margin: 0 16px !important;
    width: calc(100% - 32px) !important;
    box-sizing: border-box !important;
  }

  .eas-exit-resume {
    padding: 16px 24px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 0 !important;
  }

  .eas-exit-leave {
    padding: 12px 0 !important;
    display: block !important;
    text-align: center !important;
  }
}
