/* ==========================================================================
   GLOBAL APPLIANCE REPAIRS - ONLINE BOOKING PAGE STYLES
   ========================================================================== */

.booking-page-main {
  background-color: #f8fafc;
  padding-top: calc(var(--header-height, 84px) + 2.5rem);
  padding-bottom: 5rem;
  position: relative;
}

.booking-hero-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

.booking-badge-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(230, 0, 18, 0.08);
  color: #e60012;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.booking-hero-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.booking-hero-title .highlight-red {
  color: #e60012;
}

.booking-hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #64748b;
  margin: 0;
}

/* Two Column Layout: Form & Trust Sidebar */
.booking-layout-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

/* Left: Main Booking Card */
.booking-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.05);
  padding: 2.75rem 2.5rem;
}

.booking-step-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.booking-step-block:last-of-type {
  margin-bottom: 1.5rem;
  padding-bottom: 0;
  border-bottom: none;
}

.booking-step-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.5rem;
}

.booking-step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.booking-step-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

/* Input Fields Grid */
.booking-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.booking-form-grid.single-col {
  grid-template-columns: 1fr;
}

.booking-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-field-group.full-width {
  grid-column: 1 / -1;
}

.booking-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.booking-label-hint {
  font-size: 0.78rem;
  font-weight: 400;
  color: #94a3b8;
}

.booking-input,
.booking-select,
.booking-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  font-family: inherit;
  font-size: 0.95rem;
  color: #0f172a;
  background-color: #ffffff;
  transition: all 0.2s ease;
  outline: none;
}

.booking-input:focus,
.booking-select:focus,
.booking-textarea:focus {
  border-color: #e60012;
  box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.12);
}

.booking-textarea {
  resize: vertical;
  min-height: 90px;
}

/* Timeframe Selection Cards */
.booking-timeframe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.timeframe-radio-card {
  position: relative;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
}

.timeframe-radio-card:hover {
  border-color: #94a3b8;
  transform: translateY(-2px);
}

.timeframe-radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.timeframe-radio-card.selected,
.timeframe-radio-card:has(input[type="radio"]:checked) {
  border-color: #e60012;
  background-color: rgba(230, 0, 18, 0.03);
  box-shadow: 0 4px 14px rgba(230, 0, 18, 0.12);
}

.timeframe-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  color: #0f172a;
}

.timeframe-radio-card:has(input[type="radio"]:checked) .timeframe-icon {
  background: #e60012;
  color: #ffffff;
}

.timeframe-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-weight: 700;
  font-size: 0.92rem;
  color: #0f172a;
  margin-bottom: 3px;
}

.timeframe-hours {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

/* Prominent Reference Disclaimer Box */
.booking-timing-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-radius: 14px;
  padding: 16px 18px;
  margin-top: 1.25rem;
}

.disclaimer-icon {
  color: #d97706;
  flex-shrink: 0;
  margin-top: 2px;
}

.disclaimer-text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #92400e;
  margin: 0;
}

.disclaimer-text strong {
  color: #78350f;
  font-weight: 700;
}

/* Photo Upload Box for Model Number Sticker */
.booking-upload-container {
  margin-top: 0.5rem;
}

.booking-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  background: #fafbfc;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.booking-dropzone:hover,
.booking-dropzone.dragover {
  border-color: #e60012;
  background: rgba(230, 0, 18, 0.02);
}

.dropzone-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f1f5f9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e60012;
  margin-bottom: 12px;
}

.dropzone-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.dropzone-title span {
  color: #e60012;
  text-decoration: underline;
}

.dropzone-desc {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
}

/* Photo Preview Box */
.photo-preview-box {
  display: none;
  align-items: center;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 16px;
  margin-top: 12px;
}

.photo-preview-box.active {
  display: flex;
}

.preview-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #cbd5e1;
  background: #ffffff;
}

.preview-info {
  flex: 1;
  min-width: 0;
}

.preview-filename {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.preview-filesize {
  font-size: 0.78rem;
  color: #64748b;
}

.preview-remove-btn {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.preview-remove-btn:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* Model Sticker Help Guide */
.sticker-guide-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #0284c7;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.sticker-guide-toggle:hover {
  text-decoration: underline;
}

.sticker-guide-details {
  display: none;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 10px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #0369a1;
}

.sticker-guide-details.open {
  display: block;
}

.sticker-guide-details ul {
  margin: 6px 0 0 18px;
  padding: 0;
}

/* Submit Action Button */
.booking-submit-btn {
  width: 100%;
  padding: 16px 28px;
  border-radius: 14px;
  background: #e60012;
  color: #ffffff;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.08rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(230, 0, 18, 0.28);
  transition: all 0.25s ease;
}

.booking-submit-btn:hover {
  background: #cc0010;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(230, 0, 18, 0.35);
}

/* Right Sidebar: Trust & Google Reviews */
.booking-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.booking-trust-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.sidebar-heading {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.trust-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.45;
}

.trust-check-item svg {
  color: #059669;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Google Reviews Widget Card */
.google-reviews-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.google-widget-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 14px;
}

.google-logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.google-rating-score {
  display: flex;
  align-items: center;
  gap: 6px;
}

.google-score-num {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.google-stars {
  color: #fbbf24;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.google-verified-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #059669;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Mini Review Snippet */
.mini-review-item {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.mini-review-item:last-child {
  margin-bottom: 0;
}

.mini-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.mini-reviewer-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
}

.mini-review-suburb {
  font-size: 0.75rem;
  color: #64748b;
}

.mini-review-quote {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #475569;
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .booking-layout-container {
    grid-template-columns: 1fr;
  }

  .booking-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .booking-hero-title {
    font-size: 2.15rem;
  }

  .booking-card {
    padding: 1.85rem 1.25rem;
    border-radius: 18px;
  }

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

  .booking-timeframe-grid {
    grid-template-columns: 1fr;
  }

  .booking-sidebar {
    grid-template-columns: 1fr;
  }
}
