
    /* Zachování původních stylů + mobilní vylepšení */
    .file-form {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .file-form .log-selector {
        min-width: 300px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Styly pro mapu */
    #map {
        height: 600px;
        width: 100%;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        margin-top: 20px;
    }

    .legend {
        background: rgba(255, 255, 255, 0.9);
        padding: 15px;
        margin-top: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .legend h3 {
        margin-top: 0;
        color: #2c3e50;
    }

    .legend-item {
        display: inline-block;
        margin-right: 20px;
        margin-bottom: 10px;
    }

    .legend-color {
        display: inline-block;
        width: 20px;
        height: 20px;
        margin-right: 8px;
        vertical-align: middle;
        border-radius: 50%;
        border: 2px solid #fff;
        box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    }

    /* Ovládací prvky pro mřížku */
    .map-controls {
        background: rgba(255, 255, 255, 0.9);
        padding: 15px;
        margin-top: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .map-controls h3 {
        margin-top: 0;
        color: #2c3e50;
    }

    .control-item {
        margin-bottom: 10px;
    }

    .control-item label {
        margin-left: 8px;
        font-weight: normal;
        cursor: pointer;
    }

    .control-item input[type="checkbox"] {
        margin-right: 8px;
        transform: scale(1.2);
    }
    
    /* POUZE mobilní responzivní úpravy */
    @media (max-width: 768px) {
        .file-form {
            align-items: stretch;
        }
        
        .file-form .log-selector {
            min-width: auto;
            width: 100%;
        }
        
        #map {
            height: 70vh;
            min-height: 400px;
            margin-top: 15px;
        }
        
        .legend-item {
            display: block;
            margin-right: 0;
            margin-bottom: 8px;
        }

        .map-controls {
            padding: 12px;
        }
    }
    
    @media (max-width: 480px) {
        #map {
            height: 60vh;
            min-height: 300px;
        }
        
        .legend {
            padding: 12px;
        }
    }
   