.driver-route-detail-map-wrap {
  margin: 0 0 1rem;
  border: 1px solid rgba(47, 43, 61, 0.1);
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--bs-gray-50, #f8f8fa);
}

/* —— Sürücü rota detay showcase (müşteri sunumu) —— */
.driver-route-showcase {
  overflow: hidden;
  border-radius: 1rem;
  background: var(--bs-paper-bg, #fff);
}

.admin-detail-swal.admin-detail-swal--route-map .driver-route-showcase {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.admin-detail-swal.admin-detail-swal--route-map .driver-route-showcase__map-stage {
  flex-shrink: 0;
}

.admin-detail-swal.admin-detail-swal--route-map .driver-route-showcase__body {
  flex: 1 1 auto;
  min-height: 0;
}

.driver-route-showcase__map-stage {
  position: relative;
  min-height: 320px;
  background: linear-gradient(135deg, #1a2744 0%, #324b73 45%, #00a1b7 100%);
}

/* Sürücü rota detay — kompakt modal (daha az kaydırma) */
.driver-route-showcase--compact .driver-route-showcase__map-stage {
  min-height: 200px;
}

.driver-route-showcase--compact .driver-route-detail-map {
  height: 200px;
  min-height: 200px;
}

.driver-route-showcase__map-overlay--compact {
  padding: 0.55rem 0.65rem 0.65rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.38) 0%, rgba(15, 23, 42, 0.04) 42%, rgba(15, 23, 42, 0.62) 100%);
}

.driver-route-showcase__route-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.65rem;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
  pointer-events: auto;
  width: 100%;
  max-width: 480px;
  align-self: center;
}

.driver-route-showcase__route-strip-point {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
  text-align: center;
  align-items: center;
}

.driver-route-showcase__route-strip-point--end {
  text-align: center;
  align-items: center;
}

.driver-route-showcase__route-strip-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
}

.driver-route-showcase__route-strip-point strong {
  font-size: 0.82rem;
  line-height: 1.25;
  color: var(--bs-heading-color, #2f2b3d);
  word-break: break-word;
}

.driver-route-showcase__route-strip-time {
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  color: #5d596c;
}

.driver-route-showcase__route-strip-time--estimate {
  color: #e58a2e;
}

.driver-route-activity {
  margin-top: 0.35rem;
  padding: 0.65rem 0.7rem 0.7rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(47, 43, 61, 0.07);
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.driver-route-activity .driver-route-showcase__section-title {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.driver-route-activity .driver-route-showcase__section-title .icon-base {
  font-size: 0.85rem;
  color: #00a1b7;
}

.driver-route-activity__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.driver-route-activity__item {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: stretch;
}

.driver-route-activity__marker {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 0.45rem;
}

.driver-route-activity__item:not(:last-child) .driver-route-activity__marker::after {
  content: '';
  position: absolute;
  top: 2.15rem;
  bottom: -0.55rem;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(0, 207, 232, 0.45), rgba(201, 201, 216, 0.35));
  border-radius: 1px;
}

.driver-route-activity__icon {
  position: relative;
  z-index: 1;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #00a1b7;
  background: #fff;
  border: 2px solid rgba(0, 207, 232, 0.28);
  box-shadow: 0 2px 8px rgba(47, 43, 61, 0.06);
}

.driver-route-activity__icon .icon-base {
  font-size: 0.92rem;
  line-height: 1;
}

.driver-route-activity__item.is-done .driver-route-activity__icon {
  color: #28c76f;
  border-color: rgba(40, 199, 111, 0.35);
  background: rgba(40, 199, 111, 0.08);
}

.driver-route-activity__item.is-active .driver-route-activity__icon {
  color: #fff;
  border-color: #00cfe8;
  background: linear-gradient(145deg, #00cfe8, #00b4cc);
  box-shadow: 0 4px 14px rgba(0, 207, 232, 0.35);
  animation: driver-route-activity-pulse 2.2s ease-in-out infinite;
}

@keyframes driver-route-activity-pulse {
  0%,
  100% {
    box-shadow: 0 4px 14px rgba(0, 207, 232, 0.35);
  }

  50% {
    box-shadow: 0 4px 18px rgba(0, 207, 232, 0.5);
  }
}

.driver-route-activity__item.is-pending .driver-route-activity__icon {
  color: #8b8fa3;
  border-color: rgba(47, 43, 61, 0.12);
  background: rgba(47, 43, 61, 0.04);
  box-shadow: none;
}

.driver-route-activity__item.is-muted .driver-route-activity__icon {
  color: #a0a4b0;
  border-color: rgba(47, 43, 61, 0.1);
  background: rgba(47, 43, 61, 0.03);
  box-shadow: none;
}

.driver-route-activity__item.is-info .driver-route-activity__icon {
  color: #324b73;
  border-color: rgba(50, 75, 115, 0.22);
  background: rgba(50, 75, 115, 0.08);
}

.driver-route-activity__body {
  min-width: 0;
}

.driver-route-activity__card {
  padding: 0.45rem 0.6rem 0.5rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(47, 43, 61, 0.06);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.driver-route-activity__item.is-done .driver-route-activity__card {
  background: rgba(40, 199, 111, 0.03);
  border-color: rgba(40, 199, 111, 0.12);
}

.driver-route-activity__item.is-active .driver-route-activity__card {
  background: linear-gradient(135deg, rgba(0, 207, 232, 0.08), rgba(0, 207, 232, 0.03));
  border-color: rgba(0, 207, 232, 0.28);
  box-shadow: 0 4px 16px rgba(0, 207, 232, 0.1);
}

.driver-route-activity__item.is-pending .driver-route-activity__card {
  background: rgba(47, 43, 61, 0.02);
  border-style: dashed;
  border-color: rgba(47, 43, 61, 0.1);
}

.driver-route-activity__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
}

.driver-route-activity__text {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--bs-heading-color, #2f2b3d);
}

.driver-route-activity__item.is-active .driver-route-activity__text {
  color: #007f91;
}

.driver-route-activity__badge {
  margin-left: auto;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 600;
  line-height: 1.25;
  color: #5d6474;
  background: rgba(47, 43, 61, 0.06);
  white-space: nowrap;
}

.driver-route-activity__item.is-active .driver-route-activity__badge {
  color: #007f91;
  background: rgba(0, 207, 232, 0.14);
}

.driver-route-activity__item.is-done .driver-route-activity__badge {
  color: #1f9d57;
  background: rgba(40, 199, 111, 0.12);
}

.driver-route-activity__detail {
  margin: 0.2rem 0 0;
  font-size: 0.67rem;
  line-height: 1.35;
  color: #8b8fa3;
}

.driver-route-activity__item.is-active .driver-route-activity__detail {
  color: #5d6474;
}

.driver-route-activity__note {
  margin: 0.5rem 0 0;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(47, 43, 61, 0.06);
  font-size: 0.63rem;
  line-height: 1.4;
  color: #a0a4b0;
}

.driver-route-showcase--compact .driver-route-activity__card {
  padding: 0.4rem 0.55rem;
}

.driver-route-showcase--compact .driver-route-activity__text {
  font-size: 0.75rem;
}

.driver-route-showcase__route-strip-mid {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #00a1b7;
  white-space: nowrap;
}

.driver-route-showcase__route-strip-mid i {
  font-size: 0.95rem;
}

.driver-route-showcase--compact .driver-route-showcase__body--compact {
  padding: 0.75rem 0.85rem 0.85rem;
}

.driver-route-showcase--compact .driver-route-showcase__stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.driver-route-showcase--compact .driver-route-stat-card {
  padding: 0.55rem 0.6rem;
}

.driver-route-showcase--compact .driver-route-stat-card__icon {
  width: 1.65rem;
  height: 1.65rem;
  font-size: 0.9rem;
}

.driver-route-showcase--compact .driver-route-stat-card__label {
  font-size: 0.62rem;
}

.driver-route-showcase--compact .driver-route-stat-card__value {
  font-size: 0.8rem;
}

.driver-route-showcase--compact .driver-route-showcase__driver-card {
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.65rem;
}

.driver-route-showcase--compact .driver-route-showcase__driver-avatar {
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1.05rem;
}

.driver-route-showcase--compact .driver-route-showcase__timeline {
  margin-top: 0.25rem;
  padding: 0.5rem 0.6rem;
}

.driver-route-showcase--compact .driver-route-showcase__steps {
  gap: 0.22rem;
}

.driver-route-showcase--compact .driver-route-showcase__step {
  font-size: 0.74rem;
  padding-left: 0.9rem;
}

.driver-route-showcase--compact .driver-route-showcase__step-time {
  font-size: 0.64rem;
}

.driver-route-detail-map .leaflet-control-zoom {
  margin: 0 0 0.45rem 0.45rem;
  border: 0;
  border-radius: 0.55rem;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
  z-index: 600;
}

.driver-route-detail-map .leaflet-control-zoom a {
  width: 1.85rem;
  height: 1.85rem;
  line-height: 1.85rem;
  font-size: 1rem;
  color: #324b73;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(47, 43, 61, 0.1);
}

.driver-route-detail-map .leaflet-control-zoom a:hover {
  background: #fff;
  color: #00a1b7;
}

.driver-route-detail-map .leaflet-control-zoom a:last-child {
  border-bottom: 0;
}

.driver-route-showcase__map-stage--listing {
  min-height: 200px;
  background: linear-gradient(135deg, #00cfe8 0%, #00a1b7 55%, #00889a 100%);
  background-size: cover;
  background-position: center;
}

.driver-route-showcase__map-stage--listing-compact {
  min-height: 200px;
}

.driver-route-showcase__listing-hero {
  position: relative;
  min-height: 108px;
  padding: 0.85rem 1rem 0.95rem;
  background: linear-gradient(135deg, #00cfe8 0%, #00a1b7 55%, #00889a 100%);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.driver-route-showcase__listing-hero--compact {
  min-height: 108px;
}

.driver-route-showcase__listing-hero--photo {
  min-height: 148px;
}

.driver-route-showcase__listing-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  max-width: 100%;
}

.driver-route-showcase__listing-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.22);
}

.driver-route-showcase__map-top--listing {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.driver-route-showcase__map-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  max-width: 100%;
}

.driver-route-showcase--listing-compact .driver-route-detail-map--listing {
  height: 200px;
  min-height: 200px;
}

.driver-route-showcase--listing-compact .driver-route-showcase__body--listing-compact {
  padding: 0.75rem 0.85rem 0.85rem;
}

.driver-route-showcase--listing-compact .driver-route-showcase__stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.driver-route-showcase--listing-compact .driver-route-stat-card {
  padding: 0.55rem 0.6rem;
}

.driver-route-showcase--listing-compact .driver-route-stat-card__icon {
  width: 1.65rem;
  height: 1.65rem;
  font-size: 0.85rem;
}

.driver-route-showcase--listing-compact .driver-route-stat-card__label {
  font-size: 0.62rem;
}

.driver-route-showcase--listing-compact .driver-route-stat-card__value {
  font-size: 0.78rem;
}

.driver-route-showcase--listing-compact .driver-route-showcase__driver-card {
  margin-bottom: 0.55rem;
}

.driver-route-showcase--listing-compact .driver-route-showcase__actions {
  margin-bottom: 0.55rem;
}

.driver-route-showcase--listing-compact .driver-route-showcase__details--compact {
  margin-bottom: 0.55rem;
}

.driver-route-showcase--listing-compact .driver-route-showcase__timeline {
  margin-top: 0;
}

.admin-detail-swal.admin-detail-swal--ops.admin-detail-swal--listing-showcase {
  max-width: min(520px, 94vw);
  padding: 0.5rem;
}

.driver-route-showcase__listing-route,
.driver-route-showcase__listing-route-meta {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.driver-route-showcase__listing-route-meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
}

.driver-route-showcase__listing-map-caption {
  padding: 0.85rem 1.1rem 0.15rem;
}

.admin-detail-swal.admin-detail-swal--listing-showcase .driver-route-showcase__listing-hero {
  flex-shrink: 0;
}

.driver-route-showcase--listing .driver-route-showcase__map-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 35, 45, 0.58) 0%,
    rgba(0, 35, 45, 0.14) 40%,
    rgba(0, 35, 45, 0.65) 100%
  );
}

.driver-route-showcase__person-card--customer .driver-route-showcase__driver-avatar {
  background: linear-gradient(135deg, #00cfe8, #00a1b7);
}

.driver-route-showcase__actions {
  margin-bottom: 0.85rem;
}

.driver-route-showcase__actions .admin-job-actions__btn {
  width: 100%;
  min-height: 2.5rem;
}

.driver-route-showcase .driver-route-detail-map {
  width: 100%;
  height: 320px;
  min-height: 280px;
  border: 0;
  border-radius: 0;
  background: #dfe3e8;
  z-index: 1;
}

.driver-route-showcase__map-overlay {
  position: absolute;
  inset: 0;
  z-index: 650;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 1.1rem 1.15rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.42) 0%, rgba(15, 23, 42, 0.08) 38%, rgba(15, 23, 42, 0.55) 100%);
}

.driver-route-showcase__map-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.driver-route-showcase__map-zoom-slot {
  pointer-events: auto;
  margin-left: auto;
  flex-shrink: 0;
}

.driver-route-showcase__map-zoom-slot .leaflet-control-zoom {
  position: static;
  margin: 0;
  border: 0;
  border-radius: 0.55rem;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.28);
}

.driver-route-showcase__map-zoom-slot .leaflet-control-zoom a {
  width: 1.85rem;
  height: 1.85rem;
  line-height: 1.85rem;
  font-size: 1rem;
  font-weight: 700;
  color: #324b73;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(47, 43, 61, 0.1);
}

.driver-route-showcase__map-zoom-slot .leaflet-control-zoom a:hover {
  background: #fff;
  color: #00a1b7;
}

.driver-route-showcase__map-zoom-slot .leaflet-control-zoom a:last-child {
  border-bottom: 0;
}

.driver-route-showcase__status {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.driver-route-showcase__plan-id {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.driver-route-showcase__journey {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
}

.driver-route-showcase__city {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  min-width: 0;
}

.driver-route-showcase__city strong {
  font-size: 1rem;
  line-height: 1.25;
  color: var(--bs-heading-color, #2f2b3d);
  word-break: break-word;
}

.driver-route-showcase__city-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
}

.driver-route-showcase__journey-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 4.5rem;
}

.driver-route-showcase__journey-line {
  display: block;
  width: 3.5rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #28c76f, #00cfe8, #ea5455);
  box-shadow: 0 0 12px rgba(0, 207, 232, 0.55);
}

.driver-route-showcase__journey-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #00cfe8, #324b73);
  box-shadow: 0 6px 18px rgba(0, 207, 232, 0.45);
  animation: driver-route-truck-pulse 2.4s ease-in-out infinite;
}

.driver-route-showcase__journey-distance {
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

@keyframes driver-route-truck-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.driver-route-showcase__body {
  padding: 1rem 1.1rem 1.15rem;
}

.driver-route-showcase__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.driver-route-stat-card {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(47, 43, 61, 0.08);
  background: var(--bs-gray-50, #f8f8fa);
  min-width: 0;
}

.driver-route-stat-card__icon {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.driver-route-stat-card--primary .driver-route-stat-card__icon { color: #324b73; background: rgba(50, 75, 115, 0.12); }
.driver-route-stat-card--cyan .driver-route-stat-card__icon { color: #00a1b7; background: rgba(0, 207, 232, 0.14); }
.driver-route-stat-card--success .driver-route-stat-card__icon { color: #28c76f; background: rgba(40, 199, 111, 0.14); }
.driver-route-stat-card--info .driver-route-stat-card__icon { color: #00cfe8; background: rgba(0, 207, 232, 0.14); }
.driver-route-stat-card--muted .driver-route-stat-card__icon { color: #8b8fa3; background: rgba(47, 43, 61, 0.08); }
.driver-route-stat-card--warning .driver-route-stat-card__icon { color: #ff9f43; background: rgba(255, 159, 67, 0.14); }

.driver-route-stat-card__copy {
  min-width: 0;
}

.driver-route-stat-card__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bs-secondary-color);
}

.driver-route-stat-card__value {
  display: block;
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--bs-heading-color, #2f2b3d);
  word-break: break-word;
}

.driver-route-showcase__driver-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  margin-bottom: 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(50, 75, 115, 0.14);
  background: linear-gradient(135deg, rgba(50, 75, 115, 0.06), rgba(0, 207, 232, 0.05));
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.driver-route-showcase__driver-card:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 207, 232, 0.35);
  box-shadow: 0 8px 22px rgba(50, 75, 115, 0.12);
  color: inherit;
}

.driver-route-showcase__driver-card--static {
  pointer-events: none;
}

.driver-route-showcase__driver-avatar {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  background: linear-gradient(135deg, #324b73, #00cfe8);
}

.driver-route-showcase__driver-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.driver-route-showcase__driver-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bs-secondary-color);
}

.driver-route-showcase__driver-cta {
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bs-primary);
  white-space: nowrap;
}

.driver-route-showcase__section-title {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
}

.driver-route-showcase__details {
  margin-bottom: 0.85rem;
}

.driver-route-showcase__note {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.85rem;
  border-radius: 0.75rem;
  background: rgba(0, 207, 232, 0.08);
  border: 1px solid rgba(0, 207, 232, 0.18);
}

.driver-route-showcase__note i {
  color: #00a1b7;
  font-size: 1.1rem;
  margin-top: 0.1rem;
}

.driver-route-showcase__note p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
}

.driver-route-showcase__alert {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.85rem;
  border-radius: 0.75rem;
}

.driver-route-showcase__alert--danger {
  background: rgba(234, 84, 85, 0.08);
  border: 1px solid rgba(234, 84, 85, 0.18);
  color: #b42318;
}

.driver-route-showcase__alert p {
  margin: 0.15rem 0 0;
  font-size: 0.86rem;
}

.driver-route-showcase__timeline {
  margin-top: 0.35rem;
  padding: 0.6rem 0.7rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(47, 43, 61, 0.08);
  background: var(--bs-gray-50, #f8f8fa);
}

.driver-route-showcase__timeline .driver-route-showcase__section-title {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.driver-route-showcase__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.driver-route-showcase__step {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.28rem 0 0.28rem 1rem;
  font-size: 0.78rem;
  line-height: 1.3;
  color: var(--bs-body-color);
}

.driver-route-showcase__step-label {
  line-height: 1.3;
}

.driver-route-showcase__step-time {
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  color: #5d6474;
  white-space: nowrap;
}

.driver-route-showcase__step-time::before {
  content: '·';
  margin-right: 0.35rem;
  color: #b4b7c2;
  font-weight: 700;
}

.driver-route-showcase__step.is-dated .driver-route-showcase__step-time {
  color: #324b73;
}

.driver-route-showcase__step.is-done .driver-route-showcase__step-label,
.driver-route-showcase__step.is-done .driver-route-showcase__step-time {
  color: #7a8090;
}

.driver-route-showcase__step::before {
  content: '';
  position: absolute;
  left: 0.05rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #c9c9d8;
  box-shadow: 0 0 0 2px rgba(201, 201, 216, 0.35);
}

.driver-route-showcase__step.is-dated::before {
  background: #00cfe8;
  box-shadow: 0 0 0 2px rgba(0, 207, 232, 0.2);
}

.driver-route-showcase__step.is-done::before {
  background: #28c76f;
}

.driver-route-showcase__step.is-cancel::before {
  background: #ea5455;
}

.driver-route-map-pin {
  background: transparent;
  border: 0;
}

.driver-route-map-pin__bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  border: 2.5px solid #fff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.28);
}

.driver-route-map-pin--start .driver-route-map-pin__bubble {
  background: linear-gradient(135deg, #28c76f, #1f9d57);
}

.driver-route-map-pin--end .driver-route-map-pin__bubble {
  background: linear-gradient(135deg, #ea5455, #c93a3b);
}

.driver-route-map-pin--waypoint .driver-route-map-pin__bubble {
  width: 1.55rem;
  height: 1.55rem;
  font-size: 0.68rem;
  background: linear-gradient(135deg, #00cfe8, #00a1b7);
}

.ops-route-row td {
  vertical-align: middle;
}

.ops-listings-page-card .ops-table thead th:nth-child(2),
.ops-listings-page-card .ops-table tbody td.ops-route-cell {
  min-width: 11.5rem;
}

.ops-listings-page-card .ops-table tbody tr.ops-route-row:hover td {
  background-color: rgba(115, 103, 240, 0.035);
}

.ops-route-cell {
  min-width: 0;
}

.ops-route-cell__title {
  line-height: 1.4;
  color: var(--bs-heading-color, #2f2b3d);
}

.ops-route-cell__hint {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  line-height: 1.35;
}

.ops-route-person-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  padding: 0.38rem 0.55rem 0.38rem 0.42rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(47, 43, 61, 0.08);
  background: rgba(47, 43, 61, 0.02);
  color: var(--bs-body-color);
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1.3;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.ops-route-person-link:hover {
  color: #00889a;
  text-decoration: none;
  background: rgba(0, 207, 232, 0.09);
  border-color: rgba(0, 207, 232, 0.28);
  box-shadow: 0 4px 14px rgba(0, 161, 183, 0.12);
}

.ops-route-person-link__avatar {
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: #0097aa;
  background: rgba(0, 207, 232, 0.14);
  transition: background 0.15s ease, color 0.15s ease;
}

.ops-route-person-link:hover .ops-route-person-link__avatar {
  color: #007d8c;
  background: rgba(0, 207, 232, 0.22);
}

.ops-route-person-link__name {
  min-width: 0;
  word-break: break-word;
}

.ops-route-person-link__chevron {
  flex: 0 0 auto;
  font-size: 0.78rem;
  color: #00a1b7;
  opacity: 0;
  transform: translateX(-3px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.ops-route-person-link:hover .ops-route-person-link__chevron {
  opacity: 0.85;
  transform: translateX(0);
}

.ops-route-date {
  font-size: 0.8125rem;
  color: var(--bs-body-color);
  white-space: nowrap;
}

.ops-amount__icon {
  margin-right: 0.2rem;
  color: #28c76f;
  font-size: 0.88rem;
  vertical-align: -2px;
}

@media (max-width: 767.98px) {
  .ops-route-cell__hint {
    font-size: 0.74rem;
  }

  .ops-route-date {
    font-size: 0.78rem;
    white-space: normal;
  }
}

.driver-route-detail-map__label {
  padding: 0.55rem 0.85rem 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
}

.driver-route-detail-map {
  width: 100%;
  height: 280px;
  min-height: 220px;
  background: #e9ecef;
  z-index: 1;
}

.driver-route-detail-map__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  padding: 0.55rem 0.85rem 0.7rem;
  font-size: 0.75rem;
  color: var(--bs-secondary-color);
}

.driver-route-detail-map__dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  margin-right: 0.25rem;
  vertical-align: middle;
}

.driver-route-detail-map__dot--start {
  background: #28c76f;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(40, 199, 111, 0.35);
}

.driver-route-detail-map__dot--end {
  background: #ea5455;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(234, 84, 85, 0.35);
}

.driver-route-detail-map__line {
  display: inline-block;
  width: 1.1rem;
  height: 0.2rem;
  border-radius: 999px;
  margin-right: 0.25rem;
  vertical-align: middle;
  background: linear-gradient(90deg, #28c76f, #324b73, #ea5455);
}

.admin-detail-swal.admin-detail-swal--ops.admin-detail-swal--route-map {
  max-width: min(600px, 94vw);
  padding: 0.65rem;
}

.admin-detail-swal.admin-detail-swal--route-map .swal2-html-container {
  overflow: auto;
  max-height: calc(100dvh - 7rem);
  padding: 0;
  margin: 0;
}

.admin-detail-swal.admin-detail-swal--route-map .swal2-actions {
  margin-top: 0.85rem;
  padding: 0 0.25rem 0.15rem;
}

.admin-detail-swal.admin-detail-swal--route-map .swal2-actions .btn {
  min-width: 9rem;
  font-weight: 600;
}


@media (max-width: 767.98px) {
  .driver-route-showcase__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .driver-route-showcase__journey {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .driver-route-showcase__journey-mid {
    flex-direction: row;
    justify-content: center;
    min-width: 0;
  }

  .driver-route-showcase__journey-line {
    width: 2.5rem;
  }

  .driver-route-showcase .driver-route-detail-map,
  .driver-route-showcase__map-stage {
    min-height: 260px;
    height: 260px;
  }

  .driver-route-showcase--compact .driver-route-detail-map,
  .driver-route-showcase--compact .driver-route-showcase__map-stage {
    min-height: 180px;
    height: 180px;
  }

  .driver-route-showcase__map-stage--listing {
    min-height: 240px;
    height: 240px;
  }

  .admin-detail-swal.admin-detail-swal--route-map .driver-route-showcase__body {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
}
