.ebys-page .preview-modal-body {
    min-height: 70vh;
    background: #f8f9fa;
}

.ebys-page .preview-frame {
    width: 100%;
    min-height: 70vh;
    border: 0;
    display: block;
}

.ebys-page .preview-image-wrap {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow: auto;
}

.ebys-page .preview-image-wrap img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
}

.ebys-table td {
    vertical-align: middle;
}

.ebys-file-type-icon {
    width: 1.25rem;
    text-align: center;
    font-size: 1.15rem;
    vertical-align: -0.15em;
}

.ebys-icon-pdf { color: #dc3545; }
.ebys-icon-word { color: #2b579a; }
.ebys-icon-excel { color: #217346; }
.ebys-icon-ppt { color: #d24726; }
.ebys-icon-archive { color: #6c757d; }
.ebys-icon-image { color: #0dcaf0; }

.ebys-doc-name {
    font-weight: 500;
    text-decoration: none;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
}

.ebys-doc-name:hover {
    text-decoration: underline;
}

#previewModal .preview-frame {
    width: 100%;
    min-height: 75vh;
    border: 0;
}

#previewModal .preview-modal-body {
    min-height: 75vh;
}

#previewModal .preview-image-wrap {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

#previewModal .preview-image-wrap img {
    max-width: 100%;
    max-height: 80vh;
}
