/* ERP Elitse — topbar.css */

.topbar {
    height: var(--topbar-height);
    flex: 0 0 var(--topbar-height);
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--sp-5);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--fs-base);
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--text);
}

.breadcrumb .sep {
    color: var(--border);
    font-size: var(--fs-sm);
}

.breadcrumb .active,
.breadcrumb-active {
    color: var(--primary);
    font-weight: var(--fw-medium);
}

/* ---------- Right actions ---------- */
.topbar-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--sp-2);
}

.icon-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    background: var(--white);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

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

.icon-btn i { font-size: 18px; }

.avatar-chip {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
}

/* Botó de logout al topbar (icona, sense text) */
.topbar-logout {
    color: var(--text-muted);
}

.topbar-logout:hover {
    color: var(--danger);
    border-color: var(--danger);
}
