*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: system-ui, -apple-system, sans-serif; background: #1a1a2e; color: #e0e0e0; min-height: 100vh; } .container { max-width: 800px; margin: 0 auto; padding: 2rem 1rem; text-align: center; } h1 { margin-bottom: 2rem; font-size: 1.8rem; color: #fff; } /* Beta disclaimer */ .beta-disclaimer { font-size: 0.8rem; color: #999; margin-bottom: 1rem; } /* Upload zone */ .upload-zone { border: 2px dashed #555; border-radius: 12px; padding: 3rem 2rem; cursor: pointer; transition: border-color 0.2s, background 0.2s; } .upload-zone:hover, .upload-zone.drag-over { border-color: #7c8cf8; background: rgba(124, 140, 248, 0.08); } .upload-zone.disabled { opacity: 0.5; pointer-events: none; } .upload-icon { font-size: 2.5rem; color: #7c8cf8; margin-bottom: 0.5rem; } .upload-hint { font-size: 0.85rem; color: #888; margin-top: 0.5rem; } /* Loading */ .loading { padding: 3rem; } .spinner { width: 40px; height: 40px; margin: 0 auto 1rem; border: 3px solid #333; border-top-color: #7c8cf8; border-radius: 50%; animation: spin 0.8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Error */ .error-box { background: rgba(255, 80, 80, 0.15); border: 1px solid #ff5050; border-radius: 8px; padding: 1.5rem; } .error-box p { margin-bottom: 1rem; color: #ff8080; } /* Results */ .results h2 { font-size: 1.5rem; margin-bottom: 1rem; color: #fff; } .view-toggle { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; } .view-toggle button { padding: 0.4rem 1rem; border: 1px solid #555; border-radius: 6px; background: transparent; color: #ccc; cursor: pointer; font-size: 0.9rem; transition: background 0.2s, border-color 0.2s; } .view-toggle button.active { background: #7c8cf8; border-color: #7c8cf8; color: #fff; } .result-image { max-width: 100%; border-radius: 8px; margin-bottom: 1rem; } .detection-list { text-align: left; margin-bottom: 1rem; } .toggle-list { background: transparent; border: none; color: #7c8cf8; cursor: pointer; font-size: 0.9rem; padding: 0.3rem 0; } .detection-list ul { list-style: none; max-height: 200px; overflow-y: auto; margin-top: 0.5rem; padding: 0.5rem; background: rgba(255, 255, 255, 0.05); border-radius: 6px; font-size: 0.85rem; font-family: monospace; } .detection-list li { padding: 0.2rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); } /* Buttons */ button { cursor: pointer; } .reset-btn { padding: 0.6rem 1.5rem; border: 1px solid #555; border-radius: 6px; background: transparent; color: #ccc; font-size: 0.95rem; transition: background 0.2s; } .reset-btn:hover { background: rgba(255, 255, 255, 0.08); } /* Mode toggle */ .mode-toggle { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 1.5rem; } .mode-toggle button { padding: 0.5rem 1.2rem; border: 1px solid #555; border-radius: 6px; background: transparent; color: #ccc; cursor: pointer; font-size: 0.95rem; transition: background 0.2s, border-color 0.2s; } .mode-toggle button.active { background: #7c8cf8; border-color: #7c8cf8; color: #fff; } /* Occupancy stats */ .occupancy-stats { display: flex; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; } .stat-card { display: flex; flex-direction: column; align-items: center; background: rgba(255, 255, 255, 0.06); border-radius: 8px; padding: 1rem 1.5rem; min-width: 100px; } .stat-value { font-size: 1.8rem; font-weight: 700; color: #fff; } .stat-label { font-size: 0.8rem; color: #999; margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.05em; }