/* assets/css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body, html {
    height: 100%;
    background-color: #1e1e1e;
    color: #fff;
}

.app-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

.sidebar {
    width: 300px;
    background-color: #2c3e50;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1000; /* Keeps it above the map */
    box-shadow: 2px 0 5px rgba(0,0,0,0.5);
}

.sidebar h2 {
    font-size: 1.5rem;
    border-bottom: 2px solid #34495e;
    padding-bottom: 10px;
}

.btn {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    margin-top: 10px;
}

#map-container {
    flex-grow: 1;
    position: relative;
}

#map {
    height: 100%;
    width: 100%;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .app-container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        height: auto;
        order: 2; /* Moves sidebar below map on mobile */
    }
    #map-container {
        height: 60vh;
        order: 1;
    }
}