.Micarousel{text-align:center;display:flex;justify-content:center;align-items:center}.Flechassvg{height:15px;cursor:pointer}.pdf-ancho>.react-pdf__Page__canvas{width:100%!important}*{box-sizing:border-box;margin:0;padding:0}.facturas-editor{background:#f5f7fa;color:#333;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;height:100vh;line-height:1.6}.facturas-header{background-color:#d2d2d2;border-bottom:2px solid #e1e5e9;flex-shrink:0;padding:.3rem 2rem}.header-content{justify-content:space-between;margin:0 auto}.header-content,.header-right{align-items:center;display:flex;gap:1rem}.header-title h1{font-size:1.5rem;font-weight:600;margin:0}.header-subtitle{color:#7f8c8d;font-size:.9rem;margin:.25rem 0 0}.header-steps{gap:1rem}.header-steps,.step{align-items:center;display:flex}.step{background:#e1e5e9;border-radius:20px;color:#7f8c8d;font-size:.85rem;gap:.5rem;padding:.5rem 1rem;transition:all .3s ease}.step.active{background:#3498db;color:#fff;font-weight:600}.step.completed{background:#27ae60;color:#fff}.step-number{align-items:center;background:hsla(0,0%,100%,.3);border-radius:50%;display:flex;font-size:.8rem;font-weight:700;height:24px;justify-content:center;width:24px}.step.active .step-number,.step.completed .step-number{background:hsla(0,0%,100%,.4)}.step-divider{color:#686868;font-size:1.2rem}.step-label{white-space:nowrap}.system-status{align-items:center;color:#7f8c8d;display:flex;font-size:.85rem;gap:.5rem}.status-text{white-space:nowrap}.help-menu-container{position:relative}.help-button{align-items:center;border:none;border-radius:50%;box-shadow:0 2px 4px #0000001a;color:#000;cursor:pointer;display:flex;font-size:1.2rem;height:36px;justify-content:center;transition:all .2s ease;width:36px}.help-button:hover{background:#a5a5a6;transform:scale(1.05)}.help-dropdown{animation:slideDown .2s ease-out;background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;min-width:180px;overflow:hidden;position:absolute;right:0;top:calc(100% + .5rem);z-index:100}.help-item{background:none;border:none;color:#2c3e50;cursor:pointer;display:block;font-size:.9rem;padding:.75rem 1rem;text-align:left;text-decoration:none;transition:background .2s ease;width:100%}.help-item:hover{background:#f8f9fa}.help-item:not(:last-child){border-bottom:1px solid #e1e5e9}.facturas-main{flex:1;overflow:hidden}.editor-section,.facturas-main{display:flex;flex-direction:column}.editor-section{flex:1;height:100%;margin:0}.editor-layout{display:grid;flex:1;gap:0;grid-template-columns:1.2fr 1fr;height:100%;padding:0}@media (max-width:1200px){.editor-layout{grid-template-columns:1fr;grid-template-rows:50% 50%}}.image-panel{background:#fff;border-right:1px solid #e1e5e9;padding:0}.image-panel,.upload-container{display:flex;flex-direction:column;height:100%}.upload-container{align-items:center;background:#072946;justify-content:center;padding:.5rem}.upload-icon{font-size:3rem;margin-bottom:1rem}.upload-title{margin-bottom:2rem;text-align:center;width:100%}.upload-title h2{color:#fff;font-size:1.75rem;font-weight:600;margin-bottom:.5rem}.upload-subtitle{color:#a0b8cc;font-size:1rem;margin-bottom:1rem}.cuit-badge{background:#1a5080;border:1px solid #2a6090;border-radius:20px;color:#fff;display:inline-block;font-size:.9rem;font-weight:500;padding:.5rem 1rem}.offline-notice{background:linear-gradient(135deg,#4d1f24,#3d1820);border:2px solid #721c24;border-radius:12px;box-shadow:0 4px 12px #0000004d;margin-bottom:1.5rem;max-width:600px;padding:2rem;text-align:center;width:100%}.offline-icon{font-size:3rem;margin-bottom:1rem;opacity:.9}.offline-notice h3{color:#f5c6cb;font-size:1.3rem;font-weight:600;margin:0 0 1rem}.offline-notice p{color:#e6a4aa;font-size:1rem;line-height:1.6;margin:.5rem 0}.offline-hint{color:#d89298!important;font-size:.9rem!important;margin-top:1rem!important}.dropzone{background:#0a3555;border:3px dashed #1a5080;border-radius:12px;cursor:pointer;max-width:600px;padding:2rem;text-align:center;transition:all .3s ease;width:100%}.dropzone:hover{background:#0d4168;border-color:#3498db}.dropzone.dragging{background:#1a5080;border-color:#3498db;border-style:solid}.dropzone.disabled{cursor:not-allowed;opacity:.5}.dropzone.disabled,.dropzone.disabled:hover{background:#1a2a3a;border-color:#555}.dropzone-content{pointer-events:none}.dropzone-icon{color:#3498db;height:64px;margin:0 auto 1.5rem;transition:color .3s ease;width:64px}.dropzone.dragging .dropzone-icon,.dropzone:hover .dropzone-icon{color:#5dade2}.dropzone-text{color:#fff;margin-bottom:.5rem}.dropzone-button{background:#3498db;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:1rem;font-weight:500;padding:.75rem 2rem;pointer-events:auto;transition:background .3s ease}.dropzone-button:hover{background:#5dade2}.dropzone-hint{color:#a0b8cc;font-size:.95rem}.upload-info{color:#a0b8cc;font-size:.9rem;margin-top:1.5rem;max-width:600px;text-align:left;width:100%}.upload-tips{background:hsla(0,0%,100%,.05);border-left:3px solid #3498db;border-radius:4px;padding:1rem}.upload-tips-title{color:#fff;font-weight:600;margin-bottom:.5rem}.upload-tips p{color:#a0b8cc;margin:.4rem 0}.result-message{border-radius:8px;font-weight:500;margin-top:1.5rem;max-width:600px;padding:1rem;text-align:center;width:100%}.result-message.success{background:#1a5080;border:1px solid #2a6090;color:#a0e6cb}.result-message.error{background:#4d1f24;border:1px solid #721c24;color:#f5c6cb}.result-message.loading{background:#3d3520;border:1px solid #5d5130;color:#ffeaa7}.pdf-container{background:#fff;display:flex;flex:1;flex-direction:column;height:100%;overflow:hidden;position:relative}.pdf-header{background:#f8f9fa;border-bottom:1px solid #e1e5e9;flex-shrink:0;padding:.75rem 1rem}.pdf-header h3{color:#2c3e50;font-size:1rem;font-weight:600;margin:0}.pdf-container iframe{border:none;flex:1;width:100%}.pdf-links{background:rgba(248,249,250,.95);border-top:1px solid #ddd;flex-shrink:0;font-size:.8rem;padding:.5rem;text-align:center}.pdf-links a{color:#3498db;font-size:.8rem;margin:0 .5rem;text-decoration:none}.pdf-links a:hover{text-decoration:underline}.form-panel{background:#f8f9fa;display:flex;flex-direction:column;height:100%;overflow:auto}.form-panel-header{background:#fff;border-bottom:2px solid #e1e5e9;display:flex;flex-shrink:0;justify-content:space-between;padding:.75rem}.form-panel-header h3{color:#2c3e50;font-size:1rem;font-weight:600;margin:0 0 .25rem}.form-panel-subtitle{color:#7f8c8d;font-size:.8rem;margin:0}.extraction-badge{align-items:center;background:#ebf8ff;border:1px solid #bee3f8;border-radius:16px;color:#2c5aa0;display:inline-flex;font-size:.75rem;gap:.4rem;margin-top:.5rem;padding:.4rem .75rem}.badge-icon{font-size:1rem}.badge-text{font-weight:500}.form-panel form{flex:1;overflow-y:auto;padding:.5rem}fieldset:disabled{opacity:.75;pointer-events:none}fieldset.loading{opacity:1!important}fieldset{border:none;margin:0;padding:0}.form-card{background:#fff;border:1px solid #e1e5e9;border-radius:6px;box-shadow:0 1px 3px #0000000d;margin-bottom:.75rem;padding:.75rem;transition:box-shadow .3s ease}.form-card:hover{box-shadow:0 2px 6px #0000001a}fieldset.loading input,fieldset.loading select,fieldset.loading textarea{animation:pulse 1.2s ease-in-out infinite;background:linear-gradient(90deg,#cbd5e0,#f8f9fa 50%,#cbd5e0);background-size:200% 100%}@keyframes pulse{0%,to{background-position:0 0}50%{background-position:100% 0}}fieldset.data-loaded input,fieldset.data-loaded select,fieldset.data-loaded textarea{animation:dataLoaded .8s ease-out;background:#fff}@keyframes dataLoaded{0%{background-color:#a0e6cb;box-shadow:0 0 15px #27ae6080;transform:scale(1.03)}50%{background-color:#c3e6cb;transform:scale(1.02)}to{background-color:#fff;box-shadow:none;transform:scale(1)}}legend{align-items:center;color:#2c3e50;display:flex;font-size:.95rem;font-weight:600;gap:.4rem;width:100%}.legend-icon{font-size:1.1rem}.form-row{grid-template-columns:1fr 1fr}.form-row,.form-row-3{display:grid;gap:.5rem;margin-bottom:.5rem}.form-row-3{grid-template-columns:1fr 1fr 1fr}.form-row-4{grid-template-columns:1fr 1fr 1fr 1fr}.form-row-4,.form-row-5{display:grid;gap:.5rem;margin-bottom:.5rem}.form-row-5{grid-template-columns:1fr 1fr 1fr 1fr 1fr}.form-row-comprobante{grid-template-columns:1fr .5fr 1fr 1fr 1fr}.form-row-comprobante,.form-row-emisor{display:grid;gap:.5rem;margin-bottom:.5rem}.form-row-emisor{grid-template-columns:1fr 1fr 2fr}.form-row-receptor-afip{display:grid;gap:.5rem;grid-template-columns:1fr 1fr 1fr;margin-bottom:.5rem}.form-row-importes{display:grid;gap:.4rem;grid-template-columns:1fr 1fr 1fr 1fr 1fr;margin-bottom:.5rem}.form-row-item{align-items:end;display:grid;gap:.5rem;grid-template-columns:5fr 1fr 2fr 2fr auto;margin-bottom:.5rem}.form-row-3:last-child,.form-row-4:last-child,.form-row-5:last-child,.form-row-comprobante:last-child,.form-row-emisor:last-child,.form-row-importes:last-child,.form-row-item:last-child,.form-row-receptor-afip:last-child,.form-row:last-child{margin-bottom:0}.form-panel label{display:block;font-size:.8rem;font-weight:500;margin-bottom:.15rem}.form-panel input,.form-panel select,.form-panel textarea{border:1px solid #ddd;border-radius:3px;font-size:.8rem;padding:.3rem;width:100%}.form-panel input:focus,.form-panel select:focus,.form-panel textarea:focus{border-color:#3498db;box-shadow:0 0 0 2px #3498db33;outline:none}.form-panel input:disabled,.form-panel select:disabled,.form-panel textarea:disabled{background-color:#e9ecef;cursor:not-allowed}.item,.items-container{margin-bottom:.5rem}.item{background:#f8f9fa;border:1px solid #e1e5e9;border-radius:3px;padding:.5rem;position:relative}.btn-remove-item{background:#e74c3c;border:none;border-radius:3px;color:#fff;cursor:pointer;font-size:.9rem;height:fit-content;min-width:auto;padding:.4rem .6rem;width:auto}.btn-remove-item:hover{background:#c0392b}.btn-remove-item:disabled{background:#95a5a6;cursor:not-allowed}.btn-secondary{background:#95a5a6;border:none;border-radius:4px;color:#fff;cursor:pointer;font-weight:500;padding:.5rem 1rem}.btn-secondary:hover{background:#7f8c8d}.btn-secondary:disabled{background:#cbd5e0;cursor:not-allowed}.form-actions{border-top:1px solid #e1e5e9;display:flex;gap:.75rem;margin-top:1rem;padding-top:.75rem}.form-actions button{border:none;border-radius:3px;cursor:pointer;font-size:.85rem;font-weight:500;padding:.5rem 1rem}.form-actions button:disabled{cursor:not-allowed;opacity:.5}.form-actions button:first-child{background:#f39c12;color:#fff}.form-actions button:first-child:hover:not(:disabled){background:#d68910}.form-actions button:nth-child(2){background:#27ae60;color:#fff}.form-actions button:nth-child(2):hover:not(:disabled){background:#229954}.form-actions button:nth-child(3){background:#3498db;color:#fff}.form-actions button:nth-child(3):hover:not(:disabled){background:#2980b9}.status-message{border-radius:4px;font-weight:500;margin-top:1rem;padding:.75rem}.status-message.success{background:#d4edda;color:#155724}.status-message.error{background:#f8d7da;color:#721c24}.status-message.loading{background:#fff3cd;color:#856404}.facturas-footer{background:#fff;border-top:2px solid #e1e5e9;flex-shrink:0;padding:1rem 2rem}.footer-content{font-size:.9rem;gap:2rem;justify-content:space-between;margin:0 auto;max-width:1400px}.footer-content,.footer-help{align-items:center;display:flex}.footer-help{color:#7f8c8d;gap:.5rem}.footer-icon{font-size:1.2rem}.footer-link{color:#3498db;font-weight:500;text-decoration:none}.footer-link:hover{text-decoration:underline}.footer-status{align-items:center;color:#7f8c8d;display:flex;gap:.5rem}.status-indicator{border-radius:50%;display:inline-block;height:10px;width:10px}.status-indicator.online{background:#27ae60;box-shadow:0 0 8px #27ae6080}.status-indicator.offline{background:#e74c3c;box-shadow:0 0 8px #e74c3c80}.validation-overlay{align-items:center;animation:fadeIn .2s ease-out;background:rgba(0,0,0,.6);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1001}.validation-popup{animation:slideUp .3s ease-out;background:#fff;border-radius:12px;box-shadow:0 10px 40px #0000004d;display:flex;flex-direction:column;max-height:80vh;max-width:600px;width:90%}.validation-header{align-items:center;background:#f8d7da;border-bottom:2px solid #f8d7da;border-radius:12px 12px 0 0;display:flex;flex-shrink:0;justify-content:space-between;padding:1.5rem}.validation-header h3{color:#721c24;font-size:1.3rem;font-weight:600;margin:0}.validation-close{background:none;border:none;border-radius:4px;color:#721c24;cursor:pointer;font-size:1.5rem;line-height:1;padding:.5rem;transition:all .2s ease}.validation-close:hover{background:rgba(0,0,0,.1)}.validation-content{flex:1;overflow-y:auto;padding:1.5rem}.validation-intro{color:#721c24;font-weight:500;margin:0 0 1rem}.validation-list{color:#721c24;line-height:1.8;margin:0;padding-left:1.5rem}.validation-list li{margin-bottom:.75rem;padding-left:.5rem}.validation-list li:last-child{margin-bottom:0}.validation-footer{border-top:2px solid #e1e5e9;display:flex;flex-shrink:0;justify-content:flex-end;padding:1rem 1.5rem}.validation-ok-button{background:#e74c3c;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 2rem;transition:all .2s ease}.validation-ok-button:hover{background:#c0392b;box-shadow:0 4px 8px #e74c3c4d;transform:translateY(-1px)}.duplicate-overlay{align-items:center;animation:fadeIn .2s ease-out;background:rgba(0,0,0,.6);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1001}.duplicate-popup{animation:slideUp .3s ease-out;background:#fff;border-radius:12px;box-shadow:0 10px 40px #0000004d;display:flex;flex-direction:column;max-width:500px;width:90%}.duplicate-header{align-items:center;background:#fff3cd;border-bottom:2px solid #fff3cd;border-radius:12px 12px 0 0;display:flex;justify-content:space-between;padding:1.5rem}.duplicate-header h3{color:#856404;font-size:1.3rem;font-weight:600;margin:0}.duplicate-close{background:none;border:none;border-radius:4px;color:#856404;cursor:pointer;font-size:1.5rem;line-height:1;padding:.5rem;transition:all .2s ease}.duplicate-close:hover{background:rgba(0,0,0,.1)}.duplicate-content{padding:2rem;text-align:center}.duplicate-icon{font-size:4rem;margin-bottom:1rem;opacity:.8}.duplicate-message{color:#333;font-size:1.1rem;font-weight:500;line-height:1.6;margin:0 0 1rem}.duplicate-id{color:#666;font-size:.9rem;margin:.5rem 0}.duplicate-id code{background:#f8f9fa;border:1px solid #e1e5e9;border-radius:4px;color:#856404;font-family:Courier New,monospace;font-size:.85rem;padding:.2rem .5rem}.duplicate-hint{color:#666;font-size:.95rem;line-height:1.6;margin:1.5rem 0 0}.duplicate-footer{border-top:2px solid #e1e5e9;display:flex;justify-content:center;padding:1rem 1.5rem}.duplicate-ok-button{background:#ffc107;border:none;border-radius:6px;color:#333;cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 2.5rem;transition:all .2s ease}.duplicate-ok-button:hover{background:#e0a800;box-shadow:0 4px 8px #ffc1074d;transform:translateY(-1px)}.confirm-overlay{animation:fadeIn .2s ease-out;background:rgba(0,0,0,.6)}.confirm-popup{animation:slideUp .3s ease-out;box-shadow:0 10px 40px #0000004d;display:flex;flex-direction:column;max-width:500px}.confirm-header{background:#fff3cd;border-bottom:2px solid #fff3cd;border-radius:12px 12px 0 0;padding:1.5rem}.confirm-header h3{color:#856404;font-size:1.3rem}.confirm-close{border-radius:4px;color:#856404;line-height:1;padding:.5rem}.confirm-close:hover{background:rgba(0,0,0,.1)}.confirm-icon{font-size:4rem;opacity:.8}.confirm-message{color:#333;font-size:1.1rem;line-height:1.6;margin:0 0 1rem}.confirm-hint{color:#666;font-size:.95rem;line-height:1.6;margin:1rem 0 0}.confirm-footer{border-top:2px solid #e1e5e9;justify-content:center;padding:1rem 1.5rem}.confirm-cancel-button{background:#6c757d;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 2rem;transition:all .2s ease}.confirm-cancel-button:hover{background:#5a6268;box-shadow:0 4px 8px #6d767e4d;transform:translateY(-1px)}.confirm-ok-button{background:#ffc107;border:none;border-radius:6px;color:#333;cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 2rem;transition:all .2s ease}.confirm-ok-button:hover{background:#e0a800;box-shadow:0 4px 8px #ffc1074d}.success-overlay{align-items:center;animation:fadeIn .2s ease-out;background:rgba(0,0,0,.6);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1001}.success-popup{animation:slideUp .3s ease-out;background:#fff;border-radius:12px;box-shadow:0 10px 40px #0000004d;display:flex;flex-direction:column;max-width:500px;width:90%}.success-header{align-items:center;background:#d4edda;border-bottom:2px solid #d4edda;border-radius:12px 12px 0 0;display:flex;justify-content:space-between;padding:1.5rem}.success-header h3{color:#155724;font-size:1.3rem;font-weight:600;margin:0}.success-close{background:none;border:none;border-radius:4px;color:#155724;cursor:pointer;font-size:1.5rem;line-height:1;padding:.5rem;transition:all .2s ease}.success-close:hover{background:rgba(0,0,0,.1)}.success-content{padding:2rem;text-align:center}.success-icon{font-size:4rem;margin-bottom:1rem;opacity:.9}.success-message{color:#155724;font-size:1.2rem;font-weight:600;line-height:1.6;margin:0 0 1rem}.success-hint{color:#666;font-size:.95rem;line-height:1.6;margin:1rem 0 0}.success-footer{border-top:2px solid #e1e5e9;display:flex;justify-content:center;padding:1rem 1.5rem}.success-ok-button{background:#28a745;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 2.5rem;transition:all .2s ease}.success-ok-button:hover{background:#218838;box-shadow:0 4px 8px #28a7454d;transform:translateY(-1px)}.field-error{animation:shake .5s ease-in-out;background-color:#fff5f5!important;border:2px solid #e74c3c!important}.field-error:focus{border-color:#e74c3c!important;box-shadow:0 0 0 3px #e74c3c33!important}@keyframes shake{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-5px)}20%,40%,60%,80%{transform:translate(5px)}}.hidden{display:none!important}@media (max-width:768px){.facturas-header{padding:1rem}.header-content{align-items:flex-start;flex-direction:column;gap:1rem}.header-steps{justify-content:space-between;width:100%}.step{flex-direction:column;font-size:.75rem;padding:.5rem}.step-label{display:none}.facturas-main{padding:0}.editor-layout{grid-template-columns:1fr;grid-template-rows:50% 50%}.upload-container{padding:1rem}.dropzone{padding:3rem 1rem}.form-row,.form-row-comprobante,.form-row-emisor,.form-row-importes,.form-row-receptor-afip{grid-template-columns:1fr}.form-actions{flex-direction:column}.facturas-footer{padding:1rem}.footer-content{align-items:flex-start;flex-direction:column;gap:1rem}}.guia-overlay{align-items:center;animation:fadeIn .2s ease-out;background:rgba(0,0,0,.6);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.guia-card{animation:slideUp .3s ease-out;background:#fff;border-radius:12px;box-shadow:0 10px 40px #0000004d;display:flex;flex-direction:column;max-height:85vh;max-width:700px;width:90%}.guia-header{align-items:center;border-bottom:2px solid #e1e5e9;display:flex;flex-shrink:0;justify-content:space-between;padding:1.5rem}.guia-header h2{color:#2c3e50;font-size:1.5rem;font-weight:600;margin:0}.guia-close{background:none;border:none;border-radius:4px;color:#7f8c8d;cursor:pointer;font-size:1.5rem;line-height:1;padding:.5rem;transition:all .2s ease}.guia-close:hover{background:#f8f9fa;color:#2c3e50}.guia-content{flex:1;overflow-y:auto;padding:1.5rem}.guia-section{margin-bottom:1.5rem}.guia-section:last-child{margin-bottom:0}.guia-section h3{color:#2c3e50;font-size:1.1rem;font-weight:600;margin:0 0 .75rem}.guia-section ul{color:#555;line-height:1.8;margin:0;padding-left:1.5rem}.guia-section li{margin-bottom:.5rem}.guia-section li:last-child{margin-bottom:0}.guia-section strong{color:#2c3e50;font-weight:600}.guia-content::-webkit-scrollbar{width:8px}.guia-content::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.guia-content::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:4px}.guia-content::-webkit-scrollbar-thumb:hover{background:#95a5a6}@media (max-width:768px){.guia-card{max-height:90vh;width:95%}.guia-header{padding:1rem}.guia-header h2{font-size:1.2rem}.guia-content{padding:1rem}.guia-section h3{font-size:1rem}}.attachments-section{margin-top:2rem;width:100%}.attachments-button{background:#fff;border:2px solid #e1e5e9;border-radius:8px;cursor:pointer;overflow:hidden;padding:0;position:relative;transition:all .3s ease;width:100%}.attachments-button:hover{border-color:#667eea;box-shadow:0 4px 12px #667eea26;transform:translateY(-2px)}.attachments-button:active{transform:translateY(0)}.attachments-button.dragging{background:rgba(102,126,234,.05);border-color:#667eea;border-width:3px;box-shadow:0 6px 20px #667eea40}.button-drag-overlay{align-items:center;background:rgba(102,126,234,.95);bottom:0;display:flex;flex-direction:column;gap:.5rem;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:10}.button-drag-icon{animation:bounceIcon .6s ease-in-out infinite;font-size:3rem}.button-drag-text{color:#fff;font-size:1.125rem;font-weight:600}@keyframes bounceIcon{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.attachments-button-content{display:flex;flex-direction:column;width:100%}.attachments-button-header{align-items:center;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-bottom:1px solid #e1e5e9;display:flex;gap:.75rem;padding:1rem 1.25rem}.attachments-icon{font-size:1.5rem}.attachments-title{color:#2c3e50;flex:1;font-size:1rem;font-weight:600;text-align:left}.attachments-count{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;color:#fff;font-size:.875rem;font-weight:600;min-width:28px;padding:.25rem .75rem;text-align:center}.attachments-preview{background:#fff;display:flex;flex-direction:column;gap:.5rem;padding:1rem 1.25rem}.attachment-preview-item{align-items:center;background:#f8f9fa;border-radius:6px;display:flex;gap:.75rem;padding:.5rem;transition:background .2s ease}.attachment-preview-item:hover{background:#e9ecef}.preview-icon{align-items:center;display:flex;flex-shrink:0;height:24px;justify-content:center;width:24px}.preview-icon svg{display:block;height:100%;width:100%}.preview-name{color:#2c3e50;flex:1;font-size:.875rem;font-weight:500;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.preview-size{color:#7f8c8d;flex-shrink:0;font-size:.75rem}.attachment-preview-more{color:#667eea;font-size:.875rem;font-weight:500;padding:.5rem;text-align:center}.attachments-empty-state{background:#fff;display:flex;flex-direction:column;gap:.5rem;padding:1.5rem 1.25rem;text-align:center}.empty-text{color:#7f8c8d;font-size:.875rem;font-style:italic}.drag-hint-text{align-items:center;color:#667eea;display:flex;font-size:.75rem;font-weight:500;gap:.375rem;justify-content:center}.drag-hint-icon-small{animation:floatHintSmall 2s ease-in-out infinite;font-size:1rem}@keyframes floatHintSmall{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}.attachments-button.has-attachments .attachments-button-header{background:linear-gradient(135deg,#f0f4ff,#e7ecff)}.attachments-overlay{align-items:center;animation:fadeIn .2s ease;backdrop-filter:blur(4px);background:rgba(0,0,0,.5);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.attachments-popup{animation:slideUp .3s ease;background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column;max-height:90vh;max-width:1200px;width:95%}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.attachments-header{align-items:flex-start;border-bottom:1px solid #e1e5e9;display:flex;justify-content:space-between;padding:1rem 1.5rem}.attachments-header h3{color:#2c3e50;font-size:1.25rem;font-weight:600;margin:0}.attachments-subtitle{align-items:center;color:#7f8c8d;display:flex;flex-wrap:wrap;font-size:.8rem;gap:.5rem;line-height:1.6;margin:.5rem 0 0}.subtitle-count{color:#667eea;font-weight:500}.subtitle-available{color:#95a5a6;font-size:.75rem;font-weight:400}.subtitle-separator{color:#bdc3c7;font-weight:300}.subtitle-instructions{align-items:center;display:flex;gap:.5rem}.instruction-item{align-items:center;display:flex;gap:.35rem}.instruction-icon{font-size:.9rem}.kbd-key{background:linear-gradient(180deg,#f8f9fa,#e9ecef);border:1px solid #bdc3c7;border-radius:3px;box-shadow:0 1px 2px #0000001a,inset 0 -1px #0000001a;color:#2c3e50;display:inline-block;font-family:Courier New,monospace;font-size:.7rem;font-weight:600;line-height:1;padding:.1rem .4rem}.attachments-close{align-items:center;background:none;border:none;border-radius:6px;color:#7f8c8d;cursor:pointer;display:flex;font-size:1.5rem;height:32px;justify-content:center;padding:0;transition:all .2s ease;width:32px}.attachments-close:hover{background:#f8f9fa;color:#2c3e50}.attachments-error{align-items:center;animation:slideDown .3s ease;background:#fee;border:1px solid #fcc;border-radius:8px;color:#c0392b;display:flex;font-size:.8rem;gap:.75rem;margin:.75rem 1.5rem 0;padding:.75rem 1rem}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.attachments-error span:first-child{font-size:1.25rem}.attachments-error span:nth-child(2){flex:1}.attachments-error button{align-items:center;background:none;border:none;border-radius:4px;color:#c0392b;cursor:pointer;display:flex;font-size:1.25rem;height:24px;justify-content:center;padding:0;transition:background .2s ease;width:24px}.attachments-error button:hover{background:rgba(192,57,43,.1)}.attachments-actions{align-items:center;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border:1px solid #e1e5e9;border-radius:8px;display:flex;flex-wrap:wrap;gap:1rem;margin:1rem 1.5rem .75rem;padding:1rem 1.5rem}.add-files-button{align-items:center;background:#667eea;border:none;border-radius:6px;box-shadow:0 2px 4px #667eea33;color:#fff;cursor:pointer;display:flex;font-size:.875rem;font-weight:600;gap:.5rem;padding:.65rem 1.25rem;transition:all .2s ease}.add-files-button:hover:not(:disabled){background:#5568d3;box-shadow:0 4px 8px #667eea4d;transform:translateY(-1px)}.add-files-button:active:not(:disabled){background:#4a5bc4;transform:translateY(0)}.add-files-button:disabled{cursor:not-allowed;opacity:.6}.add-files-button .add-icon{font-size:1rem}.add-files-button-center{margin-top:1.5rem}.attachments-actions .upload-hint{color:#7f8c8d;flex:1;font-size:.75rem;margin:0}.upload-progress{align-items:center;display:flex;gap:1rem;margin:0 1.5rem 1rem}.progress-bar{background:#e1e5e9;flex:1;height:8px}.progress-bar,.progress-fill{border-radius:4px;overflow:hidden}.progress-fill{background:linear-gradient(90deg,#667eea,#764ba2);height:100%;position:relative;transition:width .3s ease}.progress-fill:after{animation:shimmer 1.5s infinite;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.3),transparent);bottom:0;content:"";left:0;position:absolute;right:0;top:0}@keyframes shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}.progress-text{color:#667eea;font-size:.875rem;font-weight:600;min-width:45px}.uploading-files{background:#f8f9fa;border:1px solid #e1e5e9;border-radius:8px;margin:0 1.5rem 1rem;padding:1rem}.uploading-files h4{align-items:center;color:#667eea;display:flex;font-size:.875rem;font-weight:600;gap:.5rem;margin:0 0 .75rem}.uploading-files ul{display:flex;flex-direction:column;gap:.5rem;list-style:none;margin:0;padding:0}.uploading-files li{align-items:center;background:#fff;border-radius:6px;color:#2c3e50;display:flex;font-size:.875rem;gap:.5rem;padding:.5rem}.uploading-icon{animation:rotate 1s linear infinite;font-size:1rem}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.uploading-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selection-actions-bar{align-items:center;animation:slideDown .3s ease;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px;color:#fff;display:flex;justify-content:space-between;margin:0 1.5rem 1rem;padding:1rem}.selection-info{align-items:center;display:flex;gap:1rem}.selection-count{font-size:.875rem;font-weight:600}.selection-clear{background:hsla(0,0%,100%,.2);border:1px solid hsla(0,0%,100%,.3);border-radius:6px;color:#fff;cursor:pointer;font-size:.75rem;padding:.375rem .75rem;transition:all .2s ease}.selection-clear:hover{background:hsla(0,0%,100%,.3)}.selection-action,.selection-actions{display:flex;gap:.5rem}.selection-action{align-items:center;background:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;padding:.5rem 1rem;transition:all .2s ease}.selection-action.download-action{color:#667eea}.selection-action.download-action:hover{background:#f0f4ff;transform:translateY(-1px)}.selection-action.delete-action{color:#e74c3c}.selection-action.delete-action:hover{background:#fee;transform:translateY(-1px)}.selection-action .action-icon{font-size:1rem}.attachments-grid{border:2px dashed transparent;border-radius:8px;flex:1;max-height:600px;min-height:300px;overflow-y:auto;padding:0 1.5rem 1.5rem;position:relative;transition:all .3s ease}.attachments-grid.dragging{background:linear-gradient(135deg,rgba(102,126,234,.03),rgba(118,75,162,.03));border-color:#667eea}.attachments-grid.disabled{opacity:.6;pointer-events:none}.drag-overlay{align-items:center;animation:fadeIn .2s ease;background:linear-gradient(135deg,rgba(102,126,234,.95),rgba(118,75,162,.95));border-radius:8px;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:100}.drag-overlay-content{color:#fff;text-align:center}.drag-overlay .drag-icon{animation:bounce .6s ease infinite;font-size:4rem;margin-bottom:1rem}.drag-overlay .drag-text{font-size:1.25rem;font-weight:600;margin:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.attachments-grid::-webkit-scrollbar{width:8px}.attachments-grid::-webkit-scrollbar-track{background:#f8f9fa;border-radius:4px}.attachments-grid::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:4px}.attachments-grid::-webkit-scrollbar-thumb:hover{background:#a0aec0}.grid-header{border-bottom:2px solid #e1e5e9;justify-content:space-between;margin-bottom:1rem;padding:.75rem 0}.grid-header,.grid-header-left{align-items:center;display:flex}.grid-header-left{flex:1;gap:.75rem}.select-all-btn{align-items:center;background:#fff;border:1px solid #e1e5e9;border-radius:6px;color:#2c3e50;cursor:pointer;display:flex;font-size:.875rem;gap:.5rem;padding:.5rem 1rem;transition:all .2s ease}.select-all-btn:hover{background:#f8f9fa;border-color:#cbd5e0}.select-all-btn .checkbox{font-size:1rem}.grid-header .add-files-button{box-shadow:0 1px 3px #667eea33;font-size:.875rem;padding:.5rem 1rem}.grid-header .add-files-button .add-icon{font-size:.9rem}.grid-header-right{align-items:center;display:flex;gap:1rem}.drag-drop-hint{align-items:center;background:linear-gradient(135deg,rgba(102,126,234,.08),rgba(118,75,162,.08));border:1px dashed #cbd5e0;border-radius:6px;color:#7f8c8d;display:flex;font-size:.8rem;font-weight:500;gap:.5rem;padding:.4rem .75rem}.drag-hint-icon{animation:floatHint 2s ease-in-out infinite;font-size:1rem}@keyframes floatHint{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}.grid-count{color:#7f8c8d;font-size:.875rem;font-weight:500}.grid-items{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}@media (max-width:768px){.grid-items{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}}.attachment-grid-item{align-items:center;background:#fff;border:2px solid #e1e5e9;border-radius:8px;cursor:pointer;display:flex;flex-direction:column;gap:.5rem;min-height:110px;padding:.75rem .5rem;position:relative;transition:all .2s ease}.attachment-grid-item:hover{border-color:#667eea;box-shadow:0 4px 12px #667eea26;transform:translateY(-2px)}.attachment-grid-item.selected{background:linear-gradient(135deg,rgba(102,126,234,.05),rgba(118,75,162,.05));border-color:#667eea}.selection-indicator{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;box-shadow:0 2px 6px #0003;color:#fff;cursor:pointer;display:flex;font-size:.875rem;font-weight:700;height:24px;justify-content:center;position:absolute;right:8px;top:8px;transition:all .2s ease;width:24px;z-index:10}.selection-indicator:hover{box-shadow:0 3px 8px #0000004d;transform:scale(1.1)}.item-checkbox{align-items:center;background:#fff;border:2px solid #cbd5e0;border-radius:4px;cursor:pointer;display:flex;font-size:.75rem;height:20px;justify-content:center;left:6px;padding:0;position:absolute;top:6px;transition:all .2s ease;width:20px;z-index:10}.item-checkbox:hover{background:#f0f4ff;border-color:#667eea}.grid-item-icon{align-items:center;display:flex;height:48px;justify-content:center;opacity:.95;width:48px}.grid-item-icon svg{display:block;filter:drop-shadow(0 1px 2px rgba(0,0,0,.1));height:100%;width:100%}.grid-item-info{flex:1;text-align:center;width:100%}.drag-drop-placeholder{align-items:center;color:#7f8c8d;display:flex;font-size:.75rem;font-weight:500;grid-column:1/-1;justify-content:center;padding:0;text-align:center}.grid-item-name{color:#2c3e50;font-size:.75rem;font-weight:500;line-height:1.2;margin-bottom:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.grid-item-meta{color:#7f8c8d;font-size:.65rem}.attachments-empty{align-items:center;background:linear-gradient(135deg,rgba(102,126,234,.02),rgba(118,75,162,.02));border:2px dashed #cbd5e0;border-radius:8px;color:#7f8c8d;display:flex;flex-direction:column;grid-column:1/-1;justify-content:center;margin:.5rem 0;padding:3rem 2rem}.empty-icon{animation:float 3s ease-in-out infinite;font-size:4rem;margin-bottom:1rem;opacity:.4}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.attachments-empty p{font-size:1rem;margin:.25rem 0}.attachments-empty p:first-of-type{color:#2c3e50;font-weight:600}.empty-hint{align-items:center;color:#7f8c8d;display:flex;font-size:.875rem;gap:.5rem;justify-content:center;max-width:300px;text-align:center}.empty-hint .drag-hint-icon{font-size:1.1rem}.attachment-card{align-items:center;background:#fff;border:1px solid #e1e5e9;border-radius:8px;display:flex;gap:1rem;margin-bottom:.75rem;padding:1rem;transition:all .2s ease}.attachment-card:hover{border-color:#cbd5e0;box-shadow:0 2px 8px #0000000d;transform:translateY(-1px)}.attachment-card:last-child{margin-bottom:0}.attachment-icon{align-items:center;background:#f8f9fa;border-radius:8px;display:flex;flex-shrink:0;font-size:2rem;height:48px;justify-content:center;width:48px}.attachment-info{flex:1;min-width:0}.attachment-name{color:#2c3e50;font-size:.875rem;font-weight:500;margin-bottom:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-meta{color:#7f8c8d;font-size:.75rem}.attachment-actions{display:flex;gap:.5rem}.attachment-action{align-items:center;background:none;border:none;border-radius:6px;cursor:pointer;display:flex;font-size:1.25rem;justify-content:center;padding:.5rem;transition:all .2s ease}.attachment-action.download:hover{background:#e3f2fd}.attachment-action.delete:hover{background:#ffebee}.confirm-overlay{align-items:center;animation:fadeIn .2s ease;backdrop-filter:blur(4px);background:rgba(0,0,0,.5);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1001}.confirm-popup{animation:slideUp .3s ease;background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;max-width:450px;width:90%}.confirm-header{align-items:center;border-bottom:1px solid #e1e5e9;display:flex;justify-content:space-between;padding:1.5rem 2rem}.confirm-header h3{color:#2c3e50;font-size:1.25rem;font-weight:600;margin:0}.confirm-close{align-items:center;background:none;border:none;border-radius:6px;color:#7f8c8d;cursor:pointer;display:flex;font-size:1.5rem;height:32px;justify-content:center;padding:0;transition:all .2s ease;width:32px}.confirm-close:hover{background:#f8f9fa;color:#2c3e50}.confirm-content{padding:2rem;text-align:center}.confirm-icon{font-size:3rem;margin-bottom:1rem}.confirm-message{color:#2c3e50;font-size:1rem;font-weight:500;margin:0 0 .5rem}.confirm-hint{color:#7f8c8d;font-size:.875rem;margin:0}.confirm-footer{border-top:1px solid #e1e5e9;display:flex;gap:1rem;padding:1.5rem 2rem}.confirm-cancel-button,.confirm-ok-button{border:none;border-radius:8px;cursor:pointer;flex:1;font-size:1rem;font-weight:600;padding:.75rem 1.5rem;transition:all .2s ease}.confirm-cancel-button{background:#f8f9fa;color:#2c3e50}.confirm-cancel-button:hover{background:#e1e5e9}.confirm-ok-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.confirm-ok-button:hover{box-shadow:0 4px 12px #667eea4d;transform:translateY(-1px)}.confirm-delete-button:hover{box-shadow:0 4px 12px #e74c3c4d!important}@media (max-width:768px){.attachments-button{padding:.75rem}.attachments-popup{max-height:90vh;width:95%}.attachments-actions,.attachments-error,.attachments-grid,.attachments-header,.selection-actions-bar,.upload-progress,.uploading-files{margin-left:1rem;margin-right:1rem;padding-left:1rem;padding-right:1rem}.attachments-header h3{font-size:1.125rem}.subtitle-instructions{align-items:flex-start;flex-direction:column;gap:.25rem}.grid-header-left{align-items:stretch;flex-direction:column;gap:.5rem}.grid-header .add-files-button,.select-all-btn{justify-content:center;width:100%}.grid-header-right{align-items:flex-end;flex-direction:column;gap:.5rem}.drag-drop-hint{font-size:.75rem}.confirm-popup{width:95%}.confirm-content{padding:1.5rem 1rem}.confirm-footer{flex-direction:column}.confirm-cancel-button,.confirm-ok-button{width:100%}}@media (max-width:480px){.grid-header{align-items:stretch;gap:.5rem}.grid-header,.grid-header-left{flex-direction:column}.grid-header-right{align-items:center}.drag-drop-hint{justify-content:center;width:100%}.grid-count{text-align:center}.grid-items{gap:.5rem;grid-template-columns:repeat(auto-fill,minmax(90px,1fr))}}.file-viewer-modal{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column;height:90vh;max-width:1200px;overflow:hidden;width:90vw}.file-viewer-content{background:#f5f7fa;display:flex;flex:1;overflow:hidden;position:relative}.file-viewer-content iframe{border:none;height:100%;width:100%}.file-viewer-content.image-viewer{align-items:center;background:#2c3e50;display:flex;justify-content:center;padding:2rem}.file-viewer-content.image-viewer img{border-radius:4px;box-shadow:0 4px 20px #0000004d;max-height:100%;max-width:100%;object-fit:contain}.file-viewer-content.text-viewer{background:#1e1e1e;display:flex;padding:0}.text-content-wrapper{display:flex;flex:1;overflow:auto;padding:1.5rem}.text-content{word-wrap:break-word;background:#2d2d2d;border-radius:8px;box-shadow:0 2px 8px #0003;color:#d4d4d4;flex:1;font-family:Courier New,Courier,monospace;font-size:.875rem;line-height:1.6;margin:0;max-width:100%;overflow:auto;overflow-wrap:break-word;padding:1.5rem;white-space:pre-wrap}.text-loading{align-items:center;color:#7f8c8d;display:flex;flex:1;font-size:1rem;font-weight:500;justify-content:center}.file-viewer-footer{background:#f8f9fa;border-top:1px solid #e1e5e9;display:flex;gap:1rem;justify-content:flex-end;padding:1rem 1.5rem}.viewer-delete-button,.viewer-download-button{align-items:center;border:none;border-radius:6px;cursor:pointer;display:flex;font-size:.95rem;font-weight:500;gap:.5rem;padding:.75rem 1.5rem;transition:all .2s ease}.viewer-download-button{background:#667eea;color:#fff}.viewer-download-button:hover{background:#5568d3;box-shadow:0 4px 12px #667eea4d;transform:translateY(-1px)}.viewer-delete-button{background:#ef4444;color:#fff}.viewer-delete-button:hover{background:#dc2626;box-shadow:0 4px 12px #ef44444d;transform:translateY(-1px)}@media (max-width:768px){.file-viewer-modal{height:95vh;width:95vw}.file-viewer-footer{flex-direction:column;gap:.5rem}.viewer-delete-button,.viewer-download-button{justify-content:center;width:100%}}.conflicts-modal{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column;max-height:85vh;max-width:700px;overflow:hidden;width:90%}.conflicts-content{display:flex;flex:1;flex-direction:column;gap:1.5rem;overflow-y:auto;padding:1.5rem 2rem}.conflicts-intro{color:#2c3e50;font-size:.95rem;font-weight:500;line-height:1.5;margin:0}.conflict-item,.conflicts-list{display:flex;flex-direction:column;gap:1rem}.conflict-item{background:#f8f9fa;border:2px solid #e1e5e9;border-radius:8px;padding:1.25rem;transition:all .2s ease}.conflict-item:hover{border-color:#cbd5e0;box-shadow:0 2px 8px #00000014}.conflict-file-info{align-items:center;display:flex;gap:1rem}.conflict-icon{flex-shrink:0;font-size:2rem}.conflict-details{flex:1;min-width:0}.conflict-filename{color:#2c3e50;font-size:.95rem;font-weight:600;margin-bottom:.35rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conflict-meta{align-items:center;color:#7f8c8d;display:flex;font-size:.8rem;gap:.5rem}.conflict-separator{color:#cbd5e0}.conflict-actions{display:flex;flex-wrap:wrap;gap:.75rem}.conflict-btn{align-items:center;border:2px solid;border-radius:6px;cursor:pointer;display:flex;flex:1;font-size:.875rem;font-weight:600;gap:.5rem;justify-content:center;min-width:140px;padding:.65rem 1rem;transition:all .2s ease}.replace-btn{background:#fff;border-color:#667eea;color:#667eea}.replace-btn:hover{background:#667eea;box-shadow:0 4px 12px #667eea4d;color:#fff;transform:translateY(-1px)}.keep-btn{background:#fff;border-color:#16a085;color:#16a085}.keep-btn:hover{background:#16a085;box-shadow:0 4px 12px #16a0854d;color:#fff;transform:translateY(-1px)}.discard-btn{background:#fff;border-color:#e74c3c;color:#e74c3c}.discard-btn:hover{background:#e74c3c;box-shadow:0 4px 12px #e74c3c4d;color:#fff;transform:translateY(-1px)}.conflicts-bulk-actions{border-top:2px solid #e1e5e9;margin-top:1rem;padding-top:1.5rem}.bulk-actions-label{color:#2c3e50;font-size:.9rem;font-weight:600;margin:0 0 1rem}.bulk-actions-buttons{display:flex;flex-wrap:wrap;gap:.75rem}.bulk-actions-buttons .conflict-btn{flex:1;min-width:150px}@media (max-width:768px){.conflicts-modal{max-height:90vh;width:95%}.conflicts-content{padding:1rem 1.5rem}.conflict-item{padding:1rem}.conflict-actions{flex-direction:column}.conflict-btn{min-width:auto;width:100%}.bulk-actions-buttons{flex-direction:column}.bulk-actions-buttons .conflict-btn{min-width:auto;width:100%}}.facturas-buscador{background:#f5f7fa;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;min-height:100vh}.buscador-container{width:100%}.search-section{background:#fff;border-bottom:1px solid #e1e5e9;margin-bottom:0;padding:2rem}.search-section h2{color:#2c3e50;font-size:1.75rem;margin:0 0 .5rem}.search-subtitle{color:#7f8c8d;font-size:.95rem;margin:0 0 1.5rem}.search-form{display:flex;flex-direction:column;gap:1rem}.search-input-group{align-items:center;display:flex;gap:1rem}.search-input-group label{color:#2c3e50;font-weight:600;min-width:60px}.search-input-group input{border:2px solid #e1e5e9;border-radius:6px;flex:1;font-size:1rem;padding:.75rem;transition:border-color .2s ease}.search-input-group input:focus{border-color:#3498db;box-shadow:0 0 0 3px #3498db1a;outline:none}.btn-search{background:#3498db;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 2rem;transition:all .2s ease;white-space:nowrap}.btn-search:hover:not(:disabled){background:#2980b9;box-shadow:0 4px 8px #3498db4d;transform:translateY(-1px)}.btn-search:disabled{background:#95a5a6;cursor:not-allowed;transform:none}.search-message{border-radius:6px;font-weight:500;margin-top:1rem;padding:1rem}.search-message.success{background:#d4edda;border:1px solid #c3e6cb;color:#155724}.search-message.error{background:#f8d7da;border:1px solid #f5c6cb;color:#721c24}.results-section{background:#fff;padding:2rem}.results-section h3{color:#2c3e50;font-size:1.3rem;margin:0 0 1.5rem}.facturas-table{margin-bottom:1.5rem;overflow-x:auto}.facturas-table table{border-collapse:collapse;font-size:.9rem;width:100%}.facturas-table thead{background:#f8f9fa}.facturas-table th{border-bottom:2px solid #e1e5e9;color:#2c3e50;font-weight:600;padding:.75rem;text-align:left;white-space:nowrap}.facturas-table td{border-bottom:1px solid #e1e5e9;color:#555;padding:.75rem}.facturas-table tbody tr{transition:background .2s ease}.facturas-table tbody tr:hover{background:#f8f9fa}.actions-cell{text-align:center;white-space:nowrap}.btn-action{background:none;border:none;border-radius:4px;cursor:pointer;font-size:1.3rem;margin:0 .25rem;padding:.25rem .5rem;transition:all .2s ease}.btn-action:hover:not(:disabled){transform:scale(1.2)}.btn-action:disabled{cursor:not-allowed;opacity:.5}.btn-edit:hover:not(:disabled){background:#ebf8ff}.btn-delete:hover:not(:disabled){background:#fff5f5}.pagination{align-items:center;border-top:1px solid #e1e5e9;display:flex;gap:1rem;justify-content:center;padding-top:1rem}.btn-page{background:#3498db;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;padding:.5rem 1rem;transition:all .2s ease}.btn-page:hover:not(:disabled){background:#2980b9;transform:translateY(-1px)}.btn-page:disabled{background:#e1e5e9;color:#95a5a6;cursor:not-allowed;transform:none}.page-info{color:#7f8c8d;font-weight:500}.edit-section{background:#fff;padding:2rem;width:100%}.edit-header{align-items:center;border-bottom:2px solid #e1e5e9;display:flex;justify-content:space-between;margin-bottom:1.5rem;padding-bottom:1rem}.edit-header h2{color:#2c3e50;font-size:1.5rem;margin:0}.btn-back{background:#95a5a6;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;padding:.5rem 1rem;transition:all .2s ease}.btn-back:hover{background:#7f8c8d;transform:translateY(-1px)}.edit-message{border-radius:6px;font-weight:500;margin-bottom:1.5rem;padding:1rem}.edit-message.success{background:#d4edda;border:1px solid #c3e6cb;color:#155724}.edit-message.error{background:#f8d7da;border:1px solid #f5c6cb;color:#721c24}.factura-form{width:100%}.factura-form fieldset{border:none;margin:0;padding:0}.factura-form .form-card{background:#f8f9fa;border:1px solid #e1e5e9;border-radius:6px;margin-bottom:.75rem;padding:.75rem}.factura-form .form-actions{border-top:2px solid #e1e5e9;display:flex;gap:1rem;justify-content:flex-end;margin-top:1.5rem;padding-top:1.5rem}.btn-cancel{background:#95a5a6;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:600;padding:.75rem 1.5rem;transition:all .2s ease}.btn-cancel:hover{background:#7f8c8d;transform:translateY(-1px)}.btn-submit{background:#27ae60;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:600;padding:.75rem 1.5rem;transition:all .2s ease}.btn-submit:hover{background:#229954;box-shadow:0 4px 8px #27ae604d;transform:translateY(-1px)}.confirm-delete-button{background:#e74c3c!important}.confirm-delete-button:hover{background:#c0392b!important}@media (max-width:768px){.buscador-container,.edit-section,.results-section,.search-section{padding:1rem}.search-input-group{align-items:stretch;flex-direction:column}.search-input-group label{min-width:auto}.btn-search{width:100%}.edit-header{align-items:flex-start;flex-direction:column;gap:1rem}.btn-back{width:100%}.facturas-table{font-size:.8rem}.facturas-table td,.facturas-table th{padding:.5rem}.pagination{flex-direction:column}.btn-page{width:100%}}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif,Montserrat,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.typografy{font-family:Montserrat,sans-serif;font-size:medium;margin:10px}
