/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.screen {
    display: none;
    min-height: 100vh;
}

.screen.active {
    display: block;
}

.hidden {
    display: none;
}

/* Login Screen */
.login-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    margin: 2rem auto;
}

.login-box h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.login-box button {
    width: 100%;
    padding: 0.75rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
}

.login-box button:hover {
    background-color: #0056b3;
}

.error-message {
    color: #dc3545;
    margin-top: 1rem;
    text-align: center;
    min-height: 1.5rem;
}

/* Dashboard */
header {
    background-color: #007bff;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
}

#logout-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

#logout-btn:hover {
    background: #c82333;
}

.dashboard-body {
    display: flex;
    height: calc(100vh - 60px); /* Adjust for header */
}

.sidebar {
    width: 250px;
    background-color: #343a40;
    color: white;
    padding: 1rem;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 0.5rem;
}

.sidebar a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 0.5rem;
    border-radius: 4px;
}

.sidebar a:hover {
    background-color: #495057;
}

.main-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.view-container {
    display: none;
}

.view-container.active {
    display: block;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f8f9fa;
}

tr:hover {
    background-color: #f1f1f1;
}

.action-btn {
    margin-right: 0.5rem;
    padding: 0.25rem 0.5rem;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn-danger:hover {
    background-color: #c82333;
}

.btn-success {
    background-color: #28a745;
    color: white;
}

.btn-success:hover {
    background-color: #218838;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-card h3 {
    margin-bottom: 0.5rem;
    color: #666;
}

.stat-card p {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
}

/* Reports Grid */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.report-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.report-card h3 {
    margin-bottom: 0.5rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-actions {
    margin-top: 1.5rem;
    text-align: right;
}

.form-actions button {
    margin-left: 0.5rem;
}

/* Driver detail modal */
.driver-doc-card {
    border-radius: 0.75rem;
    overflow: hidden;
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color-translucent);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.driver-doc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.driver-doc-card .doc-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background-color: var(--bs-secondary-bg);
    display: block;
}

.driver-doc-card .doc-placeholder {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bs-secondary-bg);
    color: var(--bs-secondary-color);
    flex-direction: column;
    gap: 0.5rem;
}

.driver-doc-card .doc-title {
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    border-top: 1px solid var(--bs-border-color-translucent);
    background-color: var(--bs-tertiary-bg);
}

/* Modal profile image */
#modal-driver-selfie {
    border: 4px solid var(--bs-body-bg);
}

/* Footer links */
.app-footer a {
    color: var(--bs-link-color);
}

.app-footer a:hover {
  color: var(--bs-link-hover-color);
  text-decoration: underline;
}

/* Wider customer modal */
.modal-customer-wide {
  max-width: 1200px;
}

@media (min-width: 1400px) {
  .modal-customer-wide {
    max-width: 1320px;
  }
}

/* Compact customer trips table inside modal */
.customer-trips-scroll {
  max-height: 280px;
  overflow-y: auto;
  border-radius: 0 0 0.5rem 0.5rem;
}

.customer-trips-table {
  font-size: 0.8125rem;
}

.customer-trips-table thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.customer-trips-table td,
.customer-trips-table th {
  padding: 0.5rem 0.75rem;
}

.customer-trips-table td {
  white-space: normal;
  word-break: break-word;
}

.customer-trip-location {
  max-width: none;
  white-space: normal;
  word-break: break-word;
}

/* Image viewer / zoom lightbox */
#image-viewer-modal .modal-body {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.9);
  padding: 0;
}

#image-viewer-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

#image-viewer-img.zoomed {
  transform: scale(1.75);
  cursor: zoom-out;
}

#image-viewer-modal .btn-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  padding: 0.5rem;
}

#image-viewer-modal .zoom-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  pointer-events: none;
}

/* Driver doc card hover cursor */
.driver-doc-card .doc-image {
  cursor: pointer;
}

/* Create Payout Modal - Improved UX */
.payout-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.payout-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--bs-secondary-color);
  transition: color 0.2s ease;
}

.payout-step.active {
  color: var(--bs-primary);
}

.payout-step.completed {
  color: var(--bs-success);
}

.payout-step-number {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background-color: var(--bs-secondary-bg);
  color: var(--bs-secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.payout-step.active .payout-step-number {
  background-color: var(--bs-primary);
  color: #fff;
}

.payout-step.completed .payout-step-number {
  background-color: var(--bs-success);
  color: #fff;
}

.payout-step-label {
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}

.payout-step-connector {
  flex: 1;
  height: 2px;
  background-color: var(--bs-border-color);
  border-radius: 1px;
  min-width: 1rem;
}

.payout-step.completed + .payout-step-connector {
  background-color: var(--bs-success);
}

.payout-driver-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.payout-driver-card {
  border: 1px solid var(--bs-border-color-translucent);
  border-radius: 0.5rem;
  padding: 0.875rem;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  background-color: var(--bs-body-bg);
}

.payout-driver-card:hover {
  border-color: var(--bs-primary);
  box-shadow: 0 0.125rem 0.5rem rgba(var(--bs-primary-rgb), 0.12);
}

.payout-driver-card.selected {
  border-color: var(--bs-primary);
  background-color: rgba(var(--bs-primary-rgb), 0.06);
  box-shadow: 0 0.125rem 0.5rem rgba(var(--bs-primary-rgb), 0.15);
}

.payout-driver-card .driver-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--bs-body-color);
}

.payout-driver-card .driver-phone {
  font-size: 0.8125rem;
  color: var(--bs-secondary-color);
  margin-bottom: 0.5rem;
}

.payout-driver-card .driver-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.payout-driver-card .driver-meta .badge {
  font-weight: 500;
  font-size: 0.75rem;
}

.payout-trip-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.payout-trip-card {
  border: 1px solid var(--bs-border-color-translucent);
  border-radius: 0.5rem;
  padding: 0.875rem;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  background-color: var(--bs-body-bg);
}

.payout-trip-card:hover {
  border-color: var(--bs-primary);
  box-shadow: 0 0.125rem 0.5rem rgba(var(--bs-primary-rgb), 0.12);
}

.payout-trip-card.selected {
  border-color: var(--bs-primary);
  background-color: rgba(var(--bs-primary-rgb), 0.06);
  box-shadow: 0 0.125rem 0.5rem rgba(var(--bs-primary-rgb), 0.15);
}

.payout-trip-card .trip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.payout-trip-card .trip-id {
  font-weight: 600;
  font-size: 0.875rem;
}

.payout-trip-card .trip-amount {
  font-weight: 700;
  color: var(--bs-success);
  font-size: 0.9375rem;
}

.payout-trip-card .trip-route {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 0.5rem;
}

.payout-trip-card .trip-route-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
}

.payout-trip-card .trip-route-item i {
  margin-top: 0.125rem;
  font-size: 0.75rem;
}

.payout-trip-card .trip-route-item .location-text {
  color: var(--bs-body-color);
  line-height: 1.4;
}

.payout-trip-card .trip-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--bs-secondary-color);
}

.payout-summary-card {
  border: 1px solid var(--bs-border-color-translucent);
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: var(--bs-body-bg);
}

.payout-summary-header {
  background-color: rgba(var(--bs-primary-rgb), 0.08);
  color: var(--bs-primary);
  padding: 0.875rem 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.payout-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.625rem 1rem;
  border-bottom: 1px solid var(--bs-border-color-translucent);
}

.payout-summary-row span {
  color: var(--bs-secondary-color);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.payout-summary-row strong {
  font-weight: 500;
  text-align: right;
  word-break: break-word;
  max-width: 65%;
}

.payout-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: var(--bs-tertiary-bg);
}

.payout-summary-total span {
  font-weight: 600;
  font-size: 0.9375rem;
}

.payout-summary-total strong {
  font-size: 1.25rem;
  color: var(--bs-success);
}

.payout-trip-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background-color: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color-translucent);
  border-radius: 0.5rem;
}

#confirm-payout-trips-list {
  max-height: 220px;
  overflow-y: auto;
  background-color: transparent;
}

#confirm-payout-trips-list .list-group-item {
  background-color: transparent;
  padding-left: 0;
  padding-right: 0;
}

.payout-summary-row .list-group-flush {
  border-radius: 0;
}

@media (max-width: 576px) {
  .payout-steps {
    gap: 0.25rem;
  }

  .payout-step-label {
    font-size: 0.6875rem;
  }

  .payout-step-number {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.75rem;
  }

  .payout-driver-list {
    grid-template-columns: 1fr;
    max-height: 280px;
  }

  .payout-trip-list {
    max-height: 300px;
  }

  .payout-summary-row strong {
    max-width: 55%;
  }

  #confirm-payout-trips-list {
    max-width: 100% !important;
  }
}

/* ─────────────────────────────────────────────
   MODERN SIDEBAR STYLES
   ───────────────────────────────────────────── */

/* Sidebar base — frosted glass on light, deep charcoal on dark */
.app-sidebar {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.06), 4px 0 24px rgba(0, 0, 0, 0.04);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

[data-bs-theme="dark"] .app-sidebar {
  background: rgba(23, 25, 30, 0.88) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.25), 4px 0 24px rgba(0, 0, 0, 0.15);
}

/* Brand area */
.sidebar-brand {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: border-color 0.3s ease;
}

[data-bs-theme="dark"] .sidebar-brand {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.brand-link:hover {
  background-color: rgba(0, 123, 255, 0.06);
  transform: translateX(2px);
}

[data-bs-theme="dark"] .brand-link:hover {
  background-color: rgba(255, 255, 255, 0.04);
}

.brand-image {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
  transition: transform 0.3s ease;
}

.brand-link:hover .brand-image {
  transform: scale(1.05);
}

.brand-text {
  font-weight: 600 !important;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #007bff 0%, #00c6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-bs-theme="dark"] .brand-text {
  background: linear-gradient(135deg, #4dabf7 0%, #69db7c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sidebar menu spacing */
.sidebar-wrapper .nav {
  padding: 0.75rem 0.625rem;
  gap: 0.375rem;
}

.sidebar-menu .nav-item {
  margin-bottom: 0.125rem;
}

/* Nav links — pill-shaped with smooth hover */
.sidebar-menu .nav-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.7rem 1rem;
  border-radius: 0.625rem;
  color: #495057;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.sidebar-menu .nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, #007bff, #00c6ff);
  border-radius: 0 2px 2px 0;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-menu .nav-link:hover {
  background-color: rgba(0, 123, 255, 0.07);
  color: #0056b3;
  transform: translateX(3px);
}

.sidebar-menu .nav-link:hover::before {
  height: 60%;
}

[data-bs-theme="dark"] .sidebar-menu .nav-link {
  color: #adb5bd;
}

[data-bs-theme="dark"] .sidebar-menu .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #e9ecef;
}

[data-bs-theme="dark"] .sidebar-menu .nav-link::before {
  background: linear-gradient(180deg, #4dabf7, #69db7c);
}

/* Active link state */
.sidebar-menu .nav-link.active {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 198, 255, 0.06) 100%);
  color: #0056b3;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

.sidebar-menu .nav-link.active::before {
  height: 70%;
}

[data-bs-theme="dark"] .sidebar-menu .nav-link.active {
  background: linear-gradient(135deg, rgba(77, 171, 247, 0.15) 0%, rgba(105, 219, 124, 0.08) 100%);
  color: #e9ecef;
  box-shadow: 0 2px 8px rgba(77, 171, 247, 0.15);
}

/* Nav icons */
.sidebar-menu .nav-icon {
  font-size: 1.1rem;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.sidebar-menu .nav-link:hover .nav-icon {
  background: rgba(0, 123, 255, 0.1);
  color: #0056b3;
  transform: scale(1.1);
}

.sidebar-menu .nav-link.active .nav-icon {
  background: linear-gradient(135deg, #007bff, #00c6ff);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
}

[data-bs-theme="dark"] .sidebar-menu .nav-icon {
  background: rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .sidebar-menu .nav-link:hover .nav-icon {
  background: rgba(255, 255, 255, 0.1);
  color: #e9ecef;
}

[data-bs-theme="dark"] .sidebar-menu .nav-link.active .nav-icon {
  background: linear-gradient(135deg, #4dabf7, #69db7c);
  box-shadow: 0 2px 6px rgba(77, 171, 247, 0.25);
}

/* Sidebar scrollbar — modern thin style */
.sidebar-wrapper {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

.sidebar-wrapper::-webkit-scrollbar {
  width: 5px;
}

.sidebar-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-wrapper::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

.sidebar-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.25);
}

[data-bs-theme="dark"] .sidebar-wrapper {
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

[data-bs-theme="dark"] .sidebar-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
}

[data-bs-theme="dark"] .sidebar-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Sidebar toggle button (mobile) */
[data-lte-toggle="sidebar"] {
  transition: transform 0.2s ease;
}

[data-lte-toggle="sidebar"]:hover {
  transform: scale(1.05);
}

/* Sidebar footer / bottom spacing if needed */
.sidebar-wrapper nav {
  padding-bottom: 1rem;
}

/* Subtle section divider suggestion (optional future use) */
.sidebar-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.06), transparent);
  margin: 0.75rem 1rem;
}

[data-bs-theme="dark"] .sidebar-divider {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

/* Map page styles */
#driver-tracking-map,
#gods-eye-map {
  min-height: 400px;
}

.custom-driver-marker {
  background: transparent !important;
  border: none !important;
}

.leaflet-popup-content-wrapper {
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.15);
}

.leaflet-popup-content {
  margin: 0.75rem 1rem;
  font-size: 0.875rem;
}

.leaflet-container {
  font-family: inherit;
}

/* Driver tracking status panel */
#track-driver-status .d-flex {
  white-space: nowrap;
}

/* God's Eye legend badges */
.gods-eye-legend .badge {
  font-size: 0.75rem;
}

/* Responsive map height */
@media (max-width: 768px) {
  #driver-tracking-map,
  #gods-eye-map {
    height: 400px !important;
  }
}

@media (max-width: 576px) {
  #driver-tracking-map,
  #gods-eye-map {
    height: 320px !important;
  }
}
    .dashboard-body {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
    }

    .main-content {
        height: auto;
    }

    .driver-doc-card .doc-image,
    .driver-doc-card .doc-placeholder {
        height: 120px;
    }
}