/* Header del NavMenu */
.nav-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: -12px -12px 0 -12px;
}

.nav-logo {
    background: white;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-title {
    color: white;
    font-weight: 600;
    margin-top: 12px;
    text-align: center;
    font-size: 1.1rem;
}

.nav-section-title {
    padding: 16px 16px 8px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #9e9e9e;
    letter-spacing: 0.5px;
}

.user-info-bottom {
    padding: 12px 16px;
    border-radius: 12px;
    margin: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.5s ease;
    border: 0px solid rgba(102, 126, 234, 0.2);
}

.user-info-bottom:hover {
   /* border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);*/
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}

.user-avatar-auditor {
    background: #10b981;
}

.user-avatar-proveedor {
    background: #1e40af;
}

.user-details {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.user-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.user-role {
    font-size: 0.75rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}

.user-role .mud-icon-root {
    font-size: 0.625rem;
}

.logout-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 16px;
    width: calc(100% - 16px);
    text-align: left;
    display: flex;
    align-items: center;
    color: inherit;
    font-family: inherit;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 4px 8px 8px 8px;
    font-weight: 500;
}

.logout-button:hover {
    background-color: rgba(244, 67, 54, 0.1);
    color: #d32f2f;
}

.logout-button:active {
    background-color: rgba(244, 67, 54, 0.15);
}

.logout-button span {
    flex: 1;
}

.mud-nav-link {
    transition: all 0.2s ease;
    border-radius: 4px;
}

.mud-nav-link:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.mud-nav-group .mud-nav-link {
    padding-left: 24px;
}

.mud-nav-link .mud-icon-root {
    margin-right: 12px;
}

.mud-navmenu {
    overflow-y: auto;
    overflow-x: hidden;
}

.mud-navmenu::-webkit-scrollbar {
    width: 6px;
}

.mud-navmenu::-webkit-scrollbar-track {
    background: transparent;
}

.mud-navmenu::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.mud-navmenu::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}
