

/* ==========================================================
   TABLE ALIGNMENT HELPERS - CLÁSSICO
   Não altera display
   Seguro para Bootstrap 3.x
   Funciona em <td>, <th> e herdável via <tr>
============================================================ */

/* ---------------------------
   HORIZONTAL
---------------------------- */

td.td-left,
th.td-left,
tr.td-left > td,
tr.td-left > th {
    text-align: left !important;
}

td.td-center,
th.td-center,
tr.td-center > td,
tr.td-center > th {
    text-align: center !important;
}

td.td-right,
th.td-right,
tr.td-right > td,
tr.td-right > th {
    text-align: right !important;
}

/* ---------------------------
   VERTICAL
---------------------------- */

td.td-top,
th.td-top,
tr.td-top > td,
tr.td-top > th {
    vertical-align: top !important;
}

td.td-middle,
th.td-middle,
tr.td-middle > td,
tr.td-middle > th {
    vertical-align: middle !important;
}

td.td-bottom,
th.td-bottom,
tr.td-bottom > td,
tr.td-bottom > th {
    vertical-align: bottom !important;
}

/* ---------------------------
   COMBINAÇÕES ÚTEIS
---------------------------- */

td.td-center-middle,
th.td-center-middle,
tr.td-center-middle > td,
tr.td-center-middle > th {
    text-align: center !important;
    vertical-align: middle !important;
}

td.td-right-middle,
th.td-right-middle,
tr.td-right-middle > td,
tr.td-right-middle > th {
    text-align: right !important;
    vertical-align: middle !important;
}

td.td-left-middle,
th.td-left-middle,
tr.td-left-middle > td,
tr.td-left-middle > th {
    text-align: left !important;
    vertical-align: middle !important;
}

/* ---------------------------
   CUSTOMIZAÇÃO PARA A LINHA PRETA PARA EXAMES URGENTES
---------------------------- */

/* Altera a cor do texto e também as linhas/bordas (top e bottom) daquela row */
.table > tbody > tr.text-strong-dark > td {
    color: #650000 !important;
}

/* Altera a cor de todos os links, botões ou textos dentro também */
.table > tbody > tr.text-strong-dark > td span {
    color: #650000 !important;
    font-weight: bold !important;
}   

/* Fundo customizado para os exames urgentes */
.table > tbody > tr.bg-urgente > td {
    background-color: #ffebeb !important; /* Cor vermelha/rosa clara customizada */

    /* Adiciona transição suave para as propriedades de background e border durar 0.3 segundos */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Fundo quando mouse estiver em cima da linha urgente (um pouco mais forte) */
.table-hover > tbody > tr.bg-urgente:hover > td {
    background-color: #fff4f4 !important; 
}