:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background-color:#f5f8fa;color:#333;line-height:1.6;display:flex;justify-content:center;min-height:100vh}.app-container{max-width:1000px;width:100%;margin:0 auto;padding:2rem}header{text-align:center;margin-bottom:2rem}header h1{color:#2c3e50;font-size:2.5rem;margin-bottom:.5rem}main{background-color:#fff;border-radius:8px;box-shadow:0 2px 10px #0000001a;padding:2rem;width:100%}.pdf-uploader{margin-bottom:2rem;width:100%}.dropzone{border:2px dashed #3498db;border-radius:8px;padding:2rem;text-align:center;cursor:pointer;transition:all .3s ease}.dropzone.active{border-color:#2ecc71;background-color:#2ecc711a}.dropzone p{margin-bottom:1rem;color:#7f8c8d}.browse-button{background-color:#3498db;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:4px;cursor:pointer;font-weight:600;transition:background-color .3s ease}.browse-button:hover{background-color:#2980b9}.pdf-list{margin-bottom:2rem}.pdf-list h2{color:#2c3e50;margin-bottom:1rem;font-size:1.5rem}.pdf-list ul{list-style:none}.pdf-item{border:1px solid #e0e0e0;border-radius:4px;padding:1rem;margin-bottom:.5rem;display:flex;justify-content:space-between;align-items:center;background-color:#f9f9f9;cursor:grab;transition:all .2s ease}.pdf-item:hover{background-color:#f0f0f0;transform:translateY(-2px);box-shadow:0 2px 5px #0000001a}.pdf-info{display:flex;justify-content:space-between;align-items:center;width:100%}.pdf-name{font-weight:500;color:#2c3e50}.remove-button{background-color:#e74c3c;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-size:.875rem;transition:background-color .3s ease}.remove-button:hover{background-color:#c0392b}.drag-instruction{font-size:.875rem;color:#7f8c8d;margin-top:.5rem;font-style:italic}.pdf-actions-container{margin-bottom:2rem}.pdf-actions-container h2{color:#2c3e50;margin-bottom:1rem;font-size:1.5rem}.action-buttons{display:flex;gap:1rem;flex-wrap:wrap}.action-button{padding:.75rem 1.5rem;border:none;border-radius:4px;font-weight:600;cursor:pointer;transition:all .3s ease;min-width:150px}.merge-button{background-color:#3498db;color:#fff}.merge-button:hover{background-color:#2980b9}.page-numbers-button{background-color:#9b59b6;color:#fff}.page-numbers-button:hover{background-color:#8e44ad}.download-button{background-color:#2ecc71;color:#fff}.download-button:hover{background-color:#27ae60}button:disabled{background-color:#bdc3c7;cursor:not-allowed}.processed-pdf{background-color:#f9f9f9;border:1px solid #e0e0e0;border-radius:8px;padding:1.5rem;margin-top:2rem}.processed-pdf h3{color:#2c3e50;margin-bottom:.5rem;font-size:1.25rem}.processed-pdf p{margin-bottom:1rem;color:#7f8c8d}.error-message{background-color:#fdeded;border:1px solid #f8d7da;color:#721c24;padding:1rem;border-radius:4px;margin-bottom:1rem;text-align:center}@media (max-width: 768px){.app-container{padding:1rem}main{padding:1rem}header h1{font-size:2rem}.action-buttons{flex-direction:column}.action-button{width:100%}}@media (max-width: 480px){header h1{font-size:1.75rem}.dropzone{padding:1rem}.pdf-item{flex-direction:column;align-items:flex-start}.pdf-item button{margin-top:.5rem}}
