/* ==========================================================================
   Cartão de perfil no topo do menu lateral do aluno — Plano 14, Fase 1.
   Referência: mini-cartão de perfil do LinkedIn (foto + nome + cargo + estatística).

   Cor sempre por token do tema (var(--mud-palette-*)) — nunca hex literal.
   ========================================================================== */

.cartao-perfil-lateral {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 20px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--mud-palette-divider);
    transition: background-color .15s ease;
}

.cartao-perfil-lateral:hover {
    background-color: var(--mud-palette-action-default-hover);
}

.cartao-perfil-lateral-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    max-width: 100%;
}

.cartao-perfil-lateral-nome {
    font-weight: 700;
    color: var(--mud-palette-drawer-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cartao-perfil-lateral-empresa {
    color: var(--mud-palette-text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.cartao-perfil-lateral-moedas {
    margin-top: 4px;
}
