Spaces:
Configuration error
Configuration error
| /* ===== IMPORTS ===== */ | |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;600&display=swap'); | |
| /* ===== TOKENS ===== */ | |
| :root { | |
| --primary: #6366f1; | |
| --primary-glow: rgba(99, 102, 241, 0.45); | |
| --secondary: #a855f7; | |
| --accent: #ec4899; | |
| --success: #22d3ee; | |
| --success-glow: rgba(34, 211, 238, 0.35); | |
| --warning: #f59e0b; | |
| --danger: #f43f5e; | |
| --danger-glow: rgba(244, 63, 94, 0.4); | |
| --call-color: #a855f7; | |
| --call-glow: rgba(168, 85, 247, 0.4); | |
| --bg-base: #060b18; | |
| --glass-bg: rgba(255, 255, 255, 0.04); | |
| --glass-bg-hover: rgba(255, 255, 255, 0.07); | |
| --glass-border: rgba(255, 255, 255, 0.08); | |
| --glass-border-hi: rgba(255, 255, 255, 0.18); | |
| --glass-shadow: 0 8px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06); | |
| --text-primary: #f1f5f9; | |
| --text-secondary: #64748b; | |
| --text-muted: #334155; | |
| --radius-sm: 8px; | |
| --radius-md: 16px; | |
| --radius-lg: 24px; | |
| --radius-xl: 32px; | |
| --radius-full: 9999px; | |
| --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| --bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); | |
| } | |
| /* ===== RESET ===== */ | |
| *, *::before, *::after { margin:0; padding:0; box-sizing:border-box; } | |
| body { font-family:'Inter',system-ui,sans-serif; background:var(--bg-base); color:var(--text-primary); min-height:100vh; overflow:hidden; display:flex; align-items:center; justify-content:center; } | |
| /* ===== COSMIC BG ===== */ | |
| .bg-scene { position:fixed; inset:0; z-index:0; overflow:hidden; background: radial-gradient(ellipse 80% 60% at 20% 10%, rgba(99,102,241,.18) 0%, transparent 60%), radial-gradient(ellipse 60% 50% at 80% 80%, rgba(168,85,247,.15) 0%, transparent 55%), radial-gradient(ellipse 50% 40% at 50% 50%, rgba(236,72,153,.08) 0%, transparent 60%), #060b18; } | |
| .orb { position:absolute; border-radius:50%; filter:blur(80px); pointer-events:none; animation: orb-drift 12s ease-in-out infinite alternate; } | |
| .orb-1 { width:500px; height:500px; background:rgba(99,102,241,.15); top:-150px; left:-100px; animation-delay:0s; } | |
| .orb-2 { width:400px; height:400px; background:rgba(168,85,247,.12); bottom:-100px; right:-80px; animation-delay:-4s; } | |
| .orb-3 { width:300px; height:300px; background:rgba(236,72,153,.10); top:50%; right:20%; transform:translateY(-50%); animation-delay:-8s; } | |
| .grid-lines { position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.02) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.02) 1px,transparent 1px); background-size:60px 60px; } | |
| @keyframes orb-drift { from{transform:translate(0,0) scale(1);} to{transform:translate(30px,20px) scale(1.08);} } | |
| /* ===== LAYOUT ===== */ | |
| .app-shell { position:relative; z-index:1; width:100vw; height:100vh; display:flex; align-items:center; justify-content:center; padding:16px; } | |
| .app-container { width:100%; max-width:1320px; height:94vh; display:grid; grid-template-columns:290px 1fr; gap:16px; } | |
| /* ===== SIDEBAR ===== */ | |
| .sidebar { background:rgba(13,21,37,.65); backdrop-filter:blur(24px) saturate(180%); -webkit-backdrop-filter:blur(24px) saturate(180%); border:1px solid var(--glass-border); border-radius:var(--radius-xl); box-shadow:var(--glass-shadow); padding:24px 18px; display:flex; flex-direction:column; gap:6px; overflow-y:auto; overflow-x:hidden; position:relative; } | |
| .sidebar::before { content:''; position:absolute; top:0; left:0; right:0; height:1px; background:linear-gradient(90deg,transparent,rgba(99,102,241,.6),transparent); } | |
| .sidebar::-webkit-scrollbar { width:3px; } | |
| .sidebar::-webkit-scrollbar-thumb { background:var(--glass-border); border-radius:99px; } | |
| /* Sidebar Logo */ | |
| .sidebar-logo { display:flex; align-items:center; gap:12px; padding:10px 10px 20px; border-bottom:1px solid var(--glass-border); margin-bottom:6px; } | |
| .logo-icon-img { width:38px; height:38px; border-radius:10px; overflow:hidden; border:1px solid rgba(99,102,241,.3); box-shadow:0 0 20px var(--primary-glow); flex-shrink:0; } | |
| .sidebar-logo-img { width:100%; height:100%; object-fit:cover; display:block; } | |
| .logo-text { font-size:17px; font-weight:800; background:linear-gradient(to right,#e2e8f0,#94a3b8); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; } | |
| .logo-badge { font-size:9px; font-weight:700; letter-spacing:.08em; color:var(--primary); background:rgba(99,102,241,.15); border:1px solid rgba(99,102,241,.3); border-radius:var(--radius-full); padding:2px 7px; margin-top:2px; } | |
| /* Model Card */ | |
| .model-card { background:rgba(99,102,241,.07); border:1px solid rgba(99,102,241,.18); border-radius:var(--radius-md); padding:14px 16px; margin:6px 0 2px; } | |
| .model-card-head { display:flex; align-items:center; gap:8px; font-size:11px; font-weight:700; color:var(--text-secondary); text-transform:uppercase; letter-spacing:.08em; margin-bottom:8px; } | |
| .model-dot { width:7px; height:7px; border-radius:50%; background:#4ade80; box-shadow:0 0 8px rgba(74,222,128,.6); animation:pulse-dot 2s ease infinite; } | |
| @keyframes pulse-dot { 0%,100%{opacity:1;} 50%{opacity:.5;} } | |
| .model-name { font-size:12px; font-weight:700; color:var(--text-primary); font-family:'JetBrains Mono',monospace; line-height:1.4; margin-bottom:6px; } | |
| .model-source { font-size:11px; color:var(--text-secondary); margin-bottom:10px; } | |
| .model-labels { display:flex; gap:6px; } | |
| .label-pill { font-size:10px; font-weight:700; padding:3px 9px; border-radius:var(--radius-full); border:1px solid; } | |
| .label-ai { color:#f43f5e; background:rgba(244,63,94,.1); border-color:rgba(244,63,94,.3); } | |
| .label-real { color:#22d3ee; background:rgba(34,211,238,.1); border-color:rgba(34,211,238,.3); } | |
| /* Alert Config Card */ | |
| .alert-config-card { background:rgba(168,85,247,.06); border:1px solid rgba(168,85,247,.18); border-radius:var(--radius-md); padding:14px 16px; margin:2px 0 6px; } | |
| .alert-config-head { display:flex; align-items:center; gap:8px; font-size:11px; font-weight:700; color:var(--text-secondary); text-transform:uppercase; letter-spacing:.08em; margin-bottom:8px; } | |
| .alert-config-head svg { width:14px; height:14px; color:#a855f7; } | |
| .alert-status-dot { width:7px; height:7px; border-radius:50%; background:#4ade80; box-shadow:0 0 8px rgba(74,222,128,.6); margin-left:auto; } | |
| .alert-phone { font-size:14px; font-weight:700; color:var(--text-primary); font-family:'JetBrains Mono',monospace; margin-bottom:10px; } | |
| .threshold-row { display:flex; justify-content:space-between; margin-bottom:6px; } | |
| .threshold-label { font-size:11px; color:var(--text-secondary); } | |
| .threshold-val { font-size:11px; font-weight:700; color:#f59e0b; } | |
| .threshold-bar { height:5px; background:rgba(255,255,255,.06); border-radius:99px; position:relative; overflow:hidden; } | |
| .threshold-bar-fill { position:absolute; left:0; top:0; height:100%; width:50%; background:linear-gradient(to right,var(--primary),var(--secondary)); border-radius:99px; } | |
| .threshold-marker { position:absolute; left:50%; top:-18px; transform:translateX(-50%); font-size:9px; font-weight:700; color:#f59e0b; white-space:nowrap; } | |
| /* Nav */ | |
| .nav-section-label { font-size:10px; font-weight:700; letter-spacing:.1em; color:var(--text-muted); text-transform:uppercase; padding:14px 10px 5px; display:block; } | |
| .nav-item { display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:var(--radius-md); cursor:pointer; transition:all var(--transition); color:var(--text-secondary); font-size:13px; font-weight:500; text-decoration:none; position:relative; } | |
| .nav-item svg { width:16px; height:16px; flex-shrink:0; } | |
| .nav-item:hover { background:var(--glass-bg-hover); color:var(--text-primary); } | |
| .nav-item.active { background:rgba(99,102,241,.15); color:var(--text-primary); border:1px solid rgba(99,102,241,.25); } | |
| .nav-item.active::before { content:''; position:absolute; left:0; top:20%; bottom:20%; width:3px; background:linear-gradient(to bottom,var(--primary),var(--secondary)); border-radius:0 4px 4px 0; } | |
| .nav-badge { margin-left:auto; background:var(--primary); color:white; font-size:10px; font-weight:700; padding:2px 6px; border-radius:var(--radius-full); } | |
| /* Sidebar Footer */ | |
| .sidebar-footer { margin-top:auto; padding-top:14px; border-top:1px solid var(--glass-border); } | |
| .user-card { display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:var(--radius-md); cursor:pointer; transition:all var(--transition); } | |
| .user-card:hover { background:var(--glass-bg-hover); } | |
| .user-avatar { width:34px; height:34px; border-radius:9px; background:linear-gradient(135deg,var(--primary),var(--accent)); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:13px; color:white; flex-shrink:0; } | |
| .user-meta { flex:1; min-width:0; } | |
| .user-name { font-size:13px; font-weight:600; } | |
| .user-plan { font-size:11px; font-weight:600; color:var(--primary); display:flex; align-items:center; gap:4px; } | |
| .plan-dot { width:6px; height:6px; border-radius:50%; background:#4ade80; } | |
| /* ===== MAIN PANEL ===== */ | |
| .main-panel { background:rgba(13,21,37,.5); backdrop-filter:blur(24px) saturate(180%); -webkit-backdrop-filter:blur(24px) saturate(180%); border:1px solid var(--glass-border); border-radius:var(--radius-xl); box-shadow:var(--glass-shadow); display:flex; flex-direction:column; overflow:hidden; position:relative; } | |
| .main-panel::before { content:''; position:absolute; top:0; left:0; right:0; height:1px; background:linear-gradient(90deg,transparent,rgba(168,85,247,.5),rgba(99,102,241,.5),transparent); } | |
| /* Topbar */ | |
| .topbar { display:flex; align-items:center; justify-content:space-between; padding:20px 28px; border-bottom:1px solid var(--glass-border); flex-shrink:0; } | |
| .topbar-title h1 { font-size:19px; font-weight:700; } | |
| .topbar-title p { font-size:12px; color:var(--text-secondary); margin-top:3px; } | |
| .topbar-actions { display:flex; align-items:center; gap:10px; } | |
| .icon-btn { width:36px; height:36px; background:var(--glass-bg); border:1px solid var(--glass-border); border-radius:var(--radius-sm); display:flex; align-items:center; justify-content:center; cursor:pointer; transition:all var(--transition); color:var(--text-secondary); } | |
| .icon-btn:hover { background:var(--glass-bg-hover); color:var(--text-primary); border-color:var(--glass-border-hi); } | |
| .icon-btn svg { width:15px; height:15px; } | |
| .topbar-logo-full { height:26px; object-fit:contain; opacity:.85; margin-right:4px; } | |
| .code-tag { font-family:'JetBrains Mono',monospace; font-size:11px; background:rgba(99,102,241,.12); border:1px solid rgba(99,102,241,.2); padding:1px 6px; border-radius:5px; color:#a5b4fc; } | |
| /* Content Area */ | |
| .content-area { flex:1; overflow-y:auto; padding:24px 28px; display:flex; flex-direction:column; gap:20px; scrollbar-width:thin; scrollbar-color:var(--glass-border) transparent; } | |
| .content-area::-webkit-scrollbar { width:4px; } | |
| .content-area::-webkit-scrollbar-thumb { background:var(--glass-border); border-radius:99px; } | |
| /* Stat Cards */ | |
| .stats-row { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; } | |
| .stat-card { background:var(--glass-bg); border:1px solid var(--glass-border); border-radius:var(--radius-lg); padding:16px 18px; transition:all var(--transition); position:relative; overflow:hidden; } | |
| .stat-card::after { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(255,255,255,.03) 0%,transparent 60%); pointer-events:none; } | |
| .stat-card:hover { background:var(--glass-bg-hover); border-color:var(--glass-border-hi); transform:translateY(-2px); box-shadow:0 12px 28px rgba(0,0,0,.3); } | |
| .stat-label { font-size:10px; font-weight:700; color:var(--text-secondary); text-transform:uppercase; letter-spacing:.08em; } | |
| .stat-value { font-size:26px; font-weight:800; margin:5px 0 3px; } | |
| .stat-sub { font-size:11px; color:var(--text-secondary); } | |
| .stat-icon { position:absolute; top:14px; right:14px; width:30px; height:30px; border-radius:8px; display:flex; align-items:center; justify-content:center; } | |
| .stat-icon svg { width:15px; height:15px; } | |
| /* Upload Zone */ | |
| .upload-area-wrap { display:flex; flex-direction:column; gap:10px; } | |
| .upload-area-wrap label { font-size:13px; font-weight:600; color:var(--text-secondary); } | |
| .upload-zone { border:2px dashed rgba(99,102,241,.25); border-radius:var(--radius-xl); min-height:200px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; cursor:pointer; transition:all var(--transition); background:rgba(99,102,241,.03); position:relative; overflow:hidden; } | |
| .upload-zone:hover, .upload-zone.dragover { border-color:rgba(99,102,241,.6); background:rgba(99,102,241,.07); box-shadow:0 0 40px rgba(99,102,241,.12); } | |
| .upload-icon-wrap { width:64px; height:64px; background:rgba(99,102,241,.12); border:1px solid rgba(99,102,241,.25); border-radius:18px; display:flex; align-items:center; justify-content:center; box-shadow:0 0 30px rgba(99,102,241,.2); transition:all var(--transition); } | |
| .upload-zone:hover .upload-icon-wrap { box-shadow:0 0 40px rgba(99,102,241,.4); transform:scale(1.05); } | |
| .upload-icon-wrap svg { width:28px; height:28px; color:var(--primary); } | |
| .upload-zone h3 { font-size:17px; font-weight:700; } | |
| .upload-zone p { font-size:13px; color:var(--text-secondary); } | |
| .upload-zone strong { color:var(--text-primary); } | |
| .upload-formats { display:flex; gap:7px; margin-top:2px; } | |
| .format-tag { font-size:10px; font-weight:700; letter-spacing:.08em; padding:3px 9px; background:rgba(255,255,255,.05); border:1px solid var(--glass-border); border-radius:var(--radius-full); color:var(--text-secondary); } | |
| .upload-hint { font-size:12px; color:#a855f7; font-weight:600; margin-top:4px; opacity:.85; } | |
| /* Preview */ | |
| .preview-wrap { display:none; gap:22px; align-items:flex-start; } | |
| .preview-img-wrap { flex:0 0 300px; border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--glass-border); position:relative; } | |
| .preview-img-wrap img { width:100%; display:block; aspect-ratio:4/3; object-fit:cover; } | |
| .preview-overlay { position:absolute; inset:0; background:rgba(6,11,24,.8); display:none; align-items:center; justify-content:center; flex-direction:column; gap:10px; border-radius:var(--radius-lg); } | |
| .preview-overlay.active { display:flex; } | |
| .preview-overlay code { font-family:'JetBrains Mono',monospace; font-size:11px; color:#a5b4fc; } | |
| .analyzing-text { font-size:13px; font-weight:600; color:var(--text-secondary); } | |
| .preview-info { flex:1; display:flex; flex-direction:column; gap:14px; } | |
| .file-meta { background:var(--glass-bg); border:1px solid var(--glass-border); border-radius:var(--radius-md); padding:14px; } | |
| .file-meta-row { display:flex; justify-content:space-between; align-items:center; padding:5px 0; } | |
| .file-meta-row:not(:last-child) { border-bottom:1px solid rgba(255,255,255,.04); } | |
| .file-meta-label { font-size:12px; color:var(--text-secondary); } | |
| .file-meta-value { font-size:12px; font-weight:600; } | |
| .preview-actions { display:flex; gap:10px; flex-wrap:wrap; } | |
| /* Twilio info box */ | |
| .twilio-info-box { background:rgba(168,85,247,.07); border:1px solid rgba(168,85,247,.2); border-radius:var(--radius-md); padding:12px 14px; } | |
| .twilio-info-head { display:flex; align-items:center; gap:8px; font-size:12px; font-weight:600; color:#c4b5fd; margin-bottom:4px; } | |
| .twilio-info-head svg { width:14px; height:14px; } | |
| .twilio-info-detail { font-size:12px; color:var(--text-secondary); } | |
| /* Buttons */ | |
| .btn { display:inline-flex; align-items:center; gap:8px; padding:11px 22px; border-radius:var(--radius-md); font-size:13px; font-weight:600; cursor:pointer; border:none; transition:all var(--bounce); font-family:inherit; white-space:nowrap; } | |
| .btn:disabled { opacity:.5; cursor:not-allowed; transform:none; } | |
| .btn svg { width:15px; height:15px; } | |
| .btn-primary { background:linear-gradient(135deg,var(--primary),var(--secondary)); color:white; box-shadow:0 4px 16px var(--primary-glow); } | |
| .btn-primary:hover:not(:disabled) { transform:translateY(-2px); box-shadow:0 8px 24px var(--primary-glow); } | |
| .btn-primary:active:not(:disabled) { transform:scale(.97); } | |
| .btn-ghost { background:var(--glass-bg); color:var(--text-secondary); border:1px solid var(--glass-border); } | |
| .btn-ghost:hover { background:var(--glass-bg-hover); color:var(--text-primary); border-color:var(--glass-border-hi); } | |
| /* Results */ | |
| .results-wrap { display:none; flex-direction:column; gap:14px; } | |
| .result-hero { background:var(--glass-bg); border:1px solid var(--glass-border); border-radius:var(--radius-xl); padding:24px; display:flex; align-items:center; gap:22px; animation:slide-up .5s ease both; } | |
| @keyframes slide-up { from{opacity:0;transform:translateY(20px);} to{opacity:1;transform:translateY(0);} } | |
| .ring-wrapper { position:relative; width:110px; height:110px; flex-shrink:0; } | |
| .confidence-ring { width:100%; height:100%; transform:rotate(-90deg); } | |
| .ring-track { fill:none; stroke:rgba(255,255,255,.07); stroke-width:8; } | |
| .ring-fill { fill:none; stroke-width:8; stroke-linecap:round; stroke-dasharray:283; stroke-dashoffset:283; transition:stroke-dashoffset 1.2s cubic-bezier(.4,0,.2,1); } | |
| .ring-label { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; flex-direction:column; } | |
| .ring-pct { font-size:20px; font-weight:900; } | |
| .ring-sub { font-size:9px; color:var(--text-secondary); font-weight:700; text-transform:uppercase; letter-spacing:.06em; } | |
| .result-info { flex:1; } | |
| .result-verdict { font-size:20px; font-weight:800; margin-bottom:5px; } | |
| .result-desc { font-size:13px; color:var(--text-secondary); line-height:1.6; } | |
| .result-badges { display:flex; gap:7px; margin-top:12px; flex-wrap:wrap; } | |
| .result-badge { font-size:10px; font-weight:700; letter-spacing:.05em; padding:3px 10px; border-radius:var(--radius-full); border:1px solid; } | |
| .badge-danger { background:rgba(244,63,94,.12); color:#f43f5e; border-color:rgba(244,63,94,.3); } | |
| .badge-success { background:rgba(34,211,238,.10); color:#22d3ee; border-color:rgba(34,211,238,.3); } | |
| .badge-neutral { background:rgba(99,102,241,.10); color:#a5b4fc; border-color:rgba(99,102,241,.3); } | |
| /* Breakdown */ | |
| .breakdown-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; animation:slide-up .5s .1s ease both; } | |
| .breakdown-card { background:var(--glass-bg); border:1px solid var(--glass-border); border-radius:var(--radius-lg); padding:16px; } | |
| .breakdown-card h4 { font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--text-secondary); margin-bottom:14px; } | |
| .metric-row { display:flex; flex-direction:column; gap:10px; } | |
| .metric { display:flex; flex-direction:column; gap:5px; } | |
| .metric-header { display:flex; justify-content:space-between; align-items:baseline; } | |
| .metric-label { font-size:12px; color:var(--text-secondary); } | |
| .metric-value { font-size:12px; font-weight:700; } | |
| .progress-bar { height:5px; background:rgba(255,255,255,.06); border-radius:var(--radius-full); overflow:hidden; } | |
| .progress-fill { height:100%; border-radius:var(--radius-full); transition:width 1s cubic-bezier(.4,0,.2,1); width:0; } | |
| /* ═══ TWILIO CALL PANEL ═══ */ | |
| .call-panel { border-radius:var(--radius-lg); padding:20px 22px; display:flex; align-items:center; gap:18px; animation:slide-up .5s .15s ease both; border:1px solid; position:relative; overflow:hidden; } | |
| .call-panel::before { content:''; position:absolute; inset:0; opacity:.06; } | |
| .call-panel.call-fired { background:rgba(168,85,247,.08); border-color:rgba(168,85,247,.3); } | |
| .call-panel.call-fired::before { background:var(--call-color); } | |
| .call-panel.call-safe { background:rgba(34,211,238,.06); border-color:rgba(34,211,238,.25); } | |
| .call-panel.call-safe::before { background:var(--success); } | |
| .call-panel.call-error { background:rgba(244,63,94,.07); border-color:rgba(244,63,94,.25); } | |
| .call-panel-icon { width:48px; height:48px; border-radius:14px; display:flex; align-items:center; justify-content:center; flex-shrink:0; } | |
| .call-panel-icon svg { width:22px; height:22px; } | |
| .call-panel.call-fired .call-panel-icon { background:rgba(168,85,247,.15); color:#c4b5fd; box-shadow:0 0 20px var(--call-glow); } | |
| .call-panel.call-safe .call-panel-icon { background:rgba(34,211,238,.12); color:#67e8f9; } | |
| .call-panel.call-error .call-panel-icon { background:rgba(244,63,94,.12); color:#fda4af; } | |
| .call-panel-body { flex:1; } | |
| .call-panel-title { font-size:15px; font-weight:700; margin-bottom:4px; } | |
| .call-panel.call-fired .call-panel-title { color:#c4b5fd; } | |
| .call-panel.call-safe .call-panel-title { color:#67e8f9; } | |
| .call-panel.call-error .call-panel-title { color:#fda4af; } | |
| .call-panel-detail { font-size:12px; color:var(--text-secondary); } | |
| .call-sid-row { display:flex; align-items:center; gap:8px; margin-top:8px; } | |
| .call-sid-label { font-size:10px; font-weight:700; color:var(--text-secondary); text-transform:uppercase; letter-spacing:.08em; } | |
| .call-sid-val { font-family:'JetBrains Mono',monospace; font-size:11px; color:#a855f7; background:rgba(168,85,247,.1); padding:2px 8px; border-radius:5px; border:1px solid rgba(168,85,247,.2); } | |
| .call-panel-badge { font-size:11px; font-weight:700; padding:5px 12px; border-radius:var(--radius-full); white-space:nowrap; } | |
| .call-panel.call-fired .call-panel-badge { background:rgba(168,85,247,.15); color:#c4b5fd; border:1px solid rgba(168,85,247,.3); } | |
| .call-panel.call-safe .call-panel-badge { background:rgba(34,211,238,.10); color:#67e8f9; border:1px solid rgba(34,211,238,.25); } | |
| .call-panel.call-error .call-panel-badge { background:rgba(244,63,94,.10); color:#fda4af; border:1px solid rgba(244,63,94,.25); } | |
| /* Ringing animation for call-fired */ | |
| @keyframes ring-pulse { | |
| 0%,100% { box-shadow:0 0 0 0 rgba(168,85,247,.6); } | |
| 50% { box-shadow:0 0 0 12px rgba(168,85,247,0); } | |
| } | |
| .call-panel.call-fired .call-panel-icon { animation:ring-pulse 1.5s ease-in-out infinite; } | |
| /* History */ | |
| .history-section h3 { font-size:13px; font-weight:700; margin-bottom:12px; color:var(--text-secondary); } | |
| .history-list { display:flex; flex-direction:column; gap:7px; } | |
| .history-item { background:var(--glass-bg); border:1px solid var(--glass-border); border-radius:var(--radius-md); padding:11px 14px; display:flex; align-items:center; gap:12px; transition:all .15s ease; cursor:pointer; } | |
| .history-item:hover { background:var(--glass-bg-hover); } | |
| .history-thumb { width:38px; height:38px; border-radius:8px; background:rgba(255,255,255,.05); display:flex; align-items:center; justify-content:center; flex-shrink:0; } | |
| .history-thumb svg { width:16px; height:16px; color:var(--text-muted); } | |
| .history-meta { flex:1; min-width:0; } | |
| .history-name { font-size:12px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } | |
| .history-time { font-size:10px; color:var(--text-secondary); margin-top:2px; } | |
| /* Spinner */ | |
| .spinner { width:34px; height:34px; border:3px solid rgba(255,255,255,.08); border-top-color:var(--primary); border-radius:50%; animation:spin .8s linear infinite; } | |
| @keyframes spin { to{transform:rotate(360deg);} } | |
| /* Toast */ | |
| .toast-wrap { position:fixed; bottom:24px; right:24px; display:flex; flex-direction:column; gap:9px; z-index:9999; pointer-events:none; } | |
| .toast { background:rgba(13,21,37,.92); backdrop-filter:blur(16px); border:1px solid var(--glass-border); border-radius:var(--radius-md); padding:13px 16px; display:flex; align-items:center; gap:10px; min-width:270px; box-shadow:0 8px 28px rgba(0,0,0,.4); animation:toast-in .35s ease; pointer-events:all; } | |
| @keyframes toast-in { from{opacity:0;transform:translateY(20px) scale(.96);} to{opacity:1;transform:translateY(0) scale(1);} } | |
| .toast-icon { width:18px; height:18px; flex-shrink:0; } | |
| .toast-msg { font-size:13px; font-weight:500; } | |
| .toast-success .toast-icon { color:#4ade80; } | |
| .toast-error .toast-icon { color:var(--danger); } | |
| .toast-info .toast-icon { color:var(--primary); } | |
| .toast-warning .toast-icon { color:#f59e0b; } | |
| /* Splash */ | |
| .splash { position:fixed; inset:0; z-index:9999; background:#060b18; display:flex; align-items:center; justify-content:center; transition:opacity .6s ease,visibility .6s ease; } | |
| .splash.hidden { opacity:0; visibility:hidden; pointer-events:none; } | |
| .splash-inner { display:flex; flex-direction:column; align-items:center; gap:12px; animation:splash-appear .5s ease both; } | |
| @keyframes splash-appear { from{opacity:0;transform:scale(.9) translateY(10px);} to{opacity:1;transform:scale(1) translateY(0);} } | |
| .splash-logo { width:90px; height:90px; border-radius:24px; box-shadow:0 0 0 1px rgba(99,102,241,.25),0 0 40px rgba(99,102,241,.4),0 0 80px rgba(168,85,247,.2); animation:logo-pulse 2s ease-in-out infinite; } | |
| @keyframes logo-pulse { 0%,100%{box-shadow:0 0 0 1px rgba(99,102,241,.25),0 0 40px rgba(99,102,241,.4),0 0 80px rgba(168,85,247,.2);} 50%{box-shadow:0 0 0 1px rgba(99,102,241,.4),0 0 60px rgba(99,102,241,.55),0 0 120px rgba(168,85,247,.3);} } | |
| .splash-name { font-size:30px; font-weight:900; letter-spacing:-.02em; background:linear-gradient(to right,#e2e8f0,#a5b4fc,#f0abfc); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; } | |
| .splash-tagline { font-size:12px; font-weight:500; color:var(--text-secondary); letter-spacing:.08em; text-transform:uppercase; } | |
| .splash-bar { width:160px; height:3px; background:rgba(255,255,255,.06); border-radius:99px; overflow:hidden; margin-top:6px; } | |
| .splash-bar-fill { height:100%; width:0; border-radius:99px; background:linear-gradient(to right,var(--primary),var(--secondary),var(--accent)); transition:width 1.4s cubic-bezier(.4,0,.2,1); box-shadow:0 0 12px var(--primary-glow); } | |
| /* Responsive */ | |
| @media (max-width:900px) { | |
| .app-container { grid-template-columns:1fr; height:auto; } | |
| .sidebar { display:none; } | |
| .stats-row { grid-template-columns:repeat(2,1fr); } | |
| .breakdown-grid { grid-template-columns:1fr; } | |
| .preview-wrap { flex-direction:column; } | |
| .preview-img-wrap { flex:none; width:100%; } | |
| body { overflow:auto; } | |
| } | |
| @media (max-width:560px) { | |
| .stats-row { grid-template-columns:1fr; } | |
| .app-shell { padding:10px; } | |
| .topbar,.content-area { padding:14px; } | |
| } | |