/* Estilos para child rows */
.child-row-content {
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    margin: 5px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.description-title {
    color: #495057;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.description-box {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-left: 4px solid #D7811F;
    border-radius: 6px;
    padding: 15px;
    max-height: 250px;
    overflow-y: auto;
    word-wrap: break-word;
    line-height: 1.6;
    font-size: 14px;
    color: #495057;
}

/* Coluna de controle (ícone +/-) */
td.dt-control {
    text-align: center;
    width: 30px;
    cursor: pointer;
    vertical-align: middle;
    padding: 8px !important;
}

td.dt-control i {
    font-size: 16px;
    transition: all 0.3s ease;
}

td.dt-control:hover i {
    transform: scale(1.2);
}

/* Quando a linha está expandida */
tr.shown td.dt-control i {
    color: #dc3545 !important;
}

/* Badges para status */
.badge-status {
    font-size: 11px;
    padding: 6px 10px;
}

/* Botões de controle global */
.global-controls {
    margin-bottom: 15px;
}

/* Animação suave */
.child-row-content {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}
