:root {
  --green-900: #166124;
  --green-800: #1f7a2f;
  --green-700: #2c8e37;
  --slate-900: #111827;
  --slate-700: #374151;
  --slate-500: #6b7280;
  --slate-200: #e5e7eb;
  --white: #ffffff;
  --amber: #f59e0b;
  --red: #ef4444;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f3f4f6;
  color: var(--slate-900);
}

body.admin-nav-open {
  overflow: hidden;
}

.hidden {
  display: none !important;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(90deg, var(--green-800) 0 34%, #1f7a2f 34% 100%);
}

.auth-panel {
  width: min(420px, 96vw);
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.24);
}

.auth-brand {
  background: var(--green-700);
  color: var(--white);
  text-align: center;
  padding: 24px;
}

.auth-brand h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-word {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
}

.brand-eco {
  color: inherit;
}

.brand-track {
  color: #fbbf24;
}

.auth-brand p {
  margin: 10px 0 0;
  opacity: 0.92;
}

.auth-form {
  padding: 24px;
  display: grid;
  gap: 10px;
}

.auth-step {
  display: grid;
  gap: 10px;
}

.auth-form label {
  font-weight: 600;
  color: var(--slate-900);
}

.auth-form input[type="text"],
.auth-form input[type="password"],
.auth-form input[type="email"] {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 15px;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 44px;
}

.password-toggle {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--slate-500);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
}

.password-toggle:hover,
.password-toggle.active {
  color: var(--green-700);
}

.password-toggle:focus-visible {
  outline: 2px solid #86efac;
  outline-offset: 1px;
}

.auth-row {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.remember {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--slate-700);
  font-size: 14px;
}

.back-home {
  color: var(--green-700);
  text-decoration: none;
  font-size: 14px;
}

.auth-error {
  min-height: 18px;
  margin: 0;
  color: #b91c1c;
  font-size: 13px;
}

.auth-info {
  min-height: 18px;
  margin: 0;
  color: var(--green-800);
  font-size: 13px;
  line-height: 1.5;
}

.auth-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.login-button {
  margin-top: 4px;
  border: 0;
  min-height: 46px;
  border-radius: 6px;
  background: var(--green-700);
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
}

.secondary-auth-button {
  flex: 1;
  min-height: 42px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #f8fafc;
  color: var(--slate-700);
  font-weight: 600;
  cursor: pointer;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 255px 1fr;
  width: 100%;
  max-width: 100%;
}

.sidebar {
  background: var(--green-900);
  color: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.sidebar-overlay {
  display: none;
}

.brand-block {
  padding: 20px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.brand-block h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.menu {
  padding: 12px 0;
}

.menu-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: #dbe5dc;
  text-align: left;
  padding: 14px 20px;
  font-size: 20px;
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.menu-item:hover,
.menu-item.active {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.main-area {
  background: #f3f4f6;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 100%;
}

.topbar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.topbar-title-trigger {
  cursor: default;
}

.nav-toggle-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: var(--white);
  color: var(--green-700);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  flex: 0 0 auto;
}

.nav-toggle-button span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.topbar h1 {
  margin: 0;
  color: var(--green-700);
  font-size: 36px;
  flex: 1 1 auto;
  min-width: 0;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}

.search-box {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: var(--white);
  padding: 0 10px;
  min-width: 0;
  max-width: 100%;
}

.search-box span {
  color: var(--slate-500);
  font-size: 12px;
}

.search-box input {
  border: 0;
  outline: none;
  font-size: 15px;
  min-width: 220px;
  max-width: 100%;
}

.admin-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--green-700);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.admin-chip strong {
  display: block;
  font-size: 13px;
}

.admin-chip small {
  color: var(--slate-500);
}

.logout-button,
.refresh-button {
  border: 1px solid #d1d5db;
  background: var(--white);
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 600;
}

.section-block {
  padding: 16px 18px 8px;
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 100%;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  background: var(--white);
  border-radius: 10px;
  padding: 14px;
  border-left: 4px solid transparent;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.08);
}

.stat-card p {
  margin: 0;
  color: var(--slate-500);
  font-size: 13px;
}

.stat-card h3 {
  margin: 8px 0;
  font-size: 34px;
}

.stat-card small {
  color: var(--green-700);
  font-weight: 600;
}

.stat-card.green {
  border-left-color: #16a34a;
}

.stat-card.amber {
  border-left-color: var(--amber);
}

.stat-card.red {
  border-left-color: var(--red);
}

.stat-card.green-soft {
  border-left-color: #22c55e;
}

.content-grid {
  padding: 8px 18px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  max-width: 100%;
}

.card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.08);
}

.panel {
  padding: 12px;
}

.panel-wide {
  grid-column: 1 / -1;
}

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

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.panel-heading h2 {
  margin: 0;
  font-size: 21px;
  color: #1f7a2f;
}

.status-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}

.status-chip {
  background: #dcfce7;
  color: #166534;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
}

.analytics-chart-shell {
  position: relative;
  min-height: 260px;
}

.analytics-chart-shell canvas {
  width: 100% !important;
  height: 240px !important;
}

.analytics-chart-shell-wide {
  min-height: 320px;
}

.analytics-chart-shell-wide canvas {
  height: 300px !important;
}

.analytics-performance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.performance-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  padding: 12px;
}

.performance-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.performance-card h3 {
  margin: 0;
  font-size: 15px;
  color: var(--slate-900);
}

.performance-card p {
  margin: 0;
  color: var(--slate-500);
  font-size: 12px;
}

.performance-card-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.performance-card-stats div {
  border-radius: 10px;
  background: var(--white);
  padding: 9px 10px;
}

.performance-card-stats strong {
  display: block;
  font-size: 14px;
  color: var(--slate-900);
}

.performance-card-stats span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--slate-500);
}

.activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
}

.activity-list li {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
}

.activity-title {
  font-weight: 700;
  font-size: 13px;
}

.activity-meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--slate-500);
}

.table-wrap {
  overflow: auto;
}

.scroll-table-wrap {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scrollbar-width: thin;
  scrollbar-color: #9ca3af #e5e7eb;
  padding-bottom: 8px;
}

.scroll-table-wrap::-webkit-scrollbar {
  height: 10px;
}

.scroll-table-wrap::-webkit-scrollbar-track {
  background: #e5e7eb;
  border-radius: 999px;
}

.scroll-table-wrap::-webkit-scrollbar-thumb {
  background: #9ca3af;
  border-radius: 999px;
}

.scroll-table-wrap:focus-visible {
  outline: 2px solid #86efac;
  outline-offset: 3px;
}

.feed-table {
  min-width: 860px;
}

.feed-table small {
  display: block;
  margin-top: 4px;
  color: var(--slate-500);
}

.table-scroll-indicator {
  position: relative;
  width: 100%;
  height: 14px;
  margin-top: 8px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  cursor: pointer;
}

.table-scroll-indicator[hidden] {
  display: none;
}

.table-scroll-indicator-thumb {
  position: absolute;
  top: 2px;
  left: 0;
  height: 10px;
  min-width: 72px;
  border-radius: 999px;
  background: #7b7f86;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  cursor: grab;
}

.table-scroll-indicator-thumb:active {
  cursor: grabbing;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  text-align: left;
  padding: 9px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 13px;
}

th {
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 11px;
}

.schedule-list {
  display: grid;
  gap: 8px;
}

.schedule-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
  background: #f8fafc;
}

.schedule-item h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.schedule-item p {
  margin: 0;
  color: var(--slate-500);
  font-size: 13px;
}

.picture-link {
  color: #166534;
  text-decoration: none;
  font-weight: 700;
}

.picture-preview-btn {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.picture-preview-btn:hover {
  text-decoration: underline;
}

.picture-unavailable {
  color: #b91c1c;
  font-size: 12px;
  font-weight: 700;
}

.settings-text {
  margin: 0 0 8px;
  color: var(--slate-700);
}

.diagnostics-box {
  margin: 6px 0 0;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: var(--slate-700);
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.empty {
  color: #94a3b8;
  font-style: italic;
}

@media (max-width: 1100px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(300px, 82vw);
    z-index: 30;
    transform: translateX(-100%);
    transition: transform 0.24s ease;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.28);
    overflow-y: auto;
  }

  body.admin-nav-open .sidebar {
    transform: translateX(0);
  }

  .sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 25;
  }

  body.admin-nav-open .sidebar-overlay {
    display: block;
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 20;
  }

  .nav-toggle-button {
    display: inline-flex;
  }

  .topbar-title-trigger {
    cursor: default;
  }

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

  .analytics-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .auth-shell {
    padding: 16px;
    align-items: start;
    background: linear-gradient(180deg, var(--green-800) 0 34%, #1f7a2f 34% 100%);
  }

  .auth-panel {
    width: min(100%, 420px);
    margin: auto;
    border-radius: 20px;
  }

  .auth-brand {
    padding: 22px 20px;
  }

  .auth-brand h1 {
    font-size: 34px;
    gap: 8px;
  }

  .auth-form {
    padding: 20px;
  }

  .topbar {
    padding: 14px 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-header {
    width: 100%;
  }

  .topbar h1 {
    font-size: 28px;
  }

  .topbar-right {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    display: flex;
    align-items: center;
  }

  .search-box {
    flex: 1 1 220px;
    width: auto;
  }

  .search-box input {
    min-width: 0;
    width: 100%;
  }

  .admin-chip {
    width: 100%;
  }

  .section-block {
    padding: 14px 14px 8px;
  }

  .content-grid {
    padding: 8px 14px 18px;
  }

  .panel {
    padding: 12px 10px;
  }

  .analytics-chart-shell {
    min-height: 220px;
  }

  .analytics-chart-shell canvas {
    height: 210px !important;
  }

  .analytics-chart-shell-wide {
    min-height: 260px;
  }

  .analytics-chart-shell-wide canvas {
    height: 250px !important;
  }

  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .scroll-table-wrap {
    margin-inline: -4px;
    padding-bottom: 10px;
  }

  .panel-actions {
    width: 100%;
    justify-content: space-between;
  }

  .admin-live-map {
    min-height: 220px;
    height: min(34vh, 280px);
  }

  .schedule-form-actions,
  .table-actions,
  .schedule-item-actions,
  .auth-row {
    flex-wrap: wrap;
  }

  .trip-ticket-form-grid {
    grid-template-columns: 1fr;
  }

  .field-span-full {
    grid-column: auto;
  }

  .recent-activity-panel {
    min-height: 220px;
  }

  .recent-activity-panel .activity-list {
    max-height: 200px;
    gap: 6px;
  }

  .truck-activity-panel .table-wrap {
    overflow: visible;
  }

  .truck-activity-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 10px;
  }

  .truck-activity-table thead {
    display: none;
  }

  .truck-activity-table tbody,
  .truck-activity-table tr,
  .truck-activity-table td {
    display: block;
    width: 100%;
  }

  .truck-activity-table tr {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
    overflow: hidden;
  }

  .truck-activity-table td {
    border-bottom: 1px solid #e5e7eb;
    padding: 8px 12px;
    font-size: 12px;
    white-space: normal;
  }

  .truck-activity-table td:last-child {
    border-bottom: 0;
  }

  .truck-activity-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--slate-500);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .performance-card-stats {
    grid-template-columns: 1fr;
  }

  .schedule-time-grid {
    grid-template-columns: 1fr;
  }
}

.schedule-form {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}

.schedule-form input,
.schedule-form select,
.schedule-form textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  color: var(--slate-900);
  background: var(--white);
}

.schedule-form textarea {
  resize: vertical;
}

.schedule-time-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.schedule-time-field {
  display: grid;
  gap: 8px;
}

.schedule-time-field label {
  font-weight: 600;
  color: var(--slate-700);
}

.trip-ticket-paper-form {
  gap: 12px;
  border: 1px solid #d6d3c7;
  border-radius: 14px;
  padding: 14px;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(0deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px) 0 0 / 28px 28px,
    #fffdf5;
}

.trip-ticket-paper-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border: 2px solid #111827;
  border-radius: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.78);
}

.trip-ticket-kicker {
  display: block;
  color: var(--slate-500);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trip-ticket-paper-header h3 {
  margin: 2px 0 0;
  color: var(--slate-900);
  font-size: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trip-ticket-id-preview {
  min-width: 160px;
  border-left: 1px solid #d1d5db;
  padding-left: 14px;
  text-align: right;
}

.trip-ticket-id-preview span {
  display: block;
  color: var(--slate-500);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trip-ticket-id-preview strong {
  color: #b91c1c;
  font-size: 16px;
}

.trip-ticket-form-section {
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.trip-ticket-form-section-title {
  margin: 0 0 10px;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trip-ticket-form-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field span {
  font-weight: 600;
}

.form-field small {
  color: var(--slate-500);
  font-size: 12px;
}

.field-span-full {
  grid-column: 1 / -1;
}

.trip-ticket-stamp-field textarea {
  min-height: 72px;
  color: #991b1b;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trip-ticket-feed-table {
  min-width: 1180px;
}

@media (max-width: 640px) {
  .trip-ticket-paper-form {
    padding: 10px;
  }

  .trip-ticket-paper-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .trip-ticket-paper-header h3 {
    font-size: 20px;
  }

  .trip-ticket-id-preview {
    width: 100%;
    min-width: 0;
    border-top: 1px solid #d1d5db;
    border-left: 0;
    padding-top: 10px;
    padding-left: 0;
    text-align: left;
  }
}

.schedule-form-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
}

.schedule-form-actions .login-button {
  min-height: 40px;
  font-size: 15px;
  padding: 0 14px;
}

.schedule-item-actions {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}

.schedule-edit-btn,
.schedule-delete-btn {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: var(--white);
  color: var(--slate-900);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
  cursor: pointer;
}

.schedule-delete-btn {
  border-color: #fecaca;
  color: #b91c1c;
  background: #fff1f2;
}

.table-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.table-actions .schedule-edit-btn,
.table-actions .schedule-delete-btn {
  padding: 5px 9px;
}

.panel-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.map-summary {
  color: var(--slate-500);
  font-size: 13px;
  font-weight: 600;
}

.admin-live-map {
  width: 100%;
  min-height: 360px;
  height: min(46vh, 420px);
  border-radius: 10px;
  border: 1px solid #dbe4de;
  overflow: hidden;
  background: #eef2f7;
}

.map-status {
  min-height: 18px;
  margin: 9px 2px 0;
  color: #166534;
  font-size: 12px;
  font-weight: 600;
}

.map-status.error {
  color: #b91c1c;
}

.admin-truck-marker {
  background: transparent;
  border: 0;
}

.truck-pin-shell {
  position: relative;
  width: 52px;
  height: 72px;
}

.truck-pin-glow {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--truck-color, #0f766e);
  opacity: 0.2;
  transform: translateX(-50%);
}

.truck-pin-image {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 48px;
  height: 62px;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 6px 14px rgba(15, 23, 42, 0.28));
  pointer-events: none;
  user-select: none;
}

.leaflet-popup-content {
  margin: 10px 12px;
  font-size: 12px;
  line-height: 1.45;
}



