.search-wrapper{max-width:700px;margin:0 auto}.search-box{background:var(--bg-white);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);transition:var(--transition-normal);position:relative;overflow:hidden}.search-box:focus-within{box-shadow:var(--shadow-xl);transform:translateY(-2px)}.search-input{font-size:var(--font-size-lg);color:var(--text-primary);background:0 0;border:none;padding:1.25rem 4rem 1.25rem 1.5rem}.search-input:focus{box-shadow:none;outline:none}.search-input::placeholder{color:var(--text-muted)}.search-btn{background:var(--primary-color);width:3rem;height:3rem;color:var(--text-white);border-radius:var(--radius-full);transition:var(--transition-fast);cursor:pointer;border:none;font-size:1.25rem;position:absolute;top:50%;right:.5rem;transform:translateY(-50%)}.search-btn:hover{background:var(--primary-hover);transform:translateY(-50%)scale(1.05)}.search-results-info{color:var(--text-secondary);font-size:var(--font-size-sm)}.category-nav-wrapper{background:var(--bg-light);border-radius:var(--radius-lg);padding:1rem}.category-nav{flex-wrap:wrap;gap:1rem}.category-nav .nav-link{background:var(--bg-white);color:var(--text-secondary);border-radius:var(--radius-md);transition:var(--transition-fast);border:2px solid #0000;align-items:center;gap:.5rem;padding:.75rem 1.5rem;font-weight:500;display:flex;position:relative}.category-nav .nav-link:hover{color:var(--primary-color);border-color:var(--primary-alpha-20);box-shadow:var(--shadow-sm);transform:translateY(-2px)}.category-nav .nav-link.active{background:var(--primary-color);color:var(--text-white);border-color:var(--primary-color);box-shadow:var(--shadow-md)}.category-nav .nav-link .badge{background:var(--primary-alpha-20);color:var(--primary-dark);border-radius:var(--radius-sm);font-size:var(--font-size-xs);margin-left:.5rem;padding:.25rem .5rem;font-weight:600}.category-nav .nav-link.active .badge{color:var(--text-white);background:#fff3}.subcategory-nav-wrapper{background:var(--bg-white);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);padding:1rem}.subcategory-nav{border-bottom:none;flex-wrap:wrap;gap:.5rem}.subcategory-nav .nav-link{border:1px solid var(--border-light);border-radius:var(--radius-sm)var(--radius-sm)0 0;font-size:var(--font-size-sm);color:var(--text-secondary);background:var(--bg-light);transition:var(--transition-fast);border-bottom:2px solid #0000;padding:.5rem 1rem}.subcategory-nav .nav-link:hover{color:var(--primary-color);background:var(--bg-white);border-bottom-color:var(--primary-alpha-20)}.subcategory-nav .nav-link.active{color:var(--primary-color);background:var(--bg-white);border-color:var(--border-light);border-bottom-color:var(--primary-color);font-weight:600}.file-card{background:var(--bg-white);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);transition:var(--transition-normal);flex-direction:column;height:100%;padding:1.5rem;display:flex}.file-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px)}.file-card-icon{background:var(--primary-alpha-10);border-radius:var(--radius-md);width:60px;height:60px;transition:var(--transition-fast);justify-content:center;align-items:center;margin-bottom:1rem;display:flex}.file-card:hover .file-card-icon{background:var(--primary-alpha-20);transform:scale(1.1)}.file-card-icon i{color:var(--primary-color);font-size:2rem}.file-card-body{flex:1}.file-card-title{font-size:var(--font-size-lg);color:var(--text-primary);margin-bottom:.5rem;font-weight:600;line-height:1.4}.file-card-series{font-size:var(--font-size-sm);color:var(--primary-color);margin-bottom:.5rem;font-weight:500}.file-card-desc{font-size:var(--font-size-sm);color:var(--text-muted);margin-bottom:1rem;line-height:1.6}.file-card-meta{border-top:1px solid var(--border-light);font-size:var(--font-size-xs);color:var(--text-muted);align-items:center;gap:1rem;padding-top:1rem;display:flex}.file-card-meta .file-type{background:var(--bg-light);border-radius:var(--radius-sm);text-transform:uppercase;padding:.25rem .75rem;font-weight:600}.file-card-actions{gap:.5rem;margin-top:1rem;display:flex}.file-card-actions .btn{font-size:var(--font-size-sm);border-radius:var(--radius-sm);transition:var(--transition-fast);flex:1;padding:.5rem 1rem}.btn-preview{background:var(--bg-light);color:var(--text-secondary);border:1px solid var(--border-light)}.btn-preview:hover{background:var(--primary-alpha-10);color:var(--primary-color);border-color:var(--primary-alpha-20)}.btn-download{background:var(--primary-color);color:var(--text-white);border:1px solid var(--primary-color)}.btn-download:hover{background:var(--primary-hover);border-color:var(--primary-hover);transform:translateY(-1px)}.files-loading{justify-content:center;align-items:center;min-height:300px;display:flex}.no-results-wrapper{flex-direction:column;justify-content:center;align-items:center;min-height:300px;display:flex}.no-results-wrapper i{color:var(--text-muted);margin-bottom:1rem;font-size:4rem}.no-results-wrapper h4{color:var(--text-secondary);margin-bottom:.5rem}.preview-placeholder{background:var(--bg-light);border-radius:var(--radius-md);flex-direction:column;justify-content:center;align-items:center;min-height:400px;display:flex}.preview-placeholder i{color:var(--text-muted);font-size:5rem}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.file-card{animation:.5s ease-out both fadeInUp}@media (width<=768px){.category-nav{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;justify-content:flex-start;padding-bottom:.5rem;overflow-x:auto}.category-nav .nav-link{white-space:nowrap;font-size:var(--font-size-sm);padding:.5rem 1rem}.subcategory-nav{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;overflow-x:auto}.file-card{padding:1rem}.file-card-actions{flex-direction:column}.file-card-actions .btn{width:100%}}.search-highlight{background:var(--warning-color);color:var(--text-primary);border-radius:2px;padding:0 .25rem}.preview-notice{font-size:var(--font-size-xs);color:var(--text-muted);text-align:center;background:var(--bg-light);border-radius:var(--radius-sm);margin-top:.5rem;padding:.25rem .5rem}@media (width<=768px){.preview-notice{font-size:.75rem}}