Spaces:
Sleeping
Sleeping
| /* Main Container */ | |
| .predictions-container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 20px; | |
| font-family: 'Arial', sans-serif; | |
| background-color: #f9f9f9; | |
| border-radius: 8px; | |
| box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| position: relative; /* Reference for absolute positioning */ | |
| } | |
| /* Style the top-left Back to Map button */ | |
| .back-btn.top-left { | |
| position: absolute; | |
| top: 15px; /* Balanced spacing from top */ | |
| left: 15px; /* Balanced spacing from left */ | |
| z-index: 1000; /* Ensure it appears above other elements */ | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; /* Center the icon */ | |
| width: 40px; /* Fixed width for a compact, circular button */ | |
| height: 40px; /* Fixed height for a circular button */ | |
| background-color: #007bff; /* Primary blue for consistency */ | |
| color: #ffffff; /* White icon */ | |
| text-decoration: none; | |
| border-radius: 50%; /* Circular shape */ | |
| box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15); /* Subtle shadow for depth */ | |
| transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; /* Smooth transitions */ | |
| } | |
| /* Hover effect */ | |
| .back-btn.top-left:hover { | |
| background-color: #0056b3; /* Darker blue on hover */ | |
| transform: translateY(-2px); /* Slight lift effect */ | |
| box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */ | |
| } | |
| /* Active (click) effect */ | |
| .back-btn.top-left:active { | |
| transform: translateY(0); /* Remove lift on click */ | |
| box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Reduced shadow on click */ | |
| } | |
| /* Style the icon */ | |
| .back-btn.top-left .fa-solid { | |
| font-size: 18px; /* Slightly larger icon for visibility */ | |
| } | |
| /* Heading */ | |
| h1 { | |
| font-size: 1.8rem; | |
| color: #333; | |
| margin-bottom: 20px; | |
| text-align: center; | |
| } | |
| /* Control Buttons */ | |
| .controls { | |
| display: flex; | |
| gap: 15px; | |
| margin-bottom: 20px; | |
| flex-wrap: wrap; | |
| justify-content: center; | |
| } | |
| .download-container, .clear-container { | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| padding: 8px; | |
| border-radius: 6px; | |
| background-color: #ffffff; | |
| box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); | |
| } | |
| .btn { | |
| padding: 8px 16px; | |
| font-size: 0.9rem; | |
| border-radius: 6px; | |
| cursor: pointer; | |
| text-decoration: none; | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 8px; | |
| transition: all 0.3s ease; | |
| color: white; | |
| border: none; | |
| line-height: 1.5; | |
| width: 100%; | |
| justify-content: center; | |
| } | |
| .btn i { | |
| font-size: 1rem; | |
| } | |
| .download-btn { | |
| background-color: #28a745; | |
| box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| } | |
| .download-btn:hover { | |
| background-color: #218838; | |
| transform: translateY(-1px); | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15); | |
| } | |
| .download-btn:active { | |
| transform: translateY(0); | |
| box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| } | |
| .clear-btn { | |
| background-color: #dc3545; | |
| box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| } | |
| .clear-btn:hover { | |
| background-color: #c82333; | |
| transform: translateY(-1px); | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15); | |
| } | |
| .clear-btn:active { | |
| transform: translateY(0); | |
| box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| } | |
| /* Predictions Table */ | |
| .table-container { | |
| overflow-x: auto; | |
| } | |
| .predictions-table { | |
| width: 100%; | |
| border-collapse: collapse; | |
| margin: 20px 0; | |
| background-color: white; | |
| border-radius: 6px; | |
| overflow: hidden; | |
| box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| } | |
| .predictions-table th, | |
| .predictions-table td { | |
| padding: 12px; | |
| text-align: left; | |
| border-bottom: 1px solid #e0e0e0; | |
| } | |
| .predictions-table th { | |
| background-color: #f1f1f1; | |
| font-weight: bold; | |
| color: #333; | |
| } | |
| .predictions-table tr:hover { | |
| background-color: #f5f5f5; | |
| } | |
| /* No Predictions Message */ | |
| p { | |
| text-align: center; | |
| color: #666; | |
| font-size: 1rem; | |
| padding: 20px; | |
| background-color: white; | |
| border-radius: 6px; | |
| box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| } | |
| /* Disabled State */ | |
| .disabled { | |
| opacity: 0.6; | |
| cursor: not-allowed; | |
| pointer-events: none; | |
| } | |
| /* No Predictions Section */ | |
| .no-predictions { | |
| text-align: center; | |
| padding: 2rem; | |
| background: #fff; | |
| border-radius: 8px; | |
| box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| margin: 20px 0; | |
| } | |
| .no-predictions i { | |
| font-size: 2rem; | |
| color: #6c757d; | |
| margin-bottom: 1rem; | |
| } | |
| /* Alert Messages */ | |
| .alert { | |
| padding: 10px; | |
| border-radius: 4px; | |
| margin-top: 1rem; | |
| } | |
| .alert-error { | |
| background: #f8d7da; | |
| color: #721c24; | |
| border: 1px solid #f5c6cb; | |
| } | |
| .alert-success { | |
| background: #d4edda; | |
| color: #155724; | |
| border: 1px solid #c3e6cb; | |
| } | |
| /* Responsive Design */ | |
| @media (max-width: 768px) { | |
| .predictions-container { | |
| padding: 15px; | |
| } | |
| .controls { | |
| flex-direction: column; | |
| align-items: stretch; | |
| } | |
| .download-container, .clear-container { | |
| width: 100%; | |
| } | |
| .btn { | |
| padding: 10px; | |
| font-size: 0.85rem; | |
| } | |
| .predictions-table th, | |
| .predictions-table td { | |
| padding: 10px; | |
| font-size: 0.85rem; | |
| } | |
| } |