/* App Layout */ .App { max-width: 800px; margin: 0 auto; padding: 2rem; font-family: Arial, sans-serif; background-color: white; color: black; } /* Form Layout */ .planner { display: flex; flex-direction: column; gap: 1rem; align-items: center; } .selects { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; } label { display: flex; flex-direction: column; gap: 0.5rem; } /* Buttons */ button { padding: 0.75rem 1.5rem; font-size: 1rem; background-color: #646cff; color: white; border: none; border-radius: 4px; cursor: pointer; transition: background-color 0.3s; } button:hover:not(:disabled) { background-color: #535bf2; } button:disabled { background-color: #ccc; cursor: not-allowed; } /* Error Messages */ .error { color: red; font-weight: bold; } /* Route Display */ .route { margin-top: 2rem; text-align: left; width: 100%; } .route h2 { text-align: center; } /* Stop Selector */ .stop-selector { position: relative; width: 100%; max-width: 300px; } .stop-input { width: 100%; padding: 0.5rem; font-size: 1rem; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; } .stop-list { position: absolute; top: 100%; left: 0; right: 0; background: white; border: 1px solid #ccc; border-top: none; border-radius: 0 0 4px 4px; max-height: 200px; overflow-y: auto; z-index: 1000; list-style: none; padding: 0; margin: 0; } .stop-list li { padding: 0.5rem; cursor: pointer; border-bottom: 1px solid #eee; color: #333; } .stop-list li:hover { background-color: #ddd; } .stop-list li:last-child { border-bottom: none; } /* Trip Legs */ .leg { margin-bottom: 2rem; padding: 1rem; border: 1px solid #ddd; border-radius: 8px; background-color: white; } .leg h3 { margin-top: 0; color: #333; font-size: 1.1rem; } .leg ul { padding-left: 1.5rem; margin: 0.5rem 0; } .leg li { margin-bottom: 0.25rem; color: #555; } /* Transfer Notices */ .transfer { font-weight: bold; color: #d9534f; margin: 1rem 0 0 0; padding: 0.5rem; background-color: #f2dede; border: 1px solid #ebccd1; border-radius: 4px; } /* Route Title */ .route-title { color: #333; font-size: 1.5rem; margin-bottom: 1.5rem; text-align: center; } /* Leg Title */ .leg-title { color: #2c3e50; font-size: 1.2rem; margin-bottom: 0.5rem; } /* Leg Stops */ .leg-stops { font-weight: bold; color: #34495e; margin: 0.5rem 0; } /* Leg Times */ .leg-time { color: #7f8c8d; margin: 0.25rem 0; font-size: 0.9rem; } /* Stops List */ .stops-list { background-color: white; border-radius: 4px; padding: 0.5rem; margin: 0.5rem 0; list-style: none; padding-left: 0; } /* Stop Item */ .stop-item { padding: 0.25rem 0; border-bottom: 1px solid #bdc3c7; } .stop-item:last-child { border-bottom: none; } .stop-item.clickable { cursor: pointer; } .stop-item.past { color: #999; cursor: not-allowed; } /* Time Input */ input[type="datetime-local"] { padding: 0.5rem; font-size: 1rem; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; } /* Select Input */ select { padding: 0.5rem; font-size: 1rem; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; } /* Mode Switch */ .mode-switch { display: flex; gap: 0.5rem; margin-bottom: 2rem; justify-content: center; } .mode-switch button.active { background-color: #535bf2; font-weight: bold; } /* Explorer */ .explorer { display: flex; flex-direction: column; gap: 1rem; align-items: center; } .trips { width: 100%; max-width: 800px; } .trip { margin-bottom: 2rem; padding: 1rem; border: 1px solid #ddd; border-radius: 8px; background-color: white; } .trip h3 { margin-top: 0; color: #333; font-size: 1.1rem; }