.icon-check {
    color: #4CAF50;
}

.icon-x {
    color: #F44336;
}

.icon-warn {
    color: #FFC107;
}

.btn-search-item {
    font-size: 0.75rem;
    padding: 0.15rem 0.35rem;
}

/* Estilos para a célula de item/condição */
.item-code {
    font-weight: bold;
    font-size: 0.9em;
}

.item-badge {
    display: inline-block;
}

/* Badges compactos */
.item-badge .badge {
    font-size: 0.8em;
    padding: 0.2em 0.4em;
}

/* Assegura que a célula Item/Condição não quebra */
.item-condition {
    white-space: nowrap;
}

/* Estilos para os componentes da seção de Salesforce Integration */
.sf-section {
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.sf-header {
    background-color: #0099e5;
    color: white;
    padding: 0.75rem 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.sf-content {
    padding: 1rem;
    background-color: #f8f9fa;
}

.sf-status-item {
    margin-bottom: 0.75rem;
    border-radius: 0.375rem;
    overflow: hidden;
}

.sf-status-label {
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.sf-details {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
    background-color: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 1rem;
}

.sf-details.active {
    max-height: 2000px; /* Aumentado para acomodar tabelas maiores */
    padding: 1rem;
    transition: max-height 0.5s ease-in;
}

/* Melhorias para responsividade da tabela */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
}

/* Para ajustar a tabela em telas pequenas */
@media (max-width: 768px) {
    .table-responsive table {
        min-width: 800px;
    }
}