.nav_highlight {
    position: relative;
}

.nav_highlight::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    position: absolute;
    right: 15px;
    top: 16px;
    background: #f44336;
}

.nav_highlight_new:after, .nav_highlight_new_long:after {
    content: 'New';
    position: relative;
    text-shadow: none;
    font-weight: 500;
    color: white;
    font-size: 10px;
    padding: 2px 2px;
    margin-left: 6px;
    background-color: #f44336;
    border: none;
}

.beta.nav_highlight_new:after, .beta.nav_highlight_new_long:after {
    content: 'BETA' !important;
}

.nav_highlight_new:after {
    top: -10px;
    left: 0;
}

.nav_highlight_new_long:after {
    left: 0;
    top: -1px;
}

.navbar-nav .limited_access:after {
    content: 'Internal' !important;
    background-color: #2196f3 !important;
}

.shop_avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #fff;
    color: #195279;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.shop_avatar_li {
    display: flex !important;
    align-items: center;
    height: 60px !important;
}

.shop_avatar_li > a.dropdown-toggle {
    border: none !important;
    border-radius: 50px;
    padding: 5px 6px 5px 12px !important;
    height: auto !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    text-decoration: none;
    box-sizing: border-box;
}

.shop_nav_bell {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.shop_nav_bell .material-icons {
    font-size: 20px;
    color: #fff;
}

.shop_nav_bell_badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #e53935;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 3px;
}

.shop_nav_label {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
}

/* Dropdown menu */
.shop_user_menu {
    min-width: 260px;
    max-width: 300px;
    word-wrap: break-word;
    padding: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.16) !important;
    border: 1px solid #e8e8e8 !important;
    overflow: hidden;
    top: calc(100%) !important;
    right: 0 !important;
    left: auto !important;
}

.shop_user_header {
    padding: 14px 20px 10px;
}

.shop_user_header .shop_user_name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    display: block;
    margin-bottom: 2px;
}

.shop_user_header .shop_user_email {
    font-size: 13px;
    color: #888;
    display: block;
}

.shop_user_menu > li > a {
    padding: 11px 20px !important;
    display: flex !important;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: #333 !important;
    transition: background 0.15s;
    white-space: nowrap;
}

.shop_user_menu > li > a:hover {
    background: #f5f7fa !important;
    color: #1565C0 !important;
}

.shop_user_menu > li > a:hover .smenu-icon {
    color: #1565C0;
}

.smenu-icon {
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    color: #555;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.smenu-icon .material-icons {
    font-size: 20px;
    line-height: 1;
}

.shop_user_menu > li.divider {
    margin: 4px 0 !important;
    background: #f0f0f0 !important;
    height: 1px !important;
    overflow: hidden;
}

.smenu-badge {
    margin-left: auto;
    background: #e53935;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

.smenu-logout {
    color: #f44336 !important;
}

.smenu-logout .smenu-icon {
    color: #f44336 !important;
}

.smenu-logout:hover {
    background: #fff5f5 !important;
    color: #f44336 !important;
}

.shop_user_menu > li.active > a,
.shop_user_menu > li.active > a:hover,
.shop_user_menu > li.active > a:focus {
    background: #195279 !important;
    color: #fff !important;
}

.shop_user_menu > li.active > a .smenu-icon {
    color: #fff !important;
}

@media (max-width: 767px) {
    .shop_avatar_li {
        height: auto !important;
        display: block !important;
    }

    .shop_avatar_li > a.dropdown-toggle {
        padding: 10px 15px !important;
        border-radius: 0;
    }

    .shop_user_menu {
        position: static !important;
        float: none !important;
        box-shadow: none !important;
        border-top: 1px solid rgba(255,255,255,0.1) !important;
        border-right: none !important;
        border-bottom: none !important;
        border-left: none !important;
        border-radius: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        background: rgba(0,0,0,0.15) !important;
    }

    .shop_user_header {
        border-bottom: 1px solid rgba(255,255,255,0.15) !important;
    }

    .shop_user_header .shop_user_name {
        color: #fff !important;
    }

    .shop_user_header .shop_user_email {
        color: rgba(255,255,255,0.7) !important;
    }

    .shop_user_menu > li > a {
        color: rgba(255,255,255,0.85) !important;
    }

    .shop_user_menu > li > a:hover {
        background: rgba(255,255,255,0.1) !important;
        color: #fff !important;
    }

    .shop_user_menu > li.divider {
        background: rgba(255,255,255,0.15) !important;
    }

    .smenu-icon {
        color: rgba(255,255,255,0.7) !important;
    }

    .smenu-logout,
    .smenu-logout .smenu-icon {
        color: #ff8a80 !important;
    }
}
