.file-tabs { display: flex; align-items: flex-end; background: #1e1e1e; border-bottom: 1px solid #333; overflow-x: auto; flex-shrink: 0; min-height: 35px; scrollbar-width: thin; scrollbar-color: #3c3c3c transparent; } /* Owner badge — names the board/chip whose files are shown, so the user knows whose code these tabs belong to. */ .file-tabs-owner { display: flex; align-items: center; padding: 0 10px; font-size: 10px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: #9aa0a6; background: #181818; border-right: 1px solid #333; white-space: nowrap; flex-shrink: 0; } .file-tab { display: flex; align-items: center; gap: 5px; padding: 0 10px; height: 35px; min-width: 90px; max-width: 180px; cursor: pointer; background: #2d2d2d; border-right: 1px solid #2a2a2a; color: #9d9d9d; font-size: 12px; font-family: 'Segoe UI', sans-serif; user-select: none; flex-shrink: 0; white-space: nowrap; overflow: hidden; transition: background 0.1s, color 0.1s; } .file-tab:hover { background: #2a2d2e; color: #ccc; } .file-tab-active { background: #1e1e1e; color: #fff; border-top: 2px solid #4fc3f7; } .file-tab-modified { width: 7px; height: 7px; border-radius: 50%; background: #e8a87c; flex-shrink: 0; } .file-tab-name { overflow: hidden; text-overflow: ellipsis; flex: 1; } .file-tab-close { background: none; border: none; color: transparent; font-size: 16px; line-height: 1; cursor: pointer; padding: 0; border-radius: 3px; flex-shrink: 0; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; transition: background 0.1s, color 0.1s; } .file-tab:hover .file-tab-close, .file-tab-active .file-tab-close { color: #666; } .file-tab-close:hover { background: rgba(255, 255, 255, 0.12) !important; color: #fff !important; } /* Confirm dialog */ .ftabs-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; } .ftabs-confirm-box { background: #252526; border: 1px solid #3c3c3c; border-radius: 6px; padding: 20px 24px; color: #ccc; font-size: 14px; min-width: 290px; } .ftabs-confirm-box p { margin: 0 0 16px; } .ftabs-confirm-actions { display: flex; gap: 8px; justify-content: flex-end; } .ftabs-confirm-actions button { padding: 6px 14px; border-radius: 4px; border: 1px solid #3c3c3c; cursor: pointer; font-size: 13px; background: #2a2d2e; color: #ccc; } .ftabs-confirm-actions button:hover { background: #333; } .ftabs-btn-close { background: #c62828 !important; border-color: #c62828 !important; color: #fff !important; } .ftabs-btn-close:hover { background: #d32f2f !important; }