body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f6f7f9;
    margin-left: 60px;
    padding: 20px;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

.sidebar {
    padding: 20px 0px;
    position: fixed;
    top: 0;
    left: 0;
    width: 60px;
    height: 100vh;
    background-color: #fff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-x: hidden;
    transition: width 0.3s ease;
    z-index: 1000;
}

.sidebar:hover {
    width: 200px;
}

.sidebar > * {
    display: block;
    width: 100%;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 17.5px;
    min-height: 24px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease;
    line-height: 24px;
}

.nav-item:hover {
    background-color: #f0f2f5;
}

.nav-icon {
    width: 24px;
    height: 24px;
    color: #495057;
    font-size: 18px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    line-height: 1;
}

.sidebar:hover .nav-icon {
    margin-right: 15px;
}

.nav-text {
    color: #343a40;
    font-size: 15px;
    font-weight: normal;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    flex: 1;
    min-width: 0;
    display: none;
    max-width: 140px;
}

.nav-mtext {
    color: #343a40;
    font-size: 15px;
    font-weight: normal;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 8px 15px;
    min-height: 20px;
    line-height: 1;
    display: none;
    max-width: 140px;
}

.nav-mtitle {
    color: #343a40;
    font-size: 13px;
    font-weight: bolder;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 12px 15px;
    min-height: 24px;
    display: none;
    max-width: 140px;
}

.sidebar:hover .nav-text,
.sidebar:hover .nav-mtext,
.sidebar:hover .nav-mtitle {
    display: block;
}

.nav-mtext:not(a),
.nav-mtitle:not(a) {
    cursor: default;
    pointer-events: none;
}

.nav-mtext:not(a):hover,
.nav-mtitle:not(a):hover {
    background-color: transparent;
}

a.nav-mtext:hover,
a.nav-item:hover {
    background-color: #f0f2f5;
}

.nav-divider {
    height: 1px;
    background-color: #e9ecef;
    margin: 10px 15px 20px 15px;
    display: block;
    margin-left: 15px;
    margin-right: 15px;
    width: auto;
}