.user-card-card { width: 100%; }

.user-card-card.memo { border-left: 5px solid var(--mud-palette-info-darken); }

.user-card-card.interna { border-left: 5px solid var(--mud-palette-success-darken); }

.user-card-card.commessa { border-left: 5px solid var(--mud-palette-warning); }

.user-card-left-section {
    display: flex;
    align-items: center;
}

.title-section {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    gap: .75rem;
}

.user-card-hours { font-weight: 700; }

.user-card-hours-section ::deep .mud-chip { margin: 5px 0 0 !important; }

.user-card-body-section {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.user-card-right-section {
    width: 100%;
    border-bottom: 1px solid var(--card-border-color);
}

.user-card-title {
    display: flex;
    align-items: center;
    min-height: 32px;
    padding-left: .25rem;
    justify-content: space-between;
}

.user-card-title ::deep > h3 {
    font-weight: 700 !important;
    margin: 0 !important;
    line-height: normal !important;
    font-size: .85rem;
}

.user-card-body-section ::deep > .user-card-subtitle {
    color: var(--mud-palette-gray-darker);
    margin: .2rem 0 !important;
    line-height: normal !important;
}

.user-card-info-section {
    display: flex;
    flex-wrap: wrap;
}

.title-section ::deep > .mud-icon-root {
    background: var(--mud-palette-gray-lighter);
    padding: .25rem;
    border-radius: 50%;
}

.user-card-subtitle {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    margin-top: 0;
}

.user-card-subtitle.show {
    max-height: 250px;
    opacity: 1;
}

.container-commesse {
    padding: .5rem;
}

.commessa {
    color: var(--mud-palette-text-secondary);
    font-weight: 700;
    font-size: small;
}