#sidebar {
    position: absolute;
    top: 55px; /* Offset to clear the top bar */
    left: -380px;
    width: 380px;
    height: calc(100vh - 55px);
    background: white;
    box-shadow: 2px 0 15px rgba(0,0,0,0.4);
    z-index: 2000;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
}
#sidebar.visible {
    left: 0;
}
.sidebar-header {
    background: #004990;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sidebar-header h2 { margin: 0; font-size: 22px; }
.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}
.sidebar-content {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
}
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
    background: #f4f4f4;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}
.info-item b { display: block; font-size: 12px; color: #666; text-transform: uppercase; margin-bottom: 2px; }
.info-item span { font-size: 15px; font-weight: bold; color: #222; }

.sidebar-itinerary h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
    border-bottom: 2px solid #004990;
    padding-bottom: 5px;
}
.sidebar-itinerary ul { list-style: none; padding: 0; margin: 0; }
.sidebar-itinerary li { 
    padding: 10px 0; 
    border-bottom: 1px solid #eee; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-size: 14px;
}
.sidebar-itinerary li:last-child { border-bottom: none; }
.track-badge { 
    background: #e2e8f0; 
    border: 1px solid #cbd5e1;
    border-radius: 4px; 
    padding: 3px 8px; 
    font-size: 12px; 
    font-weight: bold; 
    color: #1e293b; 
}