Spaces:
Configuration error
Configuration error
| /* Banking Fraud Detection System -- ops console design system. | |
| Two-zone layout: dark navy control rail + light data panels for maximum | |
| legibility of dense tabular data. See app/templates/base.html for the | |
| font imports (Space Grotesk / Inter / IBM Plex Mono). */ | |
| :root { | |
| --ink-900: #0b1220; | |
| --ink-800: #121a2e; | |
| --ink-700: #1a2540; | |
| --ink-line: #2a3555; | |
| --paper-0: #f7f8fa; | |
| --paper-100: #eef0f4; | |
| --paper-200: #e3e6ec; | |
| --line: #d8dce3; | |
| --text-900: #10151f; | |
| --text-600: #4b5566; | |
| --text-400: #838da0; | |
| --accent: #2454a6; | |
| --accent-strong: #163b7a; | |
| --accent-tint: #e6edf8; | |
| --low: #1e8e5a; | |
| --low-bg: #e4f5ec; | |
| --low-text: #146341; | |
| --medium: #b8790a; | |
| --medium-bg: #fbf0dc; | |
| --medium-text: #7a4f06; | |
| --high: #c4342e; | |
| --high-bg: #fbe7e5; | |
| --high-text: #8a221d; | |
| --radius: 3px; | |
| --font-display: "Space Grotesk", "Inter", system-ui, sans-serif; | |
| --font-body: "Inter", system-ui, -apple-system, sans-serif; | |
| --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace; | |
| } | |
| @media (prefers-color-scheme: dark) { | |
| :root { | |
| --paper-0: #0d1220; | |
| --paper-100: #131a2c; | |
| --paper-200: #1a2338; | |
| --line: #26324f; | |
| --text-900: #eef1f7; | |
| --text-600: #a9b3c7; | |
| --text-400: #6c7690; | |
| --accent-tint: #16233f; | |
| --low-bg: #10281d; | |
| --low-text: #5fd6a0; | |
| --medium-bg: #2c2107; | |
| --medium-text: #e0a63c; | |
| --high-bg: #2e1210; | |
| --high-text: #ef7a72; | |
| } | |
| } | |
| * { box-sizing: border-box; } | |
| html, body { | |
| margin: 0; | |
| padding: 0; | |
| background: var(--paper-0); | |
| color: var(--text-900); | |
| font-family: var(--font-body); | |
| font-size: 14px; | |
| line-height: 1.5; | |
| -webkit-font-smoothing: antialiased; | |
| } | |
| .tnum { font-variant-numeric: tabular-nums; } | |
| .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; } | |
| a { color: var(--accent); text-decoration: none; } | |
| a:hover { text-decoration: underline; } | |
| :focus-visible { | |
| outline: 2px solid var(--accent); | |
| outline-offset: 2px; | |
| border-radius: 2px; | |
| } | |
| /* ---------- App shell ---------- */ | |
| .shell { | |
| min-height: 100vh; | |
| } | |
| .rail { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 240px; | |
| height: 100vh; | |
| overflow-y: auto; | |
| z-index: 20; | |
| background: var(--ink-900); | |
| color: #cdd6ee; | |
| padding: 20px 16px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 28px; | |
| border-right: 1px solid var(--ink-line); | |
| } | |
| .rail-brand { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .rail-mark { | |
| width: 28px; | |
| height: 28px; | |
| border-radius: 6px; | |
| background: linear-gradient(155deg, var(--accent) 0%, #4a7fd6 100%); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-family: var(--font-display); | |
| font-weight: 700; | |
| font-size: 14px; | |
| color: #fff; | |
| flex-shrink: 0; | |
| } | |
| .rail-name { | |
| font-family: var(--font-display); | |
| font-weight: 600; | |
| font-size: 14.5px; | |
| color: #f2f5fc; | |
| line-height: 1.2; | |
| } | |
| .rail-sub { | |
| font-size: 11px; | |
| color: #7c8bb3; | |
| letter-spacing: 0.02em; | |
| } | |
| .rail-nav { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 2px; | |
| } | |
| .rail-link { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| padding: 9px 10px; | |
| border-radius: var(--radius); | |
| color: #aab7d9; | |
| font-size: 13px; | |
| font-weight: 500; | |
| transition: background 120ms ease, color 120ms ease; | |
| } | |
| .rail-link:hover { background: var(--ink-700); color: #fff; text-decoration: none; } | |
| .rail-link.active { background: var(--ink-700); color: #fff; box-shadow: inset 2px 0 0 var(--accent); } | |
| .rail-link .dot { | |
| width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; | |
| } | |
| .rail-icon { width: 15px; text-align: center; opacity: .85; font-size: 12.5px; } | |
| .btn i, .rail-toggle i { font-size: 14px; } | |
| .rail-footer { | |
| margin-top: auto; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 8px; | |
| padding-top: 16px; | |
| border-top: 1px solid var(--ink-line); | |
| } | |
| .status-pill { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 6px; | |
| font-size: 11.5px; | |
| color: #9fb0d6; | |
| font-family: var(--font-mono); | |
| } | |
| .status-dot { | |
| width: 7px; height: 7px; border-radius: 50%; | |
| background: var(--low); | |
| box-shadow: 0 0 0 3px rgba(30,142,90,0.18); | |
| } | |
| .rail-footer .model-version { color: #7c8bb3; font-size: 11px; } | |
| .rail-toggle { | |
| display: none; | |
| position: fixed; | |
| top: 14px; | |
| left: 14px; | |
| z-index: 30; | |
| width: 42px; | |
| height: 42px; | |
| border-radius: var(--radius); | |
| border: 1px solid var(--ink-line); | |
| background: var(--ink-900); | |
| color: #cdd6ee; | |
| align-items: center; | |
| justify-content: center; | |
| cursor: pointer; | |
| } | |
| .rail-backdrop { | |
| display: none; | |
| position: fixed; | |
| inset: 0; | |
| background: rgba(11, 18, 32, 0.5); | |
| z-index: 15; | |
| } | |
| .rail-backdrop.show { display: block; } | |
| .main { | |
| margin-left: 240px; | |
| padding: 28px 36px 60px; | |
| max-width: 1280px; | |
| } | |
| .page-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: flex-end; | |
| gap: 24px; | |
| margin-bottom: 22px; | |
| flex-wrap: wrap; | |
| } | |
| .page-title { | |
| font-family: var(--font-display); | |
| font-size: 24px; | |
| font-weight: 600; | |
| letter-spacing: -0.01em; | |
| margin: 0 0 4px; | |
| } | |
| .page-desc { color: var(--text-600); font-size: 13.5px; max-width: 60ch; } | |
| .btn { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 6px; | |
| padding: 9px 16px; | |
| border-radius: var(--radius); | |
| border: 1px solid transparent; | |
| font-family: var(--font-body); | |
| font-weight: 600; | |
| font-size: 13px; | |
| cursor: pointer; | |
| transition: transform 80ms ease, background 120ms ease, border-color 120ms ease; | |
| } | |
| .btn:active { transform: translateY(1px); } | |
| .btn-primary { background: var(--accent); color: #fff; } | |
| .btn-primary:hover { background: var(--accent-strong); text-decoration: none; } | |
| .btn-secondary { background: transparent; border-color: var(--line); color: var(--text-900); } | |
| .btn-secondary:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; } | |
| .btn:disabled { opacity: .5; cursor: not-allowed; } | |
| .btn i { font-size: 13px; } | |
| .big-btn i { margin-right: 8px; } | |
| /* ---------- Signature element: the pulse strip ---------- */ | |
| .pulse-strip { | |
| display: flex; | |
| align-items: flex-end; | |
| gap: 2px; | |
| height: 40px; | |
| padding: 6px 8px; | |
| background: var(--paper-100); | |
| border: 1px solid var(--line); | |
| border-radius: var(--radius); | |
| overflow: hidden; | |
| } | |
| .pulse-bar { | |
| flex: 1 0 auto; | |
| width: 4px; | |
| min-width: 3px; | |
| border-radius: 1px; | |
| background: var(--text-400); | |
| opacity: 0.85; | |
| } | |
| .pulse-bar.low { background: var(--low); } | |
| .pulse-bar.medium { background: var(--medium); } | |
| .pulse-bar.high { background: var(--high); } | |
| .pulse-strip.empty { align-items: center; justify-content: center; color: var(--text-400); font-size: 11px; font-family: var(--font-mono); } | |
| /* ---------- Cards / stat tiles ---------- */ | |
| .grid { display: grid; gap: 16px; } | |
| .grid-4 { grid-template-columns: repeat(4, 1fr); } | |
| .grid-2 { grid-template-columns: 1fr 1fr; } | |
| @media (max-width: 900px) { | |
| .grid-4 { grid-template-columns: repeat(2, 1fr); } | |
| .grid-2 { grid-template-columns: 1fr; } | |
| .rail-toggle { display: flex; } | |
| .rail { | |
| transform: translateX(-100%); | |
| transition: transform 200ms ease; | |
| } | |
| .rail.open { transform: translateX(0); box-shadow: 8px 0 30px rgba(0,0,0,0.35); } | |
| .rail-link { padding: 12px 10px; font-size: 14px; } | |
| .main { margin-left: 0; padding: 76px 20px 48px; } | |
| } | |
| @media (max-width: 520px) { | |
| .grid-4 { grid-template-columns: 1fr; } | |
| .grid-2 { grid-template-columns: 1fr; } | |
| .main { padding: 72px 14px 40px; } | |
| .page-header { align-items: flex-start; } | |
| .stat-value { font-size: 24px; } | |
| } | |
| .card { | |
| background: var(--paper-100); | |
| border: 1px solid var(--line); | |
| border-radius: var(--radius); | |
| padding: 18px 20px; | |
| } | |
| .card-title { | |
| font-size: 11.5px; | |
| text-transform: uppercase; | |
| letter-spacing: 0.06em; | |
| color: var(--text-600); | |
| font-weight: 600; | |
| margin: 0 0 10px; | |
| } | |
| .stat-value { | |
| font-family: var(--font-display); | |
| font-size: 30px; | |
| font-weight: 600; | |
| letter-spacing: -0.01em; | |
| } | |
| .stat-sub { font-size: 12px; color: var(--text-600); margin-top: 4px; } | |
| section.block { margin-bottom: 30px; } | |
| .block-heading { | |
| font-family: var(--font-display); | |
| font-size: 16px; | |
| font-weight: 600; | |
| margin: 0 0 14px; | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| /* ---------- Badges ---------- */ | |
| .badge { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 5px; | |
| padding: 3px 9px; | |
| border-radius: 999px; | |
| font-size: 11.5px; | |
| font-weight: 700; | |
| text-transform: uppercase; | |
| letter-spacing: 0.03em; | |
| font-family: var(--font-mono); | |
| } | |
| .badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; } | |
| .badge.low { background: var(--low-bg); color: var(--low-text); } | |
| .badge.medium { background: var(--medium-bg); color: var(--medium-text); } | |
| .badge.high { background: var(--high-bg); color: var(--high-text); } | |
| .badge.disposition-open { background: var(--accent-tint); color: var(--accent-strong); } | |
| .badge.disposition-reviewed { background: var(--low-bg); color: var(--low-text); } | |
| .badge.disposition-dismissed { background: var(--paper-200); color: var(--text-400); } | |
| .badge.disposition-rejected { background: var(--high-bg); color: var(--high-text); } | |
| /* ---------- Tables ---------- */ | |
| .table-wrap { | |
| background: var(--paper-100); | |
| border: 1px solid var(--line); | |
| border-radius: var(--radius); | |
| overflow-x: auto; | |
| } | |
| table { width: 100%; border-collapse: collapse; font-size: 13px; } | |
| thead th { | |
| text-align: left; | |
| font-size: 11px; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| color: var(--text-600); | |
| font-weight: 600; | |
| padding: 11px 14px; | |
| border-bottom: 1px solid var(--line); | |
| white-space: nowrap; | |
| } | |
| tbody td { | |
| padding: 11px 14px; | |
| border-bottom: 1px solid var(--line); | |
| vertical-align: middle; | |
| white-space: nowrap; | |
| } | |
| tbody tr:last-child td { border-bottom: none; } | |
| tbody tr { transition: background 100ms ease; } | |
| tbody tr:hover { background: var(--paper-200); } | |
| .empty-row td { | |
| text-align: center; | |
| color: var(--text-400); | |
| padding: 32px 14px; | |
| font-style: normal; | |
| } | |
| /* ---------- Filters ---------- */ | |
| .filter-row { | |
| display: flex; | |
| gap: 8px; | |
| flex-wrap: wrap; | |
| margin-bottom: 14px; | |
| align-items: center; | |
| } | |
| .chip { | |
| padding: 6px 12px; | |
| border-radius: 999px; | |
| border: 1px solid var(--line); | |
| background: var(--paper-100); | |
| font-size: 12.5px; | |
| font-weight: 600; | |
| color: var(--text-600); | |
| cursor: pointer; | |
| } | |
| .chip.active { background: var(--accent); border-color: var(--accent); color: #fff; } | |
| /* ---------- Forms ---------- */ | |
| .form-grid { display: grid; gap: 14px; } | |
| label { | |
| display: block; | |
| font-size: 12px; | |
| font-weight: 600; | |
| color: var(--text-600); | |
| margin-bottom: 6px; | |
| } | |
| input, select { | |
| width: 100%; | |
| padding: 9px 11px; | |
| border: 1px solid var(--line); | |
| border-radius: var(--radius); | |
| background: var(--paper-0); | |
| color: var(--text-900); | |
| font-family: var(--font-body); | |
| font-size: 13.5px; | |
| } | |
| input.mono-input { font-family: var(--font-mono); } | |
| input:focus, select:focus { border-color: var(--accent); } | |
| .field-hint { font-size: 11.5px; color: var(--text-400); margin-top: 4px; } | |
| /* ---------- Test console specific ---------- */ | |
| .console-grid { | |
| display: grid; | |
| grid-template-columns: 380px 1fr; | |
| gap: 20px; | |
| align-items: start; | |
| } | |
| @media (max-width: 1050px) { | |
| .console-grid { grid-template-columns: 1fr; } | |
| } | |
| .result-panel { | |
| background: var(--paper-100); | |
| border: 1px solid var(--line); | |
| border-radius: var(--radius); | |
| padding: 22px; | |
| min-height: 160px; | |
| } | |
| .result-empty { | |
| color: var(--text-400); | |
| font-size: 13px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| min-height: 140px; | |
| text-align: center; | |
| padding: 20px; | |
| } | |
| .result-headline { | |
| display: flex; | |
| align-items: baseline; | |
| gap: 14px; | |
| margin-bottom: 4px; | |
| } | |
| .result-prob { | |
| font-family: var(--font-mono); | |
| font-size: 38px; | |
| font-weight: 500; | |
| letter-spacing: -0.02em; | |
| } | |
| .shap-list { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; } | |
| .shap-row { display: grid; grid-template-columns: 170px 1fr 60px; gap: 10px; align-items: center; font-size: 12px; } | |
| .shap-name { font-family: var(--font-mono); color: var(--text-600); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } | |
| .shap-bar-track { height: 8px; background: var(--paper-200); border-radius: 2px; position: relative; overflow: hidden; } | |
| .shap-bar-fill { position: absolute; top: 0; bottom: 0; } | |
| .shap-bar-fill.pos { background: var(--high); left: 50%; } | |
| .shap-bar-fill.neg { background: var(--low); right: 50%; } | |
| .shap-val { font-family: var(--font-mono); text-align: right; color: var(--text-600); } | |
| @media (max-width: 560px) { | |
| .shap-row { grid-template-columns: 1fr 44px; grid-template-areas: "name val" "bar bar"; row-gap: 4px; } | |
| .shap-name { grid-area: name; } | |
| .shap-val { grid-area: val; } | |
| .shap-bar-track { grid-area: bar; } | |
| } | |
| .divider { height: 1px; background: var(--line); margin: 18px 0; border: none; } | |
| .callout { | |
| border: 1px solid var(--line); | |
| border-left: 3px solid var(--accent); | |
| background: var(--accent-tint); | |
| border-radius: var(--radius); | |
| padding: 12px 16px; | |
| font-size: 12.5px; | |
| color: var(--text-600); | |
| } | |
| .error-banner { | |
| border: 1px solid var(--high); | |
| background: var(--high-bg); | |
| color: var(--high-text); | |
| border-radius: var(--radius); | |
| padding: 10px 14px; | |
| font-size: 12.5px; | |
| margin-bottom: 14px; | |
| } | |
| /* ---------- Guide page: pipeline diagram ---------- */ | |
| .pipeline { | |
| display: flex; | |
| align-items: stretch; | |
| gap: 0; | |
| overflow-x: auto; | |
| padding: 8px 0 20px; | |
| } | |
| .pipeline-step { | |
| flex: 1 0 170px; | |
| background: var(--paper-100); | |
| border: 1px solid var(--line); | |
| border-radius: var(--radius); | |
| padding: 16px; | |
| position: relative; | |
| } | |
| .pipeline-step + .pipeline-step { margin-left: 26px; } | |
| .pipeline-step + .pipeline-step::before { | |
| content: "\2192"; | |
| position: absolute; | |
| left: -22px; | |
| top: 50%; | |
| transform: translateY(-50%); | |
| color: var(--text-400); | |
| font-size: 16px; | |
| } | |
| .pipeline-step .idx { | |
| font-family: var(--font-mono); | |
| font-size: 11px; | |
| color: var(--accent); | |
| margin-bottom: 6px; | |
| } | |
| .pipeline-step h4 { font-family: var(--font-display); font-size: 14px; margin: 0 0 6px; } | |
| .pipeline-step p { font-size: 12px; color: var(--text-600); margin: 0; } | |
| .definition-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } | |
| @media (max-width: 800px) { .definition-list { grid-template-columns: 1fr; } } | |
| .definition { | |
| border-top: 1px solid var(--line); | |
| padding-top: 12px; | |
| } | |
| .definition dt { font-family: var(--font-display); font-weight: 600; font-size: 14px; margin-bottom: 4px; } | |
| .definition dd { margin: 0; color: var(--text-600); font-size: 13px; } | |
| .kbd { | |
| font-family: var(--font-mono); | |
| background: var(--paper-200); | |
| border: 1px solid var(--line); | |
| border-radius: 3px; | |
| padding: 1px 6px; | |
| font-size: 12px; | |
| } | |
| .toast { | |
| position: fixed; | |
| bottom: 24px; | |
| right: 24px; | |
| background: var(--ink-900); | |
| color: #fff; | |
| padding: 12px 18px; | |
| border-radius: var(--radius); | |
| font-size: 13px; | |
| box-shadow: 0 8px 24px rgba(0,0,0,0.25); | |
| opacity: 0; | |
| transform: translateY(8px); | |
| transition: opacity 160ms ease, transform 160ms ease; | |
| pointer-events: none; | |
| z-index: 50; | |
| } | |
| .toast.show { opacity: 1; transform: translateY(0); } | |
| /* ---------- Login page ---------- */ | |
| .login-body { | |
| margin: 0; | |
| min-height: 100vh; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| background: var(--ink-900); | |
| font-family: var(--font-body); | |
| } | |
| .login-shell { width: 100%; max-width: 380px; padding: 20px; } | |
| .login-card { | |
| background: var(--paper-0); | |
| border-radius: 12px; | |
| padding: 36px 32px; | |
| box-shadow: 0 20px 60px rgba(0,0,0,0.35); | |
| } | |
| .login-title { | |
| font-family: var(--font-display); | |
| font-size: 22px; | |
| font-weight: 600; | |
| margin: 0 0 2px; | |
| color: var(--text-900); | |
| } | |
| .login-sub { color: var(--text-600); font-size: 13px; margin: 0 0 22px; } | |
| /* ---------- Modal ---------- */ | |
| .modal-backdrop { | |
| position: fixed; | |
| inset: 0; | |
| background: rgba(11, 18, 32, 0.55); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| z-index: 100; | |
| padding: 20px; | |
| } | |
| .modal-backdrop[hidden] { display: none; } | |
| .modal-card { | |
| background: var(--paper-0); | |
| border-radius: var(--radius); | |
| border: 1px solid var(--line); | |
| padding: 24px; | |
| width: 100%; | |
| max-width: 440px; | |
| max-height: 90vh; | |
| overflow-y: auto; | |
| } | |
| .modal-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-bottom: 16px; | |
| } | |
| .modal-title { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin: 0; } | |
| .modal-close { | |
| background: none; | |
| border: none; | |
| font-size: 20px; | |
| line-height: 1; | |
| color: var(--text-400); | |
| cursor: pointer; | |
| padding: 4px; | |
| } | |
| .modal-close:hover { color: var(--text-900); } | |
| /* ---------- Officer: alert row expansion / SHAP breakdown ---------- */ | |
| .alert-row { cursor: pointer; } | |
| .alert-detail-row td { | |
| background: var(--paper-0); | |
| padding: 16px 20px; | |
| } | |
| .detail-actions { display: flex; gap: 8px; margin-top: 14px; } | |
| /* ---------- Insight / model performance cards ---------- */ | |
| .insight-card { | |
| background: var(--paper-100); | |
| border: 1px solid var(--line); | |
| border-radius: var(--radius); | |
| padding: 20px; | |
| } | |
| .insight-card img { width: 100%; height: auto; border-radius: 2px; margin-top: 12px; } | |
| .insight-caption { | |
| font-size: 12.5px; | |
| color: var(--text-600); | |
| margin-top: 10px; | |
| line-height: 1.5; | |
| } | |
| .metric-row { | |
| display: flex; | |
| justify-content: space-between; | |
| padding: 10px 0; | |
| border-bottom: 1px solid var(--line); | |
| font-size: 13px; | |
| } | |
| .metric-row:last-child { border-bottom: none; } | |
| .metric-row .val { font-family: var(--font-mono); font-weight: 600; } | |
| /* ---------- Tabs (client detail: transactions / alerts) ---------- */ | |
| .tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; } | |
| .tab-btn { | |
| background: none; | |
| border: none; | |
| padding: 10px 14px; | |
| font-size: 13px; | |
| font-weight: 600; | |
| color: var(--text-600); | |
| cursor: pointer; | |
| border-bottom: 2px solid transparent; | |
| margin-bottom: -1px; | |
| } | |
| .tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); } | |
| .tab-panel[hidden] { display: none; } | |
| /* ================================================================== | |
| Client app -- calm consumer-banking register. Same color/type DNA | |
| as the officer console, different emphasis: rounded cards, a light | |
| header instead of a dense rail, generous spacing, larger touch | |
| targets. Deliberately reads as a different (friendlier) product | |
| built on the same visual language, not a reskin. | |
| ================================================================== */ | |
| .client-body { background: var(--paper-0); } | |
| .client-header { | |
| background: var(--ink-900); | |
| color: #fff; | |
| padding: 18px 24px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| flex-wrap: wrap; | |
| gap: 12px; | |
| } | |
| .client-header-brand { display: flex; align-items: center; gap: 10px; } | |
| .client-greeting { | |
| font-family: var(--font-display); | |
| font-size: 15px; | |
| font-weight: 600; | |
| color: #f2f5fc; | |
| } | |
| .client-nav { | |
| display: flex; | |
| gap: 4px; | |
| background: var(--ink-800); | |
| border-radius: 999px; | |
| padding: 4px; | |
| } | |
| .client-nav a { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 7px; | |
| padding: 8px 16px; | |
| border-radius: 999px; | |
| font-size: 13px; | |
| font-weight: 600; | |
| color: #aab7d9; | |
| } | |
| .client-nav a i { font-size: 12px; } | |
| .client-nav a:hover { color: #fff; text-decoration: none; } | |
| .client-nav a.active { background: var(--accent); color: #fff; } | |
| @media (max-width: 480px) { | |
| .client-header { padding: 14px 16px; } | |
| .client-nav { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; } | |
| .client-nav a { padding: 10px 14px; white-space: nowrap; } | |
| .client-main { padding: 24px 14px 48px; } | |
| .balance-card { padding: 20px; } | |
| .balance-card .amount { font-size: 28px; } | |
| } | |
| .client-main { | |
| max-width: 680px; | |
| margin: 0 auto; | |
| padding: 32px 20px 60px; | |
| } | |
| .client-page-title { | |
| font-family: var(--font-display); | |
| font-size: 22px; | |
| font-weight: 600; | |
| margin: 0 0 6px; | |
| } | |
| .client-page-desc { color: var(--text-600); font-size: 13.5px; margin: 0 0 24px; } | |
| .balance-card { | |
| background: linear-gradient(155deg, var(--ink-900) 0%, #16233f 100%); | |
| color: #fff; | |
| border-radius: 16px; | |
| padding: 26px 28px; | |
| margin-bottom: 20px; | |
| } | |
| .balance-card .label { font-size: 12px; color: #9fb0d6; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; } | |
| .balance-card .amount { font-family: var(--font-mono); font-size: 34px; font-weight: 500; margin-top: 6px; } | |
| .balance-card .sub { font-size: 12.5px; color: #9fb0d6; margin-top: 6px; } | |
| .notice-card { | |
| border-radius: 14px; | |
| padding: 18px 20px; | |
| margin-bottom: 20px; | |
| display: flex; | |
| gap: 14px; | |
| align-items: flex-start; | |
| } | |
| .notice-card.tier-high { background: var(--high-bg); border: 1px solid color-mix(in srgb, var(--high) 30%, transparent); } | |
| .notice-card.tier-medium { background: var(--medium-bg); border: 1px solid color-mix(in srgb, var(--medium) 30%, transparent); } | |
| .notice-card.tier-low { background: var(--low-bg); border: 1px solid color-mix(in srgb, var(--low) 30%, transparent); } | |
| .notice-icon { font-size: 20px; line-height: 1; } | |
| .notice-title { font-weight: 700; font-size: 14px; margin-bottom: 4px; } | |
| .notice-body { font-size: 13px; color: var(--text-600); line-height: 1.5; } | |
| .client-card { | |
| background: var(--paper-100); | |
| border: 1px solid var(--line); | |
| border-radius: 14px; | |
| padding: 20px 22px; | |
| margin-bottom: 16px; | |
| } | |
| .client-section-title { | |
| font-family: var(--font-display); | |
| font-size: 15px; | |
| font-weight: 600; | |
| margin: 28px 0 12px; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| .client-section-title a { font-size: 12.5px; font-weight: 600; } | |
| .txn-row { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| padding: 14px 0; | |
| border-bottom: 1px solid var(--line); | |
| gap: 12px; | |
| } | |
| .txn-row:last-child { border-bottom: none; } | |
| .txn-main { display: flex; flex-direction: column; gap: 2px; } | |
| .txn-type { font-weight: 600; font-size: 13.5px; } | |
| .txn-dest { font-size: 12px; color: var(--text-400); font-family: var(--font-mono); } | |
| .txn-amount { font-family: var(--font-mono); font-weight: 600; font-size: 14px; text-align: right; } | |
| .txn-status { font-size: 11.5px; margin-top: 3px; text-align: right; } | |
| .txn-status.status-approved { color: var(--low-text); } | |
| .txn-status.status-review { color: var(--high-text); } | |
| .client-empty { | |
| text-align: center; | |
| color: var(--text-400); | |
| padding: 30px 10px; | |
| font-size: 13px; | |
| } | |
| .big-btn { | |
| display: block; | |
| width: 100%; | |
| text-align: center; | |
| padding: 14px; | |
| border-radius: 12px; | |
| font-size: 14.5px; | |
| } | |
| .client-form .form-grid { gap: 18px; } | |
| .client-form input, .client-form select { padding: 12px 14px; border-radius: 10px; font-size: 14px; } | |
| .client-form label { font-size: 13px; } | |
| .result-card { | |
| border-radius: 14px; | |
| padding: 22px; | |
| margin-top: 22px; | |
| text-align: center; | |
| } | |
| .result-card.approved { background: var(--low-bg); border: 1px solid color-mix(in srgb, var(--low) 30%, transparent); } | |
| .result-card.review { background: var(--high-bg); border: 1px solid color-mix(in srgb, var(--high) 30%, transparent); } | |
| .result-card .result-icon { font-size: 30px; margin-bottom: 8px; } | |
| .result-card .result-title { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin-bottom: 6px; } | |
| .result-card .result-body { font-size: 13.5px; color: var(--text-600); } | |
| @media (prefers-reduced-motion: reduce) { | |
| * { transition: none ; animation: none ; } | |
| } | |