Spaces:
Sleeping
Sleeping
| body { | |
| font-family: 'Georgia', serif; | |
| margin: 0; | |
| padding: 0; | |
| background-color: #f0f5f9; | |
| color: #333; | |
| } | |
| header { | |
| background-color: #1e3a8a; | |
| color: white; | |
| padding: 1rem; | |
| position: relative; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| } | |
| .logo { | |
| width: 50px; | |
| height: 50px; | |
| margin-right: 15px; | |
| background-color: #fff; | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 24px; | |
| font-weight: bold; | |
| color: #1e3a8a; | |
| } | |
| main { | |
| padding: 2rem; | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| } | |
| .content-container { | |
| display: flex; | |
| gap: 2rem; | |
| } | |
| #route-section, #stats-section { | |
| flex: 1; | |
| } | |
| #map { | |
| width: 100%; | |
| height: 400px; | |
| margin-bottom: 2rem; | |
| border: 2px solid #ddd; | |
| border-radius: 8px; | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
| } | |
| form { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 1rem; | |
| max-width: 400px; | |
| background-color: #fff; | |
| padding: 20px; | |
| border-radius: 8px; | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
| } | |
| form label { | |
| font-weight: bold; | |
| color: #1e3a8a; | |
| } | |
| form input[type="text"] { | |
| padding: 10px; | |
| border: 1px solid #ddd; | |
| border-radius: 4px; | |
| font-size: 16px; | |
| } | |
| form button, .nav-btn, .login-btn { | |
| background-color: #4caf50; | |
| color: white; | |
| border: none; | |
| padding: 10px 15px; | |
| cursor: pointer; | |
| font-size: 16px; | |
| border-radius: 4px; | |
| transition: background-color 0.3s ease; | |
| } | |
| form button:hover, .nav-btn:hover, .login-btn:hover { | |
| background-color: #45a049; | |
| } | |
| footer { | |
| text-align: center; | |
| padding: 1rem; | |
| background-color: #1e3a8a; | |
| color: white; | |
| bottom: 0; | |
| width: 100%; | |
| } | |
| h1 { | |
| margin: 0; | |
| font-size: 24px; | |
| } | |
| h2 { | |
| color: #1e3a8a; | |
| border-bottom: 2px solid #1e3a8a; | |
| padding-bottom: 10px; | |
| } | |
| .login-btn { | |
| background-color: #f59e0b; | |
| } | |
| .login-btn:hover { | |
| background-color: #d97706; | |
| } | |
| .nav-buttons { | |
| display: flex; | |
| gap: 10px; | |
| } | |
| .nav-btn { | |
| background-color: #4caf50; | |
| color: white; | |
| border: none; | |
| padding: 8px 15px; | |
| margin: 0 5px; | |
| border-radius: 5px; | |
| cursor: pointer; | |
| } | |
| #route-options button { | |
| background-color: #e0e7ff; | |
| color: #1e3a8a; | |
| border: 1px solid #1e3a8a; | |
| padding: 10px 15px; | |
| margin: 5px; | |
| border-radius: 4px; | |
| cursor: pointer; | |
| transition: background-color 0.3s ease; | |
| } | |
| #route-options button:hover { | |
| background-color: #c7d2fe; | |
| } | |
| #traffic-toggle { | |
| margin-right: 10px; | |
| } | |
| #traffic-stats-chart { | |
| max-width: 100%; | |
| background-color: #fff; | |
| padding: 20px; | |
| border-radius: 8px; | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
| } | |
| .container { | |
| background: #fff; | |
| padding: 2rem; | |
| border-radius: 10px; | |
| box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); | |
| width: 350px; | |
| text-align: center; | |
| } | |
| .form input { | |
| width: 100%; | |
| padding: 12px; | |
| margin: 10px 0; | |
| border: 1px solid #ccc; | |
| border-radius: 5px; | |
| font-size: 1rem; | |
| transition: border-color 0.3s ease; | |
| box-sizing: border-box; | |
| } | |
| .form input:focus { | |
| outline: none; | |
| border-color: #457b9d; | |
| } | |
| .form button { | |
| width: 100%; | |
| padding: 12px; | |
| margin: 15px 0; | |
| background: #1d3557; | |
| color: #fff; | |
| border: none; | |
| border-radius: 5px; | |
| cursor: pointer; | |
| font-size: 1rem; | |
| transition: background-color 0.3s ease; | |
| } | |
| .form button:hover { | |
| background: #457b9d; | |
| } | |
| .form a { | |
| display: block; | |
| color: #1d3557; | |
| text-decoration: none; | |
| margin-top: 15px; | |
| font-size: 0.9rem; | |
| transition: color 0.3s ease; | |
| } | |
| .form a:hover { | |
| color: #457b9d; | |
| } | |
| .error { | |
| color: #e63946; | |
| margin-top: 10px; | |
| font-size: 0.9rem; | |
| } | |
| #pac-input { | |
| width: 300px; | |
| padding: 10px; | |
| font-size: 16px; | |
| margin: 20px auto; | |
| display: block; | |
| border: 1px solid #bdc3c7; | |
| border-radius: 5px; | |
| } |