<style>
.upload-btn-wrapper {
            position: relative;
            overflow: hidden;
            display: inline-block;
        }

        .btnpol {
            border: 2px solid #28a745;
            color: #28a745;
            background-color: white;
            padding: 10px 20px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            width: 60%;
            text-align: center;
        }
        .btnpol:hover { background-color: #28a745; color: white; }

        .btnpol-export {
            border: 2px solid #007bff;
            color: #007bff;
            background-color: white;
            padding: 8px 15px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: bold;
            cursor: pointer;
            width: 100%;
            text-align: center;
            margin-top: 5px;
        }
        .btnpol-export:hover { background-color: #007bff; color: white; }

        /* Contenedores din?micos */
        #ajustes-seccion, #archivos-seccion {
            display: none; 
            flex-direction: column;
        /*  gap: 15px; */
        }

        /* Controles de Estilo */
        .control-group {
            display: flex;
            flex-direction: column;
            /*  gap: 5px;  */
            font-size: 0.8rem;
            color: #555;
        }
        .control-group div {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .control-group input[type="range"] {
            width: 60%;
            cursor: pointer;
        }
        .control-group input[type="checkbox"], .control-group input[type="color"] {
            cursor: pointer;
        }
        .control-group input[type="color"] {
            border: none;
            width: 40px;
            height: 25px;
            background: none;
        }
		
		
		.polygon-badge {
            background-color: #e9ecef;
            color: #495057;
            font-size: 0.8rem;
            padding: 2px 6px;
            border-radius: 10px;
            font-weight: bold;
        }
        .global-badge {
            background-color: #17a2b8;
            color: white;
        }

        /* Contenedores comunes para filas de archivos (lista e item superior) */
        .file-row {
            background: white;
            padding: 0 3px;
            border-radius: 5px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            margin-top: 5px;
        }

        #file-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        #file-list li {
            background: white;
			width: 60%;
            padding: 0 3px;
            margin-bottom: 8px;
            border-radius: 5px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }

        .file-info {
            display: flex;
            align-items: center;
        	gap: 8px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            flex-grow: 1;
        }

        .file-info input[type="checkbox"] {
            cursor: pointer;
            width: 14px;
            height: 14px;
            flex-shrink: 0;
        }

        .color-square {
            width: 14px;
            height: 14px;
            border-radius: 3px;
            border: 1px solid rgba(0,0,0,0.2);
            display: inline-block;
            flex-shrink: 0;
        }

        .trash-btn {
            border: none;
            background: none;
            cursor: pointer;
            padding: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            flex-shrink: 0;
        }
        .trash-btn:hover { background-color: #e9ecef; }
        .trash-btn svg {
            fill: #6c757d;
            width: 18px;
            height: 18px;
        }
        .trash-btn:hover svg { fill: #495057; }

        .polygon-label {
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid #666;
            border-radius: 4px;
            color: #333;
            font-weight: bold;
            font-size: 11px;
            padding: 2px 6px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.3);
            white-space: nowrap;
        }

/* Estilo para ajustar el contenido del popup del Identify WMS */
        .wms-identify-popup {
            max-width: 250px;
            max-height: 200px;
            overflow: auto;
            font-size: 0.85rem;
        }

        
    </style>
 
</style>

