/* cleanom 1.8.6 – dashboard rows, manual appointment flow and vehicle selection */
.dashboard-orders-panel {
  overflow: hidden;
}

.dashboard-order-list {
  display: grid;
  gap: 8px;
  padding: 10px 18px 16px;
}

.dashboard-order-row {
  grid-template-columns: minmax(230px, 1.35fr) auto minmax(180px, 230px) auto;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--app-line-soft, #e9edf1);
  border-radius: 8px;
  background: #fff;
}

.dashboard-order-row:first-child {
  border-top: 1px solid var(--app-line-soft, #e9edf1);
}

.dashboard-order-row:hover {
  border-color: #cfd8e2;
  background: #fbfcfe;
}

.dashboard-order-main {
  gap: 4px;
}

.dashboard-order-main strong {
  color: #26313d;
  font-size: 12.5px;
}

.dashboard-order-main .dashboard-order-service {
  color: #315f9b;
  font-size: 11px;
  font-weight: 650;
}

.dashboard-order-main small {
  color: #7a8591;
  line-height: 1.4;
}

.dashboard-today-list {
  display: grid;
  gap: 8px;
  padding: 10px 16px 16px;
}

.dashboard-today-row {
  appearance: none;
  width: 100%;
  grid-template-columns: 64px minmax(180px, 1.2fr) minmax(170px, 1fr) auto 18px;
  gap: 14px;
  align-items: center;
  min-height: 64px;
  margin: 0;
  padding: 11px 13px;
  color: inherit;
  text-align: left;
  border: 1px solid var(--app-line-soft, #e9edf1);
  border-radius: 8px;
  background: #fff;
}

.dashboard-today-row:hover {
  border-color: #cbd7e4;
  background: #f9fbfe;
}

.dashboard-today-row time {
  display: grid;
  justify-items: center;
  padding: 7px 6px;
  color: #244f87;
  border-radius: 7px;
  background: #edf4fb;
}

.dashboard-today-row time strong {
  font-size: 14px;
  line-height: 1;
}

.dashboard-today-row time small {
  margin-top: 3px;
  color: #6e8198;
  font-size: 8px;
  text-transform: uppercase;
}

.dashboard-today-row .timeline-content,
.dashboard-today-row .timeline-service {
  min-width: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}

.dashboard-today-row .timeline-content strong,
.dashboard-today-row .timeline-service strong,
.dashboard-today-row .timeline-content span,
.dashboard-today-row .timeline-service small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-today-row .timeline-content strong,
.dashboard-today-row .timeline-service strong {
  color: #2d3945;
  font-size: 11.5px;
}

.dashboard-today-row .timeline-content span,
.dashboard-today-row .timeline-service small {
  color: #78838e;
  font-size: 9.5px;
}

.dashboard-today-row > svg {
  width: 16px;
  color: #9aa5af;
}

.appointment-create-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.appointment-create-progress > div {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 9px 11px;
  color: #7b8691;
  border: 1px solid #e1e6eb;
  border-radius: 8px;
  background: #f7f9fb;
}

.appointment-create-progress > div.active {
  color: #244f87;
  border-color: #b9cce3;
  background: #eef4fb;
}

.appointment-create-progress i,
.appointment-create-heading > i {
  display: grid;
  place-items: center;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  color: #fff;
  border-radius: 50%;
  background: #2864bd;
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
}

.appointment-create-progress span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 650;
}

.appointment-create-section {
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid #dfe5eb;
  border-radius: 9px;
  background: #fff;
}

.appointment-create-section.disabled {
  opacity: .58;
  background: #f8fafc;
}

.appointment-create-heading {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf0f3;
}

.appointment-create-heading h3 {
  margin: 0 0 3px;
  color: #26313d;
  font-size: 13px;
  font-weight: 650;
}

.appointment-create-heading p {
  margin: 0;
  color: #77828d;
  font-size: 10px;
  line-height: 1.45;
}

.appointment-vehicle-select {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.appointment-inline-vehicle {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px dashed #c8d4e0;
  border-radius: 8px;
  background: #f8fafc;
}

.appointment-inline-vehicle-action {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}

.appointment-service-summary {
  grid-column: 1 / -1;
  padding: 13px 14px;
  border: 1px solid #d9e3ee;
  border-radius: 8px;
  background: #f3f7fc;
}

.appointment-service-summary > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: center;
}

.appointment-service-summary strong {
  color: #263d5b;
  font-size: 12px;
}

.appointment-service-summary span,
.appointment-service-summary small {
  color: #738191;
  font-size: 9.5px;
}

.appointment-service-summary b {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: #1d4f91;
  font-size: 15px;
}

.appointment-addon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.appointment-addon-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-width: 0;
  padding: 11px;
  border: 1px solid #dfe5eb;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.appointment-addon-option.active {
  border-color: #8eb0d7;
  background: #eef5fc;
}

.appointment-addon-option input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.appointment-addon-option span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.appointment-addon-option strong,
.appointment-addon-option small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.appointment-addon-option strong {
  color: #34414e;
  font-size: 10.5px;
}

.appointment-addon-option small {
  color: #7b8792;
  font-size: 9px;
}

.appointment-addon-option b {
  color: #3970ad;
  font-size: 9px;
  font-weight: 650;
}

.appointment-calculated-total {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #dce3ea;
  border-radius: 8px;
  background: #dce3ea;
}

.appointment-calculated-total span {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  color: #74808b;
  background: #fff;
  font-size: 9.5px;
}

.appointment-calculated-total strong {
  color: #273746;
  font-size: 13px;
}

.vehicle-card > div:last-of-type > h3:first-child {
  margin-top: 0;
}

@media (max-width: 1050px) {
  .dashboard-order-row {
    grid-template-columns: minmax(200px, 1fr) auto;
  }

  .dashboard-order-row select,
  .dashboard-order-row .button {
    grid-column: auto;
  }

  .dashboard-order-row select {
    grid-column: 1;
  }

  .dashboard-today-row {
    grid-template-columns: 60px minmax(0, 1fr) auto 18px;
  }

  .dashboard-today-row .timeline-service {
    grid-column: 2;
    grid-row: 2;
  }

  .dashboard-today-row .badge {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .dashboard-today-row > svg {
    grid-column: 4;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 720px) {
  .dashboard-order-list,
  .dashboard-today-list {
    padding: 9px 12px 13px;
  }

  .dashboard-order-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px;
  }

  .dashboard-order-row select,
  .dashboard-order-row .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .dashboard-today-row {
    grid-template-columns: 54px minmax(0, 1fr) 16px;
    gap: 10px;
    padding: 10px;
  }

  .dashboard-today-row .timeline-service {
    grid-column: 2;
    grid-row: 2;
  }

  .dashboard-today-row .badge {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: stretch;
    justify-content: center;
  }

  .dashboard-today-row > svg {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .appointment-create-progress {
    grid-template-columns: 1fr;
  }

  .appointment-create-progress > div {
    padding: 8px 10px;
  }

  .appointment-create-section {
    margin-inline: -2px;
    padding: 13px;
  }

  .appointment-vehicle-select,
  .appointment-inline-vehicle,
  .appointment-addon-grid,
  .appointment-calculated-total {
    grid-template-columns: 1fr;
  }

  .appointment-vehicle-select .button,
  .appointment-inline-vehicle-action .button {
    width: 100%;
  }

  .appointment-service-summary > div {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
