/* ==========================================================================
   SmartXChain Web3 Studio - Remix & VS Code IDE Theme & Layout
   ========================================================================== */

:root {
    --bg-darker: #0d0e12;
    --bg-activity: #13141b;
    --bg-sidebar: #181a22;
    --bg-sidebar-header: #15161e;
    --bg-editor: #101117;
    --bg-tab-active: #101117;
    --bg-tab-inactive: #1a1c26;
    --bg-terminal: #0b0c10;
    --bg-hover: rgba(255, 255, 255, 0.05);
    --bg-active: rgba(255, 255, 255, 0.08);
    --border-ide: #232634;
    --border-light: #2d3142;
    --text-primary: #e2e8f0;
    --text-muted: #848da0;
    --text-dim: #5a6275;
    --accent-blue: #3b82f6;
    --accent-blue-hover: #2563eb;
    --accent-cyan: #06b6d4;
    --accent-orange: #f59e0b;
    --accent-orange-hover: #d97706;
    --accent-green: #10b981;
    --accent-green-hover: #059669;
    --accent-red: #ef4444;
    --accent-purple: #8b5cf6;
    --status-bar-bg: #1e3a8a;
    --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "Cascadia Code", "Fira Code", "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: var(--bg-darker);
    color: var(--text-primary);
    font-family: var(--font-ui);
    font-size: 13px;
    line-height: 1.4;
    user-select: none;
}

/* Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #2a2d3d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3b3f54;
}

/* ==========================================================================
   TOP APPLICATION BAR
   ========================================================================== */
.studio-topbar {
    height: 44px;
    background: var(--bg-activity);
    border-bottom: 1px solid var(--border-ide);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    z-index: 100;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.studio-logo-group {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
}

.studio-logo-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: contain;
}

.studio-logo-text {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.studio-version-tag {
    font-size: 0.68rem;
    padding: 2px 6px;
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border-radius: 4px;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.topbar-workspace-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-select {
    background: var(--bg-sidebar);
    color: var(--text-primary);
    border: 1px solid var(--border-ide);
    border-radius: 5px;
    padding: 4px 8px;
    font-size: 0.8rem;
    outline: none;
    cursor: pointer;
}
.topbar-select:hover {
    border-color: var(--border-light);
}

.topbar-center {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-sidebar);
    color: var(--text-primary);
    border: 1px solid var(--border-ide);
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}
.topbar-btn:hover {
    background: var(--bg-hover);
    border-color: var(--accent-blue);
    color: #fff;
}

.topbar-btn.primary {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #fff;
}
.topbar-btn.primary:hover {
    background: var(--accent-blue-hover);
}

.topbar-btn.success {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: #34d399;
}
.topbar-btn.success:hover {
    background: var(--accent-green);
    color: #fff;
}

.topbar-btn.warning {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}
.topbar-btn.warning:hover {
    background: var(--accent-orange);
    color: #fff;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.net-indicator-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.net-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.topbar-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.15s ease;
}
.topbar-link:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

/* ==========================================================================
   MAIN IDE WORKSPACE LAYOUT
   ========================================================================== */
.studio-main {
    display: flex;
    width: 100vw;
    height: calc(100vh - 44px - 26px);
    overflow: hidden;
    position: relative;
}

/* Activity Bar (Vertical Left 48px) */
.activity-bar {
    width: 48px;
    min-width: 48px;
    height: 100%;
    background: var(--bg-activity);
    border-right: 1px solid var(--border-ide);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    z-index: 50;
}

.activity-icons-top,
.activity-icons-bottom {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    align-items: center;
}

.activity-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    border-radius: 6px;
    position: relative;
    transition: all 0.15s ease;
}

.activity-icon-btn:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.activity-icon-btn.active {
    color: #fff;
    background: var(--bg-active);
}

.activity-icon-btn.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: var(--accent-blue);
    border-radius: 0 2px 2px 0;
}

.activity-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--accent-red);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 14px;
    height: 14px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* ==========================================================================
   SIDE PANEL (320px Collapsible)
   ========================================================================== */
.side-panel {
    width: 320px;
    min-width: 260px;
    max-width: 480px;
    height: 100%;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-ide);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: width 0.15s ease;
}

.side-panel.collapsed {
    width: 0 !important;
    min-width: 0 !important;
    border-right: none;
    overflow: hidden;
}

.side-panel-header {
    height: 38px;
    background: var(--bg-sidebar-header);
    border-bottom: 1px solid var(--border-ide);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
}

.side-panel-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.side-panel-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.side-panel-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
}
.side-panel-btn:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.side-panel-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* View Sub-Panels */
.view-panel {
    display: none;
    flex-direction: column;
    gap: 14px;
}
.view-panel.active {
    display: flex;
}

/* Common Side Panel UI Elements */
.panel-section-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.form-control {
    background: var(--bg-darker);
    border: 1px solid var(--border-ide);
    color: var(--text-primary);
    border-radius: 5px;
    padding: 6px 10px;
    font-size: 0.82rem;
    outline: none;
    width: 100%;
}
.form-control:focus {
    border-color: var(--accent-blue);
}

.form-control.mono {
    font-family: var(--font-mono);
    font-size: 0.78rem;
}

/* File Explorer View */
.file-tree {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: background 0.1s ease;
}
.file-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}
.file-item.active {
    background: var(--bg-active);
    color: #fff;
    font-weight: 600;
}
.file-item-icon {
    font-size: 1rem;
}
.file-item-actions {
    margin-left: auto;
    display: none;
    gap: 4px;
}
.file-item:hover .file-item-actions {
    display: flex;
}
.file-action-icon {
    font-size: 0.75rem;
    color: var(--text-dim);
    padding: 2px 4px;
    border-radius: 3px;
}
.file-action-icon:hover {
    color: var(--accent-red);
    background: rgba(239, 68, 68, 0.15);
}

/* Deploy & Run Contracts */
.account-badge-card {
    background: var(--bg-darker);
    border: 1px solid var(--border-ide);
    border-radius: 6px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.account-balance-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
}

.account-balance-val {
    color: #34d399;
    font-weight: 700;
    font-family: var(--font-mono);
}

.deploy-btn-block {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 9px 12px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
    transition: all 0.15s ease;
}
.deploy-btn-block:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
.deploy-btn-block:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Deployed Contracts Accordion */
.deployed-contracts-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.deployed-contract-item {
    background: var(--bg-darker);
    border: 1px solid var(--border-ide);
    border-radius: 6px;
    overflow: hidden;
}

.deployed-contract-header {
    padding: 8px 10px;
    background: var(--bg-sidebar-header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom: 1px solid transparent;
}
.deployed-contract-header:hover {
    background: var(--bg-hover);
}
.deployed-contract-item.expanded .deployed-contract-header {
    border-bottom-color: var(--border-ide);
}

.contract-address-mono {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
}

.deployed-methods-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.method-call-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-ide);
    border-radius: 5px;
    padding: 8px;
}

.method-btn-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.method-call-btn {
    padding: 5px 10px;
    border-radius: 4px;
    border: none;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-mono);
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.method-call-btn.view {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.4);
}
.method-call-btn.view:hover {
    background: var(--accent-blue);
    color: #fff;
}

.method-call-btn.transact {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
}
.method-call-btn.transact:hover {
    background: var(--accent-orange);
    color: #fff;
}

.method-arg-input {
    background: var(--bg-darker);
    border: 1px solid var(--border-ide);
    color: var(--text-primary);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    flex: 1;
}

.method-output-box {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 4px;
    color: #34d399;
    word-break: break-all;
    display: none;
}

/* Linter Results */
.linter-issue-card {
    background: var(--bg-darker);
    border: 1px solid var(--border-ide);
    border-left: 3px solid var(--accent-blue);
    border-radius: 5px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    transition: background 0.15s ease;
}
.linter-issue-card:hover {
    background: var(--bg-hover);
}
.linter-issue-card.error {
    border-left-color: var(--accent-red);
}
.linter-issue-card.warning {
    border-left-color: var(--accent-orange);
}
.linter-issue-card.success {
    border-left-color: var(--accent-green);
}

.issue-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
}
.issue-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.issue-fix {
    font-size: 0.7rem;
    color: #38bdf8;
    font-style: italic;
}

/* ==========================================================================
   CENTER EDITOR CONTAINER
   ========================================================================== */
.editor-container {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--bg-editor);
    overflow: hidden;
    position: relative;
}

/* File Tabs Bar */
.editor-tabs-bar {
    height: 36px;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-ide);
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    padding-left: 4px;
}

.editor-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 35px;
    padding: 0 14px;
    background: var(--bg-tab-inactive);
    border-right: 1px solid var(--border-ide);
    border-top: 2px solid transparent;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    transition: all 0.1s ease;
}
.editor-tab:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}
.editor-tab.active {
    background: var(--bg-editor);
    color: #fff;
    border-top-color: var(--accent-blue);
    font-weight: 600;
}

.tab-dirty-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #60a5fa;
    display: none;
}
.editor-tab.dirty .tab-dirty-dot {
    display: inline-block;
}

.tab-close-btn {
    font-size: 0.9rem;
    color: var(--text-dim);
    border-radius: 3px;
    padding: 1px 3px;
    line-height: 1;
}
.tab-close-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.tab-add-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 1.1rem;
    padding: 4px 10px;
    cursor: pointer;
}
.tab-add-btn:hover {
    color: var(--text-primary);
}

/* Editor Main Area */
.editor-surface-wrap {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
}

/* Standalone Monaco Host or Fallback Highlighting Area */
#monaco-host {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.fallback-editor-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    background: var(--bg-editor);
    font-family: var(--font-mono);
    font-size: 13.5px;
    line-height: 20px;
}

.line-numbers-gutter {
    width: 48px;
    min-width: 48px;
    background: var(--bg-darker);
    border-right: 1px solid var(--border-ide);
    color: var(--text-dim);
    text-align: right;
    padding: 10px 8px;
    font-size: 12px;
    line-height: 20px;
    user-select: none;
    overflow: hidden;
}

.editor-textarea {
    flex: 1;
    background: transparent;
    color: var(--text-primary);
    border: none;
    outline: none;
    resize: none;
    padding: 10px 12px;
    font-family: var(--font-mono);
    font-size: 13.5px;
    line-height: 20px;
    tab-size: 4;
    white-space: pre;
    overflow: auto;
    spellcheck: false;
}

/* Editor Status Bar */
.editor-statusbar {
    height: 24px;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-ide);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    font-size: 0.72rem;
    color: var(--text-dim);
}

.editor-statusbar-left,
.editor-statusbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.statusbar-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   BOTTOM TERMINAL & OUTPUT CONSOLE
   ========================================================================== */
.studio-bottom-panel {
    height: 200px;
    min-height: 120px;
    max-height: 500px;
    background: var(--bg-terminal);
    border-top: 1px solid var(--border-ide);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.studio-bottom-panel.collapsed {
    height: 28px !important;
}

.terminal-header {
    height: 28px;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-ide);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    user-select: none;
}

.terminal-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
}

.terminal-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    border-radius: 3px;
    cursor: pointer;
}
.terminal-tab-btn:hover {
    color: var(--text-primary);
}
.terminal-tab-btn.active {
    color: #fff;
    background: var(--bg-hover);
    border-bottom: 2px solid var(--accent-blue);
}

.terminal-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.terminal-action-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 3px;
}
.terminal-action-btn:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.terminal-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 12px;
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.log-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    word-break: break-all;
}

.log-time {
    color: var(--text-dim);
    font-size: 0.68rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.log-content {
    flex: 1;
}

.log-line.info .log-content { color: #94a3b8; }
.log-line.success .log-content { color: #34d399; font-weight: 600; }
.log-line.warning .log-content { color: #fbbf24; }
.log-line.error .log-content { color: #f87171; font-weight: 600; }
.log-line.tx .log-content { color: #38bdf8; }

.terminal-cli-bar {
    height: 28px;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-ide);
    display: flex;
    align-items: center;
    padding: 0 8px;
    gap: 6px;
}

.terminal-prompt {
    color: var(--accent-blue);
    font-family: var(--font-mono);
    font-weight: 700;
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

/* ==========================================================================
   GLOBAL BOTTOM STATUS BAR (26px)
   ========================================================================== */
.studio-global-statusbar {
    height: 26px;
    background: var(--status-bar-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    font-size: 0.72rem;
    color: #dbeafe;
    z-index: 100;
}

.global-status-left,
.global-status-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.global-status-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.global-status-item:hover {
    text-decoration: underline;
}

/* Modals & Overlays */
.studio-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.studio-modal-overlay.active {
    display: flex;
}

.studio-modal {
    background: var(--bg-sidebar);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    width: 480px;
    max-width: 90vw;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.studio-modal-header {
    padding: 12px 16px;
    background: var(--bg-sidebar-header);
    border-bottom: 1px solid var(--border-ide);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
}

.studio-modal-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.studio-modal-footer {
    padding: 12px 16px;
    background: var(--bg-sidebar-header);
    border-top: 1px solid var(--border-ide);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

