/* BRS Booking - Public CSS
 * Scoped and reset to stay stable inside Elementor, WPBakery and theme containers. */

.stille-booking {
  --stille-bg: #f4f6f8;
  --stille-bg-card: #ffffff;
  --stille-ink: #121820;
  --stille-ink-soft: #5d6672;
  --stille-accent: #d71920;
  --stille-accent-deep: #a70f15;
  --stille-line: #dce1e7;
  --stille-success: #198754;
  --stille-error: #c62828;

  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--stille-bg);
  color: var(--stille-ink);
  padding: 48px 24px;
  border-radius: 12px;
  width: min(100%, 1080px);
  max-width: 1080px;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  margin: 24px auto;
  background-image: linear-gradient(135deg, rgba(215, 25, 32, 0.035), transparent 42%);
  line-height: 1.5;
}

.stille-booking *, .stille-booking *::before, .stille-booking *::after {
  box-sizing: border-box;
}


.stille-booking img,
.stille-booking svg { max-width: 100%; height: auto; }
.stille-booking input,
.stille-booking textarea,
.stille-booking select,
.stille-booking button { max-width: 100%; box-shadow: none; }
.stille-booking button,
.stille-booking [role="button"] { -webkit-appearance: none; appearance: none; }
.stille-booking a { color: inherit; }
.stille-booking p { margin-top: 0; }

.stille-header { text-align: center; margin-bottom: 48px; }
.stille-logo {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.18em;
  margin-bottom: 8px;
  color: var(--stille-ink);
}
.stille-logo span { font-style: italic; font-weight: 300; }
.stille-tagline {
  font-size: 13px;
  color: var(--stille-ink-soft);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Progress */
.stille-progress {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.stille-step-dot {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--stille-ink-soft);
  transition: color 0.4s ease;
}
.stille-step-dot .num {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--stille-line);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif; font-size: 13px;
  transition: all 0.4s ease;
}
.stille-step-dot.active { color: var(--stille-ink); }
.stille-step-dot.active .num {
  background: var(--stille-ink); color: var(--stille-bg-card);
  border-color: var(--stille-ink);
}
.stille-step-dot.done .num {
  background: var(--stille-accent); border-color: var(--stille-accent); color: white;
}
.stille-step-line { width: 32px; height: 1px; background: var(--stille-line); }

/* Steps */
.stille-step { display: none; animation: stilleFadeUp 0.5s ease; }
.stille-step.active { display: block; }
@keyframes stilleFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.stille-step-title {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  color: var(--stille-ink);
}
.stille-step-title em { font-style: italic; color: var(--stille-accent); }
.stille-step-sub {
  color: var(--stille-ink-soft);
  margin-bottom: 32px;
  font-size: 15px;
}

/* Service cards */
.stille-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}
.stille-service-card {
  background: var(--stille-bg-card);
  border: 1px solid var(--stille-line);
  border-radius: 4px;
  padding: 28px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.stille-service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(42, 38, 32, 0.10);
  border-color: var(--stille-accent);
}
.stille-service-card.selected {
  border-color: var(--stille-ink);
  background: var(--stille-ink);
  color: var(--stille-bg-card);
}
.stille-service-card.selected .stille-service-price,
.stille-service-card.selected .stille-service-meta {
  color: rgba(251, 248, 242, 0.7);
}
.stille-service-name {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  margin-bottom: 6px;
}
.stille-service-meta {
  font-size: 13px; color: var(--stille-ink-soft);
  letter-spacing: 0.05em; margin-bottom: 16px;
}
.stille-service-desc { font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.stille-service-price {
  font-family: 'Inter', sans-serif;
  font-size: 20px; color: var(--stille-accent);
}

/* Technicians */
.stille-therapists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
}
.stille-therapist-card {
  background: var(--stille-bg-card);
  border: 1px solid var(--stille-line);
  border-radius: 4px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}
.stille-therapist-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(42, 38, 32, 0.10);
}
.stille-therapist-card.selected {
  border-color: var(--stille-ink);
  border-width: 2px;
  padding: 23px;
}
.stille-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 28px; color: var(--stille-bg-card);
  letter-spacing: 0.05em;
}
.stille-avatar.av-1 { background: linear-gradient(135deg, #d71920, #9f1117); }
.stille-avatar.av-2 { background: linear-gradient(135deg, #2b3542, #121820); }
.stille-avatar.av-3 { background: linear-gradient(135deg, #64748b, #334155); }
.stille-avatar.av-4 { background: linear-gradient(135deg, #ef4444, #7f1d1d); }
.stille-therapist-name { font-family: 'Inter', sans-serif; font-size: 20px; margin-bottom: 4px; }
.stille-therapist-spec {
  font-size: 12px; color: var(--stille-ink-soft);
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* Date / time - stacked vertically so neither panel gets cramped */
.stille-datetime-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.stille-panel-label {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  margin-bottom: 16px;
  font-style: italic;
  color: var(--stille-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stille-date-pager {
  display: flex;
  gap: 8px;
}
.stille-date-arrow {
  background: var(--stille-bg-card);
  border: 1px solid var(--stille-line);
  border-radius: 4px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
  padding: 0 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--stille-ink);
}
.stille-date-arrow:hover:not(:disabled) {
  border-color: var(--stille-ink);
  background: var(--stille-ink);
  color: var(--stille-bg-card);
}
.stille-date-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.stille-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
@media (max-width: 600px) {
  .stille-dates { grid-template-columns: repeat(4, 1fr); }
  .stille-dates .stille-date-pill:nth-child(n+5) { display: none; }
}
.stille-date-pill {
  background: var(--stille-bg-card);
  border: 1px solid var(--stille-line);
  border-radius: 4px;
  padding: 14px 8px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}
.stille-date-pill:hover { border-color: var(--stille-accent); }
.stille-date-pill.selected {
  background: var(--stille-ink);
  color: var(--stille-bg-card);
  border-color: var(--stille-ink);
}
.stille-date-day {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--stille-ink-soft);
  margin-bottom: 4px;
}
.stille-date-pill.selected .stille-date-day { color: rgba(251, 248, 242, 0.7); }
.stille-date-num { font-family: 'Inter', sans-serif; font-size: 22px; }

.stille-times {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 8px;
}
.stille-time-slot {
  background: var(--stille-bg-card);
  border: 1px solid var(--stille-line);
  border-radius: 4px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}
.stille-time-slot:hover { border-color: var(--stille-accent); }
.stille-time-slot.selected {
  background: var(--stille-ink);
  color: var(--stille-bg-card);
  border-color: var(--stille-ink);
}
.stille-time-slot.unavailable {
  opacity: 0.35; cursor: not-allowed; text-decoration: line-through;
}

/* Form */
.stille-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 600px) {
  .stille-form-grid { grid-template-columns: 1fr; }
}
.stille-field { display: flex; flex-direction: column; }
.stille-field.full { grid-column: 1 / -1; }
.stille-field label {
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--stille-ink-soft);
  margin-bottom: 8px;
}
.stille-field input, .stille-field textarea {
  background: var(--stille-bg-card);
  border: 1px solid var(--stille-line);
  border-radius: 4px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--stille-ink);
  transition: border-color 0.2s ease;
  width: 100%;
}
.stille-field input:focus, .stille-field textarea:focus {
  outline: none;
  border-color: var(--stille-ink);
}
.stille-field textarea { resize: vertical; min-height: 80px; }

/* Summary */
.stille-summary {
  background: var(--stille-bg-card);
  border: 1px solid var(--stille-line);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 24px;
}
.stille-summary-row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--stille-line);
  font-size: 14px;
}
.stille-summary-row:last-child { border-bottom: none; }
.stille-summary-row .label {
  color: var(--stille-ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}
.stille-summary-row .value {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  text-align: right;
}
.stille-summary-row.total .value { color: var(--stille-accent); font-size: 20px; }

/* Buttons */
.stille-nav {
  display: flex; justify-content: space-between;
  margin-top: 40px; gap: 16px;
}
.stille-booking button {
  font-family: inherit;
  font-size: 14px;
  padding: 14px 32px;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  border: 1px solid var(--stille-ink);
}
.stille-btn-primary { background: var(--stille-ink); color: var(--stille-bg-card); }
.stille-btn-primary:hover { background: var(--stille-accent-deep); border-color: var(--stille-accent-deep); }
.stille-btn-primary:disabled {
  background: var(--stille-line);
  border-color: var(--stille-line);
  color: var(--stille-ink-soft);
  cursor: not-allowed;
}
.stille-btn-ghost { background: transparent; color: var(--stille-ink); }
.stille-btn-ghost:hover { background: var(--stille-ink); color: var(--stille-bg-card); }

/* Confirmation */
.stille-confirm-wrap { text-align: center; }
.stille-confirm-icon {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--stille-success);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 36px;
  animation: stillePop 0.5s ease;
}
@keyframes stillePop {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.stille-confirm-note { font-size: 13px; color: var(--stille-ink-soft); margin-top: 16px; }

/* Error */
.stille-error {
  background: #fff0ed;
  border: 1px solid var(--stille-error);
  color: var(--stille-error);
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 16px;
}

/* =====================================================
   Customer account UI
   ===================================================== */
.stille-account-tabs {
  display: flex;
  border-bottom: 1px solid var(--stille-line);
  margin-bottom: 32px;
  gap: 4px;
}
.stille-account-tab {
  background: none;
  border: none;
  padding: 14px 24px;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--stille-ink-soft);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  border-radius: 0;
  text-transform: none;
}
.stille-account-tab:hover { color: var(--stille-ink); background: none; }
.stille-account-tab.active {
  color: var(--stille-ink);
  border-bottom-color: var(--stille-accent);
  font-weight: 500;
}
.stille-account-panel { display: none; animation: stilleFadeUp 0.4s ease; }
.stille-account-panel.active { display: block; }

.stille-account-card {
  background: var(--stille-bg-card);
  border: 1px solid var(--stille-line);
  border-radius: 4px;
  padding: 40px;
  text-align: center;
}
.stille-account-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}
.stille-as-link {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.stille-account-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--stille-bg-card);
  border: 1px solid var(--stille-line);
  border-radius: 4px;
  padding: 14px 20px;
  margin-bottom: 24px;
  font-size: 14px;
}
.stille-link-soft {
  color: var(--stille-ink-soft);
  text-decoration: none;
  font-size: 13px;
}
.stille-link-soft:hover { color: var(--stille-ink); }

/* My-bookings cards */
.stille-my-bookings {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stille-booking-card {
  background: var(--stille-bg-card);
  border: 1px solid var(--stille-line);
  border-left: 4px solid var(--stille-accent);
  border-radius: 4px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  transition: opacity 0.3s ease;
  flex-wrap: wrap;
}
.stille-booking-card.stille-status-card-cancelled {
  border-left-color: var(--stille-error);
  opacity: 0.7;
}
.stille-booking-card.stille-status-card-completed {
  border-left-color: var(--stille-success);
}
.stille-booking-card-main {
  display: flex;
  gap: 32px;
  flex: 1;
  min-width: 0;
}
.stille-booking-when {
  text-align: center;
  border-right: 1px solid var(--stille-line);
  padding-right: 32px;
  min-width: 140px;
}
.stille-booking-date {
  font-size: 12px;
  color: var(--stille-ink-soft);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.stille-booking-time {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  color: var(--stille-ink);
}
.stille-booking-info { flex: 1; min-width: 0; }
.stille-booking-service {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  margin-bottom: 4px;
}
.stille-booking-meta {
  font-size: 13px;
  color: var(--stille-ink-soft);
  margin-bottom: 8px;
}
.stille-booking-price {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--stille-accent);
}
.stille-booking-card-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

/* Reusable status pill (was admin-only; promote to public) */
.stille-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}
.stille-status-confirmed { background: rgba(107, 139, 90, 0.15); color: var(--stille-success); }
.stille-status-completed { background: rgba(139, 111, 71, 0.15); color: var(--stille-accent); }
.stille-status-cancelled { background: rgba(184, 90, 74, 0.15); color: var(--stille-error); }

.stille-link {
  background: none;
  border: none;
  color: var(--stille-error);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 8px;
  letter-spacing: 0;
  text-transform: none;
}
.stille-link:hover { color: var(--stille-accent-deep); }

@media (max-width: 600px) {
  .stille-booking-card-main { flex-direction: column; gap: 16px; }
  .stille-booking-when {
    border-right: none;
    border-bottom: 1px solid var(--stille-line);
    padding-right: 0;
    padding-bottom: 16px;
    text-align: left;
  }
  .stille-booking-card-side { flex-direction: row; align-items: center; }
}

/* =====================================================
   Language switcher (top right of booking)
   ===================================================== */
.stille-lang-switch {
  text-align: right;
  margin-bottom: 16px;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.stille-lang-switch a {
  color: var(--stille-ink-soft);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 3px;
  transition: color 0.2s ease;
}
.stille-lang-switch a:hover { color: var(--stille-ink); }
.stille-lang-switch a.active {
  color: var(--stille-ink);
  font-weight: 600;
}
.stille-lang-switch span {
  color: var(--stille-line);
  margin: 0 4px;
}

/* =====================================================
   Technician photo avatars
   ===================================================== */
.stille-avatar-photo {
  background-size: cover !important;
  background-position: center;
  background-color: var(--stille-line);
}


/* Builder/theme conflict protection */
.elementor-widget-html .stille-booking,
.elementor-widget-shortcode .stille-booking,
.vc_raw_html .stille-booking,
.wpb_text_column .stille-booking {
  width: 100%;
  max-width: 1080px;
}

@media (max-width: 760px) {
  .stille-booking { padding: 28px 16px; margin: 12px auto; border-radius: 8px; }
  .stille-header { margin-bottom: 28px; }
  .stille-logo { font-size: 25px; letter-spacing: 0.08em; }
  .stille-step-title { font-size: 28px; }
  .stille-progress { gap: 8px; margin-bottom: 32px; justify-content: flex-start; }
  .stille-step-line { width: 14px; }
  .stille-step-dot { gap: 6px; font-size: 11px; }
  .stille-step-dot .num { width: 24px; height: 24px; }
  .stille-nav { margin-top: 28px; }
  .stille-booking button { padding: 12px 18px; }
  .stille-summary-row { gap: 18px; }
  .stille-summary-row .value { overflow-wrap: anywhere; }
}

@media (max-width: 430px) {
  .stille-step-dot > span:last-child { display: none; }
  .stille-step-line { flex: 1 1 16px; }
  .stille-progress { justify-content: center; flex-wrap: nowrap; }
  .stille-nav { flex-wrap: wrap; }
  .stille-nav > button { flex: 1 1 140px; }
  .stille-field.full > div[style*="display: flex"] { flex-direction: column; }
}

/* BRS inspection-request flow */
.stille-inspection-notice {
  margin: 22px 0 30px;
  padding: 16px 18px;
  border-left: 4px solid #d71920;
  background: rgba(215, 25, 32, 0.06);
  color: var(--stille-ink);
}
.stille-inspection-notice strong { display:block; margin-bottom:5px; }
.stille-inspection-notice p { margin:0; color:var(--stille-ink-soft); line-height:1.55; }
button.stille-service-card {
  width: 100%;
  appearance: none;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.stille-service-inspection {
  display:block;
  margin-top:12px;
  font-size:12px;
  font-weight:600;
  color:var(--stille-accent);
}
.stille-vehicle-input-row { display:flex; gap:8px; }
.stille-vehicle-input-row input { flex:1; min-width:0; text-transform:uppercase; letter-spacing:.1em; font-family:monospace; }
.stille-inline-muted, .stille-inline-success, .stille-inline-error { display:inline-block; margin-top:8px; font-size:13px; }
.stille-inline-muted { color:var(--stille-ink-soft); }
.stille-inline-success { color:var(--stille-success); }
.stille-inline-error { color:var(--stille-error); }
@media (max-width: 560px) {
  .stille-vehicle-input-row { flex-direction:column; }
}

/* Customer appointment controls: override generic theme/button rules. */
button.stille-service-card { display:block; padding:28px 24px; text-transform:none; letter-spacing:normal; border:1px solid var(--stille-line); }
button.stille-service-card > span { display:block; }
button.stille-service-card.selected .stille-service-inspection { color:rgba(255,255,255,.78); }
button.stille-date-pill { padding:14px 8px !important; text-transform:none !important; letter-spacing:normal !important; color:var(--stille-ink); border:1px solid var(--stille-line); }
button.stille-date-pill.selected { color:var(--stille-bg-card); }
button.stille-time-slot { padding:12px !important; text-transform:none !important; letter-spacing:normal !important; color:var(--stille-ink); border:1px solid var(--stille-line); }
button.stille-time-slot.selected { color:var(--stille-bg-card); }
button.stille-time-slot:disabled { opacity:.35; cursor:not-allowed; }

/* =====================================================
   BRS customer booking refresh v2.3.1
   Cleaner, easier-to-read frontend
   ===================================================== */
.stille-booking {
  --stille-bg: #eef2f6;
  --stille-bg-card: #ffffff;
  --stille-ink: #17212b;
  --stille-ink-soft: #5c6773;
  --stille-accent: #d71920;
  --stille-accent-soft: rgba(215, 25, 32, 0.08);
  --stille-accent-deep: #a61218;
  --stille-line: #d8e0e8;
  --stille-shadow: 0 12px 36px rgba(19, 32, 50, 0.08);
  border-radius: 20px;
  padding: 34px 24px 40px;
  background: linear-gradient(180deg, #f7fafc 0%, #eef2f6 100%);
  background-image: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.stille-lang-switch {
  margin-bottom: 12px;
  font-size: 12px;
}

.stille-header {
  text-align: left;
  margin-bottom: 24px;
}

.stille-logo {
  font-size: 30px;
  letter-spacing: 0.06em;
  font-weight: 800;
  margin-bottom: 6px;
}

.stille-tagline {
  font-size: 13px;
  color: var(--stille-accent);
  letter-spacing: 0.08em;
  font-weight: 700;
}

.stille-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: 22px;
  background: var(--stille-bg-card);
  border: 1px solid var(--stille-line);
  border-radius: 18px;
  padding: 24px;
  margin-top: 22px;
  box-shadow: var(--stille-shadow);
}

.stille-hero-copy h1 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.stille-hero-copy p {
  margin: 0;
  color: var(--stille-ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.stille-hero-points {
  display: grid;
  gap: 12px;
  align-content: center;
}

.stille-hero-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid var(--stille-line);
  border-radius: 12px;
  font-size: 14px;
  color: var(--stille-ink);
}

.stille-hero-point span:first-child {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--stille-accent-soft);
  color: var(--stille-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.stille-inspection-notice {
  margin: 0 0 24px;
  border: 1px solid rgba(215, 25, 32, 0.16);
  border-left: 4px solid var(--stille-accent);
  border-radius: 14px;
  padding: 16px 18px;
  background: rgba(215, 25, 32, 0.04);
}

.stille-progress {
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 22px;
  padding: 0 2px;
}

.stille-step-dot {
  font-size: 14px;
  font-weight: 600;
}

.stille-step-dot .num {
  width: 34px;
  height: 34px;
  font-weight: 700;
  border-radius: 999px;
}

.stille-step-line {
  width: 38px;
}

.stille-step-card {
  background: var(--stille-bg-card);
  border: 1px solid var(--stille-line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--stille-shadow);
}

.stille-step-heading {
  margin-bottom: 24px;
}

.stille-step-title {
  font-size: 30px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.stille-step-sub {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 760px;
}

.stille-services {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.stille-service-card,
button.stille-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-height: 230px;
  padding: 22px 22px 20px !important;
  background: var(--stille-bg-card);
  border: 1px solid var(--stille-line);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 33, 52, 0.05);
}

.stille-service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(215, 25, 32, 0.35);
  box-shadow: 0 18px 40px rgba(20, 33, 52, 0.10);
}

.stille-service-card.selected,
button.stille-service-card.selected {
  background: #fff;
  color: var(--stille-ink);
  border-color: var(--stille-accent);
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.10), 0 18px 40px rgba(20, 33, 52, 0.12);
}

.stille-service-chip {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--stille-accent-soft);
  color: var(--stille-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.stille-service-name {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  margin: 0;
}

.stille-service-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--stille-ink-soft);
  margin: 0;
  font-weight: 400;
}

.stille-service-inspection {
  margin-top: auto;
  padding-top: 14px;
  width: 100%;
  border-top: 1px solid var(--stille-line);
  color: var(--stille-accent) !important;
  font-size: 13px;
  font-weight: 700;
}

.stille-datetime-grid {
  gap: 26px;
}

.stille-panel-label {
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  margin-bottom: 12px;
}

.stille-date-arrow {
  border-radius: 12px;
  width: 40px;
  height: 40px;
}

.stille-dates {
  gap: 10px;
}

.stille-date-pill,
button.stille-date-pill {
  border-radius: 14px;
  padding: 14px 10px !important;
  box-shadow: 0 4px 10px rgba(20, 33, 52, 0.04);
}

.stille-date-day {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.stille-date-num {
  font-size: 24px;
  font-weight: 800;
}

.stille-times {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
}

.stille-time-slot,
button.stille-time-slot {
  border-radius: 14px;
  padding: 14px !important;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(20, 33, 52, 0.04);
}

.stille-form-grid {
  gap: 18px;
}

.stille-field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.stille-field input,
.stille-field textarea {
  border-radius: 14px;
  border-color: var(--stille-line);
  padding: 15px 16px;
}

.stille-field textarea {
  min-height: 110px;
}

.stille-summary {
  border-radius: 16px;
  padding: 18px 20px;
  background: #f8fafc;
}

.stille-summary-row {
  gap: 18px;
  align-items: flex-start;
}

.stille-summary-row .label {
  font-size: 12px;
  font-weight: 700;
}

.stille-summary-row .value {
  font-size: 15px;
  font-weight: 700;
}

.stille-nav {
  margin-top: 28px;
}

.stille-booking button {
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.stille-btn-primary {
  background: var(--stille-accent);
  border-color: var(--stille-accent);
}

.stille-btn-primary:hover {
  background: var(--stille-accent-deep);
  border-color: var(--stille-accent-deep);
}

.stille-btn-ghost:hover {
  background: var(--stille-ink);
  color: #fff;
}

#stille-vehicle-preview .stille-inline-success,
#stille-vehicle-preview .stille-inline-error,
#stille-vehicle-preview .stille-inline-muted {
  margin-top: 10px;
}

@media (max-width: 920px) {
  .stille-hero-card {
    grid-template-columns: 1fr;
  }

  .stille-services {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .stille-booking {
    border-radius: 16px;
    padding: 22px 14px 28px;
  }

  .stille-logo {
    font-size: 24px;
  }

  .stille-hero-card,
  .stille-step-card {
    border-radius: 16px;
    padding: 18px;
  }

  .stille-hero-copy h1 {
    font-size: 28px;
  }

  .stille-step-title {
    font-size: 24px;
  }

  .stille-service-card,
  button.stille-service-card {
    min-height: 0;
    padding: 18px !important;
  }

  .stille-nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 430px) {
  .stille-hero-point {
    font-size: 13px;
  }

  .stille-step-line {
    width: 12px;
  }

  .stille-booking button {
    width: 100%;
  }
}

/* =====================================================
   BRS website-matched customer booking v2.3.3
   Neutral workshop styling and theme conflict protection
   ===================================================== */
.stille-booking {
  --stille-bg: #f5f6f8 !important;
  --stille-bg-card: #ffffff !important;
  --stille-ink: #171c24 !important;
  --stille-ink-soft: #606875 !important;
  --stille-accent: #4054c7 !important;
  --stille-accent-soft: rgba(64, 84, 199, 0.09) !important;
  --stille-accent-deep: #2d3d9d !important;
  --stille-line: #dde2e8 !important;
  --stille-success: #287a58 !important;
  --stille-error: #b4232f !important;
  background: #f5f6f8 !important;
  background-image: none !important;
  color: #171c24 !important;
  box-shadow: none !important;
}

.stille-booking .stille-logo {
  color: #171c24 !important;
}

.stille-booking .stille-tagline {
  color: #4054c7 !important;
}

.stille-booking .stille-hero-card,
.stille-booking .stille-step-card {
  background: #ffffff !important;
  border-color: #dde2e8 !important;
  box-shadow: 0 12px 34px rgba(28, 36, 49, 0.07) !important;
}

.stille-booking .stille-hero-copy h1,
.stille-booking .stille-step-title,
.stille-booking .stille-service-name,
.stille-booking .stille-site-detail h3 {
  color: #171c24 !important;
  text-transform: none !important;
  letter-spacing: -0.02em !important;
}

.stille-booking .stille-hero-copy p,
.stille-booking .stille-step-sub,
.stille-booking .stille-service-desc,
.stille-booking .stille-site-detail p {
  color: #606875 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.stille-booking .stille-hero-point {
  background: #f7f8fa !important;
  border-color: #e1e5ea !important;
  color: #2d3440 !important;
}

.stille-booking .stille-hero-point span:first-child {
  background: rgba(64, 84, 199, 0.10) !important;
  color: #4054c7 !important;
}

.stille-booking .stille-inspection-notice {
  background: #eef1fb !important;
  border: 1px solid #d8def5 !important;
  border-left: 4px solid #4054c7 !important;
  color: #171c24 !important;
}

.stille-booking .stille-inspection-notice strong {
  color: #25337f !important;
}

.stille-booking .stille-inspection-notice p {
  color: #525c6a !important;
}

.stille-site-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}

.stille-booking .stille-site-detail {
  min-width: 0;
  padding: 20px;
  background: #ffffff !important;
  border: 1px solid #dde2e8 !important;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(28, 36, 49, 0.045);
}

.stille-booking .stille-site-detail-kicker {
  display: block;
  margin-bottom: 8px;
  color: #4054c7 !important;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stille-booking .stille-site-detail h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 750;
}

.stille-booking .stille-site-detail p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.stille-booking .stille-site-detail-location {
  background: #171c24 !important;
  border-color: #171c24 !important;
}

.stille-booking .stille-site-detail-location .stille-site-detail-kicker {
  color: #aeb9ff !important;
}

.stille-booking .stille-site-detail-location h3 {
  color: #ffffff !important;
}

.stille-booking .stille-site-detail-location p {
  color: #c5cad2 !important;
}

.stille-booking .stille-step-dot.active,
.stille-booking .stille-step-dot.done {
  color: #171c24 !important;
}

.stille-booking .stille-step-dot.active .num,
.stille-booking .stille-step-dot.done .num {
  background: #4054c7 !important;
  border-color: #4054c7 !important;
  color: #ffffff !important;
}

.stille-booking .stille-step-line {
  background: #d9dee5 !important;
}

/* These are div-based selectable cards so the shop theme cannot recolor them as buttons. */
.stille-booking .stille-services {
  align-items: stretch;
}

.stille-booking .stille-service-card,
.stille-booking div.stille-service-card,
.elementor .stille-booking .stille-service-card,
.wpb-js-composer .stille-booking .stille-service-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  min-height: 220px !important;
  padding: 22px !important;
  margin: 0 !important;
  background: #ffffff !important;
  background-image: none !important;
  color: #171c24 !important;
  border: 1px solid #dfe3e8 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  cursor: pointer !important;
  text-align: left !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}

.stille-booking .stille-service-card:hover,
.stille-booking .stille-service-card:focus-visible {
  background: #ffffff !important;
  border-color: #9ea9df !important;
  box-shadow: 0 12px 28px rgba(28, 36, 49, 0.09) !important;
  transform: translateY(-2px) !important;
  outline: none !important;
}

.stille-booking .stille-service-card.selected,
.stille-booking div.stille-service-card.selected {
  background: #ffffff !important;
  color: #171c24 !important;
  border-color: #4054c7 !important;
  box-shadow: 0 0 0 3px rgba(64, 84, 199, 0.11) !important;
}

.stille-booking .stille-service-chip,
.stille-booking .stille-service-card.selected .stille-service-chip {
  display: inline-flex !important;
  width: auto !important;
  padding: 6px 10px !important;
  margin: 0 !important;
  background: #eef1fb !important;
  color: #4054c7 !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.stille-booking .stille-service-name {
  display: block !important;
  margin: 14px 0 8px !important;
  font-size: clamp(20px, 2vw, 25px) !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
}

.stille-booking .stille-service-desc {
  display: block !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
}

.stille-booking .stille-service-inspection,
.stille-booking .stille-service-card.selected .stille-service-inspection {
  display: block !important;
  width: 100% !important;
  margin: auto 0 0 !important;
  padding: 14px 0 0 !important;
  background: transparent !important;
  color: #4054c7 !important;
  border-top: 1px solid #e3e6eb !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  font-weight: 750 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.stille-booking .stille-btn-primary {
  background: #4054c7 !important;
  border-color: #4054c7 !important;
  color: #ffffff !important;
}

.stille-booking .stille-btn-primary:hover:not(:disabled) {
  background: #2d3d9d !important;
  border-color: #2d3d9d !important;
}

.stille-booking .stille-btn-primary:disabled {
  background: #d8dde5 !important;
  border-color: #d8dde5 !important;
  color: #7d8692 !important;
}

.stille-booking .stille-btn-ghost,
.stille-booking .stille-date-arrow,
.stille-booking .stille-date-pill,
.stille-booking .stille-time-slot {
  background: #ffffff !important;
  background-image: none !important;
  color: #252c36 !important;
  border-color: #d8dee5 !important;
}

.stille-booking .stille-date-pill.selected,
.stille-booking .stille-time-slot.selected {
  background: #171c24 !important;
  color: #ffffff !important;
  border-color: #171c24 !important;
}

.stille-booking .stille-btn-ghost:hover,
.stille-booking .stille-date-arrow:hover:not(:disabled) {
  background: #171c24 !important;
  color: #ffffff !important;
  border-color: #171c24 !important;
}

.stille-booking .stille-field input,
.stille-booking .stille-field textarea {
  background: #ffffff !important;
  color: #171c24 !important;
  border-color: #d8dee5 !important;
}

.stille-booking .stille-field input:focus,
.stille-booking .stille-field textarea:focus {
  border-color: #4054c7 !important;
  box-shadow: 0 0 0 3px rgba(64, 84, 199, 0.10) !important;
}

.stille-booking .stille-summary {
  background: #f7f8fa !important;
  border-color: #dde2e8 !important;
}

.stille-booking .stille-confirm-icon {
  background: #4054c7 !important;
}

@media (max-width: 920px) {
  .stille-site-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .stille-booking .stille-service-card,
  .stille-booking div.stille-service-card {
    min-height: 0 !important;
  }
}
.stille-status-requested{background:#fff1c7;color:#735500}
.stille-status-card-requested{border-left-color:#d4a800}


/* =====================================================
   BRS Sandnes logo integration v2.6.1
   ===================================================== */
.stille-booking .stille-logo{display:flex;align-items:center;justify-content:flex-start;margin-bottom:8px;font-size:0;letter-spacing:0;color:inherit}
.stille-booking .stille-logo-img{display:block;width:min(100%,360px);height:auto}
.stille-booking .stille-header{text-align:left}
.stille-booking .stille-tagline{margin-top:2px}
@media (max-width:760px){
  .stille-booking .stille-logo-img{width:min(100%,260px)}
}
@media (max-width:430px){
  .stille-booking .stille-logo-img{width:min(100%,220px)}
}
