.predictions-container { max-width: 1000px; margin: 0 auto; padding: 2rem; } .prediction-card { background: #ffffff; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); margin-bottom: 2rem; padding: 1.5rem; display: grid; grid-template-columns: 250px 1fr; gap: 1.5rem; } .prediction-image { position: relative; overflow: hidden; border-radius: 8px; } .satellite-img { width: 100%; height: 200px; object-fit: cover; border: 2px solid #e0e0e0; } .result-card { display: flex; align-items: center; padding: 1rem; border-radius: 8px; margin-top: 1rem; } .solar-detected { background: #e8f5e9; border: 1px solid #81c784; } .no-solar { background: #ffebee; border: 1px solid #ef9a9a; } .result-icon { font-size: 2rem; margin-right: 1rem; } .result-label { font-weight: 600; margin-bottom: 0.5rem; } .confidence-display { margin-top: 1rem; } .confidence-bar { height: 8px; background: #eeeeee; border-radius: 4px; overflow: hidden; } .confidence-fill { height: 100%; background: linear-gradient(90deg, #4caf50, #81c784); transition: width 0.5s ease; } .confidence-value { font-size: 0.9rem; color: #666; display: block; margin-bottom: 0.5rem; } /* .back-btn { display: inline-flex; align-items: center; padding: 0.8rem 1.5rem; background: #2196f3; color: white; text-decoration: none; border-radius: 25px; transition: transform 0.2s; } .back-btn:hover { transform: translateY(-2px); } */ .no-predictions { text-align: center; padding: 2rem; color: #757575; } .no-predictions i { font-size: 3rem; margin-bottom: 1rem; } /* Ensure the predictions-container is positioned relatively to act as a reference for absolute positioning */ .predictions-container { position: relative; padding: 20px; /* Adjust as needed */ } /* 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 */ } /* Responsive Design */ @media (max-width: 768px) { .predictions-container { padding: 1rem; } .prediction-card { grid-template-columns: 1fr; padding: 1rem; } .prediction-image { width: 100%; } .satellite-img { height: 150px; } .result-card { flex-direction: column; align-items: flex-start; } .result-icon { margin-bottom: 0.5rem; margin-right: 0; } .back-btn { width: 100%; justify-content: center; } }