/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 05 2026 | 13:12:12 */

#popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    max-width: 80%;
    max-height: 80%;
    overflow: auto;
    position: relative;
}

#popup-overlay iframe {
    width: 100%;
    height: 80%;
    border: none;
}

#popup-overlay button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

#close-popup {
    background: #f44336;
    color: #fff;
    border: none;
}

#print-button {
    background: #4CAF50;
    color: #fff;
    border: none;
}




/*
企业报告Iframe尺寸样式

*/





/* 禁用页面的左右滚动，但允许上下滚动 */
body {
    overflow-x: hidden; /* 禁用页面横向滚动 */
    overflow-y: auto;   /* 允许页面垂直滚动 */
    margin: 0;
    padding: 0;
    position: relative;
}

html {
    overflow-x: hidden; /* 进一步确保页面横向滚动被禁用 */
}

/* 文件查看器的基本样式 */
.file-viewer {
    max-width: 793.7px; /* A4 宽度 */
    margin: 0 auto; /* 居中显示 */
    font-size: 16px; /* 默认字体大小 */
    overflow: hidden; /* 避免任何额外滚动 */
}

/* iframe 样式，允许 iframe 内自由滚动 */
.file-iframe {
    width: 100%;
    height: 1122.5px; /* A4 高度 */
    overflow: scroll; /* 确保 iframe 内部可滚动（包括左右） */
    border: none; /* 移除默认边框 */
}

/* 针对宽度小于768px的设备，减小 iframe 高度 */
@media (max-width: 768px) {
    .file-iframe {
        height: 600px; /* 调整 iframe 高度适应小屏幕 */
    }
}

/* 针对宽度小于480px的设备，进一步减小 iframe 高度 */
@media (max-width: 480px) {
    .file-iframe {
        height: 400px; /* 适应更小的屏幕 */
    }
}



.shadow-iframe {
    box-shadow: 
        5px 2px 10px rgba(0, 0, 0, 0.3),  /* 右边阴影 */
        0 4px 15px rgba(0, 0, 0, 0.3);    /* 底部阴影 */
}

.file-name {
    font-size: 24px; 
	  font-weight: bold;
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    max-width: 100%; 
    display: flex; 
    align-items: center; 
}

.file-icon {
    width: 40px; 
    height: 40px; 
    margin-right: 10px; 
}


.statements-iframe {
    width: 770px;  
    height: 900px;  
    border: 2px solid #000;  
    overflow: auto;  
}



