:root { --background: #f8fafc; --surface: rgba(255, 255, 255, 0.7); --primary: #6366f1; --primary-light: #818cf8; --secondary: #ec4899; --accent: #06b6d4; --text-main: #1e293b; --text-muted: #64748b; --success: #10b981; --error: #ef4444; --warning: #f59e0b; --sidebar-width: 280px; --glass-border: rgba(255, 255, 255, 0.4); --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05); } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Inter', sans-serif; background-color: var(--background); color: var(--text-main); line-height: 1.6; overflow-x: hidden; min-height: 100vh; } /* Background Blobs */ .bg-blobs { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; } .blob { position: absolute; filter: blur(80px); border-radius: 50%; opacity: 0.4; animation: blob-move 20s infinite alternate cubic-bezier(0.45, 0, 0.55, 1); } .blob-1 { width: 500px; height: 500px; background: var(--primary-light); top: -100px; right: -100px; } .blob-2 { width: 600px; height: 600px; background: var(--secondary); bottom: -150px; left: -150px; animation-delay: -5s; } .blob-3 { width: 400px; height: 400px; background: var(--accent); top: 40%; left: 20%; animation-delay: -10s; } @keyframes blob-move { 0% { transform: translate(0, 0) scale(1); } 33% { transform: translate(100px, 50px) scale(1.1); } 66% { transform: translate(-50px, 150px) scale(0.9); } 100% { transform: translate(0, 0) scale(1); } } .dashboard-layout { display: flex; min-height: 100vh; } /* Sidebar Styling */ .sidebar { width: var(--sidebar-width); background: var(--surface); backdrop-filter: blur(20px); border-right: 1px solid var(--glass-border); padding: 2.5rem 1.5rem; display: flex; flex-direction: column; z-index: 10; } .sidebar h1 { font-size: 1.5rem; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 3rem; display: flex; align-items: center; gap: 0.75rem; } .sidebar nav { display: flex; flex-direction: column; gap: 0.75rem; } .sidebar nav a { display: flex; align-items: center; gap: 1rem; padding: 0.875rem 1.25rem; color: var(--text-muted); text-decoration: none; border-radius: 12px; font-weight: 500; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .sidebar nav a i { font-size: 1.25rem; } .sidebar nav a:hover, .sidebar nav a.active { background: white; color: var(--primary); box-shadow: var(--shadow); transform: translateX(5px); } .sidebar nav a.active { background: var(--primary); color: white; } /* Main Content Styling */ .main-content { flex-grow: 1; padding: 2.5rem; z-index: 5; } .container { max-width: 1100px; margin: 0 auto; } header { margin-bottom: 2.5rem; } header h2 { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 0.5rem; } header p { color: var(--text-muted); font-size: 1.125rem; } /* Cards & Grid */ .card { background: var(--surface); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 24px; padding: 2rem; box-shadow: var(--shadow); margin-bottom: 2rem; } .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; } .stat-card { background: var(--surface); backdrop-filter: blur(20px); padding: 1.75rem; border-radius: 24px; border: 1px solid var(--glass-border); box-shadow: var(--shadow); transition: transform 0.3s ease; } .stat-card:hover { transform: translateY(-5px); } .stat-card h3 { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 0.75rem; } .stat-card .value { font-size: 2.5rem; font-weight: 800; color: var(--primary); } /* Form Styling */ .form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; } .input-group { display: flex; flex-direction: column; gap: 0.5rem; } .input-group label { font-size: 0.875rem; font-weight: 600; color: var(--text-muted); margin-left: 0.5rem; } .input-group input { background: white; border: 1px solid var(--glass-border); padding: 0.875rem 1.25rem; border-radius: 16px; font-size: 1rem; font-family: inherit; transition: all 0.3s ease; } .input-group input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1); } /* Buttons */ .btn { padding: 1rem 1.75rem; font-size: 1rem; font-weight: 600; border-radius: 16px; border: none; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; } .btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: white; box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3); } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4); } .btn-secondary { background: white; color: var(--text-main); border: 1px solid var(--glass-border); } .btn-secondary:hover { background: #f1f5f9; } .btn-danger { background: #fee2e2; color: var(--error); } .btn-danger:hover { background: var(--error); color: white; } /* Table Styling */ .table-container { overflow-x: auto; } table { width: 100%; border-collapse: separate; border-spacing: 0 0.75rem; } th { text-align: left; padding: 1rem 1.5rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); } td { padding: 1.25rem 1.5rem; background: white; vertical-align: middle; } tr td:first-child { border-radius: 16px 0 0 16px; } tr td:last-child { border-radius: 0 16px 16px 0; } .status-badge { padding: 0.375rem 1rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; } .status-pending { background: #fef3c7; color: #92400e; } .status-converting { background: #dbeafe; color: #1e40af; } .status-completed { background: #d1fae5; color: #065f46; } .status-failed { background: #fee2e2; color: #991b1b; } /* Progress Bar */ .progress-bar-container { width: 120px; height: 8px; background: #f1f5f9; border-radius: 9999px; overflow: hidden; } .progress-bar { height: 100%; background: var(--primary); border-radius: 9999px; transition: width 0.5s ease; } /* Video Preview */ video#preview { width: 100%; border-radius: 20px; aspect-ratio: 16/9; background: #000; box-shadow: var(--shadow); } /* Toast */ #toast-container { position: fixed; bottom: 2rem; right: 2rem; display: flex; flex-direction: column; gap: 0.75rem; z-index: 1000; } .toast { background: white; padding: 1rem 1.5rem; border-radius: 16px; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); display: flex; align-items: center; gap: 0.75rem; font-weight: 600; transform: translateX(120%); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); border-left: 6px solid var(--primary); } .toast.show { transform: translateX(0); } .toast-success { border-color: var(--success); } .toast-error { border-color: var(--error); } @media (max-width: 768px) { .dashboard-layout { flex-direction: column; } .sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--glass-border); padding: 1.5rem; } .sidebar h1 { margin-bottom: 1.5rem; } .sidebar nav { flex-direction: row; overflow-x: auto; padding-bottom: 0.5rem; } .main-content { padding: 1.5rem; } }