body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
}

#map-container {
    position: relative;
    height: calc(100vh - 50px);
    width: 100%;
}

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

#loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.nav-tabs .nav-link {
    color: #495057;
}

.nav-tabs .nav-link.active {
    font-weight: bold;
    color: #0d6efd;
}

.tab-content {
    background-color: white;
}

@media (max-width: 768px) {
    #map-container {
        height: calc(100vh - 100px);
    }
}

#map-controls {
    z-index: 5;
    width: 220px;
}

#btn-locate-me {
    z-index: 5;
    bottom: 70px;
    right: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-window-brand {
    margin-top: 0;
}

.info-window-content {
    min-width: 260px;
    max-width: 320px;
}

.info-window-content h5 {
    font-size: 1.1rem;
    font-weight: bold;
}

.info-window-content .btn-sm {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

.info-window-content table {
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .info-window-content {
        max-width: 260px;
        overflow: auto;
    }
    
    .info-window-content h5 {
        font-size: 1rem;
        margin-bottom: 0.25rem !important;
    }
    
    .info-window-content p {
        margin-bottom: 0.5rem !important;
        font-size: 0.8rem;
    }
    
    .info-window-content .mb-2 {
        margin-bottom: 0.5rem !important;
    }

    .info-window-content table {
        font-size: 0.75rem;
    }
    
    .info-window-content .btn-sm {
        font-size: 0.7rem;
        padding: 0.15rem 0.3rem;
    }
    
    .gm-style-iw-c {
        padding-right: 0 !important;
    }
    
    .gm-style-iw-d {
        overflow: auto !important;
    }
}
