/* Block all printing */
@media print {
    html,
    body,
    #secureDocViewerModal {
        display: none !important;
        visibility: hidden !important;
    }
}

/* Modal Viewer Layout */
#secureDocViewerModal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background-color: #020617;
    flex-direction: column;
    overflow: hidden;
}

#secureDocViewerModal.active {
    display: flex;
}

#secureDocViewerModal header {
    flex-shrink: 0;
}

.pdf-page-container {
    position: relative;
    margin: 0 auto 24px auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.7), 0 10px 10px -5px rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
    transition: box-shadow 0.2s ease;
}

.pdf-canvas {
    display: block;
    margin: 0 auto;
}

.protection-overlay {
    position: absolute;
    inset: 0;
    z-index: 50;
    background: transparent;
    cursor: default;
}

/* Custom Zoom Select styling */
select.zoom-select-modal {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23f59e0b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.4rem center;
    background-repeat: no-repeat;
    background-size: 1.1em 1.1em;
    padding-right: 1.8rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Modal Scroll Container */
#modal-viewer-scroll {
    scrollbar-width: thin;
    scrollbar-color: #334155 #020617;
}

#modal-viewer-scroll::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

#modal-viewer-scroll::-webkit-scrollbar-track {
    background: #020617;
}

#modal-viewer-scroll::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

#modal-viewer-scroll::-webkit-scrollbar-thumb:hover {
    background: #ea580c;
}
