/* -------------------------------------------------------
   Context Badge — نشانگر پروژه فعال در header ویوها
------------------------------------------------------- */

.view-header {
    display: none; /* منتقل شده به tabbar-right */
}

.view-context-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f0fe;
    border: 1px solid #1a73e8;
    color: #1a73e8;
    border-radius: 20px;
    padding: 3px 10px 3px 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s;
}

.view-context-badge--empty {
    display: none;
}

.view-context-badge__label {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.view-context-badge__clear {
    background: none;
    border: none;
    color: #1a73e8;
    cursor: pointer;
    font-size: 11px;
    line-height: 1;
    padding: 0 2px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    transition: background 0.15s;
}

.view-context-badge__clear:hover {
    background: rgba(26, 115, 232, 0.15);
}
