/* ════════════════════════════════════════ AI ORCHESTRATION PLATFORM — STYLESHEET ════════════════════════════════════════ */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } :root { --bg: #0c0c10; --surface: #13131a; --surface2: #1a1a24; --surface3: #22222f; --border: #2a2a3a; --border2: #383850; --accent: #6ee7b7; --accent2: #818cf8; --accent3: #f472b6; --text: #e8e8f0; --text2: #9090a8; --text3: #5a5a72; --danger: #f87171; --warn: #fbbf24; } html, body { height: 100%; font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); } /* ════════ LAYOUT ════════ */ #app { display: flex; height: 100vh; overflow: hidden; } /* ════════ SIDEBAR ════════ */ .sidebar { width: 270px; flex-shrink: 0; background: var(--surface); border-right: 1px solid var(--border); display: flex; flex-direction: column; overflow-y: auto; } .sidebar::-webkit-scrollbar { width: 3px; } .sidebar::-webkit-scrollbar-thumb { background: var(--border); } .sidebar-header { padding: 18px 16px 14px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); flex-shrink: 0; } .logo-mark { width: 28px; height: 28px; flex-shrink: 0; background: linear-gradient(135deg, var(--accent), var(--accent2)); border-radius: 6px; display: grid; place-items: center; font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 500; color: #0c0c10; } .logo-text { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; } .logo-text span { color: var(--accent); } .sidebar-section { padding: 12px 8px; } .sidebar-label { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; color: var(--text3); text-transform: uppercase; padding: 0 8px 8px; } /* ── GitHub Auth ── */ .auth-card { margin: 0 8px 0; background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; padding: 12px; transition: border-color 0.15s; } .auth-card.authenticated { border-color: rgba(110,231,183,0.3); } .auth-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; } .auth-title { font-size: 12px; font-weight: 600; } .auth-sub { font-size: 11px; color: var(--text3); } .auth-input-row { display: flex; gap: 6px; } .auth-input { flex: 1; min-width: 0; background: var(--surface3); border: 1px solid var(--border); border-radius: 6px; padding: 6px 8px; font-size: 11px; font-family: 'IBM Plex Mono', monospace; color: var(--text); outline: none; transition: border-color 0.15s; } .auth-input::placeholder { color: var(--text3); } .auth-input:focus { border-color: var(--accent2); } .auth-connect-btn { flex-shrink: 0; padding: 6px 10px; border-radius: 6px; border: none; background: var(--accent2); color: #fff; font-size: 11px; font-weight: 500; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all 0.15s; } .auth-connect-btn:hover { background: #6b76e8; } .auth-user-row { display: flex; align-items: center; gap: 8px; } .auth-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); } .auth-username { font-size: 12px; font-weight: 500; color: var(--accent); } .auth-revoke { margin-left: auto; font-size: 11px; color: var(--text3); cursor: pointer; background: none; border: none; font-family: 'DM Sans', sans-serif; transition: color 0.15s; } .auth-revoke:hover { color: var(--danger); } /* ── Repo Input ── */ .repo-section { padding: 8px 8px 4px; } .repo-label { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; color: var(--text3); text-transform: uppercase; padding: 0 2px 6px; display: block; } .repo-row { display: flex; gap: 6px; } .repo-url-input { flex: 1; min-width: 0; background: var(--surface2); border: 1px solid var(--border); border-radius: 8px; padding: 7px 10px; font-size: 12px; font-family: 'IBM Plex Mono', monospace; color: var(--text); outline: none; transition: border-color 0.15s; } .repo-url-input::placeholder { color: var(--text3); } .repo-url-input:focus { border-color: var(--accent2); } .repo-analyse-btn { flex-shrink: 0; padding: 7px 11px; border-radius: 8px; border: none; background: var(--accent); color: #0c0c10; font-size: 11px; font-weight: 600; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all 0.15s; display: flex; align-items: center; gap: 5px; white-space: nowrap; } .repo-analyse-btn:hover:not(:disabled) { background: #4dd4a0; } .repo-analyse-btn:disabled { background: var(--surface3); color: var(--text3); cursor: not-allowed; } .repo-info-box { margin: 6px 8px 0; background: rgba(110,231,183,0.05); border: 1px solid rgba(110,231,183,0.15); border-radius: 8px; padding: 9px 11px; } .repo-info-name { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 500; color: var(--accent); } .repo-info-meta { font-size: 11px; color: var(--text3); margin-top: 2px; } .contributor-badge { display: inline-block; margin-top: 5px; font-size: 10px; padding: 2px 8px; border-radius: 20px; font-family: 'IBM Plex Mono', monospace; } .contributor-badge.yes { background: rgba(110,231,183,0.1); color: var(--accent); } .contributor-badge.no { background: rgba(248,113,113,0.1); color: var(--danger); } /* ── Agent Items ── */ .agent-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer; transition: background 0.15s; margin-bottom: 2px; } .agent-item:hover { background: var(--surface3); } .agent-item.active { background: var(--surface3); } .agent-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; } .agent-info { overflow: hidden; flex: 1; } .agent-name { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .agent-role { font-size: 11px; color: var(--text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .agent-status { font-size: 10px; padding: 2px 7px; border-radius: 20px; font-family: 'IBM Plex Mono', monospace; font-weight: 500; } .status-idle { background: rgba(110,231,183,0.08); color: var(--accent); } .status-busy { background: rgba(251,191,36,0.10); color: var(--warn); } .status-error { background: rgba(248,113,113,0.10); color: var(--danger); } .divider { height: 1px; background: var(--border); margin: 8px 0; } /* ── Stats ── */ .stats-row { display: flex; gap: 8px; padding: 4px 8px; } .stat-box { flex: 1; background: var(--surface2); border: 1px solid var(--border); border-radius: 8px; padding: 8px; text-align: center; } .stat-num { font-family: 'IBM Plex Mono', monospace; font-size: 18px; font-weight: 500; } .stat-label { font-size: 10px; color: var(--text3); margin-top: 2px; } /* ── Sidebar Bottom ── */ .sidebar-bottom { margin-top: auto; padding: 12px 8px; border-top: 1px solid var(--border); flex-shrink: 0; } .setting-btn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; border: none; background: transparent; color: var(--text2); cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 13px; transition: background 0.15s, color 0.15s; } .setting-btn:hover { background: var(--surface3); color: var(--text); } .setting-btn svg { flex-shrink: 0; } /* ════════ CHAT AREA ════════ */ .chat-area { flex: 1; display: flex; flex-direction: column; overflow: hidden; } .chat-topbar { height: 52px; flex-shrink: 0; background: var(--surface); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; gap: 12px; } .topbar-left { display: flex; align-items: center; gap: 12px; } .topbar-title { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 600; } .pipeline-badge { font-family: 'IBM Plex Mono', monospace; font-size: 11px; padding: 3px 8px; border-radius: 20px; background: rgba(110,231,183,0.1); color: var(--accent); border: 1px solid rgba(110,231,183,0.2); } .topbar-right { display: flex; align-items: center; gap: 8px; } .icon-btn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--text2); cursor: pointer; display: grid; place-items: center; transition: all 0.15s; } .icon-btn:hover { background: var(--surface3); color: var(--text); } /* ── Action Bar (bawah topbar) ── */ .action-bar { flex-shrink: 0; padding: 8px 20px; background: var(--surface2); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .action-sep { width: 1px; height: 20px; background: var(--border); margin: 0 2px; } .action-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 7px; border: 1px solid var(--border); background: transparent; color: var(--text2); cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 500; transition: all 0.15s; white-space: nowrap; text-decoration: none; } .action-btn:hover:not(:disabled) { border-color: var(--border2); color: var(--text); background: var(--surface3); } .action-btn:disabled { opacity: 0.35; cursor: not-allowed; } .action-btn svg { flex-shrink: 0; } .action-btn.green { background: rgba(110,231,183,0.07); border-color: rgba(110,231,248,0.2); color: var(--accent); } .action-btn.green:hover:not(:disabled) { background: rgba(110,231,183,0.14); } .action-btn.purple { background: rgba(129,140,248,0.07); border-color: rgba(129,140,248,0.2); color: var(--accent2); } .action-btn.purple:hover:not(:disabled) { background: rgba(129,140,248,0.14); } .action-btn.red { background: rgba(248,113,113,0.07); border-color: rgba(248,113,113,0.2); color: var(--danger); } .action-btn.red:hover:not(:disabled) { background: rgba(248,113,113,0.14); } .no-contrib-notice { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--danger); padding: 4px 10px; background: rgba(248,113,113,0.07); border: 1px solid rgba(248,113,113,0.2); border-radius: 7px; } /* ── Messages ── */ .chat-messages { flex: 1; overflow-y: auto; padding: 24px 0; scroll-behavior: smooth; } .chat-messages::-webkit-scrollbar { width: 4px; } .chat-messages::-webkit-scrollbar-track { background: transparent; } .chat-messages::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 4px; } .msg-wrapper { display: flex; gap: 12px; padding: 6px 24px; animation: fadeUp 0.25s ease both; } @keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } .msg-wrapper.user { flex-direction: row-reverse; } .msg-avatar { width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 500; } .avatar-user { background: var(--accent2); color: #fff; } .avatar-orchestrator { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #0c0c10; } .avatar-agent { color: #0c0c10; } .msg-body { flex: 1; max-width: 680px; } .msg-wrapper.user .msg-body { align-items: flex-end; display: flex; flex-direction: column; } .msg-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 11px; color: var(--text3); } .msg-wrapper.user .msg-meta { flex-direction: row-reverse; } .msg-sender { font-weight: 500; color: var(--text2); } .msg-time { font-family: 'IBM Plex Mono', monospace; } .msg-bubble { padding: 12px 16px; border-radius: 12px; font-size: 14px; line-height: 1.7; max-width: 100%; white-space: pre-wrap; } .bubble-user { background: var(--accent2); color: #fff; border-bottom-right-radius: 4px; } .bubble-system { background: var(--surface2); border: 1px solid var(--border); border-bottom-left-radius: 4px; } .bubble-agent { border: 1px solid var(--border); border-bottom-left-radius: 4px; } /* ── Pipeline Trace ── */ .pipeline-trace { margin-top: 10px; padding: 10px 12px; background: var(--surface); border-radius: 8px; border: 1px solid var(--border); } .trace-label { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text3); margin-bottom: 8px; font-family: 'IBM Plex Mono', monospace; } .trace-steps { display: flex; flex-direction: column; gap: 6px; } .trace-step { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text2); } .trace-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; } .trace-arrow { color: var(--text3); font-size: 10px; } .trace-step-name { font-family: 'IBM Plex Mono', monospace; } .trace-step-time { margin-left: auto; color: var(--text3); font-family: 'IBM Plex Mono', monospace; font-size: 11px; } /* ── Commit Action Card (inside bubble) ── */ .commit-card { margin-top: 10px; padding: 10px 12px; background: rgba(129,140,248,0.06); border: 1px solid rgba(129,140,248,0.2); border-radius: 8px; } .commit-card-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; } .commit-card-title { font-size: 12px; font-weight: 600; color: var(--accent2); } .commit-branch-name { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--text2); background: var(--surface3); padding: 1px 7px; border-radius: 4px; display: inline-block; margin-bottom: 6px; } .commit-desc { font-size: 12px; color: var(--text3); margin-bottom: 10px; line-height: 1.5; } .commit-actions { display: flex; gap: 6px; flex-wrap: wrap; } .commit-btn { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 6px; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 500; text-decoration: none; transition: all 0.15s; } .commit-btn.view-commits { background: rgba(129,140,248,0.12); color: var(--accent2); border: 1px solid rgba(129,140,248,0.25); } .commit-btn.view-commits:hover { background: rgba(129,140,248,0.2); } .commit-btn.view-pr { background: rgba(110,231,183,0.1); color: var(--accent); border: 1px solid rgba(110,231,183,0.2); } .commit-btn.view-pr:hover { background: rgba(110,231,183,0.18); } /* ── Typing Indicator ── */ .typing-indicator { display: flex; align-items: center; gap: 4px; padding: 14px 16px; background: var(--surface2); border: 1px solid var(--border); border-radius: 12px; border-bottom-left-radius: 4px; width: fit-content; } .typing-dot { width: 5px; height: 5px; background: var(--text3); border-radius: 50%; animation: typingBounce 1.2s infinite; } .typing-dot:nth-child(2) { animation-delay: 0.2s; } .typing-dot:nth-child(3) { animation-delay: 0.4s; } @keyframes typingBounce { 0%, 80%, 100% { transform: translateY(0); opacity: 0.4; } 40% { transform: translateY(-5px); opacity: 1; } } /* ════════ CHAT INPUT ════════ */ .chat-input-area { flex-shrink: 0; padding: 14px 24px 18px; background: var(--bg); border-top: 1px solid var(--border); } .pipeline-selector { display: flex; gap: 6px; margin-bottom: 10px; overflow-x: auto; padding-bottom: 4px; } .pipeline-selector::-webkit-scrollbar { height: 2px; } .pipeline-selector::-webkit-scrollbar-thumb { background: var(--border); } .pipeline-chip { flex-shrink: 0; padding: 4px 12px; border-radius: 20px; font-size: 12px; cursor: pointer; border: 1px solid var(--border); background: transparent; color: var(--text2); font-family: 'DM Sans', sans-serif; transition: all 0.15s; white-space: nowrap; } .pipeline-chip:hover { border-color: var(--border2); color: var(--text); } .pipeline-chip.active { background: rgba(110,231,183,0.1); border-color: rgba(110,231,183,0.3); color: var(--accent); } .input-box { display: flex; align-items: flex-end; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 10px 10px 10px 16px; transition: border-color 0.15s; } .input-box:focus-within { border-color: var(--border2); } textarea { flex: 1; background: transparent; border: none; outline: none; color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 14px; line-height: 1.6; resize: none; min-height: 22px; max-height: 160px; } textarea::placeholder { color: var(--text3); } .send-btn { width: 36px; height: 36px; border-radius: 10px; border: none; background: var(--accent); color: #0c0c10; cursor: pointer; display: grid; place-items: center; flex-shrink: 0; transition: all 0.15s; align-self: flex-end; } .send-btn:hover:not(:disabled) { background: #4dd4a0; transform: scale(1.05); } .send-btn:disabled { background: var(--surface3); color: var(--text3); cursor: not-allowed; } .input-hint { font-size: 11px; color: var(--text3); margin-top: 8px; text-align: center; } .input-hint kbd { font-family: 'IBM Plex Mono', monospace; font-size: 10px; background: var(--surface2); border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; } /* ════════ RIGHT PANEL ════════ */ .right-panel { width: 300px; flex-shrink: 0; background: var(--surface); border-left: 1px solid var(--border); display: flex; flex-direction: column; overflow-y: auto; } .right-panel::-webkit-scrollbar { width: 4px; } .right-panel::-webkit-scrollbar-thumb { background: var(--border); } .panel-section { padding: 14px 16px; border-bottom: 1px solid var(--border); } .panel-title { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text3); margin-bottom: 10px; font-family: 'IBM Plex Mono', monospace; display: flex; align-items: center; justify-content: space-between; } .panel-title-badge { background: var(--surface3); border-radius: 10px; padding: 1px 7px; font-size: 10px; color: var(--text3); text-transform: none; letter-spacing: 0; } /* ── SSE Log ── */ .sse-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; } .sse-status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text3); flex-shrink: 0; } .sse-status-dot.active { background: var(--accent); animation: sseGlow 1.5s infinite; } @keyframes sseGlow { 0%,100% { opacity:1; } 50% { opacity:0.3; } } .sse-status-label { font-size: 11px; color: var(--text3); } .sse-status-label.active { color: var(--accent); } .sse-clear-btn { margin-left: auto; font-size: 10px; color: var(--text3); cursor: pointer; background: none; border: none; font-family: 'DM Sans', sans-serif; transition: color 0.15s; } .sse-clear-btn:hover { color: var(--text2); } .sse-log-area { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; line-height: 1.7; max-height: 200px; overflow-y: auto; padding: 8px 10px; } .sse-log-area::-webkit-scrollbar { width: 3px; } .sse-log-area::-webkit-scrollbar-thumb { background: var(--border2); } .sse-empty-msg { color: var(--text3); text-align: center; padding: 12px 0; font-size: 11px; } .sse-entry { display: flex; gap: 6px; margin-bottom: 3px; align-items: baseline; } .sse-ts { color: var(--text3); flex-shrink: 0; font-size: 10px; } .sse-event-tag { flex-shrink: 0; font-size: 9px; padding: 1px 5px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.05em; } .sse-event-tag.msg { background: rgba(129,140,248,0.15); color: var(--accent2); } .sse-event-tag.tool { background: rgba(251,191,36,0.12); color: var(--warn); } .sse-event-tag.done { background: rgba(110,231,183,0.12); color: var(--accent); } .sse-event-tag.error { background: rgba(248,113,113,0.12); color: var(--danger); } .sse-event-tag.stream { background: rgba(110,231,183,0.08); color: var(--text3); } .sse-data { color: var(--text2); word-break: break-all; flex: 1; } /* ── Task Card ── */ .task-card { background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; padding: 11px; margin-bottom: 7px; } .task-name { font-size: 13px; font-weight: 500; margin-bottom: 3px; } .task-agent { font-size: 11px; color: var(--text3); margin-bottom: 8px; } .progress-bar { height: 3px; background: var(--surface3); border-radius: 2px; overflow: hidden; } .progress-fill { height: 100%; border-radius: 2px; transition: width 0.5s ease; } /* ── Token Usage ── */ .token-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; } .token-label { font-size: 12px; color: var(--text2); } .token-val { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--text); } .token-bar { height: 2px; background: var(--surface3); border-radius: 2px; overflow: hidden; margin-bottom: 10px; } .token-fill { height: 100%; border-radius: 2px; } /* ── System Log ── */ .log-item { display: flex; gap: 8px; margin-bottom: 7px; font-size: 11px; } .log-time { font-family: 'IBM Plex Mono', monospace; color: var(--text3); white-space: nowrap; } .log-msg { color: var(--text2); line-height: 1.5; } .log-msg.success { color: var(--accent); } .log-msg.warn { color: var(--warn); } .log-msg.error { color: var(--danger); } /* ── System Status ── */ .system-status { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: rgba(110,231,183,0.06); border: 1px solid rgba(110,231,183,0.15); border-radius: 8px; } .pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: sseGlow 2s infinite; } .status-text { font-size: 12px; color: var(--accent); font-weight: 500; } .status-sub { font-size: 11px; color: var(--text3); margin-left: auto; font-family: 'IBM Plex Mono', monospace; } /* ════════ WELCOME ════════ */ .welcome { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1; padding: 40px 24px; text-align: center; gap: 0; } .welcome-logo { width: 56px; height: 56px; background: linear-gradient(135deg, var(--accent), var(--accent2)); border-radius: 14px; display: grid; place-items: center; font-family: 'IBM Plex Mono', monospace; font-size: 18px; font-weight: 500; color: #0c0c10; margin-bottom: 20px; } .welcome h1 { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 700; margin-bottom: 8px; } .welcome p { font-size: 14px; color: var(--text2); line-height: 1.7; max-width: 380px; margin-bottom: 28px; } .suggestion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; max-width: 500px; } .suggestion-card { background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; text-align: left; cursor: pointer; transition: all 0.15s; } .suggestion-card:hover { border-color: var(--border2); background: var(--surface3); } .sugg-title { font-size: 13px; font-weight: 500; margin-bottom: 4px; } .sugg-desc { font-size: 11px; color: var(--text3); line-height: 1.5; } /* ════════ MODAL ════════ */ .modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.65); display: flex; align-items: center; justify-content: center; z-index: 200; backdrop-filter: blur(4px); animation: fadeInOverlay 0.15s ease; } @keyframes fadeInOverlay { from { opacity: 0; } to { opacity: 1; } } .modal { background: var(--surface); border: 1px solid var(--border2); border-radius: 14px; padding: 24px; width: 460px; max-width: 90vw; animation: modalSlideUp 0.2s ease; } @keyframes modalSlideUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } } .modal-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; gap: 12px; } .modal-title { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; } .modal-close { width: 28px; height: 28px; flex-shrink: 0; border-radius: 7px; border: none; background: var(--surface3); color: var(--text2); cursor: pointer; display: grid; place-items: center; transition: all 0.15s; } .modal-close:hover { background: var(--border); color: var(--text); } .modal-body { font-size: 13px; color: var(--text2); line-height: 1.7; } .modal-footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; } .modal-btn { padding: 8px 18px; border-radius: 8px; border: none; font-size: 13px; font-weight: 500; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all 0.15s; } .modal-btn.secondary { background: var(--surface3); color: var(--text2); border: 1px solid var(--border); } .modal-btn.secondary:hover { background: var(--border); color: var(--text); } .modal-btn.primary { background: var(--accent2); color: #fff; } .modal-btn.primary:hover { background: #6b76e8; } .modal-btn.danger { background: rgba(248,113,113,0.15); color: var(--danger); border: 1px solid rgba(248,113,113,0.3); } .modal-info-row { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--surface2); border: 1px solid var(--border); border-radius: 8px; margin-bottom: 12px; } .modal-info-row code { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--accent2); background: var(--surface3); padding: 2px 7px; border-radius: 4px; }