/* Toast = стандартный alert, справа сверху (выше дроверов), непрозрачный фон */
.dash-toast {
  position: fixed;
  top: 1rem;
  right: 1rem;
  left: auto;
  z-index: 20000;
  max-width: min(24rem, calc(100vw - 2rem));
  margin: 0;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}
.dash-toast.is-show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.gtnox-body .dash-toast.alert {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  border-radius: var(--gx-radius-sm, 6px);
  border-width: 1px;
  border-left-width: 4px;
  background: #fff;
}
.gtnox-body .dash-toast.alert-success {
  background: #fff;
  color: #1f7a4d;
  border-color: rgba(47, 158, 99, 0.45);
  border-left-color: var(--gx-success, #2f9e63);
}
.gtnox-body .dash-toast.alert-warning {
  background: #fff;
  color: #8a641f;
  border-color: rgba(181, 132, 42, 0.45);
  border-left-color: var(--gx-warn, #b5842a);
}
.gtnox-body .dash-toast.alert-danger {
  background: #fff;
  color: #a33a38;
  border-color: rgba(208, 82, 79, 0.45);
  border-left-color: var(--gx-danger, #d0524f);
}

.dash-prices-drawer-head .dash-drawer-vehicle,
.dash-props-drawer .dash-drawer-vehicle {
  display: block;
  margin-top: 0.2rem;
  font-size: 12px;
  line-height: 1.35;
  color: var(--gx-text-muted, #6b7280);
  white-space: normal;
  overflow-wrap: anywhere;
}
.dash-prices-drawer-head .small,
.dash-props-drawer .small {
  white-space: normal;
}

.dash-props-delivery {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.15rem 0 0.25rem;
}
.dash-props-delivery-label {
  font-size: 12px;
  font-weight: 650;
  color: var(--gx-text-strong, #111);
}
.dash-props-delivery-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}
.dash-props-delivery-opts label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 12px;
  color: var(--gx-text, #333);
  cursor: pointer;
  margin: 0;
}
.dash-props-delivery-fee-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 12px;
  color: var(--gx-text-muted, #6b7280);
}
.dash-props-delivery-fee {
  width: 5.5rem;
  padding: 0.2rem 0.35rem;
  border: 1px solid var(--gx-border, #d0d5dd);
  border-radius: var(--gx-radius-sm, 6px);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.dash-props-total-break {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 12px;
  color: var(--gx-text-muted, #6b7280);
}
.dash-props-total-break .dash-props-total-line {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}
.dash-props-total-break .is-sum {
  margin-top: 0.15rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--gx-border, #e5e7eb);
  font-size: 15px;
  font-weight: 700;
  color: var(--gx-text-strong, #111);
}
.dash-props-drawer.is-locked .dash-props-del,
.dash-props-drawer.is-locked .dash-props-p-input,
.dash-props-drawer.is-locked .dash-qty-btn,
.dash-props-drawer.is-locked .dash-qty-input,
.dash-props-drawer.is-locked .dash-props-delivery-opts input,
.dash-props-drawer.is-locked .dash-props-delivery-fee {
  pointer-events: none;
  opacity: 0.55;
}
.dash-props-drawer.is-locked .dash-props-del {
  visibility: hidden;
}

/* VIN/авто и итоги скроллятся вместе с контентом дровера */
.dash-prices-drawer,
.dash-props-drawer {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.dash-prices-drawer .dash-prices-drawer-body,
.dash-props-drawer .dash-prices-drawer-body {
  flex: 1 0 auto;
  min-height: auto;
  overflow: visible;
}
.dash-prices-drawer .dash-prices-drawer-head,
.dash-props-drawer .dash-prices-drawer-head,
.dash-prices-drawer .dash-prices-cart,
.dash-props-drawer .dash-props-footer {
  flex-shrink: 0;
  position: static;
}

.dash-delivery-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  font-size: 11px;
  font-weight: 650;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  white-space: nowrap;
}
.dash-delivery-tag[data-type="none"] {
  color: #64748b;
  background: #f8fafc;
  border-color: #e2e8f0;
}
.dash-delivery-tag[data-type="paid"] {
  color: #9a3412;
  background: #ffedd5;
  border-color: #fdba74;
}
.dash-delivery-tag[data-type="client_pays"] {
  color: #1e40af;
  background: #dbeafe;
  border-color: #93c5fd;
}

.gtnox-results-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  flex: 0 0 auto;
}
.gtnox-results-filters:not(.is-drawer) {
  margin-left: auto;
}
.gtnox-date-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 12px;
  color: var(--gx-text-muted, #6b7280);
}
.gtnox-date-filter .form-control-sm {
  width: auto;
  min-width: 8.5rem;
  padding: 0.2rem 0.4rem;
  font-size: 12px;
}
.gtnox-panel-head-workflow .gtnox-admin-filters {
  margin-left: 0;
}
