/* tooltip.css */
gc {
    letter-spacing: 0;
    word-spacing: 0;
    margin: 0;
    padding: 0;
    display: inline;
    font-size: 100%;
}


.pdf-page-container {
    overflow-y: auto;
    overflow-x: hidden;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #888 #f5f5f5;
}

/* WebKit */
.pdf-page-container::-webkit-scrollbar {
    width: 8px;
}
.pdf-page-container::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
}
.pdf-page-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}
.pdf-page-container::-webkit-scrollbar-thumb:hover {
    background: #666;
}


body {
    margin: 0;
    background-color: #F5F5F5;
}

.app_row {
    display: flex;
    justify-content: space-between;
}

#selection-tooltip {
    position: absolute;
    background-color: #fff;
    color: white;
    padding: 5px 20px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.tooltip-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
}

.tooltip-tab {
    background: none;
    border: 1px solid #fff;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.tooltip-tab.active {
    background-color: #555;
}

.tooltip-content {
    margin-top: 10px;
    margin-bottom: 20px;
    border-top: 1px solid #f2f2f2;
}

.tooltip-content.highlight-content {
    display: flex;
    gap: 5px;
}

.tooltip-content.copy-content {
    text-align: center;
}

.color-btn {
    width: 20px;
    height: 20px;
    border: none;
    cursor: pointer;
    border-radius: 50%;
}

.underline {
    /*text-decoration: underline;*/
    /*text-decoration-thickness: 8px;*/
    /*text-underline-offset: 14px; !* 控制下划线与文本的间距 *!*/
    /*text-decoration-style: wavy; !* 设置下划线为波浪线 *!*/
    /*text-decoration-thickness: 6px; !* 调整波浪线的厚度 *!*/
}

.underline-DE3163 {
    text-decoration-color: #DE3163 !important;
    background-color: #DE3163 !important;
}

.underline-556B2F {
    text-decoration-color: #556B2F !important;
    background-color: #556B2F !important;
}

.underline-296FA6 {
    text-decoration-color: #296FA6 !important;
    background-color: #296FA6 !important;
}

.underline-F6BE00 {
    /*text-decoration-color: #F6BE00!important;*/
    background-color: #F6BE00 !important;
}

.underline-6F2DA8 {
    text-decoration-color: #6F2DA8 !important;
    background-color: #6F2DA8 !important;
}

.note_upload_box {
    margin-bottom: 20px;
}

.el-upload--picture-card, .el-upload-list__item {
    width: 78px !important;
    height: 78px !important;;
    line-height: 86px !important;;
}

.el-upload-list__item-status-label {
    line-height: 30px;
}

.image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.table-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s;
    border: 1px solid #ebeef5;
}

.table-image:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.more-images {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f7fa;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    color: #909399;
}

.app_box {
    --reader-main-bg-color: #fff;
    background-color: transparent;
    display: flex;
    height: fit-content;
    margin: 0 auto;
    width: 1170px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.app_left {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    height: 100vh;
    overflow: auto;
    overflow-x: hidden;
    background-color: #fff;
}

.menu_search_div {
    height: 40px;
    position: absolute;
    top: 0;
    width: 280px;
}

.menu-container {
    width: 300px;
    height: calc(100vh - 60px); /* 减去搜索框高度 */
    overflow-y: auto; /* 垂直滚动 */
    margin-top: 60px;
}

.menu-container::-webkit-scrollbar {
    width: 0;
}

.el-menu {
    border: none
}

.app_main {
    width: 850px;
    height: 100vh;
    overflow: hidden;
    overflow-x: hidden;
    background-color: #fff;
    position: relative;
}

.app_right_header {
    height: 60px;
    line-height: 60px;
    position: absolute;
    top: 0;
    width: calc(100% - 40px);
    border-bottom: 1px solid #ebeef5;
    margin: 0 20px;
}

.app_right_content {
    height: calc(100vh - 62px); /* 减去搜索框高度 */
    overflow-y: auto; /* 垂直滚动 */
    margin-top: 62px;
    padding: 40px;
    overflow-x: hidden;
    width: 100%;
}

.pf {
    /*transform: scale(1.5);*/
    /*transform-origin: top center; !* 从顶部中心点开始放大 *!*/
}

.fixed-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.drawer-content {
    padding: 20px;
}
.pdf-page-container{

    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}


/* 手机（含大屏手机横屏） */
@media (max-width: 767px) {
    /* 隐藏左侧菜单 */
    .app_left {
        display: none;
    }

    /* 调整主内容区域宽度 */
    .app_main {
        width: 100%;
    }

    /* 调整应用容器宽度 */
    .app_box {
        width: 100%;
    }

    /* 调整内容区域padding */
    .app_right_content {
        padding: 0px!important;
        overflow-y: hidden;
        overflow: hidden;
        position: relative;
    }

    .pdf-page-container {
        width: 754px !important;
        height: 200%;
        overflow-y: scroll;
        transform-origin: 0 0;
        /* 初始不缩放 */
        transform: scale(1);
        padding:20px;
    }

    .height_menu {
        display: none;
    }
    .menu-container{
        height: calc(100vh - 180px);
    }

}

/*.pdf-page-container {*/
/*    width: 100%;*/
/*    overflow-x: auto;*/
/*    -webkit-overflow-scrolling: touch; !* iOS 平滑滚动 *!*/
/*    scrollbar-width: thin; !* Firefox *!*/
/*}*/

/* 大平板或小桌面（如 iPad Pro 12.9" 竖屏） */
@media (min-width: 768px) {
    /* 桌面或大平板样式 */
}
.el-menu-item,.el-submenu__title{
    line-height: 28px!important;
    padding-top:14px!important;;
    padding-bottom:14px!important;;
    white-space:break-spaces!important;;
    height:auto!important;
    padding-right: 35px;
}


.loading_item{
    text-align: center;
    padding:20px;
    color: #7d7d7d;
    font-size: 14px;
}

