.mui-table-view-cell{
    background-color: #FFFCF4 !important;
}

.mui-table-view-cell > .mui-slider-handle{
    background-color: #FFFCF4 !important;
}

.mui-content{
    background-color: #FFFCF4 !important;
}

.mui-table-view-menu-cell{
    background-color: #333 !important;
}

.mui-bar{
    background-color: #FFFCF4 !important;
    border-bottom: 1px solid #c8c7cc !important;
}

.formtitle{
    width: 100%;
    text-align: left;
    height: 44px;
    line-height: 44px;
    color: #666;
}

.textarea{
    min-height: 200px;
    background-color: white;
    border: 1px solid #ccced1 !important;
    border-top: 0px !important;
    margin-top: 40px;
}

.ck-editor__editable{
    min-height: 200px;
}

.document-editor__toolbar{
    position: absolute;
    z-index: 8888;
    width: 100%;
}

form{
    width: 90%;
    margin: auto;
}

.notesmemo{
    height: 20px;
    line-height: 20px;
    padding-top: 0px !important;
    font-size: 12px;
    color: #666;
}

.tagitem{
    display: inline;
    border: 1px solid #dd524d;
    border-radius: 5px;
    padding: 5px;
    white-space: nowrap;
}

.addNotesToCollection{
    float: right;
}

.sortNotes{
    float: right;
}

.newNotesFromCollection{
    float: right;
}

.collectionBtn{
    margin-top: 5px;
    margin-left: 20px;
    width: 50px;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    font-size: 14px;
}

.addCollection{
    border: 1px solid #007aff;
    color: #007aff;
}

.removeCollection{
    border: 1px solid #dd524d;
    color: #dd524d;
}

.noteDetail{
    line-height: 1.5;
}

.ck-editor__editable p{
    color: black !important;
}

.notedetailContent p{
    /*margin: 0px !important;*/
    color: black !important;
}

.notedetailContent img{
    max-width: 100%;
    max-height: 100%;
    height: auto;
}

.topwrapper{
    width: 100%;
    height: 44px;
    top: 0px;
    left: 0px;
    z-index: 9999;
    position: sticky !important;
}

.borderbtn{
    border: 1px solid #007aff !important;
    font-size: 14px !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
    margin-left: 3px !important;
    margin-top: 10px !important;
    line-height: 25px !important;
}

.moveTargetBtn{
    width: 80px;
    margin-left: -15px;
}

.redbtn{
    background-color: #dd524d !important;
    border: 1px solid #dd524d !important;
    color: white !important;
}

.bluebtn{
    background-color: #007aff !important;
    border: 1px solid #007aff !important;
    color: white !important;
}

.collectionViewBtn{
    height: 27px !important;
    line-height: 27px !important;
    padding-top: 0px !important;
}

#topPopover{
    width: 135px;
}

.selectNewNoteType{
    height: 100px;
}

.selectNewNoteType a{
    font-size: 14px;
}

.searchdiv{
    position: sticky;
    top: 44px;
    left: 0px;
    width: 100%;
    padding-top: 10px;
    background-color: #FFFCF4;
    z-index: 9999;
}

.searchtext{
    width: calc(100% - 45px) !important;
    height: 30px !important;
    padding-left: 10px !important;
}

.searchbtn{
    font-size: 14px !important;
    border: 1px solid #007aff !important;
    color: #007aff !important;
    border-radius: 2px !important;
    padding: 5px !important;
    height: 30px;
}

#searchResult{
    height: 30px;
    line-height: 30px;
    display: none;
}

.noteTitle{
    height: 22px;
}

.popup{
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #FFFCF4;
}

/* 模态窗口 */
.modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
    
/* 模态内大图 */
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    max-width: 90%;
    max-height: 90%;
    transition: transform 0.3s ease;
    cursor: grab;
    touch-action: none; /* 禁止浏览器默认缩放 */
}
    
/* 关闭按钮 */
.modal-close {
    position: absolute;
    top: 60px;
    right: 30px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    z-index: 1001;
}

@media (max-width: 480px) {
    .table {
        width: 100% !important;
    }
}
