/* Trips & Events */
.evit { background: #101010; border: 1px solid #252525; border-radius: 12px; padding: 12px; margin-bottom: 8px; cursor: pointer; display: flex; gap: 12px; align-items: center; }
.evit:hover { border-color: #E8FF47; }
.trip-card, .completed-ride-item { background: #181818; border-radius: 12px; padding: 12px; margin-bottom: 12px; }
.trip-card:hover { border-color: #E8FF47; transform: translateX(4px); }
.completed-ride-item { border-left: 3px solid #2EC87A; }
.trip-type-btn { background: transparent; border: 2px solid #303030; padding: 10px; border-radius: 8px; cursor: pointer; text-align: center; flex: 1; }
.trip-type-btn.active { border-color: #E8FF47; background: rgba(232,255,71,.1); color: #E8FF47; }

/* Maps */
#trackingMap { height: 300px; border-radius: 12px; margin-bottom: 1rem; background: #1a1a1a; }
#driverNavMap { height: 250px; border-radius: 12px; margin-bottom: 1rem; background: #1a1a1a; }
.distance-badge { background: #2EC87A20; color: #2EC87A; padding: 4px 10px; border-radius: 20px; font-size: 14px; }

/* Chat Module */
.chat-btn { background: #E8FF47; color: #000; border: none; padding: 8px 16px; border-radius: 20px; cursor: pointer; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.chat-modal { max-width: 500px; width: 95%; height: 80vh; max-height: 600px; display: flex; flex-direction: column; background: #101010; border-radius: 20px; overflow: hidden; }
.chat-header { padding: 16px; background: #181818; border-bottom: 1px solid #303030; display: flex; justify-content: space-between; align-items: center; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.message { max-width: 80%; padding: 10px 14px; border-radius: 18px; font-size: 14px; word-wrap: break-word; }
.message-sent { background: #E8FF47; color: #000; align-self: flex-end; border-bottom-right-radius: 4px; }
.message-received { background: #252525; color: #fff; align-self: flex-start; border-bottom-left-radius: 4px; }

/* Heatmap */
.heatmap-section { margin-bottom: 12px; }
.heatmap-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; flex-wrap: wrap; gap: 8px; }
.demand-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.demand-high { background: #FF4F30; box-shadow: 0 0 8px #FF4F30; }
.demand-medium { background: #FFB020; box-shadow: 0 0 6px #FFB020; }
.demand-low { background: #2EC87A; box-shadow: 0 0 4px #2EC87A; }
.heatmap-item { display: flex; justify-content: space-between; align-items: center; padding: 10px; border-bottom: 1px solid #252525; cursor: pointer; transition: 0.2s; }
.heatmap-item:hover { background: #252525; border-radius: 8px; }

/* Stacked Rides & Ratings */
.queued-rides-section { margin-top: 12px; padding-top: 12px; border-top: 1px solid #E8FF47; background: rgba(232,255,71,0.1); border-radius: 8px; padding: 8px; }
.stars { display: inline-flex; gap: 3px; }
.star { font-size: 14px; cursor: pointer; color: #555; transition: color 0.2s; }
.star.active, .star.rated { color: #E8FF47; }