:root { color-scheme: dark; font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; background: #050608; color: #f5f5f7; } *, *::before, *::after { box-sizing: border-box; } body { margin: 0; overflow: hidden; } /* Custom scrollbar styling - Claude Code style */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: #272832; border-radius: 4px; transition: background 0.2s ease; } ::-webkit-scrollbar-thumb:hover { background: #3a3b4d; } /* App Root - Fixed height with footer accommodation */ .app-root { display: flex; flex-direction: column; height: 100vh; background: radial-gradient(circle at top, #171823 0, #050608 55%); color: #f5f5f7; overflow: hidden; } /* Main content wrapper (sidebar + workspace) */ .main-wrapper { display: flex; flex: 1; min-height: 0; overflow: hidden; } /* Sidebar */ .sidebar { width: 320px; padding: 16px 14px; border-right: 1px solid #272832; background: linear-gradient(180deg, #101117 0, #050608 100%); display: flex; flex-direction: column; gap: 16px; overflow-y: auto; overflow-x: hidden; } /* User Profile Section */ .user-profile { margin-top: auto; padding-top: 16px; border-top: 1px solid #272832; display: flex; flex-direction: column; gap: 12px; animation: fadeIn 0.3s ease; } .user-profile-header { display: flex; align-items: center; gap: 10px; } .user-avatar { width: 40px; height: 40px; border-radius: 10px; border: 2px solid #272832; transition: all 0.2s ease; } .user-avatar:hover { border-color: #ff7a3c; transform: scale(1.05); } .user-info { flex: 1; min-width: 0; } .user-name { font-size: 13px; font-weight: 600; color: #f5f5f7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .user-login { font-size: 11px; color: #9a9bb0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .btn-logout { border: none; outline: none; background: #1a1b26; color: #c3c5dd; border-radius: 8px; padding: 8px 12px; font-size: 12px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; border: 1px solid #272832; } .btn-logout:hover { background: #2a2b3c; border-color: #ff7a3c; color: #ff7a3c; transform: translateY(-1px); } .logo-row { display: flex; align-items: center; gap: 10px; animation: fadeIn 0.3s ease; } @keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } .logo-square { width: 32px; height: 32px; border-radius: 8px; background: #ff7a3c; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #050608; transition: transform 0.2s ease; } .logo-square:hover { transform: scale(1.05); } .logo-title { font-size: 16px; font-weight: 600; } .logo-subtitle { font-size: 12px; color: #a1a2b3; } /* Active context card */ .sidebar-context-card { padding: 10px 12px; border-radius: 10px; background: #151622; border: 1px solid #272832; display: flex; flex-direction: column; gap: 6px; animation: slideIn 0.3s ease; } .sidebar-context-header { display: flex; align-items: center; justify-content: space-between; } .sidebar-context-close { width: 22px; height: 22px; border-radius: 4px; border: none; background: transparent; color: #71717a; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; transition: all 0.15s ease; } .sidebar-context-close:hover { background: #272832; color: #f5f5f7; } .sidebar-section-label { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: #71717a; text-transform: uppercase; } .sidebar-context-body { display: flex; flex-direction: column; gap: 2px; } .sidebar-context-repo { font-size: 13px; font-weight: 600; color: #f5f5f7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sidebar-context-meta { font-size: 11px; color: #9a9bb0; display: flex; align-items: center; gap: 6px; } .sidebar-context-dot { width: 3px; height: 3px; border-radius: 50%; background: #4a4b5e; display: inline-block; } .sidebar-context-actions { display: flex; gap: 6px; margin-top: 2px; } .sidebar-context-btn { border: none; outline: none; background: #1a1b26; color: #9a9bb0; border-radius: 6px; padding: 4px 10px; font-size: 11px; font-weight: 500; cursor: pointer; transition: all 0.15s ease; border: 1px solid #272832; } .sidebar-context-btn:hover { background: #222335; color: #c3c5dd; border-color: #3a3b4d; } /* Per-repo chip list in sidebar context card */ .sidebar-repo-chips { display: flex; flex-direction: column; gap: 3px; } .sidebar-repo-chip { display: flex; align-items: center; gap: 5px; padding: 5px 6px 5px 8px; border-radius: 6px; border: 1px solid #272832; background: #111220; cursor: pointer; white-space: nowrap; overflow: hidden; transition: border-color 0.15s, background-color 0.15s; } .sidebar-repo-chip:hover { border-color: #3a3b4d; background: #1a1b2e; } .sidebar-repo-chip-active { border-color: #3B82F6; background: rgba(59, 130, 246, 0.06); } .sidebar-chip-name { font-size: 12px; font-weight: 600; color: #c3c5dd; font-family: monospace; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; } .sidebar-repo-chip-active .sidebar-chip-name { color: #f5f5f7; } .sidebar-chip-dot { width: 2px; height: 2px; border-radius: 50%; background: #4a4b5e; flex-shrink: 0; } .sidebar-chip-branch { font-size: 10px; color: #71717a; font-family: monospace; flex-shrink: 0; } .sidebar-repo-chip-active .sidebar-chip-branch { color: #60a5fa; } .sidebar-chip-write-badge { font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #4caf88; padding: 0 4px; border-radius: 3px; border: 1px solid rgba(76, 175, 136, 0.25); flex-shrink: 0; } /* Per-chip remove button: subtle by default, visible on hover */ .sidebar-chip-remove { display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 3px; border: none; background: transparent; color: #52525B; cursor: pointer; flex-shrink: 0; padding: 0; opacity: 0; transition: opacity 0.15s, color 0.15s, background 0.15s; } .sidebar-repo-chip:hover .sidebar-chip-remove { opacity: 1; } .sidebar-chip-remove:hover { color: #f87171; background: rgba(248, 113, 113, 0.1); } /* "clear all" link-style button */ .sidebar-clear-all { font-size: 9px; color: #52525B; width: auto; height: auto; padding: 2px 6px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; } .sidebar-clear-all:hover { color: #f87171; background: rgba(248, 113, 113, 0.08); } @keyframes slideIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } } /* ContextBar — horizontal chip bar above workspace */ .ctxbar { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-bottom: 1px solid #1E1F23; background-color: #0D0D10; min-height: 40px; } .ctxbar-scroll { display: flex; align-items: center; gap: 6px; flex: 1; overflow-x: auto; scrollbar-width: none; } .ctxbar-scroll::-webkit-scrollbar { display: none; } .ctxbar-chip { display: flex; align-items: center; gap: 5px; padding: 4px 6px 4px 8px; border-radius: 6px; border: 1px solid #27272A; background: #18181B; cursor: pointer; white-space: nowrap; position: relative; flex-shrink: 0; transition: border-color 0.15s, background-color 0.15s; } .ctxbar-chip:hover { border-color: #3a3b4d; background: #1e1f30; } .ctxbar-chip-active { border-color: #3B82F6; background: rgba(59, 130, 246, 0.08); } .ctxbar-chip-indicator { position: absolute; left: 0; top: 25%; bottom: 25%; width: 2px; border-radius: 1px; background-color: #3B82F6; } .ctxbar-chip-name { font-size: 12px; font-weight: 600; font-family: monospace; color: #A1A1AA; max-width: 120px; overflow: hidden; text-overflow: ellipsis; } .ctxbar-chip-active .ctxbar-chip-name { color: #E4E4E7; } .ctxbar-chip-dot { width: 2px; height: 2px; border-radius: 50%; background: #4a4b5e; flex-shrink: 0; } .ctxbar-chip-branch { font-size: 10px; font-family: monospace; background: none; border: 1px solid transparent; border-radius: 3px; padding: 1px 4px; cursor: pointer; color: #71717A; transition: border-color 0.15s, color 0.15s; } .ctxbar-chip-branch:hover { border-color: #3a3b4d; } .ctxbar-chip-branch-active { color: #60a5fa; } .ctxbar-chip-write { font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #4caf88; padding: 0 4px; border-radius: 3px; border: 1px solid rgba(76, 175, 136, 0.25); flex-shrink: 0; } /* Hover-reveal remove button (Claude-style: hidden → visible on chip hover → red on X hover) */ .ctxbar-chip-remove { display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 3px; border: none; background: transparent; color: #52525B; cursor: pointer; flex-shrink: 0; padding: 0; opacity: 0; transition: opacity 0.15s, color 0.15s, background 0.15s; } .ctxbar-chip-remove-visible, .ctxbar-chip:hover .ctxbar-chip-remove { opacity: 1; } .ctxbar-chip-remove:hover { color: #f87171; background: rgba(248, 113, 113, 0.1); } .ctxbar-add { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 6px; border: 1px dashed #3F3F46; background: transparent; color: #71717A; cursor: pointer; flex-shrink: 0; transition: border-color 0.15s, color 0.15s; } .ctxbar-add:hover { border-color: #60a5fa; color: #60a5fa; } .ctxbar-meta { font-size: 10px; color: #52525B; white-space: nowrap; flex-shrink: 0; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; } .ctxbar-branch-picker { position: absolute; top: 100%; left: 0; z-index: 100; margin-top: 4px; } /* Legacy compat — kept for other uses */ .sidebar-repo-info { padding: 10px 12px; border-radius: 10px; background: #151622; border: 1px solid #272832; animation: slideIn 0.3s ease; } .sidebar-repo-name { font-size: 13px; font-weight: 500; } .sidebar-repo-meta { font-size: 11px; color: #9a9bb0; margin-top: 2px; } .settings-button { border: none; outline: none; background: #1a1b26; color: #f5f5f7; border-radius: 8px; padding: 8px 10px; cursor: pointer; font-size: 13px; transition: all 0.2s ease; } .settings-button:hover { background: #222335; transform: translateY(-1px); } /* Repo search */ .repo-search-box { border-radius: 12px; background: #101117; border: 1px solid #272832; padding: 8px; display: flex; flex-direction: column; gap: 8px; } /* Search header wrapper */ .repo-search-header { display: flex; flex-direction: column; gap: 8px; } /* Search row with input and button */ .repo-search-row { display: flex; gap: 6px; align-items: center; } /* Search input */ .repo-search-input { flex: 1; border-radius: 7px; padding: 8px 10px; border: 1px solid #272832; background: #050608; color: #f5f5f7; font-size: 13px; transition: all 0.2s ease; } .repo-search-input:focus { outline: none; border-color: #ff7a3c; background: #0a0b0f; box-shadow: 0 0 0 3px rgba(255, 122, 60, 0.08); } .repo-search-input::placeholder { color: #676883; } .repo-search-input:disabled { opacity: 0.5; cursor: not-allowed; } /* Search button */ .repo-search-btn { border-radius: 7px; border: none; outline: none; padding: 8px 14px; background: #1a1b26; color: #f5f5f7; cursor: pointer; font-size: 13px; font-weight: 500; transition: all 0.2s ease; white-space: nowrap; } .repo-search-btn:hover:not(:disabled) { background: #222335; transform: translateY(-1px); } .repo-search-btn:active:not(:disabled) { transform: translateY(0); } .repo-search-btn:disabled { opacity: 0.5; cursor: not-allowed; } /* Info bar (shows count and clear button) */ .repo-info-bar { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; background: #0a0b0f; border: 1px solid #272832; border-radius: 7px; font-size: 11px; } .repo-count { color: #9a9bb0; font-weight: 500; } .repo-clear-btn { padding: 3px 10px; background: transparent; border: 1px solid #272832; border-radius: 5px; color: #9a9bb0; font-size: 11px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; } .repo-clear-btn:hover:not(:disabled) { background: #1a1b26; color: #c3c5dd; border-color: #3a3b4d; } .repo-clear-btn:disabled { opacity: 0.5; cursor: not-allowed; } /* Status message */ .repo-status { padding: 8px 10px; background: #1a1b26; border: 1px solid #272832; border-radius: 7px; color: #9a9bb0; font-size: 11px; text-align: center; } /* Repository list */ .repo-list { max-height: 220px; overflow-y: auto; overflow-x: hidden; padding-right: 2px; display: flex; flex-direction: column; gap: 4px; } /* Custom scrollbar for repo list */ .repo-list::-webkit-scrollbar { width: 6px; } .repo-list::-webkit-scrollbar-track { background: transparent; } .repo-list::-webkit-scrollbar-thumb { background: #272832; border-radius: 3px; } .repo-list::-webkit-scrollbar-thumb:hover { background: #3a3b4d; } /* Repository item */ .repo-item { width: 100%; text-align: left; border: none; outline: none; background: transparent; color: #f5f5f7; padding: 8px 8px; border-radius: 7px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px; transition: all 0.15s ease; border: 1px solid transparent; } .repo-item:hover { background: #1a1b26; border-color: #272832; transform: translateX(2px); } .repo-item-content { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; } .repo-name { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .repo-owner { font-size: 11px; color: #8e8fac; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* Private badge */ .repo-badge-private { padding: 2px 6px; background: #1a1b26; border: 1px solid #3a3b4d; border-radius: 4px; color: #9a9bb0; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; white-space: nowrap; flex-shrink: 0; } /* Loading states */ .repo-loading { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px 20px; color: #9a9bb0; font-size: 12px; } .repo-loading-spinner { width: 24px; height: 24px; border: 2px solid #272832; border-top-color: #ff7a3c; border-radius: 50%; animation: repo-spin 0.8s linear infinite; } .repo-loading-spinner-small { width: 14px; height: 14px; border: 2px solid rgba(255, 122, 60, 0.3); border-top-color: #ff7a3c; border-radius: 50%; animation: repo-spin 0.8s linear infinite; } @keyframes repo-spin { to { transform: rotate(360deg); } } /* Load more button */ .repo-load-more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 10px 12px; margin: 4px 0; background: #0a0b0f; border: 1px solid #272832; border-radius: 7px; color: #c3c5dd; font-size: 12px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; } .repo-load-more:hover:not(:disabled) { background: #1a1b26; border-color: #3a3b4d; transform: translateY(-1px); } .repo-load-more:active:not(:disabled) { transform: translateY(0); } .repo-load-more:disabled { opacity: 0.6; cursor: not-allowed; } .repo-load-more-count { color: #7779a0; font-weight: 400; } /* All loaded message */ .repo-all-loaded { padding: 10px 12px; margin: 4px 0; background: rgba(124, 255, 179, 0.08); border: 1px solid rgba(124, 255, 179, 0.2); border-radius: 7px; color: #7cffb3; font-size: 11px; text-align: center; font-weight: 500; } /* GitHub App installation notice */ .repo-github-notice { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; background: #0a0b0f; border: 1px solid #272832; border-radius: 7px; font-size: 11px; line-height: 1.5; margin-top: 4px; } .repo-github-icon { flex-shrink: 0; margin-top: 1px; opacity: 0.6; color: #9a9bb0; width: 16px; height: 16px; } .repo-github-notice-content { flex: 1; display: flex; flex-direction: column; gap: 3px; } .repo-github-notice-title { color: #c3c5dd; font-weight: 600; font-size: 11px; } .repo-github-notice-text { color: #9a9bb0; } .repo-github-link { color: #ff7a3c; text-decoration: none; font-weight: 500; transition: color 0.2s ease; } .repo-github-link:hover { color: #ff8b52; text-decoration: underline; } /* Focus visible for accessibility */ .repo-item:focus-visible, .repo-search-btn:focus-visible, .repo-load-more:focus-visible, .repo-clear-btn:focus-visible { outline: 2px solid #ff7a3c; outline-offset: 2px; } /* Reduced motion support */ @media (prefers-reduced-motion: reduce) { .repo-item, .repo-search-btn, .repo-load-more, .repo-clear-btn { transition: none; } .repo-loading-spinner, .repo-loading-spinner-small { animation: none; } } /* Mobile responsive adjustments */ @media (max-width: 768px) { .repo-search-input { font-size: 16px; /* Prevents zoom on iOS */ } .repo-item { padding: 7px 7px; } .repo-name { font-size: 12px; } .repo-owner { font-size: 10px; } } /* Workspace */ .workspace { flex: 1; display: flex; flex-direction: column; position: relative; overflow: hidden; min-height: 0; } .empty-state { margin: auto; max-width: 420px; text-align: center; color: #c3c5dd; animation: fadeIn 0.5s ease; } .empty-bot { font-size: 36px; margin-bottom: 12px; animation: bounce 2s ease infinite; } @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } .empty-state h1 { font-size: 24px; margin-bottom: 6px; } .empty-state p { font-size: 14px; color: #9a9bb0; } /* Workspace grid - Properly constrained */ .workspace-grid { display: grid; grid-template-columns: 320px minmax(340px, 1fr); height: 100%; overflow: hidden; flex: 1; min-height: 0; } /* Panels */ .panel-header { height: 40px; padding: 0 16px; border-bottom: 1px solid #272832; display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 500; color: #c3c5dd; background: #0a0b0f; flex-shrink: 0; } .badge { padding: 2px 6px; border-radius: 999px; border: 1px solid #3a3b4d; font-size: 10px; } /* Files */ .files-panel { border-right: 1px solid #272832; background: #101117; display: flex; flex-direction: column; overflow: hidden; } .files-list { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 6px 4px; min-height: 0; } .files-item { border: none; outline: none; width: 100%; background: transparent; color: #f5f5f7; display: flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 6px; cursor: pointer; font-size: 12px; transition: all 0.15s ease; } .files-item:hover { background: #1a1b26; transform: translateX(2px); } .files-item-active { background: #2a2b3c; } .file-icon { width: 16px; flex-shrink: 0; } .file-path { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .files-empty { padding: 10px 12px; font-size: 12px; color: #9a9bb0; } /* Chat panel */ .editor-panel { display: flex; flex-direction: column; background: #050608; } .chat-container { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; } .chat-messages { flex: 1; padding: 12px 16px; overflow-y: auto; overflow-x: hidden; font-size: 13px; min-height: 0; scroll-behavior: smooth; } .chat-message-user { margin-bottom: 16px; animation: slideInRight 0.3s ease; } @keyframes slideInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } } .chat-message-ai { margin-bottom: 16px; animation: slideInLeft 0.3s ease; } @keyframes slideInLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } } .chat-message-ai span { display: inline-block; padding: 10px 14px; border-radius: 12px; max-width: 80%; line-height: 1.5; } .chat-message-user span { display: inline; padding: 0; border-radius: 0; background: transparent; border: none; max-width: none; line-height: inherit; } .chat-message-ai span { background: #151622; border: 1px solid #272832; } .chat-empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; padding: 40px 20px; text-align: center; } .chat-empty-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.6; animation: pulse 2s ease infinite; } @keyframes pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 0.8; } } .chat-empty-state p { margin: 0; font-size: 13px; color: #9a9bb0; max-width: 400px; } .chat-input-box { padding: 12px 16px; border-top: 1px solid #272832; display: flex; flex-direction: column; gap: 10px; background: #050608; flex-shrink: 0; min-height: fit-content; box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3); } .chat-input-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .chat-input { flex: 1; min-width: 200px; border-radius: 8px; padding: 10px 12px; border: 1px solid #272832; background: #0a0b0f; color: #f5f5f7; font-size: 13px; line-height: 1.5; transition: all 0.2s ease; } .chat-input:focus { outline: none; border-color: #ff7a3c; background: #101117; box-shadow: 0 0 0 3px rgba(255, 122, 60, 0.1); } .chat-input::placeholder { color: #676883; } .chat-btn { border-radius: 8px; border: none; outline: none; padding: 10px 16px; background: #ff7a3c; color: #050608; cursor: pointer; font-size: 13px; font-weight: 600; transition: all 0.2s ease; white-space: nowrap; min-height: 40px; } .chat-btn:hover:not(:disabled) { background: #ff8c52; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255, 122, 60, 0.3); } .chat-btn:active:not(:disabled) { transform: translateY(0); } .chat-btn.secondary { background: #1a1b26; color: #f5f5f7; border: 1px solid #272832; } .chat-btn.secondary:hover:not(:disabled) { background: #222335; border-color: #3a3b4d; } .chat-btn:disabled { opacity: 0.5; cursor: not-allowed; } /* Plan rendering */ .plan-card { border-radius: 12px; background: #101117; border: 1px solid #272832; padding: 10px 12px; margin-top: 6px; animation: fadeIn 0.3s ease; } .plan-steps { margin: 6px 0 0; padding-left: 18px; font-size: 12px; } .plan-steps li { margin-bottom: 4px; } /* Modal */ .modal-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); display: flex; align-items: center; justify-content: center; z-index: 20; animation: fadeIn 0.2s ease; } .modal { background: #101117; border-radius: 16px; border: 1px solid #272832; padding: 16px 18px; width: 360px; animation: scaleIn 0.3s ease; } @keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } } .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .modal-title { font-size: 15px; font-weight: 600; } .modal-close { border: none; outline: none; background: transparent; color: #9a9bb0; cursor: pointer; transition: color 0.2s ease; } .modal-close:hover { color: #ff7a3c; } .provider-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; } .provider-item { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px; border-radius: 8px; background: #151622; border: 1px solid #272832; font-size: 13px; transition: all 0.2s ease; } .provider-item:hover { border-color: #3a3b4d; } .provider-item.active { border-color: #ff7a3c; background: rgba(255, 122, 60, 0.1); } .provider-name { font-weight: 500; } .provider-badge { font-size: 11px; color: #9a9bb0; } /* Navigation */ .main-nav { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; margin-bottom: 10px; } .nav-btn { border: none; outline: none; background: transparent; color: #9a9bb0; border-radius: 8px; font-size: 13px; font-weight: 500; padding: 8px 12px; text-align: left; cursor: pointer; transition: all 0.15s ease; } .nav-btn:hover { background: #1a1b26; color: #c3c5dd; } .nav-btn-active { background: #1a1b26; color: #f5f5f7; font-weight: 600; border-left: 2px solid #ff7a3c; padding-left: 10px; } /* Settings page */ .settings-root { padding: 20px 24px; overflow-y: auto; max-width: 800px; } .settings-root h1 { margin-top: 0; font-size: 24px; margin-bottom: 8px; } .settings-muted { font-size: 13px; color: #9a9bb0; margin-bottom: 20px; line-height: 1.5; } .settings-card { background: #101117; border-radius: 12px; border: 1px solid #272832; padding: 14px 16px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 8px; transition: all 0.2s ease; } .settings-card:hover { border-color: #3a3b4d; } .settings-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; } .settings-label { font-size: 12px; color: #9a9bb0; font-weight: 500; margin-top: 4px; } .settings-input, .settings-select { background: #050608; border-radius: 8px; border: 1px solid #272832; padding: 8px 10px; color: #f5f5f7; font-size: 13px; font-family: inherit; transition: all 0.2s ease; } .settings-input:focus, .settings-select:focus { outline: none; border-color: #ff7a3c; box-shadow: 0 0 0 3px rgba(255, 122, 60, 0.1); } .settings-input::placeholder { color: #676883; } .settings-hint { font-size: 11px; color: #7a7b8e; margin-top: -2px; } .settings-actions { margin-top: 12px; display: flex; align-items: center; gap: 12px; } .settings-save-btn { background: #ff7a3c; border-radius: 999px; border: none; outline: none; padding: 9px 18px; font-size: 13px; cursor: pointer; color: #050608; font-weight: 600; transition: all 0.2s ease; } .settings-save-btn:hover { background: #ff8b52; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255, 122, 60, 0.3); } .settings-save-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; } .settings-success { font-size: 12px; color: #7cffb3; font-weight: 500; } .settings-error { font-size: 12px; color: #ff8a8a; font-weight: 500; } /* Flow viewer */ .flow-root { display: flex; flex-direction: column; height: 100%; overflow: hidden; } .flow-header { padding: 16px 20px; border-bottom: 1px solid #272832; display: flex; align-items: center; justify-content: space-between; } .flow-header h1 { margin: 0; font-size: 22px; margin-bottom: 4px; } .flow-header p { margin: 0; font-size: 12px; color: #9a9bb0; max-width: 600px; line-height: 1.5; } .flow-canvas { flex: 1; background: #050608; position: relative; } .flow-error { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; } .error-icon { font-size: 48px; } .error-text { font-size: 14px; color: #ff8a8a; } /* Assistant Message Sections */ .gp-section { margin-bottom: 16px; border-radius: 12px; background: #101117; border: 1px solid #272832; overflow: hidden; animation: fadeIn 0.3s ease; } .gp-section-header { padding: 8px 12px; background: #151622; border-bottom: 1px solid #272832; } .gp-section-header h3 { margin: 0; font-size: 13px; font-weight: 600; color: #c3c5dd; } .gp-section-content { padding: 12px; } .gp-section-answer .gp-section-content p { margin: 0; font-size: 13px; line-height: 1.6; color: #f5f5f7; } .gp-section-plan { background: #0a0b0f; } /* Plan View Enhanced */ .plan-header { margin-bottom: 12px; } .plan-goal { font-size: 13px; font-weight: 600; margin-bottom: 4px; color: #f5f5f7; } .plan-summary { font-size: 12px; color: #c3c5dd; line-height: 1.5; } .plan-totals { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; } .plan-total { padding: 4px 8px; border-radius: 6px; font-size: 11px; font-weight: 500; animation: fadeIn 0.3s ease; } .plan-total-create { background: rgba(76, 175, 80, 0.15); color: #81c784; border: 1px solid rgba(76, 175, 80, 0.3); } .plan-total-modify { background: rgba(33, 150, 243, 0.15); color: #64b5f6; border: 1px solid rgba(33, 150, 243, 0.3); } .plan-total-delete { background: rgba(244, 67, 54, 0.15); color: #e57373; border: 1px solid rgba(244, 67, 54, 0.3); } .plan-step { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #1a1b26; } .plan-step:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; } .plan-step-header { margin-bottom: 6px; } .plan-step-description { font-size: 12px; color: #9a9bb0; margin-bottom: 8px; } .plan-files { list-style: none; padding: 0; margin: 8px 0; } .plan-file { display: flex; align-items: center; gap: 8px; padding: 4px 0; } .gp-pill { padding: 2px 6px; border-radius: 4px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; } .gp-pill-create { background: rgba(76, 175, 80, 0.2); color: #81c784; border: 1px solid rgba(76, 175, 80, 0.4); } .gp-pill-modify { background: rgba(33, 150, 243, 0.2); color: #64b5f6; border: 1px solid rgba(33, 150, 243, 0.4); } .gp-pill-delete { background: rgba(244, 67, 54, 0.2); color: #e57373; border: 1px solid rgba(244, 67, 54, 0.4); } .plan-file-path { font-size: 11px; color: #c3c5dd; font-family: "SF Mono", Monaco, "Cascadia Code", monospace; background: #0a0b0f; padding: 2px 6px; border-radius: 4px; } .plan-step-risks { margin-top: 8px; padding: 6px 8px; background: rgba(255, 152, 0, 0.1); border-left: 2px solid #ff9800; border-radius: 4px; font-size: 11px; color: #ffb74d; } .plan-risk-label { font-weight: 600; } /* Execution Log */ .execution-steps { list-style: none; padding: 0; margin: 0; } .execution-step { padding: 8px; margin-bottom: 6px; background: #0a0b0f; border-radius: 6px; font-size: 11px; font-family: "SF Mono", Monaco, "Cascadia Code", monospace; white-space: pre-wrap; } .execution-step-number { color: #ff7a3c; font-weight: 600; margin-right: 8px; } .execution-step-summary { color: #c3c5dd; } /* Project Context Panel - Properly constrained */ .gp-context { padding: 12px; height: 100%; overflow: hidden; display: flex; flex-direction: column; } .gp-context-column { background: #0a0b0f; border-right: 1px solid #272832; overflow: hidden; display: flex; flex-direction: column; } .gp-chat-column { display: flex; flex-direction: column; background: #050608; height: 100%; min-width: 0; overflow: hidden; } .gp-card { background: #101117; border-radius: 12px; border: 1px solid #272832; overflow: hidden; display: flex; flex-direction: column; height: 100%; min-height: 0; } .gp-card-header { padding: 10px 12px; background: #151622; border-bottom: 1px solid #272832; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; } .gp-card-header h2 { margin: 0; font-size: 14px; font-weight: 600; color: #f5f5f7; } .gp-badge { padding: 3px 8px; border-radius: 999px; background: #2a2b3c; border: 1px solid #3a3b4d; font-size: 11px; color: #c3c5dd; font-weight: 500; transition: all 0.2s ease; } .gp-badge:hover { border-color: #ff7a3c; } .gp-context-meta { padding: 12px; display: flex; flex-direction: column; gap: 6px; border-bottom: 1px solid #272832; flex-shrink: 0; background: #0a0b0f; } .gp-context-meta-item { display: flex; align-items: center; gap: 6px; font-size: 12px; } .gp-context-meta-label { color: #9a9bb0; min-width: 60px; } .gp-context-meta-item strong { color: #f5f5f7; font-weight: 500; } /* File tree - Properly scrollable */ .gp-context-tree { flex: 1; overflow-y: auto; overflow-x: hidden; min-height: 0; padding: 4px; } .gp-context-empty { padding: 20px 12px; text-align: center; color: #9a9bb0; font-size: 12px; } /* Footer - Fixed at bottom */ .gp-footer { position: fixed; bottom: 0; left: 0; right: 0; border-top: 1px solid #272832; padding: 8px 20px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #9a9bb0; background: #0a0b0f; backdrop-filter: blur(10px); z-index: 10; box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2); } .gp-footer-left { display: flex; align-items: center; gap: 6px; font-weight: 500; color: #c3c5dd; } .gp-footer-right { display: flex; align-items: center; gap: 12px; } .gp-footer-right a { color: #9a9bb0; text-decoration: none; transition: all 0.2s ease; } .gp-footer-right a:hover { color: #ff7a3c; transform: translateY(-1px); } /* Adjust app-root to account for fixed footer */ .app-root > .main-wrapper { padding-bottom: 32px; /* Space for fixed footer */ } /* ============================================================================ LOGIN PAGE - Enterprise GitHub Authentication ============================================================================ */ .login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at center, #171823 0%, #050608 70%); padding: 20px; animation: fadeIn 0.4s ease; } .login-container { width: 100%; max-width: 480px; background: #101117; border: 1px solid #272832; border-radius: 24px; padding: 40px 36px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); animation: slideUp 0.5s ease; } @keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* Header */ .login-header { text-align: center; margin-bottom: 32px; } .login-logo { display: flex; justify-content: center; margin-bottom: 16px; } .logo-icon { width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, #ff7a3c 0%, #ff6b2b 100%); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 28px; color: #050608; box-shadow: 0 8px 24px rgba(255, 122, 60, 0.3); transition: transform 0.3s ease; } .logo-icon:hover { transform: scale(1.05) rotate(3deg); } .login-title { margin: 0; font-size: 28px; font-weight: 700; color: #f5f5f7; margin-bottom: 8px; letter-spacing: -0.5px; } .login-subtitle { margin: 0; font-size: 14px; color: #9a9bb0; font-weight: 500; } /* Welcome Section */ .login-welcome { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid #272832; } .login-welcome h2 { margin: 0 0 12px 0; font-size: 20px; font-weight: 600; color: #f5f5f7; } .login-welcome p { margin: 0; font-size: 14px; line-height: 1.6; color: #c3c5dd; } /* Error Message */ .login-error { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: rgba(255, 82, 82, 0.1); border: 1px solid rgba(255, 82, 82, 0.3); border-radius: 10px; color: #ff8a8a; font-size: 13px; margin-bottom: 20px; animation: shake 0.4s ease; } @keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } } .login-error svg { flex-shrink: 0; } /* Login Actions */ .login-actions { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; } /* Buttons */ .btn-primary, .btn-secondary, .btn-text { border: none; outline: none; cursor: pointer; font-family: inherit; font-weight: 600; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; gap: 10px; } .btn-large { padding: 14px 24px; font-size: 15px; border-radius: 12px; } .btn-primary { background: linear-gradient(135deg, #ff7a3c 0%, #ff6b2b 100%); color: #fff; box-shadow: 0 4px 12px rgba(255, 122, 60, 0.25); } .btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 122, 60, 0.35); } .btn-primary:active:not(:disabled) { transform: translateY(0); } .btn-primary:disabled { opacity: 0.6; cursor: not-allowed; } .btn-secondary { background: #1a1b26; color: #f5f5f7; border: 1px solid #3a3b4d; } .btn-secondary:hover { background: #2a2b3c; border-color: #4a4b5d; transform: translateY(-1px); } .btn-text { background: transparent; color: #9a9bb0; padding: 10px; font-size: 14px; font-weight: 500; } .btn-text:hover { color: #ff7a3c; } /* Button Spinner */ .btn-spinner { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, 0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.6s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Loading Spinner (Page) */ .loading-spinner { width: 48px; height: 48px; border: 4px solid #272832; border-top-color: #ff7a3c; border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto; } /* Divider */ .login-divider { position: relative; text-align: center; margin: 8px 0; } .login-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: #272832; } .login-divider span { position: relative; display: inline-block; padding: 0 16px; background: #101117; color: #9a9bb0; font-size: 12px; font-weight: 500; } /* Form */ .login-form { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; } .form-group { display: flex; flex-direction: column; gap: 8px; } .form-group label { font-size: 13px; font-weight: 600; color: #f5f5f7; } .form-input { background: #0a0b0f; border: 1px solid #272832; border-radius: 10px; padding: 12px 14px; color: #f5f5f7; font-size: 14px; font-family: "SF Mono", Monaco, monospace; transition: all 0.2s ease; } .form-input:focus { outline: none; border-color: #ff7a3c; box-shadow: 0 0 0 4px rgba(255, 122, 60, 0.1); } .form-input:disabled { opacity: 0.5; cursor: not-allowed; } .form-input::placeholder { color: #676883; } .form-hint { font-size: 12px; color: #9a9bb0; line-height: 1.5; margin: 0; } .form-link { color: #ff7a3c; text-decoration: none; font-weight: 500; transition: color 0.2s ease; } .form-link:hover { color: #ff8b52; text-decoration: underline; } .form-hint code { background: #1a1b26; padding: 2px 6px; border-radius: 4px; font-family: "SF Mono", Monaco, monospace; font-size: 11px; color: #ff7a3c; } /* Notice (for no auth configured) */ .login-notice { padding: 20px; background: rgba(255, 152, 0, 0.1); border: 1px solid rgba(255, 152, 0, 0.3); border-radius: 12px; margin-bottom: 28px; } .login-notice h3 { margin: 0 0 12px 0; font-size: 16px; color: #ffb74d; } .login-notice p { margin: 0 0 12px 0; font-size: 13px; color: #c3c5dd; line-height: 1.6; } .login-notice ul { margin: 0; padding-left: 20px; font-size: 13px; color: #c3c5dd; line-height: 1.8; } .login-notice code { background: #1a1b26; padding: 2px 6px; border-radius: 4px; font-family: "SF Mono", Monaco, monospace; font-size: 12px; color: #ff7a3c; } /* Features List */ .login-features { display: flex; flex-direction: column; gap: 12px; padding: 20px 0; border-top: 1px solid #272832; border-bottom: 1px solid #272832; margin-bottom: 20px; } .feature-item { display: flex; align-items: flex-start; gap: 12px; } .feature-icon { flex-shrink: 0; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; color: #7cffb3; } .feature-text { display: flex; flex-direction: column; gap: 2px; } .feature-text strong { font-size: 13px; font-weight: 600; color: #f5f5f7; } .feature-text span { font-size: 12px; color: #9a9bb0; } /* Footer */ .login-footer { text-align: center; } .login-footer p { margin: 0; font-size: 11px; color: #7a7b8e; line-height: 1.6; }/* ============================================================================ INSTALLATION MODAL - Claude Code Style ============================================================================ */ .install-modal-backdrop { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); z-index: 9999; animation: fadeIn 0.2s ease; } .install-modal { width: 480px; max-width: 90vw; background: #101117; border: 1px solid #272832; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); animation: modalSlideIn 0.3s ease; overflow: hidden; } @keyframes modalSlideIn { from { opacity: 0; transform: translateY(-20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } } /* Modal Header */ .install-modal-header { padding: 32px 32px 24px; text-align: center; border-bottom: 1px solid #272832; } .install-modal-logo { display: flex; justify-content: center; margin-bottom: 16px; } .logo-icon-large { width: 56px; height: 56px; border-radius: 12px; background: linear-gradient(135deg, #ff7a3c 0%, #ff6b2b 100%); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 24px; color: #050608; box-shadow: 0 4px 16px rgba(255, 122, 60, 0.3); } .install-modal-title { margin: 0 0 8px 0; font-size: 20px; font-weight: 600; color: #f5f5f7; } .install-modal-subtitle { margin: 0; font-size: 13px; color: #9a9bb0; line-height: 1.5; } /* Status Indicator */ .install-status { display: flex; align-items: center; gap: 10px; padding: 12px 16px; margin: 16px 24px; border-radius: 8px; font-size: 13px; transition: all 0.2s ease; } .install-status-error { background: rgba(255, 82, 82, 0.1); border: 1px solid rgba(255, 82, 82, 0.3); color: #ff8a8a; } .install-status-pending { background: rgba(255, 152, 0, 0.1); border: 1px solid rgba(255, 152, 0, 0.3); color: #ffb74d; } .status-icon { flex-shrink: 0; } .status-spinner { width: 16px; height: 16px; border: 2px solid rgba(255, 180, 77, 0.3); border-top-color: #ffb74d; border-radius: 50%; animation: spin 0.6s linear infinite; } /* Installation Steps */ .install-steps { padding: 24px 32px; display: flex; flex-direction: column; gap: 16px; } .install-step { display: flex; align-items: flex-start; gap: 12px; } .step-number { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: #1a1b26; border: 1px solid #3a3b4d; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: #ff7a3c; } .step-content h3 { margin: 0 0 4px 0; font-size: 14px; font-weight: 600; color: #f5f5f7; } .step-content p { margin: 0; font-size: 12px; color: #9a9bb0; line-height: 1.5; } /* Action Buttons */ .install-modal-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid #272832; background: #0a0b0f; } .btn-install-primary { border: none; outline: none; background: #000; color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.2s ease; } .btn-install-primary:hover:not(:disabled) { background: #1a1a1a; transform: translateY(-1px); } .btn-install-primary:active:not(:disabled) { transform: translateY(0); } .btn-install-primary:disabled { opacity: 0.5; cursor: not-allowed; } .btn-check-status { border: 1px solid #3a3b4d; outline: none; background: #1a1b26; color: #f5f5f7; padding: 10px 18px; border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.2s ease; } .btn-check-status:hover:not(:disabled) { background: #2a2b3c; border-color: #4a4b5d; } .btn-check-status:disabled { opacity: 0.5; cursor: not-allowed; } .btn-install-secondary { border: 1px solid #3a3b4d; outline: none; background: transparent; color: #c3c5dd; padding: 10px 18px; border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.2s ease; } .btn-install-secondary:hover:not(:disabled) { background: #1a1b26; border-color: #4a4b5d; } .btn-install-secondary:disabled { opacity: 0.5; cursor: not-allowed; } /* Footer */ .install-modal-footer { padding: 16px 32px 24px; text-align: center; } .install-modal-footer p { margin: 0; font-size: 12px; color: #7a7b8e; line-height: 1.6; } .install-modal-footer strong { color: #c3c5dd; font-weight: 600; } /* Button spinner */ .btn-spinner { width: 14px; height: 14px; border: 2px solid rgba(255, 255, 255, 0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.6s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Secondary primary-style button for "Load available models" */ .settings-load-btn { margin-top: 8px; /* Make it hug the text, not full width */ display: inline-flex; align-items: center; justify-content: center; width: auto !important; min-width: 0; align-self: flex-start; /* Size: slightly smaller than Save but same family */ padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.01em; border: none; outline: none; cursor: pointer; /* Match Save button color palette */ background: #ff7a3c; color: #050608; transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, opacity 0.2s ease; } .settings-load-btn:hover { background: #ff8b52; transform: translateY(-1px); box-shadow: 0 3px 10px rgba(255, 122, 60, 0.28); } .settings-load-btn:active { transform: translateY(0); box-shadow: 0 1px 4px rgba(255, 122, 60, 0.25); } .settings-load-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }