/* Big Island Diver Booking — FareHarbour pixel-perfect styling */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --fh-blue:    #1976d2;
  --fh-teal:    #1a6640;
  --fh-teal-dk: #145230;
  --fh-dark:    #212121;
  --fh-gray:    #757575;
  --fh-lgray:   #9e9e9e;
  --fh-border:  #e0e0e0;
  --fh-bg:      #fafafa;
  --fh-green:   #2e7d32;
  --fh-red:     #d32f2f;
  --fh-cart:    #424242;
  --fh-gold:    #fbbc04;
}

/* ── MODAL OVERLAY ──────────────────────────────────────── */
.bid-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 99999;
  display: flex; align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
  box-sizing: border-box;
  animation: bid-overlay-in 0.2s ease;
}
.bid-modal-overlay.bid-hidden { display: none !important; }

@keyframes bid-overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── MODAL CONTAINER ────────────────────────────────────── */
#bid-booking-wrap {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  background: white;
  max-width: 960px; width: 100%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,0.32);
  position: relative;
  margin: 0 auto;
  animation: bid-modal-in 0.25s cubic-bezier(0.34, 1.2, 0.64, 1);
}
@keyframes bid-modal-in {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* ── MODAL TOP BAR ──────────────────────────────────────── */
.bid-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--fh-border);
  background: white; gap: 12px;
}
.bid-topbar-lang {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--fh-dark); cursor: default;
  font-weight: 400;
}
.bid-topbar-browse {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--fh-border); border-radius: 4px;
  padding: 8px 14px; font-size: 14px; font-weight: 500;
  cursor: pointer; background: white; color: var(--fh-dark);
  text-decoration: none;
}
.bid-topbar-browse:hover { background: var(--fh-bg); }
.bid-topbar-close {
  font-size: 22px; line-height: 1;
  background: none; border: none;
  cursor: pointer; color: var(--fh-lgray);
  padding: 4px 8px; margin-left: auto;
  border-radius: 50%; transition: background 0.15s, color 0.15s;
}
.bid-topbar-close:hover { background: #f5f5f5; color: var(--fh-dark); }

/* ── NAV BAR ────────────────────────────────────────────── */
.bid-navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 24px;
  border-bottom: 1px solid var(--fh-border);
  background: white; flex-wrap: wrap; gap: 8px;
}
.bid-back-link {
  background: none; border: none; cursor: pointer;
  font-size: 14px; color: var(--fh-dark);
  display: flex; align-items: center; gap: 6px;
  padding: 0; font-family: inherit; font-weight: 400;
  transition: color 0.12s;
}
.bid-back-link:hover { color: var(--fh-blue); }
.bid-req-note { font-size: 13px; color: var(--fh-lgray); }
.bid-req-star { color: var(--fh-red); }

/* ── TOUR HEADER CARD ───────────────────────────────────── */
.bid-tour-hdr {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--fh-border);
  background: white;
}
.bid-tour-hdr-thumb {
  width: 72px; height: 72px; border-radius: 4px;
  object-fit: cover; flex-shrink: 0;
  background: var(--fh-bg);
}
.bid-tour-hdr-info { flex: 1; min-width: 0; }
.bid-tour-hdr-name {
  font-size: 19px; font-weight: 700;
  color: var(--fh-dark); margin: 0 0 3px;
  line-height: 1.25;
}
.bid-tour-hdr-meta {
  font-size: 13px; color: var(--fh-lgray); margin: 2px 0; line-height: 1.4;
}
.bid-tour-hdr-rating { text-align: right; flex-shrink: 0; }
.bid-rating-row {
  display: flex; align-items: center; gap: 4px; justify-content: flex-end;
}
.bid-rating-num  { font-size: 14px; font-weight: 700; color: var(--fh-dark); }
.bid-rating-stars { color: var(--fh-gold); font-size: 13px; letter-spacing: -1px; }
.bid-rating-g    { font-size: 13px; font-weight: 700; color: #4285f4; margin-left: 2px; }
.bid-review-count { font-size: 11px; color: var(--fh-lgray); margin-top: 2px; }

/* ── STEP VISIBILITY + FADE TRANSITIONS ─────────────────── */
.bid-step { display: none; }
.bid-step.active {
  display: block;
  animation: bid-step-in 0.2s ease;
}
@keyframes bid-step-in {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── STEP BODY 2-COL LAYOUT ─────────────────────────────── */
.bid-step-body {
  display: flex; align-items: flex-start;
  min-height: 340px;
}
.bid-step-main {
  flex: 1.62; padding: 24px;
  border-right: 1px solid var(--fh-border);
  min-width: 0; box-sizing: border-box;
}
.bid-step-sidebar {
  flex: 1; padding: 24px;
  background: white;
  min-width: 200px; max-width: 310px;
  box-sizing: border-box;
}

/* ── PLAN EXPERIENCE HEADING ────────────────────────────── */
.bid-plan-hdr {
  font-size: 16px; font-weight: 500;
  color: var(--fh-dark); margin: 0 0 18px;
  letter-spacing: 0;
}

/* ── DATE SECTION ───────────────────────────────────────── */
.bid-date-field { margin-bottom: 24px; }
.bid-date-label {
  display: block; font-size: 11px; font-weight: 700;
  color: var(--fh-lgray); margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: 0.8px;
}

/* ── CUSTOM CALENDAR ─────────────────────────────────────── */
.bid-cal {
  border: 1px solid var(--fh-border);
  border-radius: 4px;
  overflow: hidden;
  background: white;
  user-select: none;
}
.bid-cal-header {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  background: white;
}
.bid-cal-month-year {
  display: flex; align-items: center; gap: 0;
}
.bid-cal-sel {
  font-size: 15px; font-weight: 500;
  border: none; background: transparent;
  color: var(--fh-dark); cursor: pointer;
  padding: 4px 4px; font-family: inherit;
  appearance: none; -webkit-appearance: none;
}
.bid-cal-sel:focus { outline: 1px solid var(--fh-blue); border-radius: 3px; }
.bid-cal-sel-month { margin-right: 6px; }
.bid-cal-sel-caret {
  font-size: 10px; color: var(--fh-lgray);
  margin-left: 2px; pointer-events: none;
}
.bid-cal-nav {
  display: flex; align-items: center; gap: 4px;
}
.bid-cal-nav-btn {
  width: 30px; height: 30px;
  border: 1px solid var(--fh-border); border-radius: 50%;
  background: white; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--fh-gray);
  transition: background 0.12s, border-color 0.12s;
  padding: 0; line-height: 1;
}
.bid-cal-nav-btn:hover { background: var(--fh-bg); border-color: #bdbdbd; }
.bid-cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  padding: 0 14px 14px;
  gap: 5px;
}
.bid-cal-dow {
  text-align: center;
  font-size: 11px; font-weight: 500; color: var(--fh-lgray);
  padding: 6px 0 8px;
  text-transform: none;
}
.bid-cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 400;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  background: transparent;
  font-family: inherit; color: var(--fh-dark);
  transition: background 0.12s, color 0.12s, transform 0.12s, box-shadow 0.12s, border-color 0.12s;
  padding: 0;
  position: relative;
}
.bid-cal-day.avail {
  background: #2e7d32;
  color: white;
  font-weight: 600;
}
.bid-cal-day.avail:hover {
  background: #1b5e20;
  transform: scale(1.06);
  z-index: 1;
}
.bid-cal-day.selected {
  background: white !important;
  color: var(--fh-teal) !important;
  font-weight: 700;
  border: 2px solid var(--fh-teal) !important;
  box-shadow: 0 2px 8px rgba(26,102,64,0.25);
  transform: scale(1.08);
  z-index: 2;
}
.bid-cal-day.empty, .bid-cal-day.past {
  background: transparent;
  color: #d0d0d0;
  cursor: default;
  pointer-events: none;
  font-weight: 400;
}
.bid-cal-hint {
  font-size: 12px; color: var(--fh-teal);
  text-align: center; padding: 0 16px 12px;
  font-style: italic;
}
.bid-cal-selected-row {
  display: flex; align-items: center;
  padding: 10px 16px;
  border-top: 1px solid var(--fh-border);
  background: #f9f9f9;
  font-size: 13px; color: var(--fh-dark);
  gap: 8px;
  animation: bid-step-in 0.15s ease;
}
.bid-cal-selected-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--fh-teal); flex-shrink: 0;
}
.bid-cal-selected-txt { font-weight: 500; }
.bid-cal-change-txt {
  margin-left: auto; font-size: 12px;
  color: var(--fh-blue); cursor: pointer;
}
.bid-cal-change-txt:hover { text-decoration: underline; }

/* ── GUEST TYPE ROW (FareHarbour quantity selector) ─────── */
.bid-type-row {
  display: flex; align-items: stretch;
  border: 1px solid var(--fh-border); border-radius: 4px;
  margin-bottom: 8px; overflow: hidden; background: white;
}
.bid-type-qty {
  background: var(--fh-blue); color: white;
  display: flex; align-items: center; justify-content: center;
  gap: 6px; padding: 0 14px; min-width: 72px;
  position: relative; cursor: pointer; user-select: none;
  transition: background 0.12s;
}
.bid-type-qty:hover { background: #1565c0; }
.bid-type-qty-num { font-size: 18px; font-weight: 700; pointer-events: none; }
.bid-type-qty-arr { font-size: 10px; opacity: 0.85; pointer-events: none; }
.bid-type-qty select {
  position: absolute; inset: 0; opacity: 0;
  cursor: pointer; font-size: 16px; width: 100%; height: 100%;
}
.bid-type-info { flex: 1; padding: 14px 16px; }
.bid-type-name { font-size: 15px; font-weight: 500; color: var(--fh-dark); line-height: 1.3; }
.bid-type-sub  { font-size: 12px; color: var(--fh-lgray); margin-top: 2px; }
.bid-type-price {
  padding: 14px 16px; font-size: 15px; font-weight: 500;
  color: var(--fh-dark); display: flex; align-items: center; white-space: nowrap;
}

/* ── PRICING SIDEBAR ────────────────────────────────────── */
.bid-sb-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0; font-size: 14px; color: var(--fh-dark);
}
.bid-sb-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0 0; font-size: 20px; font-weight: 700;
  color: var(--fh-dark); border-top: 1px solid var(--fh-border); margin-top: 6px;
}
.bid-sb-div { height: 1px; background: var(--fh-border); margin: 8px 0; }
.bid-cart-btn {
  width: 100%; padding: 14px 0;
  background: var(--fh-cart); color: white;
  border: none; border-radius: 4px;
  font-size: 15px; font-weight: 500;
  cursor: pointer; margin-top: 16px;
  transition: background 0.15s, transform 0.1s;
  font-family: inherit; letter-spacing: 0.2px;
}
.bid-cart-btn:hover:not(:disabled) { background: #616161; }
.bid-cart-btn:active:not(:disabled) { transform: scale(0.98); }
.bid-cart-btn:disabled { background: #bdbdbd; cursor: not-allowed; }
.bid-sb-note { font-size: 12px; color: var(--fh-lgray); margin-top: 10px; line-height: 1.5; }

/* ── GUEST FORM CARDS (step 3) ──────────────────────────── */
.bid-guest-card {
  border: 1px solid var(--fh-border); border-radius: 4px;
  margin-bottom: 16px; overflow: hidden;
}
.bid-guest-hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--fh-bg);
  border-bottom: 1px solid var(--fh-border);
}
.bid-guest-hdr-left  { display: flex; align-items: center; gap: 8px; }
.bid-guest-hdr-title { font-size: 14px; font-weight: 600; color: var(--fh-dark); }
.bid-guest-hdr-price { font-size: 14px; color: var(--fh-lgray); }
.bid-guest-body { padding: 16px; }

/* ── FH FORM FIELDS ─────────────────────────────────────── */
.bid-fh-field { margin-bottom: 14px; }
.bid-fh-lbl {
  display: block; font-size: 13px; color: var(--fh-gray);
  margin-bottom: 5px; line-height: 1.3; font-weight: 400;
}
.bid-fh-inp, .bid-fh-sel, .bid-fh-ta {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--fh-border); border-radius: 4px;
  font-size: 15px; color: var(--fh-dark); box-sizing: border-box;
  background: white; font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.bid-fh-inp:focus, .bid-fh-sel:focus, .bid-fh-ta:focus {
  outline: none; border-color: var(--fh-blue);
  box-shadow: 0 0 0 2px rgba(25,118,210,0.14);
}
.bid-fh-inp.error, .bid-fh-sel.error { border-color: var(--fh-red); }
.bid-fh-ta { resize: vertical; min-height: 80px; }
.bid-fh-check-row {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 0; margin-bottom: 12px;
  border-bottom: 1px solid var(--fh-border);
}
.bid-fh-check-row:last-child { border-bottom: none; }
.bid-fh-check-row input[type=checkbox] { margin-top: 2px; flex-shrink: 0; width: 16px; height: 16px; cursor: pointer; }
.bid-fh-check-txt { font-size: 14px; color: var(--fh-dark); line-height: 1.4; }
.bid-field-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bid-field-3col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }

/* ── SECTION HEADERS ────────────────────────────────────── */
.bid-fh-section { margin-bottom: 28px; }
.bid-fh-sec-title {
  font-size: 15px; font-weight: 500; color: var(--fh-dark);
  margin: 0 0 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--fh-border);
  letter-spacing: 0;
}

/* ── OPTION ROWS (gear/addons) ──────────────────────────── */
.bid-opt-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px; border: 1px solid var(--fh-border);
  border-radius: 4px; margin-bottom: 8px; background: white;
  transition: border-color 0.12s;
}
.bid-opt-row:hover { border-color: #bdbdbd; }
.bid-opt-row input[type=checkbox] { margin-top: 2px; flex-shrink: 0; cursor: pointer; }
.bid-opt-lbl { flex: 1; font-size: 14px; color: var(--fh-dark); line-height: 1.4; cursor: pointer; }
.bid-opt-lbl small { display: block; font-size: 12px; color: var(--fh-lgray); margin-top: 2px; }
.bid-opt-price { font-size: 14px; font-weight: 500; color: var(--fh-dark); white-space: nowrap; align-self: center; }

/* ── CANCELLATION BOX ───────────────────────────────────── */
.bid-cancel-box {
  background: var(--fh-bg); border-radius: 4px;
  border: 1px solid var(--fh-border);
  padding: 16px; margin-top: 20px; font-size: 13px;
  color: var(--fh-dark); line-height: 1.6;
}
.bid-cancel-box h4 { font-size: 14px; font-weight: 600; margin: 0 0 8px; }
.bid-cancel-box p  { margin: 0 0 8px; }

/* ── PAYMENT NOTE ───────────────────────────────────────── */
.bid-pay-notice {
  background: #e3f2fd; border-radius: 4px; padding: 12px 14px;
  font-size: 13px; color: #1565c0; margin-bottom: 16px;
  border: 1px solid #bbdefb;
}
.bid-card-wrap { position: relative; }
.bid-card-icon {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%); pointer-events: none;
}

/* ── STEP 3/4 SIDEBAR SUMMARY ───────────────────────────── */
.bid-sb-tour-name { font-size: 14px; font-weight: 600; color: var(--fh-dark); margin-bottom: 4px; }
.bid-sb-tour-meta { font-size: 12px; color: var(--fh-lgray); margin-bottom: 4px; line-height: 1.4; }

/* ── SUBMIT BUTTON ──────────────────────────────────────── */
.bid-submit-btn {
  width: 100%; padding: 15px 0;
  background: var(--fh-green); color: white;
  border: none; border-radius: 4px;
  font-size: 16px; font-weight: 600;
  cursor: pointer; margin-top: 14px;
  transition: background 0.15s, transform 0.1s;
  font-family: inherit; letter-spacing: 0.3px;
}
.bid-submit-btn:hover:not(:disabled) { background: #1b5e20; }
.bid-submit-btn:active:not(:disabled) { transform: scale(0.99); }
.bid-submit-btn:disabled { background: #bdbdbd; cursor: not-allowed; }
.bid-submit-note { font-size: 11px; color: var(--fh-lgray); margin-top: 8px; line-height: 1.5; }
.bid-ssl-note    { font-size: 12px; color: var(--fh-lgray); margin-top: 6px; }

/* ── MODAL FOOTER ───────────────────────────────────────── */
.bid-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 24px;
  border-top: 1px solid var(--fh-border);
  font-size: 12px; color: var(--fh-lgray);
  background: white;
}

/* ── STEP 1 TOUR GRID ───────────────────────────────────── */
.bid-step-1-inner { padding: 24px; }
.bid-step-1-title { font-size: 22px; font-weight: 700; color: var(--fh-dark); margin: 0 0 20px; }
.bid-category-block { margin-bottom: 32px; }
.bid-category-hdr {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--fh-border);
}
.bid-category-hdr h3 { font-size: 18px; font-weight: 700; color: var(--fh-dark); margin: 0; }
.bid-tour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.bid-tour-card {
  border: 1px solid var(--fh-border); border-radius: 4px;
  overflow: hidden; cursor: pointer; background: white;
  transition: box-shadow 0.15s, transform 0.15s;
}
.bid-tour-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.14); transform: translateY(-2px); }
.bid-tour-img { height: 150px; background-size: cover; background-position: center; background-color: var(--fh-bg); }
.bid-tour-card-body { padding: 14px; }
.bid-tour-card-body h4 { font-size: 15px; font-weight: 700; color: var(--fh-dark); margin: 0 0 3px; }
.bid-tour-headline { font-size: 12px; color: var(--fh-blue); margin: 0 0 5px; }
.bid-tour-time { font-size: 12px; color: var(--fh-lgray); margin: 0 0 6px; }
.bid-tour-desc {
  font-size: 13px; color: #555; margin: 0 0 12px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.bid-tour-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 10px; border-top: 1px solid var(--fh-border);
}
.bid-tour-price { font-size: 16px; font-weight: 700; color: var(--fh-green); }
.bid-tour-price small { font-size: 12px; font-weight: 400; color: var(--fh-lgray); }
.bid-btn-select {
  padding: 8px 14px; background: var(--fh-blue);
  color: white; border: none; border-radius: 4px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background 0.12s;
}
.bid-btn-select:hover { background: #1565c0; }

/* ── THANK YOU ──────────────────────────────────────────── */
.bid-thankyou-wrap { padding: 48px 32px; text-align: center; }
.bid-thankyou-icon { font-size: 48px; margin-bottom: 16px; }
.bid-thankyou-wrap h2 { font-size: 24px; color: var(--fh-dark); margin-bottom: 8px; }
.bid-thankyou-sub { color: var(--fh-lgray); margin-bottom: 20px; }
.bid-thankyou-ref {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--fh-bg); border: 1px solid var(--fh-border);
  border-radius: 4px; padding: 10px 20px; font-size: 16px; margin-bottom: 20px;
}
.bid-thankyou-ref strong { font-size: 18px; color: var(--fh-blue); }
.bid-thankyou-details { font-size: 14px; color: var(--fh-dark); margin-bottom: 16px; line-height: 1.6; }
.bid-thankyou-message { font-size: 14px; color: var(--fh-lgray); line-height: 1.6; }
.bid-btn-back {
  display: inline-block; margin-top: 20px; padding: 12px 28px;
  background: var(--fh-blue); color: white; border-radius: 4px;
  text-decoration: none; font-weight: 600;
  transition: background 0.15s;
}
.bid-btn-back:hover { background: #1565c0; }

/* ── TRIGGER BUTTON (on tour pages) ────────────────────── */
.bid-trigger-wrap { margin: 16px 0; }
.bid-trigger-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; background: var(--fh-blue); color: white;
  border: none; border-radius: 4px; font-size: 16px; font-weight: 600;
  cursor: pointer; min-width: 180px;
  transition: background 0.15s, transform 0.1s;
  text-transform: uppercase; letter-spacing: 0.5px;
  font-family: inherit;
}
.bid-trigger-btn:hover { background: #1565c0; }
.bid-trigger-btn:active { transform: scale(0.98); }

/* ── SECONDARY TRIGGER (Book Direct) ───────────────────── */
.bid-trigger-secondary {
  background: transparent !important;
  color: white !important;
  border: 2px solid rgba(255,255,255,0.7) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 9px 22px !important;
  min-width: 0 !important;
  text-transform: none !important;
  letter-spacing: 0.2px !important;
  opacity: 0.9;
  margin-top: 8px;
}
.bid-trigger-secondary:hover {
  background: rgba(255,255,255,0.15) !important;
  border-color: white !important;
  opacity: 1;
}

/* ── ERROR MSG ──────────────────────────────────────────── */
.bid-error-msg {
  background: #ffebee; color: var(--fh-red);
  border: 1px solid #ffcdd2; border-radius: 4px;
  padding: 10px 14px; margin: 10px 24px; font-size: 14px;
}

/* ── GEAR GRID ──────────────────────────────────────────── */
.bid-gear-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 640px) {
  .bid-step-body { flex-direction: column; }
  .bid-step-sidebar { min-width: 100%; max-width: 100%; border-top: 1px solid var(--fh-border); }
  .bid-step-main { border-right: none; padding: 16px; }
  .bid-step-sidebar { padding: 16px; }
  .bid-field-2col, .bid-field-3col { grid-template-columns: 1fr; }
  .bid-modal-overlay { padding: 0; align-items: flex-start; }
  #bid-booking-wrap { border-radius: 0; min-height: 100vh; }
  .bid-tour-hdr-rating { display: none; }
  .bid-topbar { padding: 10px 16px; }
  .bid-navbar { padding: 8px 16px; }
  .bid-cal-grid { gap: 2px; padding: 0 6px 10px; }
  .bid-cal-day { font-size: 12px; }
}

/* ═══════════════════════════════════════════════════════════
   STEP 2 REDESIGN — FareHarbor-style two-column layout
   ═══════════════════════════════════════════════════════════ */

/* ── Company Logo (Step 2 top) ─────────────────────────── */
.bid-s2-logo {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 18px 24px 14px;
  border-bottom: 1px solid var(--fh-border);
  background: white;
}
.bid-s2-logo-icon {
  font-size: 32px; line-height: 1;
}
.bid-s2-logo-text {
  font-size: 18px; font-weight: 700; color: var(--fh-dark);
  letter-spacing: 2px; text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
}

/* ── Step 2 Body: Two-column layout ───────────────────── */
.bid-s2-body {
  display: flex; align-items: flex-start;
  min-height: 420px;
}
.bid-s2-left {
  flex: 0 0 380px; padding: 24px;
  border-right: 1px solid var(--fh-border);
  box-sizing: border-box;
}
.bid-s2-right {
  flex: 1; padding: 24px;
  min-width: 0; box-sizing: border-box;
  max-height: 520px; overflow-y: auto;
}

/* ── Placeholder (before date selected) ────────────────── */
.bid-s2-placeholder {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  height: 280px; text-align: center;
  color: var(--fh-lgray);
}
.bid-s2-placeholder-icon {
  font-size: 48px; margin-bottom: 12px; opacity: 0.5;
}
.bid-s2-placeholder p {
  font-size: 15px; margin: 0; line-height: 1.5;
}

/* ── Date Header (right side) ──────────────────────────── */
.bid-s2-date-hdr {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--fh-border);
}
.bid-s2-date-nav {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--fh-border); background: white;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; font-size: 14px; color: var(--fh-gray);
  transition: background 0.12s, border-color 0.12s;
  padding: 0; flex-shrink: 0; line-height: 1;
}
.bid-s2-date-nav:hover { background: var(--fh-bg); border-color: #bdbdbd; }
.bid-s2-date-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.bid-s2-date-text {
  font-size: 18px; font-weight: 600; color: var(--fh-dark);
  flex: 1; text-align: center;
}

/* ── Activity Card ─────────────────────────────────────── */
.bid-s2-activity {
  margin-bottom: 24px;
  animation: bid-step-in 0.2s ease;
}
.bid-s2-activity-name {
  font-size: 17px; font-weight: 700; color: var(--fh-dark);
  margin: 0 0 4px;
}
.bid-s2-activity-price {
  font-size: 14px; color: var(--fh-lgray);
  margin: 0 0 12px;
}

/* ── Time Slot Cards ───────────────────────────────────── */
.bid-ts-card {
  display: flex; align-items: center;
  border: 1px solid var(--fh-border); border-radius: 6px;
  padding: 14px 16px; margin-bottom: 8px;
  cursor: pointer; background: white;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
}
.bid-ts-card:hover {
  border-color: var(--fh-teal);
  box-shadow: 0 2px 8px rgba(26,102,64,0.12);
  transform: translateY(-1px);
}
.bid-ts-card.bid-ts-booked {
  opacity: 0.55; cursor: not-allowed;
  background: #fafafa;
}
.bid-ts-card.bid-ts-booked:hover {
  border-color: var(--fh-border);
  box-shadow: none; transform: none;
}
.bid-ts-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--fh-green); margin-right: 14px; flex-shrink: 0;
}
.bid-ts-booked .bid-ts-dot { background: var(--fh-red); }
.bid-ts-info { flex: 1; }
.bid-ts-time {
  font-size: 15px; font-weight: 600; color: var(--fh-dark);
}
.bid-ts-label {
  font-size: 13px; color: var(--fh-lgray); margin-top: 1px;
}
.bid-ts-avail {
  font-size: 12px; font-weight: 600; white-space: nowrap;
  padding: 4px 10px; border-radius: 12px;
  flex-shrink: 0; margin-left: 12px;
}
.bid-ts-avail.has-spots {
  background: #e8f5e9; color: var(--fh-green);
}
.bid-ts-avail.no-spots {
  background: #ffebee; color: var(--fh-red);
}

/* ── Details Link ──────────────────────────────────────── */
.bid-s2-details-link {
  display: inline-block; font-size: 13px;
  color: var(--fh-blue); cursor: pointer;
  margin: 4px 0 12px; font-weight: 500;
  text-decoration: none;
}
.bid-s2-details-link:hover { text-decoration: underline; }

/* ── Photo Gallery (thumbnails) ────────────────────────── */
.bid-s2-photos {
  display: flex; gap: 8px; margin-top: 8px; margin-bottom: 8px;
}
.bid-s2-photo {
  width: 72px; height: 54px; border-radius: 4px;
  object-fit: cover; background: var(--fh-bg);
  border: 1px solid var(--fh-border);
  cursor: pointer; transition: opacity 0.12s;
}
.bid-s2-photo:hover { opacity: 0.8; }

/* ── Related Activities Divider ────────────────────────── */
.bid-s2-related-divider {
  font-size: 11px; font-weight: 600; color: var(--fh-lgray);
  text-transform: uppercase; letter-spacing: 0.8px;
  margin: 12px 0; padding-top: 12px;
  border-top: 1px solid var(--fh-border);
}

/* ── Step 2 Responsive ─────────────────────────────────── */
@media (max-width: 740px) {
  .bid-s2-body { flex-direction: column; }
  .bid-s2-left {
    flex: none; width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--fh-border);
    padding: 16px;
  }
  .bid-s2-right { padding: 16px; max-height: none; }
}

/* ── Lightbox ────────────────────────────────────────── */
.bid-lightbox-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.92); z-index: 1000000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer;
}
.bid-lightbox-close {
  position: absolute; top: 16px; right: 24px;
  color: #fff; font-size: 36px; cursor: pointer;
  z-index: 1000001; line-height: 1;
}
.bid-lightbox-close:hover { color: #ccc; }
.bid-lightbox-img {
  max-width: 85vw; max-height: 70vh;
  object-fit: contain; border-radius: 6px;
  cursor: default;
}
.bid-lightbox-thumbs {
  display: flex; gap: 8px; margin-top: 16px; justify-content: center;
}
.bid-lightbox-thumb {
  width: 70px; height: 50px; object-fit: cover;
  border-radius: 4px; cursor: pointer;
  opacity: 0.5; border: 2px solid transparent;
  transition: opacity .2s, border-color .2s;
}
.bid-lightbox-thumb.active,
.bid-lightbox-thumb:hover {
  opacity: 1; border-color: #fff;
}
.bid-lightbox-prev, .bid-lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: #fff; font-size: 48px; cursor: pointer;
  padding: 20px; user-select: none; z-index: 1000001;
}
.bid-lightbox-prev { left: 16px; }
.bid-lightbox-next { right: 16px; }
.bid-lightbox-prev:hover, .bid-lightbox-next:hover { color: #ccc; }

/* Make gallery thumbnails look clickable */
.bid-s2-photo.bid-lightbox-trigger { cursor: pointer; transition: transform .2s; }
.bid-s2-photo.bid-lightbox-trigger:hover { transform: scale(1.05); }
