:root {
    --aj-gold: #b8860b;
    --aj-ink: #1f2937;
    --aj-sidebar: #111827;
}
body { background: #f5f6f8; color: var(--aj-ink); font-family: "Segoe UI", Tahoma, sans-serif; }
.sidebar {
    width: 250px; min-height: 100vh; background: var(--aj-sidebar); flex-shrink: 0;
}
.sidebar .nav-link { color: #d1d5db; padding: .7rem 1rem; border-radius: .4rem; margin: .1rem .5rem; }
.sidebar .nav-link:hover, .sidebar .nav-link.active { background: rgba(184,134,11,.2); color: #fff; }
.sidebar-brand { letter-spacing: .02em; }
#page-content { min-width: 0; }
.stat-card { border: 0; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.stat-card .stat-value { font-size: 1.5rem; font-weight: 700; }
.auth-body {
    background: radial-gradient(circle at top left, #f8e7b0, #f5f6f8 45%, #e8edf5);
}
.auth-card { border-radius: 1rem; }
.brand-mark {
    width: 52px; height: 52px; margin: 0 auto; border-radius: 50%;
    display: grid; place-items: center; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, #d4a017, #8b6914);
}
.table thead th { white-space: nowrap; }
@media (max-width: 991px) {
    .sidebar { position: fixed; z-index: 1040; left: -260px; transition: left .2s; }
    .sidebar.show { left: 0; }
}

/* Location Logs Dashboard Styles */
.map-card-body { padding: 0; position: relative; }
#locationMap { height: 580px; width: 100%; border-radius: 0.5rem; z-index: 1; }
.timeline-feed { max-height: 580px; overflow-y: auto; padding-right: 4px; }
.timeline-log-item {
    transition: all 0.2s ease-in-out;
    border-left: 4px solid #cbd5e1;
    cursor: pointer;
}
.timeline-log-item:hover {
    background-color: #f8fafc;
    border-left-color: #3b82f6;
    transform: translateX(2px);
}
.timeline-log-item.active {
    background-color: #eff6ff;
    border-left-color: #2563eb;
}
.timeline-log-item.start-point { border-left-color: #10b981; }
.timeline-log-item.end-point { border-left-color: #ef4444; }

/* Custom Leaflet Map Pin Badges */
.custom-map-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 13px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border: 2px solid white;
}
.pin-start { background: #10b981; }
.pin-end { background: #ef4444; }
.pin-step { background: #3b82f6; }

