.cover-panel{
    display:flex;
    flex-direction: column;
    padding:15px 15px 0;
    background:#fff;
    position:absolute;
    inset: 0;
    bottom:8px;
    border-radius:6px;
    z-index:10;
    --error-color:#a94442;
    --success-color:#3c763d;
    --focus-color:#66afe9;
}

.cover-panel:not(.ismodal){
    will-change: transform;
    transform: translateX(101%);
    transition:transform 0.3s ease-out;
}

.cover-panel.active:not(.ismodal){
    transform: translateX(0);
}

.cover-panel:not(.ismodal) .modal-header{
    padding:15px 0 10px;
}
.cover-panel .cover-panel-body{
    flex:1;
    overflow: hidden;
    height:calc(100% - 70px);
    display:flex;
    flex-direction: column;
}
.cover-panel.ismodal .cover-panel-body{
    padding:0 15px;
}
.cover-panel .btn-back{
    margin-bottom:10px;
    width:40px;
    height:40px;
    background: #F5F6FA no-repeat center / 20px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAIVBMVEUAAAA0NDQwMDAwMDAzMzMzMzMzMzMyMjIzMzMyMjIzMzOWwr+TAAAACnRSTlMAgC8g79+/cKCYV5qBnQAAAEtJREFUOMtjGDGAXQGHhJQTdnHGVUsUsGtYtdQAu4ZVwcNWw6xVGGAZSJxpFakSDF1YJGCWO+GIIyxxMQy1LDXAoSUYV6I2YBhZAAA5rFjbA8K8RwAAAABJRU5ErkJggg==);
}
.cover-panel .btn-add,
.cover-panel button[type="submit"]{
    transform: translateZ(0);
}
.cover-panel .modal-body{
    padding-left:0;
    padding-right:0;
    flex:1;
    display:flex;
    flex-direction: column;
    overflow:hidden;
}
.cover-panel .editable-list .table>thead>tr>th{
    border-bottom:0 none;
}
.cover-panel .editable-list .table-list-wrapper{
    flex:1;
    height:100%;
    overflow: hidden;
}
.cover-panel .editable-list .table-responsive{
    overflow:auto;
    scrollbar-gutter: stable;
    padding-bottom:13px;
    max-height:calc(100% - 55px);
}
.cover-panel.ismodal{
    padding:0;
    position:relative;
    min-height:400px;
    width:100%;
}
.cover-panel.ismodal .btn-back,
.cover-panel:not(.ismodal) .modal-header button.close{
    display:none!important;
}
form.cover-form{display:flex;max-height:600px}
.editable-list .top-operate-bar{
    margin-top:24px;
}
.editable-list .table-responsive .table{
    margin-bottom:0;
}
.editable-list .table-responsive .table .help-block{
    margin-top:0;
}
.editable-list .table-responsive .table .col-icon{
    width:1%;
    text-align: center;
    white-space: nowrap;
    min-width:60px;
}
.editable-list .table-responsive tr{
    position:relative;
}
.editable-list{
    position:relative;
    flex:1;
    display:flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom:10px;
}
.editable-list .top-operate-bar .tip-icon{
    font-size:16px;
    padding:0 8px;
    margin-top:5px;
}

.editable-list .table-bar {
    position:sticky;
    bottom:0;
    background:#fff;
    padding:4px 0 15px;
}
.cover-panel.ismodal .editable-list .table-bar{
    margin-left:-15px;
    margin-right:-15px;
}
.editable-list .operate-bar button+button:not(.hidden){
    margin-left:6px;
}
.editable-list .batch-list-wrapper{
    background:#fff;
    position: absolute;
    inset: 0;
    top:66px;
    bottom:55px;
    z-index:10;
    padding:10px 0;
}
.editable-list .batch-list-wrapper.v-hidden{
    visibility: hidden;
    transform:translateX(100%);
}
.batch-list-wrapper .editor-wrapper{
    height:calc(100% - 40px);
    display:flex;
    overflow:auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    scrollbar-gutter: stable;
    scrollbar-color: rgba(0,0,0,0.2) transparent; /* Firefox */
    scrollbar-width: thin; /* Firefox */
}
.batch-list-wrapper .editor-wrapper:focus-within{
    border-color:var(--focus-color);
}
.batch-list-wrapper.has-error .editor-wrapper{
    border-color:var(--error-color);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
.batch-list-wrapper.has-success .editor-wrapper{
    border-color: var(--success-color);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.batch-list-wrapper .help-block{
    display:none;
}
.batch-list-wrapper.has-error .help-block{
    display:block;
}

.batch-list-wrapper .editor-wrapper::-webkit-scrollbar {
    width: 8px;
}

.batch-list-wrapper .editor-wrapper::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius:8px;
    border: 1px solid #fff;
}

.batch-list-wrapper .editor-wrapper::-webkit-scrollbar-track {
    background: transparent;
    border-radius:8px;
    margin:2px;
}

.batch-list-wrapper .line-markers {
    /*background-color: #f5f5f5;*/
    padding: 8px 0;
    text-align: center;
    user-select: none;
    /*border: 1px solid #ddd;*/
    min-width: 10px;
    height: fit-content;
}

.batch-list-wrapper .line-marker {
    min-height: 20px;
    line-height: 20px;
    position: relative;
}

.batch-list-wrapper .editor-content{
    flex:1;
    position:relative;
    min-width:0;
}

.batch-list-wrapper .editor-content textarea,
.batch-list-wrapper .editor-content .temp{
    width: 100%;
    height: 100%;
    min-height:90%;
    padding: 8px 5px;
    border: none;
    outline: none;
    resize: none;
    font-family: monospace;
    line-height: 20px;
    white-space: pre-wrap;
    box-sizing: border-box;
    overflow: hidden;
}
.batch-list-wrapper .editor-content .temp{
    position: absolute;
    width: 100%;
    top:-200px;
    visibility: hidden;
    padding: 0 5px;
    height:auto;
    min-height:initial;
    word-break: break-word;
    pointer-events: none;
}
.batch-list-wrapper .editor-content .placeholder {
    position:absolute;
    top:10px;
    left:5px;
    pointer-events: none;
    display:none;
    color:#A8AEBC;
}

.batch-list-wrapper .editor-content textarea:focus + .placeholder {
    display: none;
}
.error-marker::before {
    content: "";
    width: 2px;
    opacity:.7;
    background-color: var(--error-color);
    border-radius: 2px;
    position: absolute;
    top:2px;
    bottom:2px;
}