.k002-folder-picker {
    position: relative;
    display: inline-block;
    z-index: 99999; /* 提高父容器的 z-index */
}

.k002-folder-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    border-radius: 4px;
    transition: background-color 0.2s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.k002-folder-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.k002-folder-panel {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 240px;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 99999; /* 提高 z-index，确保在所有元素之上 */
}

.k002-folder-panel.show {
    display: block;
}

.k002-folder-item {
    display: block;
    padding: 6px 10px; /* 减小间距 */
    color: #333;
    text-decoration: none;
    font-size: 13px; /* 减小字号 */
    transition: background-color 0.2s;
}

.k002-folder-item:hover {
    background-color: #f0f0f0;
}

.k002-folder-divider {
    height: 1px;
    background-color: #d946ef; /* 中红色 */
    margin: 4px 0;
}