:root { --primary: #034ea2; /* Professional Butagaz-style blue */ --primary-dark: #023a78; --accent: #ff4e03; /* Industrial orange accent */ --bg-main: #ffffff; /* Pure white background */ --bg-soft: #f1f5f9; --text-main: #0f172a; /* Dark slate for text */ --text-muted: #64748b; --border: #e2e8f0; --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; } body { background-color: var(--bg-soft); color: var(--text-main); display: flex; justify-content: center; padding: 3rem 0; min-height: 100vh; } body.auth-page { align-items: center; padding: 0; } .container { width: 95%; max-width: 1200px; } header { margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 2px solid var(--border); } .logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.25rem; } .logo-icon { font-size: 2rem; } .logo h1 { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.025em; color: var(--primary); } .logo span { color: var(--text-main); } .tagline { font-size: 0.95rem; color: var(--text-muted); font-weight: 400; } /* Cards */ .card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 2rem; box-shadow: var(--shadow); } .upload-section { max-width: 550px; margin: 4rem auto; text-align: center; } .section-badge { background: var(--bg-soft); color: var(--primary); display: inline-block; padding: 0.25rem 0.75rem; border-radius: 6px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.05em; margin-bottom: 1.5rem; } .upload-section h2 { margin-bottom: 0.75rem; font-size: 1.5rem; } .upload-section p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1rem; } /* Drop Zone */ .drop-zone { border: 2px dashed var(--border); border-radius: 8px; padding: 4rem 2rem; cursor: pointer; background: #fafafa; transition: all 0.2s ease; margin-bottom: 2rem; } .drop-zone:hover, .drop-zone--over { border-color: var(--primary); background: #f0f7ff; } .drop-zone__prompt { color: var(--primary); font-weight: 500; } .drop-zone__input { display: none; } /* Buttons */ .btn { display: block; width: 100%; padding: 1rem; border-radius: 8px; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s ease; text-align: center; text-decoration: none; } .btn-primary { background: var(--primary); color: white; } .btn-primary:hover { background: var(--primary-dark); } .btn-outline { background: white; color: var(--text-main); border: 1px solid var(--border); } .btn-outline:hover { background: var(--bg-soft); } /* Analysis Layout */ .analysis-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; } .feed-card { padding: 1rem; } .card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; } .live-indicator { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 700; color: var(--accent); } .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse 1.5s infinite; } @keyframes pulse { 0% { transform: scale(0.95); opacity: 0.7; } 50% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(0.95); opacity: 0.7; } } .video-container { width: 100%; background: #000; border-radius: 8px; overflow: hidden; line-height: 0; } #videoStream { width: 100%; height: auto; } .feed-footer { padding: 1rem 0 0.5rem; } /* Auth Components */ .auth-container { width: 100%; max-width: 450px; padding: 2rem; } .auth-card { text-align: center; padding: 3rem 2.5rem; } .auth-header { margin-bottom: 2rem; } .auth-header h2 { font-size: 1.5rem; margin-bottom: 0.5rem; } .form-group { text-align: left; margin-bottom: 1.5rem; } .form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-muted); } .form-group input { width: 100%; padding: 0.85rem; border: 1px solid var(--border); border-radius: 8px; font-size: 1rem; outline: none; transition: border-color 0.2s; } .form-group input:focus { border-color: var(--primary); } .alert { padding: 0.75rem 1rem; border-radius: 8px; font-size: 0.85rem; font-weight: 500; margin-bottom: 1.5rem; } .alert-error { background: #fef2f2; color: #ef4444; border: 1px solid #fee2e2; } .auth-footer { margin-top: 2rem; font-size: 0.85rem; } .auth-footer a { display: block; margin-top: 0.5rem; text-decoration: underline; } .auth-setup { background: #f8fafc; padding: 1.5rem; border-radius: 12px; border: 1px solid var(--border); margin-bottom: 2rem; } .qr-code { width: 180px; height: 180px; margin-bottom: 1rem; border: 4px solid white; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); } .small { font-size: 0.75rem; } /* Results Card */ .results-card { display: flex; flex-direction: column; } .total-display { background: var(--primary); color: white; width: 50px; height: 50px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; } .brand-table { flex-grow: 1; margin: 1.5rem 0; } .brand-row { display: flex; justify-content: space-between; padding: 0.85rem 0; border-bottom: 1px solid var(--border); } .brand-row .name { font-weight: 500; font-size: 0.9rem; } .brand-row .count { font-weight: 700; color: var(--primary); } .loading-state { text-align: center; padding: 3rem 0; } .spinner { width: 30px; height: 30px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; display: inline-block; margin-bottom: 1rem; } @keyframes spin { to { transform: rotate(360deg); } } .slide-up { animation: slideUp 0.4s ease-out; } @keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } @media (max-width: 900px) { .analysis-layout { grid-template-columns: 1fr; } }