/* Estilos para corrigir a formatação dos itens do orçamento */
.item-entry .card-body .row {
    align-items: center !important;
}

.nowrap-cell {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.item-values {
    min-width: 250px !important;
}

.item-actions {
    width: 1% !important;
    white-space: nowrap !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Forçar que as células não quebrem linha */
.item-entry .card-body p {
    white-space: nowrap !important;
}

/* Garantir que os botões não sejam empurrados */
.item-entry .card-body .btn-group {
    margin-left: auto !important;
    float: right !important;
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
    .item-entry .card-body .row {
        flex-wrap: wrap !important;
    }
    
    .item-entry .card-body .col-md-6 {
        width: 100% !important;
        margin-bottom: 10px !important;
    }
    
    .item-values {
        width: 80% !important;
    }
    
    .item-actions {
        width: 20% !important;
        text-align: right !important;
    }
}