.container {
    max-width: 960px;
}

/* Journey item styling */
.journey-item {
    transition: background-color 0.2s ease;
}

.journey-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.journey-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Time display styling */
.time-departure,
.time-arrival {
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.journey-times {
    display: flex;
    align-items: center;
}

.journey-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

/* Card body improvements */
.card-body {
    padding: 1.25rem;
}

/* Remove border from last journey item */
.journey-item:last-child {
    border-bottom: none !important;
}

/* Card header improvements */
.card-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.route-title {
    font-size: 1.1rem;
    color: #212529;
}

.route-title i.bi-geo-alt-fill {
    font-size: 0.9rem;
}

/* Typography improvements */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

h1 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.card {
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Journey item improvements */
.journey-item {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    border-radius: 4px;
}

/* Badge improvements */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

/* Responsive design */
@media (max-width: 768px) {
    .journey-item > .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .route-title {
        font-size: 1rem;
    }
    
    .time-departure,
    .time-arrival {
        font-size: 1.1rem !important;
    }
    
    .journey-times {
        margin-bottom: 0.5rem;
    }
}
