@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap'); :root { --bg-dark: #07080b; --card-bg: rgba(16, 18, 23, 0.7); --border-color: rgba(255, 255, 255, 0.06); --border-glow: rgba(0, 240, 255, 0.15); --primary: #00f0ff; --primary-glow: rgba(0, 240, 255, 0.4); --secondary: #bd00ff; --secondary-glow: rgba(189, 0, 255, 0.4); --gradient: linear-gradient(135deg, var(--primary), var(--secondary)); --text-main: #f1f5f9; --text-muted: #8a99ad; --text-dim: #54657a; --success: #00ff87; --warning: #ffb800; --danger: #ff0055; --font-heading: 'Space Grotesk', sans-serif; --font-body: 'Outfit', sans-serif; } * { box-sizing: border-box; margin: 0; padding: 0; } body { background-color: var(--bg-dark); color: var(--text-main); font-family: var(--font-body); min-height: 100vh; overflow-x: hidden; background-image: radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.03) 0%, transparent 40%), radial-gradient(circle at 90% 80%, rgba(189, 0, 255, 0.04) 0%, transparent 40%); } .app-container { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem; } header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; border-bottom: 1px solid var(--border-color); padding-bottom: 1.5rem; } .logo-container { display: flex; align-items: center; gap: 0.75rem; } .logo-icon { width: 40px; height: 40px; background: var(--gradient); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--font-heading); font-size: 1.5rem; color: var(--bg-dark); box-shadow: 0 0 20px var(--primary-glow); } .logo-text h1 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; letter-spacing: 2px; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .logo-text p { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; } .gpu-badge { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-color); padding: 0.5rem 1rem; border-radius: 50px; display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; } .gpu-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; box-shadow: 0 0 8px var(--success); animation: pulse 2s infinite; } @keyframes pulse { 0% { transform: scale(0.9); opacity: 0.6; } 50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 12px var(--success); } 100% { transform: scale(0.9); opacity: 0.6; } } /* Glassmorphism Card Wrapper */ .glass-card { background: var(--card-bg); border: 1px solid var(--border-color); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 24px; padding: 2.5rem; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; } .glass-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--gradient); opacity: 0.7; } .step-container { display: none; } .step-container.active { display: block; animation: fadeIn 0.5s ease-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } /* Step 1: Drag & Drop Styles */ .upload-area { border: 2px dashed rgba(255, 255, 255, 0.15); border-radius: 20px; padding: 4rem 2rem; text-align: center; cursor: pointer; transition: all 0.3s ease; background: rgba(255, 255, 255, 0.01); } .upload-area:hover, .upload-area.drag-over { border-color: var(--primary); background: rgba(0, 240, 255, 0.02); box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.05); } .upload-icon { font-size: 3.5rem; margin-bottom: 1.5rem; display: inline-block; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: float 3s ease-in-out infinite; } @keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-8px); } 100% { transform: translateY(0px); } } .upload-area h3 { font-family: var(--font-heading); font-size: 1.35rem; margin-bottom: 0.5rem; } .upload-area p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; } .btn { background: var(--gradient); color: var(--bg-dark); font-family: var(--font-heading); font-weight: 700; font-size: 1rem; padding: 0.85rem 2rem; border: none; border-radius: 12px; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 0 20px rgba(0, 240, 255, 0.2); display: inline-flex; align-items: center; gap: 0.5rem; } .btn:hover { transform: translateY(-2px); box-shadow: 0 0 30px var(--primary-glow); } .btn:active { transform: translateY(0); } .btn-secondary { background: rgba(255, 255, 255, 0.05); color: var(--text-main); border: 1px solid var(--border-color); box-shadow: none; } .btn-secondary:hover { background: rgba(255, 255, 255, 0.1); box-shadow: none; } .btn-danger { background: var(--danger); color: #fff; box-shadow: 0 0 20px rgba(255, 0, 85, 0.2); } .btn-danger:hover { box-shadow: 0 0 30px rgba(255, 0, 85, 0.4); } /* Step 2: Configuration & Preview Layout */ .config-layout { display: grid; grid-template-columns: 1.2fr 1.8fr; gap: 2.5rem; } @media (max-width: 900px) { .config-layout { grid-template-columns: 1fr; } } .config-sidebar { display: flex; flex-direction: column; gap: 2rem; } .meta-panel { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-color); padding: 1.5rem; border-radius: 16px; } .meta-panel h4 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 1rem; color: var(--primary); } .meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; font-size: 0.9rem; } .meta-item span:first-child { display: block; color: var(--text-muted); font-size: 0.75rem; text-transform: uppercase; margin-bottom: 0.15rem; } .meta-item span:last-child { font-weight: 600; } .settings-panel { display: flex; flex-direction: column; gap: 1.5rem; } .form-group { display: flex; flex-direction: column; gap: 0.5rem; } .form-group label { font-size: 0.9rem; font-weight: 600; color: var(--text-main); display: flex; justify-content: space-between; } .form-group label span.badge { font-weight: normal; color: var(--primary); font-size: 0.8rem; background: rgba(0, 240, 255, 0.08); padding: 0.1rem 0.5rem; border-radius: 4px; } select { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-color); color: var(--text-main); padding: 0.8rem 1rem; border-radius: 10px; font-family: var(--font-body); font-size: 0.95rem; cursor: pointer; outline: none; transition: border 0.3s; } select:focus { border-color: var(--primary); } select option { background: #0f1115; color: var(--text-main); } /* Custom sliders */ .range-slider { display: flex; align-items: center; gap: 1rem; } input[type="range"] { -webkit-appearance: none; width: 100%; height: 6px; border-radius: 5px; background: rgba(255, 255, 255, 0.1); outline: none; } input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--primary); cursor: pointer; box-shadow: 0 0 10px var(--primary-glow); transition: transform 0.1s; } input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); } /* Custom toggle */ .toggle-container { display: flex; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-color); padding: 1rem; border-radius: 12px; } .switch { position: relative; display: inline-block; width: 46px; height: 24px; } .switch input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255, 255, 255, 0.15); transition: .4s; border-radius: 34px; } .slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; } input:checked + .slider { background: var(--gradient); } input:checked + .slider:before { transform: translateX(22px); } /* Compare Frame Slider Component */ .preview-panel { display: flex; flex-direction: column; gap: 1.5rem; } .preview-header { display: flex; justify-content: space-between; align-items: center; } .preview-header h3 { font-family: var(--font-heading); font-size: 1.35rem; } .timeline-picker { display: flex; flex-direction: column; gap: 0.5rem; background: rgba(255, 255, 255, 0.02); padding: 1rem; border-radius: 12px; } .comparison-wrapper { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color); background: #000; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); } .comparison-image { width: 100%; height: 100%; object-fit: contain; position: absolute; top: 0; left: 0; pointer-events: none; user-select: none; transform: translate(var(--pan-x), var(--pan-y)) scale(var(--zoom)); transform-origin: center center; transition: transform 0.1s ease-out; } .comparison-image.original { z-index: 1; } .comparison-image.upscaled { z-index: 2; } .slider-bar { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: #fff; z-index: 3; cursor: ew-resize; box-shadow: 0 0 10px rgba(0,0,0,0.5); transform: translateX(-50%); pointer-events: auto; } .slider-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); box-shadow: 0 0 15px var(--primary-glow); display: flex; align-items: center; justify-content: center; cursor: ew-resize; } .slider-handle::before, .slider-handle::after { content: ''; border: solid transparent; border-width: 5px 6px; position: absolute; } .slider-handle::before { border-right-color: var(--primary); right: 22px; } .slider-handle::after { border-left-color: var(--primary); left: 22px; } .badge-orig, .badge-up { position: absolute; bottom: 12px; padding: 0.35rem 0.75rem; border-radius: 6px; font-size: 0.75rem; font-weight: bold; z-index: 4; text-transform: uppercase; letter-spacing: 1px; backdrop-filter: blur(4px); } .badge-orig { left: 12px; background: rgba(0, 0, 0, 0.6); border: 1px solid rgba(255, 255, 255, 0.1); } .badge-up { right: 12px; background: rgba(0, 240, 255, 0.2); border: 1px solid var(--primary); color: var(--primary); } .preview-placeholder { width: 100%; aspect-ratio: 16/9; border-radius: 16px; border: 1px dashed rgba(255, 255, 255, 0.08); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-muted); text-align: center; padding: 2rem; background: rgba(255, 255, 255, 0.005); } .preview-placeholder i { font-size: 2.5rem; margin-bottom: 1rem; color: var(--text-dim); } .preview-loading { display: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(7, 8, 11, 0.85); z-index: 5; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; } .spinner { width: 48px; height: 48px; border: 4px solid rgba(255, 255, 255, 0.05); border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; box-shadow: 0 0 10px rgba(0, 240, 255, 0.1); } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Step 3: Progress dashboard */ .progress-card { display: flex; flex-direction: column; gap: 2rem; } .progress-header { display: flex; justify-content: space-between; align-items: flex-start; } .status-badge { padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; } .status-badge.queued { background: rgba(255, 184, 0, 0.1); border: 1px solid var(--warning); color: var(--warning); } .status-badge.extracting { background: rgba(189, 0, 255, 0.15); border: 1px solid var(--secondary); color: #e499ff; } .status-badge.upscaling { background: rgba(0, 240, 255, 0.1); border: 1px solid var(--primary); color: var(--primary); } .status-badge.restoring_faces { background: rgba(255, 0, 255, 0.1); border: 1px solid var(--secondary); color: var(--secondary); } .status-badge.interpolating { background: rgba(0, 255, 184, 0.1); border: 1px solid var(--primary); color: var(--primary); } .status-badge.assembling { background: rgba(0, 240, 255, 0.1); border: 1px solid var(--primary); color: var(--primary); } .status-badge.completed { background: rgba(0, 255, 135, 0.1); border: 1px solid var(--success); color: var(--success); } .status-badge.failed { background: rgba(255, 0, 85, 0.1); border: 1px solid var(--danger); color: var(--danger); } .status-badge.interrupted { background: rgba(255, 255, 255, 0.08); border: 1px solid var(--text-muted); color: var(--text-muted); } .status-badge.paused { background: rgba(255, 184, 0, 0.08); border: 1px solid var(--warning); color: var(--warning); } .bar-container { width: 100%; height: 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-color); border-radius: 10px; overflow: hidden; position: relative; box-shadow: inset 0 2px 4px rgba(0,0,0,0.5); } .bar-fill { height: 100%; width: 0%; background: var(--gradient); border-radius: 10px; box-shadow: 0 0 10px var(--primary-glow); transition: width 0.4s ease; position: relative; overflow: hidden; } .bar-fill::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient( 90deg, transparent, rgba(255,255,255,0.15), transparent ); transform: translateX(-100%); animation: shimmer 1.5s infinite; } @keyframes shimmer { 100% { transform: translateX(100%); } } .progress-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; } .stat-card { background: rgba(255, 255, 255, 0.01); border: 1px solid var(--border-color); padding: 1.25rem; border-radius: 14px; } .stat-card span:first-child { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; margin-bottom: 0.25rem; letter-spacing: 1px; } .stat-card span:last-child { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; } .log-panel { background: #040508; border: 1px solid var(--border-color); border-radius: 12px; padding: 1rem; font-family: 'Space Grotesk', monospace; font-size: 0.85rem; color: #a5b4fc; height: 180px; overflow-y: auto; } .log-line { margin-bottom: 0.35rem; } .log-line.error { color: var(--danger); } .log-line.success { color: var(--success); } /* Step 4: Finished Layout */ .finished-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; padding: 4rem 2rem; } .success-icon { width: 80px; height: 80px; background: rgba(0, 255, 135, 0.1); border: 2px solid var(--success); color: var(--success); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 3rem; box-shadow: 0 0 30px rgba(0, 255, 135, 0.2); animation: successPulse 2s infinite; } @keyframes successPulse { 0% { transform: scale(1); box-shadow: 0 0 30px rgba(0, 255, 135, 0.2); } 50% { transform: scale(1.05); box-shadow: 0 0 50px rgba(0, 255, 135, 0.4); } 100% { transform: scale(1); box-shadow: 0 0 30px rgba(0, 255, 135, 0.2); } } .finished-card h2 { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; } .action-buttons { display: flex; gap: 1rem; margin-top: 1.5rem; } /* ---------------------------------------------------- 5. Dynamic Theme Colors ---------------------------------------------------- */ body.theme-oled { --bg-dark: #000000; --card-bg: rgba(10, 10, 10, 0.85); --border-color: rgba(255, 255, 255, 0.08); --border-glow: rgba(168, 85, 247, 0.15); --primary: #a855f7; --primary-glow: rgba(168, 85, 247, 0.4); --secondary: #ec4899; --secondary-glow: rgba(236, 72, 153, 0.4); --gradient: linear-gradient(135deg, var(--primary), var(--secondary)); --text-main: #f8fafc; --text-muted: #94a3b8; background-image: radial-gradient(circle at 10% 20%, rgba(168, 85, 247, 0.03) 0%, transparent 40%), radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.03) 0%, transparent 40%); } body.theme-cyberpunk { --bg-dark: #07080b; --card-bg: rgba(16, 18, 23, 0.7); --border-color: rgba(255, 255, 255, 0.06); --border-glow: rgba(0, 240, 255, 0.15); --primary: #00f0ff; --primary-glow: rgba(0, 240, 255, 0.4); --secondary: #bd00ff; --secondary-glow: rgba(189, 0, 255, 0.4); --gradient: linear-gradient(135deg, var(--primary), var(--secondary)); --text-main: #f1f5f9; --text-muted: #8a99ad; background-image: radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.03) 0%, transparent 40%), radial-gradient(circle at 90% 80%, rgba(189, 0, 255, 0.04) 0%, transparent 40%); } body.theme-slate { --bg-dark: #0f172a; --card-bg: rgba(30, 41, 59, 0.75); --border-color: rgba(255, 255, 255, 0.08); --border-glow: rgba(56, 189, 248, 0.1); --primary: #38bdf8; --primary-glow: rgba(56, 189, 248, 0.35); --secondary: #818cf8; --secondary-glow: rgba(129, 140, 248, 0.35); --gradient: linear-gradient(135deg, var(--primary), var(--secondary)); --text-main: #f1f5f9; --text-muted: #94a3b8; background-image: radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.02) 0%, transparent 45%), radial-gradient(circle at 90% 80%, rgba(129, 140, 248, 0.03) 0%, transparent 45%); } .header-actions { display: flex; align-items: center; gap: 1rem; } .theme-selector { display: flex; align-items: center; gap: 0.5rem; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-color); padding: 0.25rem 0.75rem; border-radius: 50px; } .theme-selector label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; display: flex; align-items: center; gap: 0.25rem; } .theme-selector select { background: transparent; border: none; color: var(--text-main); font-size: 0.8rem; padding: 0.15rem 0.5rem 0.15rem 0; font-weight: 600; cursor: pointer; outline: none; box-shadow: none; } /* ---------------------------------------------------- 6. Collapsible Advanced Settings & Trimming ---------------------------------------------------- */ .advanced-settings-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-top: 1px solid var(--border-color); margin-top: 1.5rem; cursor: pointer; font-family: var(--font-heading); font-weight: 700; color: var(--text-main); transition: color 0.2s; user-select: none; } .advanced-settings-header:hover { color: var(--primary); } .advanced-settings-header i { transition: transform 0.2s ease; } .advanced-settings-header.open i { transform: rotate(180deg); } .advanced-settings-content { display: none; flex-direction: column; gap: 1.25rem; padding-top: 1rem; border-top: 1px dashed var(--border-color); animation: fadeIn 0.3s ease-out; } .advanced-settings-content.open { display: flex; } .trimming-panel { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-color); padding: 1.5rem; border-radius: 16px; margin-top: 1rem; } .trimming-panel h4 { color: var(--primary); margin-bottom: 0.25rem; } .trim-inputs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; } /* Checkboxes and Pre-filters */ .filter-group { display: flex; flex-direction: column; gap: 0.5rem; background: rgba(255, 255, 255, 0.01); border: 1px solid var(--border-color); padding: 1rem; border-radius: 12px; } .filter-checkboxes { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 0.25rem; } .checkbox-container { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; cursor: pointer; user-select: none; } .checkbox-container input { cursor: pointer; } /* Custom Model Upload Area */ .model-upload-zone { border: 1px dashed rgba(255, 255, 255, 0.15); border-radius: 12px; padding: 1.25rem; text-align: center; background: rgba(255, 255, 255, 0.005); cursor: pointer; transition: all 0.2s ease; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; } .model-upload-zone:hover { border-color: var(--primary); background: rgba(0, 240, 255, 0.01); } .model-upload-zone i { font-size: 1.75rem; color: var(--text-dim); } .model-upload-zone p { font-size: 0.75rem; color: var(--text-muted); } .upload-model-btn-container { display: flex; justify-content: flex-end; margin-top: 0.5rem; } .btn-small { padding: 0.5rem 1rem !important; font-size: 0.85rem !important; border-radius: 8px !important; } /* ---------------------------------------------------- 7. Zoom & Pan Previews Sync ---------------------------------------------------- */ .upscaled-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: 2; clip-path: inset(0 0 0 50%); pointer-events: none; } .zoom-pan-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; background: rgba(255, 255, 255, 0.01); border: 1px solid var(--border-color); padding: 1rem; border-radius: 12px; margin-top: 1rem; } .zoom-control-item { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; min-width: 120px; } .zoom-control-item label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; display: flex; justify-content: space-between; } .zoom-control-item label span { color: var(--primary); font-weight: 600; } /* ---------------------------------------------------- 8. Stream Accordions & Detailed Info ---------------------------------------------------- */ .streams-accordions { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; } .accordion-item { border: 1px solid var(--border-color); background: rgba(255, 255, 255, 0.01); border-radius: 10px; overflow: hidden; } .accordion-header { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1rem; cursor: pointer; font-weight: 600; font-size: 0.85rem; background: rgba(255, 255, 255, 0.02); transition: background 0.2s, color 0.2s; user-select: none; } .accordion-header:hover { background: rgba(255, 255, 255, 0.04); color: var(--primary); } .accordion-header .toggle-icon { font-size: 0.75rem; transition: transform 0.2s ease; } .accordion-item.open .accordion-header .toggle-icon { transform: rotate(180deg); } .accordion-content { display: none; padding: 1rem; border-top: 1px dashed var(--border-color); background: rgba(0, 0, 0, 0.2); animation: slideDown 0.2s ease-out; } .accordion-item.open .accordion-content { display: block; } .secondary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; } .secondary-grid .meta-item { border-bottom: 1px solid rgba(255, 255, 255, 0.03); padding-bottom: 0.5rem; } .secondary-grid .meta-item:last-child, .secondary-grid .meta-item:nth-last-child(2) { border-bottom: none; padding-bottom: 0; } /* ---------------------------------------------------- 9. Visual Outputs Gallery ---------------------------------------------------- */ .gallery-section { position: relative; border-top: 1px solid var(--border-color); padding-top: 2rem; } .gallery-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; } .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; } .gallery-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); } .gallery-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 10px 25px var(--border-glow); } .gallery-thumbnail { width: 100%; aspect-ratio: 16/9; background: #040508; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 2.25rem; color: var(--text-dim); border: 1px solid rgba(255, 255, 255, 0.03); position: relative; overflow: hidden; } .gallery-thumbnail .play-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s; font-size: 2.5rem; color: var(--primary); cursor: pointer; } .gallery-card:hover .gallery-thumbnail .play-overlay { opacity: 1; } .gallery-info { display: flex; flex-direction: column; gap: 0.25rem; } .gallery-info h4 { font-size: 0.95rem; font-weight: 600; color: var(--text-main); word-break: break-all; } .gallery-info p { font-size: 0.75rem; color: var(--text-muted); } .gallery-actions { display: flex; gap: 0.5rem; margin-top: auto; } .gallery-actions .btn { padding: 0.5rem 0.75rem; font-size: 0.8rem; border-radius: 8px; flex: 1; justify-content: center; } .gallery-actions .btn-danger { flex: 0 0 38px; padding: 0 !important; display: flex; align-items: center; justify-content: center; border-radius: 8px !important; } .gallery-empty-state { grid-column: 1 / -1; text-align: center; padding: 4rem 1rem; color: var(--text-muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; background: rgba(255, 255, 255, 0.005); border: 1px dashed var(--border-color); border-radius: 16px; } .gallery-empty-state i { font-size: 2.5rem; color: var(--text-dim); } /* ---------------------------------------------------- 10. Synced Playback Modal ---------------------------------------------------- */ .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.92); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 2rem; animation: fadeIn 0.25s ease-out; } .modal-card { background: #08090d; border: 1px solid var(--border-color); border-radius: 24px; width: 100%; max-width: 1100px; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7); display: flex; flex-direction: column; overflow: hidden; position: relative; max-height: 90vh; } .modal-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--gradient); } .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.75rem; border-bottom: 1px solid var(--border-color); } .modal-header h3 { font-family: var(--font-heading); font-size: 1.2rem; color: var(--text-main); display: flex; align-items: center; gap: 0.5rem; } .close-btn { background: transparent; border: none; color: var(--text-muted); font-size: 2.25rem; cursor: pointer; transition: color 0.2s; line-height: 1; } .close-btn:hover { color: var(--danger); } .modal-body { padding: 1.75rem; display: flex; flex-direction: column; gap: 1.5rem; overflow-y: auto; } .video-compare-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; } @media (max-width: 768px) { .video-compare-wrapper { grid-template-columns: 1fr; } } .video-container { display: flex; flex-direction: column; gap: 0.5rem; } .video-container h4 { font-size: 0.8rem; text-transform: uppercase; color: var(--text-muted); letter-spacing: 1px; font-family: var(--font-heading); } .video-container video { width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 12px; border: 1px solid var(--border-color); object-fit: contain; } .video-sync-controls { display: flex; align-items: center; gap: 1rem; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-color); padding: 0.75rem 1.25rem; border-radius: 12px; } .btn-circular { width: 42px; height: 42px; border-radius: 50% !important; padding: 0 !important; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .time-scrubber-container { display: flex; align-items: center; gap: 0.75rem; flex: 1; font-size: 0.85rem; font-family: var(--font-heading); } .time-scrubber-container input[type="range"] { flex: 1; } @keyframes slideDown { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } } /* 9. Active Jobs & Pipeline Queue Styles */ .queue-item { display: flex; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-color); border-radius: 12px; padding: 1rem; transition: background 0.2s, border-color 0.2s; animation: slideDown 0.3s ease-out; } .queue-item:hover { background: rgba(255, 255, 255, 0.04); border-color: var(--primary-glow); } .queue-item-details { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; margin-right: 1.5rem; } .queue-item-title { font-weight: 600; font-size: 0.95rem; color: var(--text-main); display: flex; align-items: center; gap: 0.5rem; } .queue-item-meta { font-size: 0.78rem; color: var(--text-muted); display: flex; gap: 0.75rem; flex-wrap: wrap; } .queue-item-status-bar { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; } .queue-item-progress-container { width: 120px; height: 6px; background: rgba(255, 255, 255, 0.1); border-radius: 3px; overflow: hidden; display: none; } .queue-item-progress-fill { height: 100%; background: var(--primary); width: 0%; transition: width 0.3s ease; } .queue-item-actions { display: flex; gap: 0.5rem; flex-shrink: 0; } .queue-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); padding-bottom: 0.75rem; margin-bottom: 1rem; } .action-buttons-row { display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; } /* 10. Mobile Responsiveness Optimization */ @media (max-width: 768px) { header { flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; } .logo-container { flex-direction: column; gap: 0.5rem; } .header-actions { flex-direction: column; gap: 0.75rem; width: 100%; } #docs-btn, .theme-selector, .gpu-badge { width: 100%; justify-content: center; } .queue-header { flex-direction: column; align-items: stretch !important; gap: 1rem; } .queue-header button { width: 100%; justify-content: center; } #batch-config-bar { flex-direction: column; align-items: stretch !important; gap: 0.75rem; text-align: center; } #batch-config-bar button { width: 100%; justify-content: center; } .gallery-header { flex-direction: column; align-items: stretch !important; gap: 1rem; } .gallery-header div { display: flex; flex-direction: column; gap: 0.5rem; } .gallery-header button { width: 100%; justify-content: center; } .queue-item { flex-direction: column; align-items: stretch; gap: 1.25rem; } .queue-item-details { margin-right: 0; } .uploads-browser-item { flex-direction: column; align-items: stretch; gap: 1rem; } .uploads-browser-item .batch-select-checkbox { align-self: flex-start; } .queue-item-status-bar { width: 100%; justify-content: space-between; } .queue-item-progress-container { flex: 1; width: auto; } .queue-item-actions { width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 0.5rem; } .queue-item-actions button, .queue-item-actions a { flex: 1; min-width: 80px; justify-content: center; } .action-buttons { flex-direction: column; width: 100%; } .action-buttons .btn, .action-buttons a { width: 100%; justify-content: center; } .trim-inputs-row { grid-template-columns: 1fr; } .filter-checkboxes { grid-template-columns: 1fr; } .meta-grid, .secondary-grid { grid-template-columns: 1fr; } .video-sync-controls { flex-direction: column; align-items: stretch; gap: 0.75rem; } .time-scrubber-container { width: 100%; } .upload-area { padding: 2.5rem 1rem; } .action-buttons-row { flex-direction: column; align-items: stretch; gap: 1rem; margin-top: 1.5rem; } .action-buttons-row button { width: 100%; justify-content: center; } }