#ec1071-modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

#ec1071-modal.active {
    display: flex;
}

.pdf-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 16px 0;
    font-family: 'Overpass', sans-serif;
}

.pdf-toolbar .open-modal-btn {
    padding: 8px 16px;
}

.pdf-toolbar .open-modal-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pdf-viewer {
    width: 100%;
    display: flex;
    justify-content: center;
}

#pdf-canvas {
    max-width: 100%;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    #ec1071-modal {
        padding: 20px 10px;
    }
}