.mdf-account-nav {
    color: #29362d;
    background: #fff;
    border: 1px solid #dce4de;
    box-shadow: 0 12px 30px rgba(30, 49, 35, .07);
}

.mdf-account-nav__identity {
    display: flex;
    min-height: 86px;
    padding: 18px;
    align-items: center;
    gap: 13px;
    background: linear-gradient(135deg, #edf7ef 0%, #f9fcf9 65%, #fff 100%);
    border-bottom: 1px solid #dce9df;
}

.mdf-account-nav__avatar {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    color: #fff;
    background: #3d9b50;
    font-size: 19px;
    font-weight: 800;
}

.mdf-account-nav__identity-copy { min-width: 0; }
.mdf-account-nav__identity-copy strong,
.mdf-account-nav__identity-copy small { display: block; }
.mdf-account-nav__identity-copy strong {
    overflow: hidden;
    color: #253229;
    font-size: 15px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mdf-account-nav__identity-copy small {
    margin-top: 2px;
    color: #657168;
    font-size: 12px;
}

.mdf-account-nav__links { padding: 7px 0; }
.mdf-account-nav__links > a {
    position: relative;
    display: grid;
    min-height: 58px;
    padding: 10px 38px 10px 18px;
    align-items: center;
    grid-template-columns: 23px minmax(0, 1fr);
    gap: 11px;
    color: #344138;
    border-bottom: 1px solid #edf1ee;
}
.mdf-account-nav__links > a:last-child { border-bottom: 0; }
.mdf-account-nav__links > a > i:first-child {
    color: #5d6b61;
    font-size: 17px;
    text-align: center;
}
.mdf-account-nav__links span,
.mdf-account-nav__links strong,
.mdf-account-nav__links small { display: block; }
.mdf-account-nav__links strong {
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}
.mdf-account-nav__links small {
    margin-top: 2px;
    color: #7b857e;
    font-size: 11px;
    line-height: 1.3;
}
.mdf-account-nav__arrow {
    position: absolute;
    top: 50%;
    right: 18px;
    color: #9ba49e;
    font-size: 15px;
    transform: translateY(-50%);
}
.mdf-account-nav__links > a:hover,
.mdf-account-nav__links > a:focus,
.mdf-account-nav__links > a.is-active {
    color: #247d39;
    background: #f2f8f3;
    box-shadow: inset 3px 0 0 #49a65c;
    outline: 0;
}
.mdf-account-nav__links > a:hover > i:first-child,
.mdf-account-nav__links > a:focus > i:first-child,
.mdf-account-nav__links > a.is-active > i:first-child { color: #319347; }

.mdf-account-nav__logout {
    display: flex;
    min-height: 52px;
    padding: 12px 18px;
    align-items: center;
    gap: 11px;
    color: #a33d3d;
    background: #fcf8f8;
    border-top: 1px solid #eadede;
    font-size: 13px;
    font-weight: 700;
}
.mdf-account-nav__logout:hover,
.mdf-account-nav__logout:focus { color: #7f2525; background: #f8eeee; }

@media (max-width: 767px) {
    .mdf-account-nav { margin-bottom: 22px; }
    .mdf-account-nav__identity { min-height: 74px; padding: 14px 16px; }
    .mdf-account-nav__links > a { min-height: 54px; }
}
