.fixed-top{
    position: relative;
}
body{
    padding-top: 0px !important;
}
.system-card{
    max-width: 850px;
    min-height: calc(98vh - 188px);
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    margin-bottom: 10px;
}
.vditor-toolbar{
    /* display: none !important; */
}

.vditor-wysiwyg {
    max-height: calc(98vh - 188px);
    overflow-y: auto;
}
.vditor-reset{
    padding-top: 20px !important;
    min-height: calc(98vh - 188px);
}
.vditor-panel--arrow:has(.vditor-emojis){
    overflow-y: auto;
    max-height: 300px;
    scrollbar-width: thin;
    -ms-overflow-style: none;
}
#vditor.vditor--dark .vditor-reset {
    color: #fff !important;
}
.no-pc {
    display: none !important;
}
@media screen and (max-width: 768px) {
    .no-pc {
        display: block !important;
    }
}

@media screen and (max-width: 768px) {
    .system-card{
        margin-top: 0px;
        margin-bottom: 0px;
    }
    .vditor-toolbar__item:has(button[aria-label*="大纲"]) {
        display: none !important;
    }
    /* button:has(button:contains("大纲")) {
        display: none !important;
    } */
    .no-mobile{
        display: none !important;
    }
    .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl{
        padding: 0px !important;
    }
    body{
        padding-bottom: 0px !important;
    }
}

/* 模态框相关样式 */
.modal-dialog {
    display: flex;
    flex-direction: column;
    height: 90vh;
    margin: 1.75rem auto;
}

.modal-content {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-body {
    flex: 1;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

/* 文件列表滚动样式 */
#operation_file_model_list {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
    margin: -1rem;
    padding: 1rem;
}

/* 自定义滚动条样式 */
#operation_file_model_list::-webkit-scrollbar {
    width: 6px;
}

#operation_file_model_list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#operation_file_model_list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

#operation_file_model_list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 下拉刷新相关样式 */
.pull-to-refresh {
    position: absolute;
    left: 0;
    right: 0;
    top: -40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.list-group-item {
    transition: background-color 0.2s ease;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

#index_nav_bottom{
    display: none;
}

/* 加载更多样式 */
.load-more {
    text-align: center;
    padding: 10px;
    color: #666;
    font-size: 14px;
}

.load-more.loading {
    opacity: 0.6;
}

.load-more .loading-spinner {
    margin: 0 auto;
}

.no-more-data {
    text-align: center;
    padding: 10px;
    color: #999;
    font-size: 14px;
}
