:root {
  --serviceslot-primary: #176b87;
  --serviceslot-primary-dark: #0b3f4e;
  --serviceslot-accent: #f28c28;
  --serviceslot-accent-dark: #8a3b00;
  --serviceslot-teal-soft: #e7f7f5;
  --serviceslot-warm-soft: #fff3e5;
  --serviceslot-ink: #102a43;
  --serviceslot-muted: #4f6075;
  --serviceslot-bg: #f6f9fc;
}

body {
  background: var(--serviceslot-bg);
  color: var(--serviceslot-ink);
}

.navbar {
  box-shadow: 0 2px 12px rgba(16, 42, 67, 0.04);
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--serviceslot-primary), #1ba6a6);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--serviceslot-primary), #1a8c8a);
  border-color: var(--serviceslot-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--serviceslot-primary-dark);
  border-color: var(--serviceslot-primary-dark);
}

.btn-outline-primary {
  border-color: var(--serviceslot-primary);
  color: var(--serviceslot-primary);
}

.btn-outline-primary:hover {
  background: var(--serviceslot-primary);
  border-color: var(--serviceslot-primary);
}

.text-primary {
  color: var(--serviceslot-primary) !important;
}

.heating-hero {
  background:
    linear-gradient(90deg, rgba(5, 22, 28, 0.97) 0%, rgba(7, 35, 43, 0.92) 46%, rgba(11, 63, 78, 0.36) 76%),
    url('/local-assets/img/cv-boiler-service-hero.png');
  background-position: center;
  background-size: cover;
  color: #fff;
}

.min-vh-hero {
  min-height: 620px;
}

.hero-copy {
  padding: 72px 0;
}

.hero-copy h1 {
  color: #ffffff;
  max-width: 760px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.42);
}

.hero-copy .lead {
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.34);
}

.eyebrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #f4ffff;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  padding: 8px 12px;
  text-transform: uppercase;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero-trust-row span {
  align-items: center;
  color: rgba(255, 255, 255, 0.94);
  display: inline-flex;
  font-size: 0.92rem;
  gap: 6px;
}

.hero-trust-row i {
  color: #ffb45f;
}

.app-sidebar {
  background: #fff;
  border-right: 1px solid #e6edf5;
  min-height: calc(100vh - 57px);
  position: sticky;
  top: 57px;
}

.app-sidebar .nav-link {
  border-radius: 8px;
  color: #30435c;
  font-weight: 600;
  margin-bottom: 4px;
}

.app-sidebar .nav-link.active,
.app-sidebar .nav-link:hover {
  background: #e9f7f7;
  color: var(--serviceslot-primary);
}

.metric-card {
  border: 1px solid #e6edf5;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.04);
}

.service-tile,
.process-card {
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.04);
  padding: 22px;
}

.service-tile {
  position: relative;
  overflow: hidden;
}

.service-tile::after {
  background: radial-gradient(circle, rgba(242, 140, 40, 0.12), transparent 62%);
  content: '';
  height: 120px;
  position: absolute;
  right: -40px;
  top: -40px;
  width: 120px;
}

.service-icon,
.confirmation-icon {
  align-items: center;
  background: var(--serviceslot-warm-soft);
  border-radius: 8px;
  color: var(--serviceslot-accent-dark);
  display: inline-flex;
  font-size: 1.4rem;
  height: 46px;
  justify-content: center;
  margin-bottom: 16px;
  width: 46px;
}

.service-tile p,
.process-card p {
  color: var(--serviceslot-muted);
  margin-bottom: 12px;
}

.service-meta {
  color: var(--serviceslot-primary);
  font-size: 0.84rem;
  font-weight: 700;
}

.process-card span {
  align-items: center;
  background: var(--serviceslot-teal-soft);
  border-radius: 999px;
  color: var(--serviceslot-primary);
  display: inline-flex;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  margin-bottom: 14px;
  width: 34px;
}

.support-strip {
  align-items: center;
  background: linear-gradient(135deg, var(--serviceslot-primary-dark), var(--serviceslot-primary));
  border-radius: 8px;
  color: #fff;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 20px 24px;
}

.support-strip span {
  color: #dcecf2;
  display: block;
}

.metric-card .card-body {
  padding: 1.25rem;
}

.step-number {
  align-items: center;
  background: var(--serviceslot-primary);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.empty-state {
  background: #f8fbff;
  border: 1px dashed #c6d5e7;
  border-radius: 8px;
  color: var(--serviceslot-muted);
  padding: 24px;
  text-align: center;
}

.table td,
.table th {
  vertical-align: middle;
}

.slot-option {
  background: #fff;
  border: 1px solid #dfe8f3;
  border-radius: 8px;
  cursor: pointer;
  padding: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.slot-option:hover {
  border-color: #b8cadf;
  box-shadow: 0 6px 18px rgba(16, 42, 67, 0.06);
}

.slot-option:has(input:checked) {
  background: #e9f7f7;
  border-color: var(--serviceslot-primary);
}

.booking-shell {
  background:
    radial-gradient(circle at 12% 4%, rgba(242, 140, 40, 0.15), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(23, 107, 135, 0.14), transparent 26%),
    var(--serviceslot-bg);
}

.booking-intro {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 26px;
}

.booking-intro-badge {
  align-items: center;
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.04);
  color: var(--serviceslot-primary);
  display: flex;
  font-weight: 800;
  gap: 10px;
  padding: 14px 16px;
  white-space: nowrap;
}

.booking-intro-badge i {
  color: var(--serviceslot-accent-dark);
  font-size: 1.3rem;
}

.booking-stepper {
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px;
}

.booking-step {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #41536a;
  display: flex;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  padding: 10px;
}

.booking-step span {
  align-items: center;
  background: #edf4fb;
  border-radius: 999px;
  color: var(--serviceslot-primary);
  display: inline-flex;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.booking-step.active {
  background: var(--serviceslot-teal-soft);
  color: var(--serviceslot-primary);
}

.booking-step.active span {
  background: var(--serviceslot-primary);
  color: #fff;
}

.booking-panel {
  display: none;
}

.booking-panel.active {
  display: block;
}

.wizard-actions {
  border-top: 1px solid #edf2f7;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 16px;
}

.review-box {
  background: #f8fbff;
  border: 1px solid #dfe8f3;
  border-radius: 8px;
  padding: 16px;
}

.service-choice-icon {
  align-items: center;
  background: var(--serviceslot-warm-soft);
  border-radius: 8px;
  color: var(--serviceslot-accent-dark);
  display: flex;
  font-size: 1.4rem;
  height: 42px;
  justify-content: center;
  margin-bottom: 12px;
  width: 42px;
}

.confirmation-icon {
  background: var(--serviceslot-teal-soft);
  color: var(--serviceslot-primary);
  font-size: 1.8rem;
  height: 56px;
  width: 56px;
}

.table thead th {
  color: #4f6075;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

@media (max-width: 991.98px) {
  .app-sidebar {
    min-height: auto;
    position: static;
  }

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

  .booking-step {
    justify-content: flex-start;
  }

  .heating-hero {
    background:
      linear-gradient(180deg, rgba(7, 35, 43, 0.96), rgba(11, 63, 78, 0.88)),
      url('/local-assets/img/cv-boiler-service-hero.png');
    background-position: center right;
  }

  .min-vh-hero {
    min-height: auto;
  }

  .booking-intro,
  .support-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .booking-intro-badge {
    white-space: normal;
  }
}
