/* SPDX-License-Identifier: AGPL-3.0-or-later */

.topbar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 16px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    min-height: 42px;
}

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

.topbar-left .brand {
    font-weight: 700;
    color: var(--accent-strong);
    font-size: 14px;
}

.topbar-left .dot {
    color: var(--warning);
    font-size: 16px;
    line-height: 0.5;
}

.topbar-left .convname {
    color: var(--text-muted);
    font-size: 12px;
}

.topbar-tabs {
    display: flex;
    gap: 4px;
    flex: 1;
}

.topbar-tabs .tab {
    padding: 4px 10px;
    border-radius: 4px;
    color: var(--text-muted);
    font-size: 12px;
}

.topbar-tabs .tab.active {
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-weight: 600;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.btn {
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: white;
    font-size: 12px;
}

.btn.ghost {
    background: transparent;
    color: var(--text-muted);
    border-color: var(--border);
}

.btn.icon {
    padding: 5px 8px;
}

.app-root {
    height: calc(100vh - 42px);
    overflow: auto;
}

.error-container {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 1000;
}
