.search-tabs-editor{

    position:absolute;

    top:70px;

    right:15px;

    width:360px;

    background:#fff;

    border-radius:14px;

    box-shadow:0 15px 40px rgba(0,0,0,.15);

    overflow:hidden;

    z-index:99999;

}

.search-tabs-editor.collapsed{

    display:none;

}

.search-tabs-editor-header{

    padding:18px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    border-bottom:1px solid #eee;

}

.search-tabs-editor-header h3{

    margin:0;

    font-size:17px;

}

.search-tab-add-btn{

    border:none;

    background:#0d6efd;

    color:#fff;

    padding:8px 14px;

    border-radius:8px;

    cursor:pointer;

}

.search-tabs-list{

    max-height:450px;

    overflow:auto;

}

.search-tab-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:12px 15px;

    border-bottom:1px solid #f1f1f1;

    cursor:grab;

}

.search-tab-left{

    display:flex;

    align-items:center;

    gap:12px;

}

.drag-handle{

    cursor:grab;

    color:#999;

}

.tab-icon{

    width:24px;

    text-align:center;

}

.tab-title-input{

    border:none;

    outline:none;

    font-size:15px;

    width:150px;

}

.search-tab-right{

    display:flex;

    gap:8px;

}

.search-tab-right button{

    width:34px;

    height:34px;

    border:none;

    border-radius:8px;

    cursor:pointer;

}

.tab-visibility-btn{

    background:#f2f2f2;

}

.tab-visibility-btn.active{

    background:#d7f5de;

    color:#198754;

}

.tab-delete-btn{

    background:#ffe7e7;

    color:#dc3545;

}

.search-tab-empty{

    padding:40px;

    text-align:center;

    color:#888;

}

.search-tabs-add-panel{

    border-top:1px solid #eee;

    background:#fafafa;

    overflow:hidden;

    transition:.35s;

}

.search-tabs-add-panel.collapsed{

    display:none;

}

.search-tabs-add-title{

    padding:15px 18px;

    font-size:15px;

    font-weight:600;

    color:#444;

    display:flex;

    gap:10px;

    align-items:center;

}

.search-tabs-add-body{

    padding:18px;

}

.search-tabs-field{

    margin-bottom:18px;

}

.search-tabs-field label{

    display:block;

    margin-bottom:8px;

    font-size:13px;

    font-weight:600;

}

.search-tabs-field select{

    width:100%;

    height:42px;

    border:1px solid #ddd;

    border-radius:10px;

    padding:0 12px;

    outline:none;

}

.search-tabs-preview{

    display:flex;

    align-items:center;

    gap:12px;

    background:#fff;

    border:1px solid #eee;

    border-radius:10px;

    padding:14px;

    margin-bottom:18px;

}

.preview-icon{

    width:42px;

    height:42px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#0d6efd;

    color:#fff;

    border-radius:50%;

    font-size:18px;

}

.search-tabs-actions{

    display:flex;

    justify-content:flex-end;

    gap:10px;

}

.search-tab-save-btn{

    border:none;

    background:#0d6efd;

    color:#fff;

    padding:10px 18px;

    border-radius:8px;

    cursor:pointer;

}

.search-tab-cancel-btn{

    border:none;

    background:#e9ecef;

    padding:10px 18px;

    border-radius:8px;

    cursor:pointer;

}