/* ========================================
   Board Item Component
   ======================================== */

.board-item {
    padding-block: 4px;
    padding-inline-end: 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    user-select: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 6px;
}

.board-item:hover {
    background: var(--interactive-hover);
    color: var(--text-primary);
}

.board-item.current {
    background: var(--interactive-selected);
    color: var(--blue-primary);
}

.board-item-name {
    flex: 1;
    /* Add left spacing to indent the text from the background edge */
    padding-inline-start: 12px;
    margin: 0;
    /* Prevent inline-edit styles from creating visual gaps */
    display: block;
}

/* Override inline-edit hover to prevent double backgrounds */
.board-item-name.inline-editable:hover {
    background: transparent;
}

/* Dot menu */
.board-item-menu {
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.board-item:hover .board-item-menu {
    opacity: 1;
    pointer-events: auto;
}
