@import url('/request-appointment/css/theme-tokens.css');

.appointment-request-hero {
  background: var(--pp-public-nav-blue, #053b6a);
  color: #fff;
  padding: 7rem 0 2rem;
}

.appointment-request-hero-layout {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.appointment-request-hero-logo {
  flex: 0 0 auto;
  height: auto;
  width: 88px;
}

.appointment-request-hero h1 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.appointment-request-hero p {
  color: rgba(255, 255, 255, .9);
  font-size: 1rem;
  line-height: 1.45;
  margin: .45rem 0 0;
  max-width: 50rem;
}

.appointment-request-urgent {
  align-items: center;
  background: #fff8df;
  border: 1px solid #e2c35b;
  border-radius: 6px;
  color: #54420b;
  display: flex;
  gap: .65rem;
  margin-bottom: 1rem;
  padding: .75rem .9rem;
}

.appointment-request-urgent i {
  color: #8a6400;
  flex: 0 0 auto;
}

.appointment-request-urgent a {
  color: #07596d;
  font-weight: 800;
}

.appointment-step-shell {
  min-width: 0;
}

.appointment-step-progress {
  border-bottom: 1px solid var(--pp-card-border, #d7e2e7);
  margin-bottom: 1.25rem;
  padding-bottom: .9rem;
}

.appointment-step-progress-row {
  align-items: baseline;
  display: flex;
  gap: .75rem;
  justify-content: space-between;
}

.appointment-step-count {
  color: var(--pp-public-action-teal, #11718a);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.appointment-step-current-title {
  color: var(--pp-heading-text, #2c3e50);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  text-align: right;
}

.appointment-step-track {
  background: #e7edef;
  border-radius: 2px;
  height: 4px;
  margin-top: .7rem;
  overflow: hidden;
}

.appointment-step-track > span {
  background: var(--pp-public-action-teal, #11718a);
  display: block;
  height: 100%;
  transition: width .18s ease;
  width: 20%;
}

.appointment-step-panel {
  min-width: 0;
  padding: 0;
}

.appointment-steps-ready .appointment-step-panel[hidden] {
  display: none !important;
}

.appointment-step-panel > header {
  margin-bottom: 1.15rem;
}

.appointment-step-panel > header h2 {
  color: var(--pp-heading-text, #2c3e50);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
}

.appointment-step-panel > header p {
  color: var(--pp-muted-text, #5f6f7a);
  margin: .35rem 0 0;
}

.appointment-step-panel .appointment-field-group {
  background: transparent;
  border: 0;
  margin: 0 0 1.2rem;
  padding: 0;
}

.appointment-step-panel .appointment-field-group:last-of-type {
  margin-bottom: 0;
}

.appointment-step-panel .appointment-field-group-title {
  color: var(--pp-heading-text, #2c3e50);
  font-size: 1rem;
  margin-bottom: .85rem;
  padding-bottom: .45rem;
  text-transform: none;
}

.appointment-step-actions {
  align-items: center;
  border-top: 1px solid var(--pp-card-border, #d7e2e7);
  display: flex;
  gap: .65rem;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
}

.appointment-step-actions .btn {
  min-height: 44px;
}

.appointment-step-error {
  color: var(--pp-danger, #b42318);
  flex: 1 1 100%;
  font-size: .88rem;
  font-weight: 700;
  margin: 0;
}

.appointment-step-error:empty {
  display: none;
}

.appointment-contact-choice {
  border: 0;
  margin: 0 0 1rem;
  padding: 0;
}

.appointment-contact-choice legend {
  color: var(--pp-heading-text, #2c3e50);
  font-size: .9rem;
  font-weight: 800;
  margin-bottom: .55rem;
}

.appointment-contact-choice-options {
  display: grid;
  gap: .55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.appointment-contact-choice-options label {
  margin: 0;
}

.appointment-contact-choice-options input {
  opacity: 0;
  position: absolute;
}

.appointment-contact-choice-options span {
  align-items: center;
  background: #fff;
  border: 1px solid #b9cbd1;
  border-radius: 6px;
  color: #243f4b;
  cursor: pointer;
  display: flex;
  font-weight: 800;
  gap: .5rem;
  min-height: 44px;
  padding: .6rem .75rem;
}

.appointment-contact-choice-options input:checked + span {
  background: #eaf4f5;
  border-color: var(--pp-public-action-teal, #11718a);
  box-shadow: inset 3px 0 0 var(--pp-public-action-teal, #11718a);
  color: #07596d;
}

.appointment-contact-choice-options input:focus-visible + span {
  outline: 3px solid rgba(17, 113, 138, .2);
  outline-offset: 2px;
}

.appointment-step-shell.appointment-steps-ready .appointment-contact-field[hidden] {
  display: none !important;
}

.appointment-add-contact-method {
  background: transparent;
  border: 0;
  color: var(--pp-public-action-teal, #11718a);
  font-size: .88rem;
  font-weight: 800;
  margin: -.35rem 0 .4rem;
  padding: .35rem 0;
  text-decoration: underline;
}

.appointment-inline-estimate {
  background: #eef4f3;
  border: 1px solid #cbdedb;
  border-radius: 6px;
  color: #24443d;
  margin-top: 1rem;
  padding: .85rem;
}

.appointment-inline-estimate strong,
.appointment-inline-estimate span {
  display: block;
}

.appointment-inline-estimate strong {
  font-size: 1rem;
}

.appointment-inline-estimate span {
  font-size: .85rem;
  margin-top: .25rem;
}

.appointment-address-copy-summary {
  background: #eef4f3;
  border-left: 4px solid var(--pp-public-action-teal, #11718a);
  border-radius: 4px;
  color: #24443d;
  margin: 0 0 1rem;
  padding: .75rem .85rem;
}

.appointment-address-copy-summary[hidden] {
  display: none !important;
}

.appointment-address-copy-summary strong {
  display: block;
  font-size: .88rem;
}

.appointment-address-copy-summary address {
  font-size: .88rem;
  font-style: normal;
  line-height: 1.45;
  margin: .2rem 0 0;
  white-space: pre-line;
}

.selected-window-estimate {
  background: #edf5fa;
  border-top: 2px solid var(--pp-public-nav-blue, #053b6a);
  color: var(--pp-heading-text, #2c3e50);
  margin-top: .7rem;
  padding: .7rem .05rem 0;
}

.selected-window-estimate-heading {
  align-items: baseline;
  display: flex;
  gap: .75rem;
  justify-content: space-between;
}

.selected-window-estimate-label {
  color: var(--pp-public-nav-blue, #053b6a);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.selected-window-estimate-total {
  color: var(--pp-public-nav-blue, #053b6a);
  font-size: 1.15rem;
}

.selected-window-estimate-title,
.selected-window-estimate-note,
.selected-window-estimate-travel,
.selected-window-estimate-terms {
  display: block;
}

.selected-window-estimate-title {
  color: var(--pp-heading-text, #2c3e50);
  font-size: .95rem;
}

.selected-window-estimate-note,
.selected-window-estimate-travel,
.selected-window-estimate-terms {
  font-size: .84rem;
  line-height: 1.4;
  margin-top: .25rem;
}

.selected-window-estimate-travel {
  color: #31566a;
  font-weight: 700;
}

.selected-window-estimate-terms {
  color: #6a4c00;
}

.selected-window-estimate.is-manual,
.selected-window-estimate.is-phone-confirmation {
  background: #fff8df;
  border-top-color: #9a6b00;
}

.appointment-review-list {
  border: 1px solid var(--pp-card-border, #d7e2e7);
  border-radius: 6px;
  overflow: hidden;
}

.appointment-review-row {
  align-items: start;
  background: #fff;
  border-top: 1px solid var(--pp-card-border, #d7e2e7);
  display: grid;
  gap: .75rem;
  grid-template-columns: 9rem minmax(0, 1fr) auto;
  padding: .75rem .85rem;
}

.appointment-review-row:first-child {
  border-top: 0;
}

.appointment-review-label {
  color: var(--pp-muted-text, #5f6f7a);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.appointment-review-value {
  color: var(--pp-heading-text, #2c3e50);
  font-weight: 700;
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.appointment-review-edit {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--pp-public-action-teal, #11718a);
  display: inline-flex;
  font-size: .82rem;
  font-weight: 800;
  gap: .3rem;
  padding: .15rem;
}

.appointment-review-estimate {
  background: #edf5fa;
  border: 1px solid #b9d3e3;
  border-left: 4px solid var(--pp-public-nav-blue, #053b6a);
  border-radius: 6px;
  color: var(--pp-heading-text, #2c3e50);
  margin-top: 1rem;
  padding: 1rem;
}

.appointment-review-estimate-header {
  margin-bottom: .8rem;
}

.appointment-review-estimate-title {
  color: var(--pp-public-nav-blue, #053b6a);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
}

.appointment-review-estimate-intro {
  color: #496675;
  font-size: .88rem;
  line-height: 1.45;
  margin: .25rem 0 0;
}

.appointment-estimate-option {
  border-top: 1px solid #b9d3e3;
  padding: .9rem 0;
}

.appointment-review-estimate-header + .appointment-estimate-option {
  border-top: 0;
  padding-top: 0;
}

.appointment-estimate-option-header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.appointment-estimate-option-title {
  color: var(--pp-heading-text, #2c3e50);
  font-size: .92rem;
  font-weight: 800;
  margin: 0;
}

.appointment-estimate-option-window {
  color: #496675;
  font-size: .84rem;
  line-height: 1.4;
  margin: .2rem 0 0;
}

.appointment-estimate-option-total {
  color: var(--pp-public-nav-blue, #053b6a);
  flex: 0 0 auto;
  font-size: 1.18rem;
  white-space: nowrap;
}

.appointment-estimate-detail-list {
  border-top: 1px solid #d2e2eb;
  margin: .75rem 0 0;
  padding-top: .55rem;
}

.appointment-estimate-detail-row {
  display: grid;
  font-size: .86rem;
  gap: 1rem;
  grid-template-columns: minmax(10rem, 42%) minmax(0, 1fr);
  line-height: 1.4;
  padding: .28rem 0;
}

.appointment-estimate-detail-row dt,
.appointment-estimate-detail-row dd {
  margin: 0;
}

.appointment-estimate-detail-row dt {
  color: #496675;
  font-weight: 700;
}

.appointment-estimate-detail-row dd {
  color: var(--pp-heading-text, #2c3e50);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-align: right;
}

.appointment-estimate-detail-row.is-total {
  border-top: 2px solid #b9d3e3;
  font-size: .95rem;
  margin-top: .35rem;
  padding-top: .55rem;
}

.appointment-estimate-detail-row.is-total dt,
.appointment-estimate-detail-row.is-total dd {
  color: var(--pp-public-nav-blue, #053b6a);
  font-weight: 900;
}

.appointment-estimate-travel-explanation,
.appointment-estimate-phone-note {
  background: rgba(255, 255, 255, .72);
  border-left: 3px solid var(--pp-public-action-teal, #11718a);
  font-size: .84rem;
  line-height: 1.45;
  margin: .7rem 0 0;
  padding: .55rem .65rem;
}

.appointment-estimate-option.is-manual,
.appointment-estimate-option.is-phone-confirmation {
  color: #54420b;
}

.appointment-estimate-option.is-manual .appointment-estimate-option-total,
.appointment-estimate-option.is-phone-confirmation .appointment-estimate-option-total {
  color: #765300;
}

.appointment-estimate-phone-note {
  border-left-color: #9a6b00;
}

.appointment-review-estimate-disclaimer {
  border-top: 1px solid #b9d3e3;
  color: #496675;
  font-size: .82rem;
  line-height: 1.45;
  margin: 0;
  padding-top: .75rem;
}

.appointment-step-consent {
  background: #f8fbfa;
  border: 1px solid var(--pp-card-border, #d7e2e7);
  border-radius: 6px;
  margin-top: 1rem;
  padding: .85rem;
}

.appointment-step-consent a {
  color: var(--pp-public-action-teal, #11718a) !important;
}

.appointment-step-form.appointment-steps-ready .appointment-estimate-sidebar {
  display: none;
}

.appointment-step-form.appointment-steps-ready > .row > [class*='col-lg-8'] {
  flex: 0 0 100%;
  max-width: 100%;
}

.appointment-step-form.appointment-steps-ready .appointment-form-panel {
  border-radius: 8px;
  margin: 0 auto;
  max-width: 850px;
}

.appointment-step-form.appointment-steps-ready .appointment-calendar-selection {
  display: none;
}

.appointment-step-form.appointment-steps-ready .preferred-arrival-option {
  background: #fff;
  border-color: var(--pp-card-border, #d7e2e7);
  border-radius: 6px;
  margin-bottom: .55rem;
  padding: .7rem .8rem;
}

.appointment-step-form.appointment-steps-ready .preferred-arrival-option.is-only-choice:not(.has-selected-window) {
  display: none;
}

.appointment-step-form.appointment-steps-ready .preferred-arrival-option.is-only-choice > .d-flex {
  display: none !important;
}

.appointment-step-form.appointment-steps-ready .preferred-arrival-option > .d-flex {
  margin-bottom: .35rem !important;
}

.appointment-step-form.appointment-steps-ready .preferred-option-remove {
  align-items: center;
  border: 0;
  color: var(--pp-danger, #b42318);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  padding: 0;
  width: 36px;
}

.appointment-step-form.appointment-steps-ready .appointment-calendar-option-summary {
  border: 0;
  box-shadow: none;
  padding: 0;
}

@media (max-width: 767.98px) {
  .appointment-request-hero {
    padding: 5.75rem 0 1.35rem;
  }

  .appointment-request-hero-layout {
    align-items: flex-start;
  }

  .appointment-request-hero-logo {
    width: 62px;
  }

  .appointment-request-hero h1 {
    font-size: 1.35rem;
  }

  .appointment-request-hero p {
    font-size: .9rem;
  }

  .appointment-review-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .appointment-review-label {
    grid-column: 1 / 2;
  }

  .appointment-review-value {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .appointment-review-edit {
    grid-column: 2;
    grid-row: 1;
  }

  .selected-window-estimate-heading,
  .appointment-estimate-option-header {
    align-items: flex-start;
    flex-direction: column;
    gap: .2rem;
  }

  .appointment-estimate-option-total {
    font-size: 1.1rem;
  }

  .appointment-estimate-detail-row {
    gap: .1rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .appointment-estimate-detail-row dd {
    text-align: left;
  }

  .appointment-review-estimate {
    padding: .85rem;
  }
}

@media (max-width: 575.98px) {
  .appointment-contact-choice-options {
    grid-template-columns: 1fr;
  }

  .appointment-step-progress-row {
    align-items: flex-start;
    flex-direction: column;
    gap: .2rem;
  }

  .appointment-step-current-title {
    text-align: left;
  }

  .appointment-step-actions {
    flex-wrap: wrap;
  }

  .appointment-step-actions .btn {
    flex: 1 1 auto;
  }

  .appointment-step-actions .appointment-step-error {
    order: -1;
  }
}
