/* ============================================================
   MCC Mix Waste Survey & Monitoring System - Stylesheet
   ============================================================ */

:root {
  --primary: #16a34a;
  --primary-hover: #15803d;
  --primary-light: #dcfce7;
  --primary-dark: #14532d;
  --accent: #2563eb;
  --accent-light: #dbeafe;
  --warning: #d97706;
  --warning-light: #fef3c7;
  --danger: #dc2626;
  --danger-light: #fee2e2;
  --dark: #0f172a;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-page: #f8fafc;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header & Navigation */
.app-header {
  background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #10b981 100%);
  color: #ffffff;
  padding: 12px 16px;
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mcc-badge {
  background: #ffffff;
  color: #064e3b;
  font-weight: 800;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-text h1 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.logo-text p {
  font-size: 12px;
  opacity: 0.85;
  font-weight: 400;
}

.nav-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px;
  border-radius: 9999px;
  gap: 4px;
}

.tab-btn {
  background: transparent;
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tab-btn.active {
  background: #ffffff;
  color: #064e3b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.tab-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.15);
}

/* Main Container */
.main-wrapper {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 16px;
  flex: 1;
}

/* Driver Profile Banner */
.driver-profile-bar {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 12px;
}

.driver-info-details {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.driver-pill, .vehicle-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.driver-pill span, .vehicle-pill span {
  font-weight: 400;
  color: var(--text-muted);
}

.badge-tag {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.btn-secondary {
  background: #f1f5f9;
  color: var(--text-main);
  border: 1px solid #cbd5e1;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #e2e8f0;
}

/* Card Components */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  overflow: hidden;
}

.card-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fcfcfd;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-body {
  padding: 18px;
}

/* Driver Form Layout */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.photo-capture-box {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.photo-capture-box.has-photo {
  border-style: solid;
  border-color: var(--primary);
  padding: 8px;
}

.photo-capture-box.locked {
  background: #f1f5f9;
  border-color: #94a3b8;
  opacity: 0.85;
}

.photo-preview {
  max-width: 100%;
  max-height: 280px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

/* Spinning Loader / GPS Waiting State */
.gps-loading-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gps-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e2e8f0;
  border-top-color: #16a34a;
  border-radius: 50%;
  animation: spinLoader 0.9s linear infinite;
  margin-bottom: 14px;
}

@keyframes spinLoader {
  to { transform: rotate(360deg); }
}

.gps-loading-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.gps-loading-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* Plain Black Camera Icon & Buttons */
.plain-black-camera-icon {
  width: 52px;
  height: 52px;
  fill: #000000;
  display: inline-block;
  margin-bottom: 8px;
  transition: transform 0.2s ease;
}

.photo-action-btn {
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.photo-action-btn:hover:not(:disabled) {
  background: #1e293b;
  border-color: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.photo-action-btn:active:not(:disabled) {
  transform: scale(0.97);
}

.photo-action-btn:disabled {
  background: #94a3b8;
  border-color: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.7;
}

.photo-retake-btn {
  margin-top: 10px;
  background: #ef4444;
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* GPS Error / Lock Banner */
.gps-error-banner {
  background: #fef2f2;
  border: 2px solid #ef4444;
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.gps-error-icon {
  width: 44px;
  height: 44px;
  background: #fee2e2;
  color: #dc2626;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.gps-error-content h4 {
  font-size: 15px;
  font-weight: 800;
  color: #991b1b;
  margin-bottom: 4px;
}

.gps-error-content p {
  font-size: 13px;
  color: #7f1d1d;
  line-height: 1.4;
  margin-bottom: 12px;
}

.btn-gps-retry {
  background: #dc2626;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
}

.btn-gps-retry:hover {
  background: #b91c1c;
}

/* 3 Divisional Cards / 2 Columns Layout for Location Details */
.geo-3div-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

/* Single Column Stacked Area Details at Bottom */
.area-details-1col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 18px;
}

.area-row-item {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.area-row-item:nth-child(1) { border-left: 5px solid #0284c7; }
.area-row-item:nth-child(2) { border-left: 5px solid #16a34a; }
.area-row-item:nth-child(3) { border-left: 5px solid #d97706; }
.area-row-item:nth-child(4) { border-left: 5px solid #7c3aed; }

.area-row-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.area-row-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}

.geo-row-div {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.geo-row-div:nth-child(1) {
  border-left: 4px solid #0284c7;
}

.geo-row-div:nth-child(2) {
  border-left: 4px solid #16a34a;
}

.geo-row-div:nth-child(3) {
  border-left: 4px solid #8b5cf6;
}

.geo-cell {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.geo-cell-header {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.geo-cell-value {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.geo-cell-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.geo-status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.geo-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.geo-badge.locked {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}

.geo-badge.searching {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.geo-badge.offline {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.geo-status-box.loading {
  background: #fffbeb;
  border-color: #fde68a;
}

.geo-status-box.error {
  background: #fef2f2;
  border-color: #fecaca;
}

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

.geo-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.geo-badge.locked {
  background: #dcfce7;
  color: #15803d;
}

.geo-badge.searching {
  background: #fef3c7;
  color: #b45309;
}

.geo-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.geo-item {
  background: #ffffff;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
}

.geo-item .label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 3px;
}

.geo-item .val {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Form Inputs */
.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: #ffffff;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-primary:active {
  transform: scale(0.98);
}

/* KPI Overview Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.kpi-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.kpi-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
}

.kpi-card.green::after { background: var(--primary); }
.kpi-card.blue::after { background: var(--accent); }
.kpi-card.orange::after { background: var(--warning); }
.kpi-card.purple::after { background: #8b5cf6; }

.kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.kpi-card.green .kpi-icon { background: #dcfce7; color: #15803d; }
.kpi-card.blue .kpi-icon { background: #dbeafe; color: #1d4ed8; }
.kpi-card.orange .kpi-icon { background: #fef3c7; color: #b45309; }
.kpi-card.purple .kpi-icon { background: #f3e8ff; color: #7e22ce; }

.kpi-content .kpi-title {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.kpi-content .kpi-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 2px;
}

/* Dashboard Filter Bar */
.filter-bar {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  align-items: flex-end;
}

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

/* Charts Grid */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

@media (min-width: 992px) {
  .charts-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.charts-grid-secondary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .charts-grid-secondary {
    grid-template-columns: 1fr 1fr;
  }
}

.chart-container {
  position: relative;
  height: 280px;
  width: 100%;
}

/* Data Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.custom-table th {
  background: #f1f5f9;
  color: #334155;
  font-weight: 700;
  padding: 12px 14px;
  white-space: nowrap;
  border-bottom: 1px solid #cbd5e1;
}

.custom-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text-main);
  vertical-align: middle;
}

.custom-table tr:hover {
  background: #f8fafc;
}

.table-photo-thumb {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  transition: transform 0.15s ease;
}

.table-photo-thumb:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.weight-badge {
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12px;
  display: inline-block;
  white-space: nowrap;
}

.weight-badge.weighed {
  background: #dcfce7;
  color: #15803d;
}

.weight-badge.pending {
  background: #fef3c7;
  color: #b45309;
}

.btn-weight-action {
  background: #2563eb;
  color: #ffffff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s ease;
}

.btn-weight-action:hover {
  background: #1d4ed8;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modalSlide 0.2s ease-out;
}

@keyframes modalSlide {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--card-border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #f8fafc;
}

/* Lightbox Photo Preview */
.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  display: block;
  margin: 0 auto;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: #0f172a;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.25s ease;
}

.toast.success { background: #16a34a; }
.toast.error { background: #dc2626; }
.toast.warning { background: #d97706; }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hide util */
.d-none { display: none !important; }

/* Trip & Point Tracker Bar */
.trip-point-tracker-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 14px;
}

.trip-point-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #1e3a8a;
}

.trip-point-badge strong {
  background: #2563eb;
  color: #ffffff;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0.4);
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.trip-action-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trip-token-tag {
  font-size: 11px;
  font-family: monospace;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 3px 8px;
  border-radius: 4px;
  color: #475569;
}

.btn-new-trip {
  background: #ffffff;
  border: 1px solid #93c5fd;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.btn-new-trip:hover {
  background: #dbeafe;
}

.point-number-chip {
  background: #1e293b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

/* Dashboard View Switcher Tabs */
.tab-toggle-btn {
  border: none;
  background: transparent;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tab-toggle-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Dashboard Trip Locations Pill List */
.trip-points-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 250px;
}

.trip-point-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
}

.trip-point-tag {
  background: #0284c7;
  color: #ffffff;
  font-weight: 800;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.trip-point-info {
  display: flex;
  flex-direction: column;
}

.trip-point-title {
  font-weight: 700;
  color: #1e293b;
}

.trip-point-sub {
  font-size: 11px;
  color: #64748b;
}

.trip-photos-strip {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.trip-photo-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  transition: transform 0.15s;
}

.trip-photo-thumb:hover {
  transform: scale(1.08);
}

