@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";:root{font-family:Inter,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}html,body,#root{height:100%;width:100%;margin:0;padding:0}body{overflow-x:hidden}:root{--background-color-light: #ffffff;--text-color-light: #213547;--background-color-dark: #242424;--text-color-dark: rgba(255, 255, 255, .87);--primary-color: #0d6efd;--primary-color-dark: #0b5ed7;--border-color: #dee2e6;--text-color-secondary: #6c757d;--background-color-secondary: #f8f9fa;--progress-bg: #e9ecef;--progress-bar-incomplete: #0d6efd;--progress-bar-seeding: #198754;--progress-bar-stopped: #6c757d;--text-color: #212529;--subtle-text-color: #6c757d;--error-color: #dc3545;--error-color-dark: #c82333;--text-color-secondary-dark: #5a6268}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}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}}.modal-overlay{position:fixed;inset:0;background-color:#0009;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content{background:var(--background-color-light);padding:24px;border-radius:16px;box-shadow:0 10px 30px #0003;z-index:1001;width:100%;max-width:550px;border:1px solid var(--border-color)}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-header h2{color:var(--text-color-light);font-size:20px;font-weight:600;margin:0}.modal-body{margin-bottom:20px}.modal-footer{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.close-button{background:none;border:none;color:var(--text-color-secondary);font-size:28px;cursor:pointer;line-height:1;padding:8px;border-radius:50%;transition:background-color .2s}.close-button:hover{background-color:#0000001a}.form-grid{display:grid;grid-template-columns:1fr;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-weight:600;font-size:.9rem}.form-group input[type=text],.form-group input[type=password],.form-group input[type=number]{padding:.6rem .8rem;border:1px solid #ced4da;border-radius:6px;font-size:.9rem;width:100%;box-sizing:border-box}.form-group input[type=checkbox]{width:1.25rem;height:1.25rem;cursor:pointer}.torrent-controls{display:flex;align-items:center;margin-right:1rem}.torrent-controls .control-button{border:none}.control-button{background:transparent;border:none;font-size:1rem;color:#6c757d;cursor:pointer;padding:.5rem;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:background-color .2s,color .2s}.control-button:hover{background-color:#f8f9fa;color:#212529}.control-button.running{color:var(--text-color)}.control-button.paused{color:#198754}.torrent-item{display:flex;justify-content:space-between;align-items:center;cursor:pointer;padding:1rem;flex-wrap:nowrap}.torrent-primary-info{display:flex;align-items:center;flex-grow:1;min-width:0}.torrent-main-info{flex-grow:1;min-width:300px}.torrent-name{margin-top:0;margin-bottom:.5rem;font-size:1rem;font-weight:600;color:var(--text-color);word-break:break-all;text-overflow:ellipsis}.progress-bar{width:100%;height:6px;background-color:var(--progress-bg);border-radius:3px;overflow:hidden;margin-bottom:.3rem}.torrent-sub-info{display:flex;gap:.75rem;font-size:.8rem;color:var(--subtle-text-color)}.torrent-error{width:100%;margin-top:.5rem;color:var(--error-color);font-size:.9rem;background-color:#f8d7da;border:1px solid #f5c2c7;border-radius:4px;padding:.5rem}.progress-bar-inner{height:100%;background-color:var(--progress-bar-incomplete);transition:width .3s ease-in-out}.torrent-item.status-seeding .progress-bar-inner,.torrent-item.status-downloading.done .progress-bar-inner{background-color:var(--progress-bar-seeding)}.torrent-item.status-stopped .progress-bar-inner{background-color:var(--progress-bar-stopped)}.torrent-stats{display:flex;gap:1rem;font-size:.85rem;color:var(--text-color);flex-wrap:nowrap;justify-content:flex-end}.torrent-stats .stat{display:flex;align-items:center;gap:.3rem;min-width:120px;justify-content:flex-end}.stat-download{color:var(--progress-bar-seeding);font-weight:600}.stat-upload{color:var(--error-color);font-weight:600}.torrent-item-container{border:2px solid transparent;border-radius:8px;margin-bottom:1rem;box-shadow:0 2px 4px #0000000d;background-color:#fff;overflow:hidden;transition:border-color .2s ease-in-out,box-shadow .2s ease-in-out}.torrent-item-container.selected{border-color:#0d6efd;box-shadow:0 0 8px #0d6efd66}.torrent-details{max-height:0;opacity:0;overflow:hidden;transition:max-height .5s ease-in-out,opacity .5s ease-in-out,padding .5s ease-in-out;padding:0 1rem;border-top:1px solid transparent;background-color:#f8f9fa}.torrent-details.open{max-height:1000px;opacity:1;padding:1rem;border-top-color:var(--border-color)}.loading-indicator,.error-message{padding:1rem;text-align:center;color:var(--subtle-text-color)}.error-message{color:var(--error-color)}@media (max-width: 768px){.torrent-item{flex-direction:column;align-items:flex-start;gap:1rem}.torrent-primary-info{width:100%}.torrent-stats{width:100%;flex-wrap:wrap;justify-content:flex-start;gap:.75rem}.torrent-stats .stat{min-width:auto;flex-grow:1;justify-content:flex-start}}.tracker-item{display:flex;flex-direction:column;padding:.75rem 0;border-bottom:1px solid var(--border-color)}.tracker-item:last-child{border-bottom:none}.tracker-main{display:flex;align-items:center;margin-bottom:.5rem}.tracker-url{font-weight:600;color:var(--text-color);word-break:break-all}.tracker-stats{display:flex;align-items:center;gap:1rem;font-size:.85rem;color:var(--text-color-secondary)}.tracker-status{font-weight:700}.status-success{color:var(--success-color)}.status-error{color:var(--error-color)}.torrent-detail-view{padding:1rem;background-color:#f8f9fa}.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem;margin-bottom:1rem}.detail-columns{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}.detail-item{display:flex;flex-direction:column;background-color:#fff;padding:.75rem;border-radius:6px;border:1px solid #e9ecef}.detail-item-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.25rem}.detail-item-header .icon{color:#6c757d}.detail-label{font-weight:600;font-size:.8rem;color:#6c757d}.detail-value{font-size:.95rem;color:#212529;word-break:break-all}.location-path{font-family:Courier New,Courier,monospace;font-size:.9rem}.detail-section{margin-bottom:1.5rem}.detail-section-title{font-size:1rem;font-weight:600;margin-top:0;margin-bottom:.5rem;border-bottom:2px solid #e9ecef;padding-bottom:.25rem}.detail-list{list-style:none;padding-left:0;margin:0;max-height:150px;overflow-y:auto;border:1px solid #e9ecef;border-radius:6px;background-color:#fff}.detail-list li{padding:.5rem .75rem;border-bottom:1px solid #e9ecef;font-size:.9rem;display:flex;justify-content:space-between}.detail-list li:last-child{border-bottom:none}.file-list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.file-list li{justify-content:flex-start;gap:.75rem}.file-list label{flex-grow:1;word-break:break-all}.file-list span{color:#6c757d;font-size:.85rem;white-space:nowrap}.magnet-section .detail-section-title{border-bottom:none}.magnet-link-input{width:100%;padding:.5rem;border:1px solid #ced4da;border-radius:4px;font-family:Courier New,Courier,monospace;font-size:.9rem;background-color:#e9ecef;cursor:pointer}.expand-button{width:100%;background-color:#f8f9fa;border:1px solid #dee2e6;border-top:none;border-radius:0 0 6px 6px;padding:.5rem;cursor:pointer;display:flex;justify-content:center;align-items:center;gap:.5rem;color:#0d6efd;font-weight:600}.expand-button:hover{background-color:#e9ecef}@media (max-width: 768px){.detail-grid,.detail-columns{grid-template-columns:1fr}.torrent-detail-view{padding:.5rem}}.ratio-circle{transform:rotate(-90deg)}.circle-background,.circle-progress{fill:none}.circle-background{stroke:#e9ecef}.circle-progress.circle-red{stroke:#dc3545}.circle-progress.circle-green{stroke:#198754;transition:stroke-dashoffset .3s ease}.circle-text{font-size:10px;font-weight:700;fill:#212529;transform:rotate(90deg);transform-origin:center}.torrent-list{padding:0 1rem}.empty{display:flex;justify-items:center;justify-content:center;font-size:1.5rem;font-weight:700;color:var(--text-color);left:0;right:0;margin-inline:auto;width:fit-content;position:absolute;top:0}.navbar{position:fixed;top:0;left:0;right:0;z-index:1000;display:flex;flex-direction:column;padding:.75rem 1rem;background-color:#fffc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid #e9ecef;margin-bottom:1.5rem}.navbar-main{display:flex;justify-content:space-between;align-items:center;width:100%}.navbar-left,.navbar-right{display:flex;align-items:center;gap:1rem}.navbar-brand{font-size:1.2rem;font-weight:700;color:#212529;margin:0}.mobile-menu-toggle{background:transparent;border:none;font-size:1.2rem;color:#6c757d;cursor:pointer;padding:.5rem;border-radius:50%;display:flex;align-items:center;justify-content:center}.desktop-controls{display:none}.mobile-menu{display:flex;flex-direction:column;gap:1rem;width:100%;padding:1rem 0 .5rem;border-top:1px solid #e9ecef;margin-top:.75rem}.mobile-menu .navbar-search input{width:100%}.mobile-menu .navbar-controls{display:flex;flex-direction:column;gap:.75rem;align-items:stretch}.mobile-menu .control-button{width:100%;justify-content:flex-start}.mobile-menu .control-group{display:flex;gap:.5rem;width:100%}.mobile-menu .control-group .control-button{width:auto;flex-grow:1}.mobile-menu .control-group>button,.mobile-menu .control-group>div>button{border-radius:6px}.mobile-menu .sort-direction-button{flex-shrink:0}.navbar-search input,.control-button,.sort-direction-button{padding:.5rem .8rem;font-size:.9rem;border:1px solid #ced4da;border-radius:6px;box-sizing:border-box;height:38px}.navbar-search input{width:250px;transition:border-color .2s,box-shadow .2s}.navbar-search input:focus{outline:none;border-color:#86b7fe;box-shadow:0 0 0 .25rem #0d6efd40}.global-controls{display:flex;gap:.5rem}.global-control-button,.settings-button{background:transparent;border:none;font-size:1.2rem;color:#6c757d;cursor:pointer;padding:.5rem;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:background-color .2s,color .2s}.global-control-button:hover,.settings-button:hover{background-color:#f8f9fa;color:#212529}.navbar-controls{display:flex;gap:1rem;align-items:center}.control-button{display:flex;gap:.4rem;align-items:center;background-color:#fff;transition:background-color .2s,border-color .2s}.control-button:hover{background-color:#f8f9fa;border-color:#adb5bd}.control-group{display:flex;align-items:center;gap:.5rem}.sort-direction-button{background:#fff;color:#495057;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s,border-color .2s;padding:.5rem}.sort-direction-button:hover{background-color:#f8f9fa;border-color:#adb5bd}.navbar-stats{display:none;align-items:center;gap:1rem;font-size:.8rem;color:#495057;font-weight:500}.stat-item{display:flex;align-items:center;gap:.4rem}.navbar-stats .stat-active{background-color:transparent;padding:.4rem .8rem;border-radius:20px;border:1px solid #ced4da;cursor:pointer;font-size:.8rem;transition:background-color .2s,color .2s,border-color .2s}.navbar-stats .stat-active.active{background-color:#0d6efd;color:#fff;border-color:#0d6efd}@media (min-width: 576px){.navbar-stats{display:flex}}@media (min-width: 992px){.navbar{flex-direction:row;justify-content:space-between;padding:.75rem 1.5rem}.navbar-main{flex-direction:row;width:100%;border-top:none;margin-top:0}.navbar-left{gap:1.5rem}.navbar-brand{font-size:1.5rem}.mobile-menu-toggle{display:none}.desktop-controls{display:flex;align-items:center;gap:1.5rem}.navbar-controls{flex-direction:row}.mobile-menu{display:none}.navbar-stats{font-size:.9rem}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.spin{animation:spin 1s linear infinite}.custom-dropdown{position:relative;display:inline-block}.dropdown-trigger{cursor:pointer}.dropdown-menu{position:absolute;top:100%;right:0;background-color:#fff;border:1px solid #dee2e6;border-radius:8px;box-shadow:0 4px 12px #0000001a;list-style:none;margin:.5rem 0 0;padding:.5rem 0;min-width:200px;z-index:1001}.dropdown-menu li{padding:.75rem 1.25rem;cursor:pointer;transition:background-color .2s;font-size:.9rem}.dropdown-menu li:hover{background-color:#f8f9fa}.dropdown-menu.align-left{right:auto;left:0}.dropdown-menu.opens-up{top:auto;bottom:100%;margin-bottom:.5rem;margin-top:0}.tabs{display:flex;border-bottom:1px solid var(--border-color);margin-bottom:1.5rem;gap:8px}.tab{padding:8px 16px;border:none;background:none;cursor:pointer;font-size:.95rem;font-weight:500;color:var(--text-color-secondary);border-radius:8px 8px 0 0;border-bottom:2px solid transparent;transition:all .2s ease-in-out}.tab.active{color:var(--primary-color);background-color:var(--background-color-light);border-bottom-color:var(--primary-color)}.tab:hover:not(.active){background-color:#0000000d;color:var(--text-color-light)}.tab-content{min-height:200px}.cancel-button,.save-button{padding:.6rem 1.2rem;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer}.cancel-button{background-color:#f8f9fa;border:1px solid #ced4da;color:#212529}.save-button{background-color:#0d6efd;border:1px solid #0d6efd;color:#fff}.settings-modal-content{max-width:800px}.delete-options{margin-bottom:1.5rem;text-align:left;display:inline-block}.delete-options label{display:flex;align-items:center;cursor:pointer;font-size:1rem;color:var(--text-color-light)}.delete-options input[type=checkbox]{margin-right:.75rem;width:18px;height:18px}.modal-actions{display:flex;justify-content:center;gap:1rem}.btn{padding:.6rem 1.2rem;border:none;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background-color .2s,box-shadow .2s}.btn-secondary{background-color:var(--text-color-secondary);color:#fff}.btn-secondary:hover{background-color:var(--text-color-secondary-dark)}.btn-danger{background-color:var(--error-color);color:#fff}.btn-danger:hover{background-color:var(--error-color-dark)}.tab-content{min-height:150px;padding:.5rem}.drop-zone{border:2px dashed var(--border-color);border-radius:8px;padding:1.5rem;text-align:center;cursor:pointer;transition:border-color .2s,background-color .2s}.drop-zone:hover{border-color:var(--primary-color);background-color:var(--background-color-secondary)}.file-input{display:none}.file-input-label{cursor:pointer}.btn-primary{background-color:var(--primary-color);color:#fff}.btn-primary:hover{background-color:var(--primary-color-dark)}.magnet-textarea{width:100%;min-height:120px;padding:.75rem;border:1px solid var(--border-color);border-radius:6px;font-family:inherit;font-size:.95rem;resize:vertical;margin-bottom:.5rem}.magnet-input-container{display:flex;flex-direction:column}.staged-torrents-list{margin-bottom:1rem;max-height:120px;overflow-y:auto;border:1px solid var(--border-color);border-radius:6px;padding:.5rem}.staged-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem;border-radius:4px;margin-bottom:.5rem}.staged-item:last-child{margin-bottom:0}.staged-item.status-loading{color:var(--text-color-secondary);background-color:var(--background-color-secondary)}.staged-item.status-loaded{color:#155724;background-color:#d4edda}.staged-item.status-error{color:#721c24;background-color:#f8d7da}.staged-item-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:1rem}.remove-staged-btn{background:none;border:none;font-size:1.5rem;font-weight:700;color:inherit;cursor:pointer;opacity:.7;padding:0 .5rem}.remove-staged-btn:hover{opacity:1}.btn-with-icon{display:inline-flex;align-items:center;gap:.5rem}.notification{position:fixed;bottom:20px;right:20px;padding:1rem 1.5rem;border-radius:8px;box-shadow:0 4px 12px #00000026;display:flex;align-items:center;justify-content:space-between;z-index:3000;max-width:400px;animation:slide-in .5s ease-out forwards}@keyframes slide-in{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.notification-success{background-color:#d4edda;color:#155724;border:1px solid #c3e6cb}.notification-error{background-color:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.notification .close-btn{background:none;border:none;font-size:1.5rem;font-weight:700;color:inherit;cursor:pointer;margin-left:1rem;padding:0 .5rem}.floating-toolbar{position:fixed;bottom:30px;right:30px;display:flex;flex-direction:column;gap:1rem;z-index:1000}.fab-button{width:56px;height:56px;border-radius:50%;border:none;display:flex;align-items:center;justify-content:center;padding:0;font-size:1.5rem;color:#fff;cursor:pointer;box-shadow:0 4px 12px #0003;transition:background-color .2s,transform .2s ease-out}.fab-button svg{height:1rem}.fab-button:hover{transform:scale(1.05)}.fab-button:active{transform:scale(.95)}.fab-button.add{background-color:#0d6efd}.fab-button.add:hover{background-color:#0b5ed7}.fab-button.select-all{background-color:#0d6efd}.fab-button.select-all:hover{background-color:#0b5ed7}.fab-button.delete{background-color:#dc3545}.fab-button.delete:hover{background-color:#c82333}.fab-button:disabled{background-color:#6c757d;cursor:not-allowed;transform:scale(1)}.placeholder{width:100%;height:4.5rem}
