body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f5f5f7;
    margin: 0;
    padding: 0;
}

/* Top Bar */
.top-bar {
    padding: 16px;
    background: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 10;
}

.selectors {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

select {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background: #fafafa;
    font-size: 16px;
}

.timestamp {
    font-size: 13px;
    color: #666;
}

/* Ride List */
.ride-list {
    padding: 16px;
}

.ride-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Header */
.ride-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ride-name {
    font-size: 20px;
    font-weight: 600;
}

.ride-status {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 13px;
    color: white;
}

.ride-status.open {
    background: #34c759;
}

.ride-status.closed {
    background: #ff3b30;
}

/* Sub Info */
.ride-sub {
    margin-top: 4px;
    font-size: 14px;
    color: #666;
}

.category-badge {
    background: #e5e5ea;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

/* Waits */
.ride-waits {
    display: flex;
    gap: 20px;
    margin-top: 12px;
    font-size: 16px;
}

.label {
    color: #666;
}

.value {
    font-weight: 600;
}

.difference {
    font-weight: 600;
}

.difference.higher {
    color: #ff3b30;
}

.difference.lower {
    color: #34c759;
}

.difference.normal {
    color: #8e8e93;
}

/* Best Hour */
.best-hour {
    margin-top: 12px;
    font-size: 14px;
    color: #444;
}
.ride-details {
    padding: 10px;
}

.ride-details canvas {
    max-width: 100%;
    height: 150px !important;   /* much smaller */
}
