/* ── Reset & Variables ─────────────────────────────────────────────────────── */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } :root { --bg: #0d1117; --bg2: #161b22; --bg3: #1c2128; --border: #30363d; --text: #e6edf3; --muted: #8b949e; --accent: #58a6ff; --green: #3fb950; --yellow: #d29922; --red: #f85149; --navy: #1a3a5c; --radius: 8px; --shadow: 0 4px 16px rgba(0,0,0,.4); } body { background: var(--bg); color: var(--text); font-family: 'Segoe UI', system-ui, sans-serif; font-size: 14px; min-height: 100vh; display: flex; flex-direction: column; } /* ── Topbar ────────────────────────────────────────────────────────────────── */ .topbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; background: var(--bg2); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; } .topbar-logo { font-size: 18px; font-weight: 700; color: var(--accent); letter-spacing: -.3px; } .topbar-version { font-size: 11px; color: var(--muted); } /* ── Layout ────────────────────────────────────────────────────────────────── */ .layout { display: grid; grid-template-columns: 300px 1fr; gap: 0; flex: 1; height: calc(100vh - 49px); overflow: hidden; } /* ── Left panel ────────────────────────────────────────────────────────────── */ .panel-form { background: var(--bg2); border-right: 1px solid var(--border); padding: 20px 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; } .panel-title { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 4px; } /* ── Form ──────────────────────────────────────────────────────────────────── */ form { display: flex; flex-direction: column; gap: 10px; } .field { display: flex; flex-direction: column; gap: 4px; } label { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; } .req { color: var(--red); } input[type="text"], input[type="url"] { background: var(--bg3); border: 1px solid var(--border); border-radius: 6px; color: var(--text); font-size: 13px; padding: 7px 10px; outline: none; transition: border-color .15s; width: 100%; } input:focus { border-color: var(--accent); } input::placeholder { color: var(--muted); opacity: .6; } .btn { padding: 9px 14px; border: none; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; transition: opacity .15s, transform .1s; } .btn:active { transform: scale(.98); } .btn:disabled { opacity: .45; cursor: not-allowed; } .btn-primary { background: var(--accent); color: #fff; margin-top: 4px; } .btn-primary:hover:not(:disabled) { opacity: .85; } .btn-gen { background: var(--green); color: #fff; font-size: 12px; padding: 7px 12px; } .btn-open { background: var(--bg3); border: 1px solid var(--border); color: var(--text); font-size: 12px; padding: 7px 12px; } .divider { border: none; border-top: 1px solid var(--border); margin: 4px 0; } .hint { font-size: 11px; color: var(--muted); line-height: 1.6; } .mono { font-family: 'Cascadia Code', 'Consolas', monospace; font-size: 11px; color: var(--accent); } /* ── Right panel ────────────────────────────────────────────────────────────── */ .panel-cards { padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; } .cards-container { display: flex; flex-direction: column; gap: 14px; } /* ── Empty state ────────────────────────────────────────────────────────────── */ .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 60px 20px; color: var(--muted); text-align: center; } .empty-icon { font-size: 48px; opacity: .4; } /* ── VIN Card ───────────────────────────────────────────────────────────────── */ .vin-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; animation: fadeIn .25s ease; } @keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; } } .card-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--bg3); border-bottom: 1px solid var(--border); } .card-vin { font-family: 'Cascadia Code', 'Consolas', monospace; font-size: 13px; font-weight: 700; color: var(--accent); } .card-vehicle { font-size: 12px; color: var(--muted); margin-top: 2px; } .card-dismiss { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 16px; line-height: 1; padding: 2px 6px; border-radius: 4px; } .card-dismiss:hover { background: var(--border); color: var(--text); } .card-body { padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; } /* ── Progress log ───────────────────────────────────────────────────────────── */ .progress-log { display: flex; flex-direction: column; gap: 4px; } .log-item { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 3px 0; color: var(--muted); transition: color .2s; } .log-item.success { color: var(--green); } .log-item.error { color: var(--red); } .log-item.warning { color: var(--yellow); } .log-item.progress { color: var(--text); } .spinner { width: 12px; height: 12px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .6s linear infinite; flex-shrink: 0; } @keyframes spin { to { transform: rotate(360deg); } } /* ── Risk badge (in card) ────────────────────────────────────────────────────── */ .risk-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-top: 4px; align-self: flex-start; } .risk-badge.green { background: rgba(63,185,80,.15); color: var(--green); border: 1px solid rgba(63,185,80,.3); } .risk-badge.yellow { background: rgba(210,153,34,.15); color: var(--yellow); border: 1px solid rgba(210,153,34,.3); } .risk-badge.red { background: rgba(248,81,73,.15); color: var(--red); border: 1px solid rgba(248,81,73,.3); } /* ── Card actions ────────────────────────────────────────────────────────────── */ .card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; } .pdf-link { font-size: 12px; color: var(--accent); text-decoration: none; display: flex; align-items: center; gap: 4px; margin-top: 4px; } .pdf-link:hover { text-decoration: underline; } /* ── Scrollbar ───────────────────────────────────────────────────────────────── */ ::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-track { background: var(--bg); } ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: var(--muted); }