:root { --primary: #2A2F4F; --secondary: #917FB3; --background: #FDE2F3; --text: #2A2F4F; --success: #4CAF50; --danger: #dc3545; } * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: var(--background); color: var(--text); min-height: 100vh; line-height: 1.6; padding: 0; margin: 0; } .container { max-width: 1200px; margin: 0 auto; padding: 2rem; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; } .card { background: white; border-radius: 1rem; padding: 2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.1); margin: 1rem auto; width: 100%; max-width: 800px; } h1, h2, h3 { color: var(--primary); margin-bottom: 1rem; } .option-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin: 2rem 0; } .option-card { padding: 2rem; border: 2px solid var(--primary); border-radius: 1rem; cursor: pointer; transition: transform 0.2s; } .option-card:hover { transform: translateY(-5px); } .btn { background: var(--primary); color: white; border: none; padding: 1rem 2rem; border-radius: 0.5rem; cursor: pointer; font-size: 1rem; transition: transform 0.2s; display: inline-flex; align-items: center; gap: 0.5rem; } .btn:hover { transform: translateY(-2px); } .secondary { background: var(--secondary); } .upload-area { border: 2px dashed var(--primary); border-radius: 1rem; padding: 3rem 2rem; margin: 2rem 0; cursor: pointer; } .preview-container { width: 100%; max-width: 600px; margin: 1rem auto; } #videoPreview { width: 100%; max-width: 100%; border-radius: 0.5rem; display: block; margin: 1rem 0; } .progress-container { width: 100%; margin: 2rem 0; } .progress-bar { height: 20px; background: var(--primary); border-radius: 10px; transition: width 0.3s ease; width: 0%; } .hidden { display: none !important; } .result-badge { font-size: 4rem; color: var(--primary); margin: 2rem 0; } .form-group { margin: 1rem 0; } .form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; } .form-group input { width: 100%; padding: 0.8rem; border: 1px solid #ddd; border-radius: 0.5rem; font-size: 1rem; } .sp-file-item { padding: 1rem; margin: 0.5rem 0; border: 1px solid #ddd; border-radius: 0.5rem; display: flex; justify-content: space-between; align-items: center; background: #fff; } .sp-file-item:hover { background: #f8f9fa; } #analyzeBtn { margin-top: 1rem; } #frameCounter { text-align: center; margin-top: 0.5rem; font-size: 0.9em; color: #666; } #cancelBtn { margin-top: 1rem; background: #dc3545; } #cancelBtn:hover { background: #c82333; transform: translateY(-2px); } .btn.danger { background: #dc3545; color: white; } .btn.danger:hover { background: #c82333; transform: translateY(-2px); } .button-group { display: flex; gap: 1rem; justify-content: center; margin-top: 1.5rem; } /* Add to your existing CSS */ #progressBar { height: 20px; background: var(--primary); border-radius: 10px; transition: width 0.3s ease; width: 0%; } #frameCounter { display: block; text-align: center; margin-top: 0.5rem; color: var(--text); font-size: 0.9em; } #newAnalysisBtn { margin-top: 1rem; } /* Add to style.css */ .timestamp-group { display: grid; gap: 1rem; margin: 1.5rem 0; } .timestamp-group .form-group { margin: 0; } input[type="text"] { width: 100%; padding: 0.8rem; border: 1px solid #ddd; border-radius: 4px; font-size: 1rem; } input:invalid { border-color: #ff4444; box-shadow: 0 0 3px #ff4444; }