/* Explain: Styles for the elderly IMC reference table and related information display. */
/* Tabela de referência de IMC para idosos (antropometria da consulta) */
.imc-ref {
    margin-top: 0.9rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.85rem;
    background: var(--surface-alt);
}

.imc-ref__title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.7rem;
}

.imc-ref__title i { color: var(--primary-color); }

.imc-ref__wrap { overflow-x: auto; }

.imc-ref__table {
    width: 100%;
    min-width: 30rem;
    border-collapse: collapse;
    font-size: 0.78rem;
    background: var(--surface-color);
}

.imc-ref__table th,
.imc-ref__table td {
    padding: 0.5rem 0.6rem;
    border: 1px solid var(--border-color);
    text-align: center;
    white-space: nowrap;
}

.imc-ref__table thead th {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-color);
}

.imc-ref__table tbody th {
    text-align: left;
    font-weight: 700;
    color: var(--text-color);
    background: var(--surface-alt);
}

.imc-ref__col--baixo { background: #dbeafe; }
.imc-ref__col--normal { background: #dcfce7; }
.imc-ref__col--sobre { background: #fef3c7; }
.imc-ref__col--obesidade { background: #fae8ff; }

.imc-ref__table tbody th.imc-ref__col--baixo { background: #dbeafe; }

.imc-ref__note {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin-top: 0.6rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.imc-ref__note i { color: var(--primary-color); margin-top: 0.15rem; }