/* Booking flow: describe your task, and the shared progress bar. Scoped to .tf-page / .tf-steps. */
.tf-page { background: var(--hr-ground, #F7F5F0); color: #12354A; font-family: 'Manrope', sans-serif; }
.tf-wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }

.tf-head { background: #fff; border-bottom: 1px solid #DDE4E8; padding: 18px 0; }
.tf-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; }
.tf-steps .tf-step { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tf-steps .tf-step::before, .tf-steps .tf-step::after { content: none; }
.tf-bar { display: block; height: 6px; border-radius: 3px; background: #D9E0E4; }
.tf-step.is-on .tf-bar { background: #0F78AE; }
.tf-step.is-done .tf-bar { background: #1B6E48; }
.tf-label { font: 600 14px 'Manrope', sans-serif; color: #5B6B76; }
.tf-step.is-on .tf-label { color: #12354A; font-weight: 700; }

.tf-body { padding: 40px 0 64px; }
.tf-page p { margin: 0; padding: 0; font-family: 'Manrope', sans-serif; }
.tf-kicker { margin: 0 0 8px; font: 700 13px 'Manrope', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #0B5F8B; }
.tf-h1 { margin: 0 0 8px; font: 800 38px/1.15 'Plus Jakarta Sans', sans-serif; color: #12354A; }
.tf-page .tf-lead { margin: 0 0 32px; font: 500 17px/1.5 'Manrope', sans-serif; color: #4A5D6A; max-width: 640px; }

.tf-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.tf-form { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.tf-side { flex: 1 1 280px; max-width: 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

.tf-card { background: #fff; border: 1px solid #DDE4E8; border-radius: 16px; padding: 24px; }
.tf-h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font: 700 20px 'Plus Jakarta Sans', sans-serif; color: #12354A; }
.tf-h3 { margin: 0 0 16px; font: 700 18px 'Plus Jakarta Sans', sans-serif; color: #12354A; }
.tf-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 15px; background: #12354A; color: #fff; font: 700 14px 'Manrope', sans-serif; flex: none; }

.tf-field { margin-bottom: 16px; }
.tf-field:last-child { margin-bottom: 0; }
.tf-field label, .tf-fieldset legend { display: block; margin: 0 0 8px; padding: 0; font: 700 14px 'Manrope', sans-serif; color: #12354A; }
.tf-field input, .tf-field textarea { box-sizing: border-box; width: 100%; border: 1.5px solid #C9D3D9; border-radius: 12px; background: #fff; font: 500 16px 'Manrope', sans-serif; color: #12354A; }
.tf-field input { height: 52px; padding: 0 16px; }
.tf-field textarea { padding: 14px 16px; line-height: 1.5; resize: vertical; }
.tf-field input:focus, .tf-field textarea:focus { outline: 2px solid #0F78AE; outline-offset: 1px; border-color: #0F78AE; }
.tf-page .tf-hint { margin: 8px 0 0; font: 500 13px 'Manrope', sans-serif; color: #5B6B76; }

.tf-fieldset { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.tf-fieldset:last-child { margin-bottom: 0; }
.tf-chips, .tf-opts { display: flex; flex-wrap: wrap; gap: 12px; }
.tf-chip, .tf-opt { position: relative; display: block; margin: 0; cursor: pointer; }
.tf-chip input, .tf-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tf-chip span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border: 1.5px solid #C9D3D9; border-radius: 12px; background: #fff; font: 600 15px 'Manrope', sans-serif; color: #12354A; }
.tf-opt { flex: 1 1 150px; }
.tf-opt span { display: block; box-sizing: border-box; height: 100%; padding: 14px 16px; border: 1.5px solid #C9D3D9; border-radius: 12px; background: #fff; }
.tf-opt b { display: block; font: 700 15px 'Manrope', sans-serif; color: #12354A; }
.tf-opt i { display: block; margin-top: 2px; font: 500 13px 'Manrope', sans-serif; font-style: normal; color: #5B6B76; }
.tf-chip input:checked + span, .tf-opt input:checked + span { border-color: #0F78AE; background: #E8F3F9; }
.tf-chip input:checked + span { color: #0B5F8B; }
.tf-chip input:focus-visible + span, .tf-opt input:focus-visible + span { outline: 2px solid #0F78AE; outline-offset: 2px; }

.tf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.tf-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 0; border-radius: 12px; background: #0F78AE; color: #fff; font: 700 16px 'Plus Jakarta Sans', sans-serif; cursor: pointer; }
.tf-btn:hover { background: #0B5F8B; }
.tf-page .tf-note { font: 500 14px 'Manrope', sans-serif; color: #5B6B76; }

.tf-alert { padding: 16px 20px; border: 1px solid #E9B4B0; border-radius: 12px; background: #FDF1F0; color: #8C1D18; font: 500 15px 'Manrope', sans-serif; }
.tf-alert ul { margin: 6px 0 0; padding-left: 20px; list-style: disc; }
.tf-alert li { margin: 0; padding: 0; list-style: disc; }
.tf-alert li::before { content: none; }

.tf-how { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font: 500 15px/1.45 'Manrope', sans-serif; color: #33495A; }
.tf-how li { margin: 0; padding: 0; list-style: none; }
.tf-how li::before, .tf-how li::after { content: none; }
.tf-how b { color: #12354A; }
.tf-trust { display: flex; gap: 14px; align-items: flex-start; padding: 20px 24px; border-radius: 16px; background: #12354A; color: #fff; }
.tf-trust svg { flex: none; }
.tf-page .tf-trust p { font: 500 15px/1.5 'Manrope', sans-serif; color: #fff; }

/* Your task summary on the technician pages */
.tf-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 0 0 28px; padding: 16px 20px; border: 1px solid #BFDDEC; border-radius: 16px; background: #E8F3F9; }
.tf-page .tf-summary p, .tf-summary p { margin: 0; font: 600 15px/1.5 'Manrope', sans-serif; color: #12354A; }
.tf-summary a { font: 700 14px 'Manrope', sans-serif; color: #0B5F8B; }

@media (max-width: 640px) {
  .tf-wrap { padding: 0 16px; }
  .tf-head { padding: 12px 0; }
  .tf-label { font-size: 12px; }
  .tf-step:not(.is-on) .tf-label { display: none; }
  .tf-body { padding: 24px 0 48px; }
  .tf-h1 { font-size: 30px; }
  .tf-card { padding: 18px; }
  .tf-chip { flex: 1 1 100%; }
  .tf-chip span { width: 100%; box-sizing: border-box; }
  .tf-opts { gap: 8px; }
  .tf-opt { flex: 1 1 0; }
  .tf-opt span { padding: 12px 10px; text-align: center; }
  .tf-actions { flex-direction: column; align-items: stretch; }
  .tf-btn { width: 100%; }
}

/* Progress bar sitting on the existing technician page headers */
.tf-inline { background: transparent; margin-bottom: 20px; }
.tf-inline .tf-steps { margin: 0; }

/* Request a booking (technician without a price list) */
.tf-req { background: transparent; padding: 8px 0 24px; }
.tf-req-card { flex: 1 1 560px; min-width: 0; padding: 32px; }
.tf-h2b { margin: 0 0 6px; font: 800 24px 'Plus Jakarta Sans', sans-serif; color: #12354A; }
.tf-page .tf-lead2 { margin: 0 0 24px; font: 500 16px/1.5 'Manrope', sans-serif; color: #4A5D6A; }
.tf-two { display: flex; flex-wrap: wrap; gap: 18px; }
.tf-two .tf-field { flex: 1 1 220px; min-width: 0; margin-bottom: 0; }
.tf-form .tf-field { margin-bottom: 0; }
.tf-how-num li { display: flex; gap: 12px; }
.tf-how-num .tf-num { width: 28px; height: 28px; border-radius: 14px; font-size: 13px; }
@media (max-width: 640px) { .tf-req-card { padding: 20px; } }

/* Request a booking: day strip, times and the summary */
.rq-main { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.rq-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.rq-day { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 4px; border: 1.5px solid #C9D3D9; border-radius: 12px; background: #fff; font: 600 13px 'Manrope', sans-serif; color: #33495A; cursor: pointer; }
.rq-day b { font: 800 20px 'Plus Jakarta Sans', sans-serif; color: #12354A; }
.rq-day small { font: 500 12px 'Manrope', sans-serif; color: #5B6B76; }
.rq-day.is-on { border-color: #0F78AE; background: #E8F3F9; }
.rq-day.is-off { background: #F1F3F5; border-color: #E3E8EB; color: #8A97A1; cursor: not-allowed; }
.rq-day.is-off b { color: #8A97A1; }
.rq-more { margin-bottom: 18px; }
.rq-more label, .rq-lab { display: block; margin: 0 0 8px; font: 700 14px 'Manrope', sans-serif; color: #12354A; }
.rq-more select { box-sizing: border-box; height: 46px; padding: 0 14px; border: 1.5px solid #C9D3D9; border-radius: 12px; background: #fff; font: 600 15px 'Manrope', sans-serif; color: #12354A; min-width: 240px; }
.rq-slots { display: flex; flex-wrap: wrap; gap: 12px; min-height: 48px; font: 500 15px 'Manrope', sans-serif; color: #4A5D6A; }
.rq-slot { min-height: 48px; padding: 0 18px; border: 1.5px solid #C9D3D9; border-radius: 12px; background: #fff; font: 600 15px 'Manrope', sans-serif; color: #12354A; cursor: pointer; }
.rq-slot.is-on { border-color: #0F78AE; background: #E8F3F9; color: #0B5F8B; }
.rq-summary .tf-card { padding: 24px; }
.rq-sum { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid #EEF1F3; font: 500 14.5px/1.4 'Manrope', sans-serif; }
.rq-sum span { color: #5B6B76; }
.rq-sum b { text-align: right; }
.rq-send { width: 100%; margin-top: 16px; }
.rq-send:disabled { background: #9CB9C9; cursor: not-allowed; }
.rq-hold { margin: 14px 0 0; text-align: center; font: 500 13.5px/1.5 'Manrope', sans-serif; color: #5B6B76; }
@media (max-width: 640px) {
  .rq-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rq-slot { width: 100%; }
  .rq-more select { width: 100%; min-width: 0; }
}

/* Request sent page and the request lists */
.rq-sent { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.rq-sent-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 12px; }
.rq-tick { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: #E7F4EC; margin-bottom: 20px; }
.rq-facts { padding: 8px 28px; }
.rq-next { padding: 28px; }
.rq-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid #EEF1F3; font: 500 14.5px/1.5 'Manrope', sans-serif; color: #4A5D6A; }
.rq-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }
.rq-btn2 { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 12px; background: #fff; border: 1.5px solid #0F78AE; color: #0B5F8B; font: 700 16px 'Plus Jakarta Sans', sans-serif; text-decoration: none; }
.rq-copy { text-align: center; font: 500 14px 'Manrope', sans-serif; color: #5B6B76; }

/* Saved places for a signed-in customer */
.tf-places { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.tf-place { min-height: 44px; padding: 0 16px; border: 1px solid #0F78AE; border-radius: 99px; background: #fff; color: #0F78AE; font: 700 14px 'Manrope', sans-serif; cursor: pointer; }
.tf-place:hover, .tf-place:focus-visible { background: #E6F2F8; }

/* Photos on the task form */
.tf-photos { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 10px; }
.tf-photos:empty { display: none; }
.tf-photo { width: 104px; display: flex; flex-direction: column; gap: 4px; }
.tf-photo img { width: 104px; height: 104px; object-fit: cover; border-radius: 12px; background: #DCE4E9; }
.tf-photo-remove { margin: 0; font: 600 13px 'Manrope', sans-serif; color: #B3261E; display: flex; align-items: center; gap: 6px; min-height: 32px; cursor: pointer; }
.tf-add { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1.5px dashed #0F78AE; border-radius: 12px; color: #0F78AE; font: 700 15px 'Manrope', sans-serif; cursor: pointer; }
.tf-add:hover { background: #E6F2F8; }
.tf-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.tf-file:focus-visible ~ .tf-hint { outline: none; }

/* Week arrows above the day strip */
.rq-nav { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.rq-range { flex: 1; text-align: center; font: 800 17px 'Plus Jakarta Sans', sans-serif; color: #12354A; }
.rq-arrow { width: 48px; height: 48px; border: 1.5px solid #C9D3D9; border-radius: 12px; background: #fff; font-size: 22px; line-height: 1; color: #12354A; cursor: pointer; }
.rq-arrow:hover:not(:disabled) { border-color: #0F78AE; background: #E8F3F9; }
.rq-arrow:disabled { opacity: .4; cursor: not-allowed; }
.rq-limit { margin: -6px 0 16px; font: 500 13.5px 'Manrope', sans-serif; color: #5B6B76; }

.rq-jump { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 0; font: 700 14px 'Manrope', sans-serif; color: #0F78AE; flex-wrap: wrap; }
.rq-jump input { height: 44px; padding: 0 10px; border: 1.5px solid #C9D3D9; border-radius: 10px; font: 600 14px 'Manrope', sans-serif; color: #12354A; background: #fff; }
