.mapf-check-label {
    display: block;
    margin: 5px;
    cursor: pointer;
}

.labeltile{
	display: block;
}
.mapf-check-button {
    display: inline-block;
    padding: 6px 12px;
    border: 2px solid #0073aa;
    border-radius: 4px;
    background-color: #fff;
    color: #0073aa;
    transition: all 0.2s ease;
}


/* 基础复选框样式 */
.mapf-check-label {
    position: relative;
    display: block;
    min-height: 24px; /* 确保有足够点击区域 */
    padding-left: 28px; /* 留出复选框空间 */
    margin-bottom: 8px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 隐藏原生复选框 */
.mapf-check-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* 自定义复选框框体 */
.mapf-check-label .mapf-check-button:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%; /* 关键改动：从顶部50%开始定位 */
    transform: translateY(-50%); /* 关键改动：上移自身高度的50% */
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s;
}

/* 复选框勾选标记 - 完美居中版 */
.mapf-check-label input[type="checkbox"]:checked + .mapf-check-button:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%; /* 关键改动：从顶部50%开始定位 */
    width: 8px;
    height: 12px;
    margin-top: -3px; /* 关键改动：上移高度的一半 */
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translateY(-50%) rotate(45deg); /* 组合变换 */
}

/* 文本标签样式 */
.mapf-check-label .mapf-check-button {
    display: inline-block;
    vertical-align: middle;
    line-height: 1.5;
    padding-top: 2px; /* 微调文本垂直位置 */
}

/* 悬停效果 */
.mapf-check-label:hover .mapf-check-button:before {
    border-color: #0073aa;
}



.mapf-level-0 {
    padding-left: 0px;
}
.mapf-level-1 {
    padding-left: 28px;
}
.mapf-level-2 {
    padding-left: 48px;
}
.mapf-level-3 {
    padding-left: 68px;
}
/* 可根据需要继续添加 */
