/* Get Started / Submenu Pages */
body.submenu-page {
  background: #f6f6f6;
}

.submenu-main {
  padding: 28px 0;
  min-height: calc(100vh - 220px);
}

.progress-wrap {
  width: min(840px, calc(100% - 48px));
  margin: 0 auto 26px;
}

.progress-steps {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.progress-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.progress-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex: 0 0 auto;
}

.progress-item.active .progress-dot {
  background: var(--red);
}

.progress-label {
  font-size: 11px;
  color: #111;
  white-space: nowrap;
}

.progress-line {
  width: 62px;
  height: 1px;
  background: rgba(0, 0, 0, .18);
  flex: 0 0 auto;
}

.flow-shell {
  width: min(950px);
  height: auto;
  margin: 0 auto 125px;
  background: white;
  border: 1px solid rgba(0, 0, 0, .16);
  border-radius: 18px;
  padding: 80px 50px 80px;
}

.flow-title {
  margin: 0;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 700;
}

.flow-sub {
  margin: 8px 0 0;
  font-size: 12px;
}

.segmented-toggle {
  display: inline-flex;
  gap: 6px;
  margin-top: 20px;
  margin-bottom: 36px;
}

.segmented-toggle .seg-btn {
  min-width: 90px;
  height: 26px;
  border-radius: 6px;
  border: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
}

.seg-btn.active {
  background: var(--red);
  color: #fff;
}

.seg-btn:not(.active) {
  background: #d9d9d9;
  color: #111;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.service-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .08);
  min-height: 200px;
  padding: 18px 12px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.service-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
}

.service-card .service-illustration {
  height: 125px;
  display: flex;
  justify-content: center;
}

.service-card .service-illustration img {
  max-height: 110px;
  width: auto;
}


.service-card .service-illustration-plates img {
  max-height: 150px;
  width: auto;
}

.service-card .service-illustration-plates {
  height: 145px;
  display: flex;
  justify-content: center;
}

.flow-grid {
  display: grid;
  grid-template-columns: 1fr 410px;
  gap: 28px;
  align-items: start;
  margin-top: 28px;
}

.panel {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 16px;
  padding: 18px;
}

.panel-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
}

.upload-dropzone {
  height: 186px;
  border-radius: 16px;
  background: #f4f4f4;
  border: 1px solid rgba(0, 0, 0, .04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #666;
  margin-bottom: 18px;
}

.outline-btn {
  width: 100%;
  height: 32px;
  border: 1px solid var(--red);
  border-radius: 12px;
  background: #fff;
  color: #222;
  font-size: 12px;
  cursor: pointer;
}

.primary-btn {
  width: 100%;
  height: 32px;
  border: 0;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  margin-top: 10px;
  outline: unset;
}

.need-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.need-item,
.file-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.need-item-left,
.file-left {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-icon {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.file-pill {
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 14px;
  padding: 12px 12px;
  margin-top: 10px;
}

.file-meta small {
  display: block;
  color: #7a7a7a;
  font-size: 10px;
  margin-top: 2px;
}

.link-red {
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 16px;
  margin-top: 28px;
}

.schedule-panel-left {
  padding: 18px 18px 16px;
}

.date-heading {
  margin: 10px 0 18px 40px;
  font-size: 12px;
  font-weight: 700;
}

.day-strip {
  display: grid;
  grid-template-columns: 18px repeat(5, 1fr) 18px;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}

.day-arrow {
  text-align: center;
  font-size: 28px;
  line-height: 1;
  color: #333;
}

.day-card {
  background: #f1f1f1;
  border-radius: 12px;
  min-height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  gap: 4px;
}

.day-card strong {
  font-size: 11px;
}

.day-card.active {
  background: var(--red);
  color: #fff;
}

.time-heading {
  margin: 0 0 10px 40px;
  font-size: 12px;
  font-weight: 700;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 16px;
  padding: 0 38px 0 40px;
}

.time-slot {
  height: 23px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .22);
  background: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
}

.time-slot.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.time-slot.disabled {
  color: #d6d6d6;
  border-color: rgba(0, 0, 0, .08);
}

.side-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mini-field {
  width: 100%;
  height: 31px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, .22);
  background: #fff;
  padding: 0 12px;
  font-size: 11px;
}

.mini-row {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 10px;
}

.help-copy {
  font-size: 9px;
  line-height: 1.55;
  color: #777;
  margin-top: -2px;
}

.tab-row {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.tab-link {
  font-size: 12px;
  padding: 0 4px 8px;
  color: #222;
  border-bottom: 2px solid transparent;
}

.tab-link.active {
  color: var(--red);
  border-color: var(--red);
}

.location-select {
  border: 1px solid rgba(0, 0, 0, .18);
  border-radius: 14px;
  background: #fff;
  min-height: 40px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.location-select strong {
  display: block;
  font-size: 11px;
}

.location-select span {
  display: block;
  font-size: 9px;
  color: #555;
}

.chev {
  font-size: 22px;
  line-height: 1;
  color: #333;
}

.payment-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  margin-top: 20px;
  align-items: start;
}

.form-card,
.summary-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 16px;
  padding: 22px 22px 18px;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
}

.payment-input {
  width: 100%;
  height: 31px;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 10px;
  padding: 0 12px;
  font-size: 11px;
  background: #fff;
}

.payment-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.payment-field {
  margin-bottom: 14px;
}

.summary-line,
.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  margin-bottom: 14px;
}

.summary-total {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, .15);
  font-size: 16px;
  font-weight: 700;
}

.summary-line span:last-child,
.summary-total span:last-child {
  font-weight: 600;
}

.submenu-footer {
  margin-top: 0;
}


.segmented-toggle .seg-btn {
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.segmented-toggle .seg-btn:hover,
.segmented-toggle .seg-btn:focus-visible {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.segmented-toggle .seg-btn:focus-visible {
  outline: 2px solid rgba(198, 49, 42, 0.3);
  outline-offset: 2px;
}

.service-card-grid.dealer-view {
  grid-template-columns: repeat(2, minmax(220px, 260px));
  justify-content: start;
}

.service-card {
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-color: rgba(198, 49, 42, 0.28);
}

.field-block-vin-info
{
  font-size: 14px;
  font-weight: 200;
}


/* uploads */

.upload-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 24px;
  align-items: start;
}

.upload-main-card,
.upload-side-card {
  border: 1px solid #d8d8d8;
  border-radius: 22px;
  background: #fff;
  padding: 20px;
}

.upload-side-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.upload-dropzone {
  min-height: 250px;
  border-radius: 18px;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #7e7e7e;
  cursor: pointer;
  margin-bottom: 22px;
  border: 2px dashed transparent;
  transition: 0.2s ease;
}

.upload-dropzone.dragover {
  border-color: #c9322c;
  background: #fcf5f5;
}

.upload-action-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.upload-secondary-btn,
.upload-primary-btn {
  width: 100%;
  height: 46px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.upload-secondary-btn {
  border: 1.5px solid #c9322c;
  background: #fff;
  color: #111;
}

.upload-primary-btn {
  border: none;
  background: #c9322c;
  color: #fff;
}

.upload-primary-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.upload-side-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 14px;
}

.needed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.needed-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.needed-check {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #c9322c;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.uploaded-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.uploaded-empty {
  margin: 0;
  color: #7e7e7e;
}

.uploaded-file-row {
  border: 1px solid #d8d8d8;
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.uploaded-file-name {
  font-weight: 600;
  color: #111;
}

.uploaded-file-size {
  font-size: 13px;
  color: #7e7e7e;
}

.remove-file-btn {
  border: none;
  background: transparent;
  color: #c9322c;
  font-weight: 700;
  cursor: pointer;
}

.upload-notice{
  font-size:13px;
  margin-top:8px;
  color:#c9322c;
  font-weight:500;
  opacity:.9;
}


/* Schedule step */
.schedule-step-shell {
  width: min(1080px, calc(100% - 48px));
}

.schedule-method-tabs {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.schedule-method-tab {
  font-size: 12px;
  padding: 0 4px 8px;
  color: #222;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: pointer;
}

.schedule-method-tab.active {
  color: var(--red);
  border-color: var(--red);
}

.schedule-step-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 22px;
  align-items: start;
  margin-top: 6px;
}

.schedule-step-left,
.schedule-step-right {
  min-width: 0;
}

.schedule-rule-panel,
.schedule-embed-panel {
  padding: 18px;
}

.schedule-field-stack {
  display: grid;
  gap: 12px;
}

.schedule-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.schedule-input {
  width: 100%;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, .22);
  background: #fff;
  padding: 0 12px;
  font-size: 11px;
}

.schedule-select-wrap {
  position: relative;
}

.schedule-help-copy {
  font-size: 10px;
  line-height: 1.55;
  color: #777;
  margin: 0;
}

.schedule-status {
  margin-top: 14px;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 11px;
  line-height: 1.5;
}

.schedule-status.ok {
  background: #eef7ef;
  color: #155724;
  border: 1px solid #cfe7d2;
}

.schedule-status.warn {
  background: #fff7e8;
  color: #7a5a00;
  border: 1px solid #ecd9a8;
}

.schedule-status.error {
  background: #fff0f0;
  color: #8a1f1f;
  border: 1px solid #efc2c2;
}

.schedule-summary-card {
  margin-top: 16px;
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}

.schedule-summary-title {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
}

.schedule-summary-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 11px;
  margin-bottom: 8px;
}

.schedule-summary-line:last-child {
  margin-bottom: 0;
}

.schedule-action-row {
  margin-top: 16px;
}

.schedule-placeholder {
  min-height: 670px;
  border-radius: 14px;
  background: #f5f5f5;
  border: 1px dashed rgba(0, 0, 0, .14);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
}

.schedule-placeholder strong {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

.schedule-placeholder p {
  margin: 0;
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

.schedule-cal-frame {
  width: 100%;
  min-height: 670px;
  border: 0;
  display: block;
}

.disabled-link {
  pointer-events: none;
  opacity: .55;
}

@media (max-width: 920px) {
  .schedule-step-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .schedule-two-col {
    grid-template-columns: 1fr;
  }
}



/* Responsive (MOBILE) */
@media (max-width: 980px) {

  .progress-label 
  {
    display: none;
  }

  .progress-line
  {
    width: 20px;
  }

  .progress-wrap,
  .flow-shell {
    width: min(100%, calc(100% - 24px));
  }

  .flow-shell {
    padding: 26px 18px 24px;
  }

  .progress-steps {
    overflow-x: auto;
    padding-bottom: 4px;
    justify-content: center;
  }

  .service-card-grid,
  .flow-grid,
  .schedule-grid,
  .payment-grid {
    grid-template-columns: 1fr;
  }

  .service-card-grid {
    max-width: none;
  }

  .service-card-grid.dealer-view {
    grid-template-columns: 1fr;
    justify-content: start;
  }

  .time-grid {
    padding: 0;
    grid-template-columns: repeat(2, 1fr);
  }

  .date-heading,
  .time-heading {
    margin-left: 0;
  }

  .day-strip {
    gap: 8px;
  }

  .upload-dropzone
  {
    display: none;
  }

  /* Header */
  .desktop-nav {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  header {
    padding: 8px 0;
  }

  .header-inner {
    height: 78px;
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 12px;
  }

  .brand {
    min-width: 0;
    justify-content: center;
  }

  .brand img {
    height: 70px;
    width: auto;
    margin: 0 auto;
  }

  .mobile-locations {
    justify-self: end;
  }

  nav {
    display: none
  }

  .brand {
    min-width: unset;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr
  }

  .footer-right {
    justify-content: flex-end;
    padding-right: 20px;
  }

  .service-grid {
    grid-template-columns: 1fr
  }

  .upload-grid,
  .sched-grid,
  .pay-grid {
    grid-template-columns: 1fr
  }

  .upload-layout 
  {
    grid-template-columns: 1fr
  }

  .upload-main-card
  {
    border: unset;
  }

}