.buddypdf-viewer{background:#f5f5f5;border-radius:4px;margin:20px 0;overflow:hidden}.buddypdf-viewer.buddypdf-theater-mode{background:#000;margin:0}.buddypdf-toolbar{align-items:center;background:#fff;border-bottom:1px solid #ddd;display:flex;gap:10px;padding:10px}.buddypdf-theater-mode .buddypdf-toolbar{background:#1e1e1e;border-color:#333}.buddypdf-toolbar button{align-items:center;background:#f8f9fa;border:1px solid #ddd;border-radius:4px;color:#333;cursor:pointer;display:flex;font-size:14px;justify-content:center;min-width:35px;padding:5px 10px;transition:all .2s ease}.buddypdf-theater-mode .buddypdf-toolbar button{background:#333;border-color:#444;color:#fff}.buddypdf-toolbar button:hover{background:#e9ecef;border-color:#ccc}.buddypdf-theater-mode .buddypdf-toolbar button:hover{background:#444}.buddypdf-page-info{color:#666;font-size:14px;margin:0 10px;white-space:nowrap}.buddypdf-theater-mode .buddypdf-page-info{color:#ccc}.buddypdf-download:hover{background:#0056b3;color:#fff;text-decoration:none}.buddypdf-container{align-items:flex-start;background:#f5f5f5;display:flex;justify-content:center;min-height:400px;overflow:auto;position:relative;width:100%;-webkit-overflow-scrolling:touch}.buddypdf-theater-mode .buddypdf-container{align-items:flex-start;background:#000;display:flex;justify-content:center;margin-top:100px;padding:20px}.buddypdf-canvas{box-shadow:0 2px 4px rgba(0,0,0,.1);display:block;height:auto!important;max-width:100%}.buddypdf-theater-mode .buddypdf-canvas{background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.15);height:auto!important;max-width:100%;transform-origin:top center}.buddypdf-loading{align-items:center;background:hsla(0,0%,100%,.9);border-radius:4px;box-shadow:0 2px 4px rgba(0,0,0,.1);color:#666;display:flex;font-size:14px;justify-content:center;left:50%;padding:15px 30px;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:100}.buddypdf-theater-mode .buddypdf-loading{background:rgba(0,0,0,.7);color:#fff}.activity-content .buddypdf-viewer{margin-top:15px}.bb-media-model-wrapper .buddypdf-viewer{border-radius:0;bottom:0;left:0;margin:0;position:absolute;right:0;top:0}@media screen and (max-width:1024px){.buddypdf-theater-mode .buddypdf-container{margin-top:90px;padding:10px}.buddypdf-theater-mode .buddypdf-canvas{max-height:calc(100vh - 120px)!important;object-fit:contain;width:100%!important}}@media screen and (max-width:768px){.buddypdf-container{min-height:300px;padding:5px}.buddypdf-theater-mode .buddypdf-container{margin-top:80px;padding:5px}.buddypdf-theater-mode .buddypdf-canvas{box-shadow:none;margin:0;max-height:calc(100vh - 100px)!important}}@media screen and (max-width:1024px)and (orientation:landscape){.buddypdf-theater-mode .buddypdf-container{margin-top:70px}.buddypdf-theater-mode .buddypdf-canvas{height:calc(100vh - 90px)!important;max-height:calc(100vh - 90px)!important;width:auto!important}}@supports(-webkit-touch-callout:none){.buddypdf-theater-mode .buddypdf-container{height:-webkit-fill-available}}.buddypdf-modal{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:999999}.buddypdf-modal-overlay{background:rgba(0,0,0,.8);bottom:0;left:0;position:absolute;right:0;top:0}.buddypdf-modal-content{background:#fff;border-radius:8px;height:90vh;max-width:1200px;overflow:hidden;position:relative;width:90%;z-index:1}.buddypdf-modal-close{align-items:center;background:#fff;border:none;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.1);color:#333;cursor:pointer;display:flex;font-size:24px;height:30px;justify-content:center;line-height:1;padding:0;position:absolute;right:10px;top:10px;transition:all .2s ease;width:30px;z-index:10}.buddypdf-modal-close:hover{background:#f0f0f0;transform:scale(1.1)}.buddypdf-modal .buddypdf-viewer{border-radius:8px;display:flex;flex-direction:column;height:100%;margin:0}.buddypdf-modal .buddypdf-container{background:#f5f5f5;flex:1;overflow:auto}.buddypdf-modal .buddypdf-toolbar{align-items:center;background:#fff;border-bottom:1px solid #ddd;display:grid;gap:15px;grid-template-columns:1fr auto 1fr;padding:15px 50px 15px 15px;position:relative}.buddypdf-toolbar-left{align-items:center;display:flex;flex-wrap:nowrap;gap:10px}.buddypdf-switcher{align-items:center;display:flex;gap:5px;justify-content:center;padding:0 15px;position:relative}.buddypdf-switcher:after,.buddypdf-switcher:before{background:#ddd;content:"";height:24px;position:absolute;top:50%;transform:translateY(-50%);width:1px}.buddypdf-switcher:before{left:0}.buddypdf-switcher:after{right:0}.buddypdf-download{background:#007bff;border-radius:4px;color:#fff;font-size:14px;justify-self:flex-end;margin-left:auto;padding:5px 15px;text-decoration:none;transition:background .2s ease;white-space:nowrap}@media screen and (max-width:768px){.buddypdf-modal .buddypdf-toolbar{align-items:stretch;display:flex;flex-direction:column;padding:10px}.buddypdf-toolbar-left{flex-wrap:wrap;gap:5px;justify-content:center;order:1}.buddypdf-switcher{border-bottom:1px solid #ddd;margin:0 0 10px;order:0;padding:10px 0}.buddypdf-switcher:after,.buddypdf-switcher:before{display:none}.buddypdf-download{margin:10px 0 0;order:2;text-align:center}}.buddypdf-switch-pdf{align-items:center;background:#f8f9fa;border:1px solid #ddd;border-radius:50%;color:#666;cursor:pointer;display:flex;font-size:14px;height:30px;justify-content:center;transition:all .2s ease;width:30px}.buddypdf-switch-pdf:hover{background:#e9ecef;border-color:#007bff;color:#007bff}.buddypdf-switch-pdf.active{background:#007bff;border-color:#007bff;color:#fff}@media screen and (max-width:768px){.buddypdf-modal-content{height:95vh;width:95%}}.buddypdf-toolbar button.disabled{cursor:not-allowed;opacity:.5;pointer-events:none}.buddypdf-toolbar button.disabled,.buddypdf-toolbar button.disabled:hover{background:#f0f0f0;border-color:#ddd}.buddypdf-theater-mode .buddypdf-toolbar button.disabled{background:#2a2a2a;border-color:#333}.buddypdf-theater-mode .buddypdf-toolbar button.disabled:hover{background:#2a2a2a}.bb-media-model-wrapper.document .document-preview{background:#f7f7f7;display:flex;flex-direction:column;height:100%;position:relative;width:100%}.bb-media-model-wrapper.document .document-preview h3{display:none}.buddypdf-viewer.buddypdf-theater-mode{background:#fff;display:flex;flex-direction:column;height:100%;position:relative;width:100%}.buddypdf-theater-mode .buddypdf-toolbar{background:hsla(0,0%,100%,.95);border-bottom:1px solid rgba(0,0,0,.1);display:flex;justify-content:center;left:0;padding:10px;position:absolute;right:0;top:0;transition:opacity .3s;z-index:10}.buddypdf-theater-mode .buddypdf-container{background:#f7f7f7;flex:1;margin-top:60px;overflow:auto;position:relative}.buddypdf-theater-mode .buddypdf-canvas{box-shadow:0 2px 8px rgba(0,0,0,.1);display:block;margin:0 auto}.buddypdf-theater-mode .buddypdf-toolbar button{background:transparent;border:1px solid #ddd;border-radius:3px;color:#555;cursor:pointer;margin:0 2px;padding:8px 12px!important;transition:all .2s}.buddypdf-theater-mode .buddypdf-toolbar button:hover{background:#f1f1f1;border-color:#ccc}.buddypdf-theater-mode .buddypdf-toolbar button:disabled{cursor:not-allowed;opacity:.5}.buddypdf-theater-mode .buddypdf-page-info{color:#555;padding:0 15px}.bb-media-model-wrapper.document .document-preview .buddypdf-viewer~.bb-next-document,.bb-media-model-wrapper.document .document-preview .buddypdf-viewer~.bb-prev-document{display:none!important}@media(max-width:1024px){#bb-media-model-container .buddypdf-container{max-height:300px;min-height:280px;width:100%}}