.mds-account-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 3px;
}

.avatar-wrapper {
    cursor: pointer;
}

.avatar-button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    transition: transform 0.25s;
    border:solid 1.5px #50748a;
}

.avatar-button:hover {
    transform: scale(1.04);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 66px;
    right:-55px;
    opacity:1;
    background-color: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    overflow: hidden;
    z-index: 1000;
    min-width:170px!important;
}

.avatar-wrapper .tooltip-custom-menu {
    left: 48%;
    bottom: -73%;
}

.dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu li {
    padding: 4px 20px;
    transition: background-color 0.2s;
    font-size:16px!important;
    font-weight:500;
    text-align:center;
}

.dropdown-menu li:hover {
    background-color: #50748a;
}

.dropdown-menu li:hover  a{
    color:#fff!important;
}

.dropdown-menu a {
    text-decoration: none;
    color: #333;
    display: block;
}

/* icons */

.custom-menu-nav {
    display: flex;
    gap: 9px;
}

ul.icons-list-nav-menu {
    gap: 18px;
    display: inline-flex;
}

/* Positioning the icon container */
.icon-container {
    margin-top:5px;
    position: relative;
    display: inline-block;
}

/* Style for the notification badge */
.number-items {
    position: absolute;
    top: -10px;
    right: -5px;
    border: solid 2px #ffffff;
    background-color: #e26c25e3; /* Red color for notifications */
    color: #fff;
    font-size: 10.5px;
    font-weight: bold;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    z-index: 2; /* Ensure it appears above the icon */
}

/* Tooltip styling */
.tooltip-custom-menu {
    position: absolute;
    bottom: -46px; /* Position the tooltip below the icon */
    left: 41%;
    transform: translateX(-50%);
    background-color: #333; /* Dark background for the tooltip */
    color: #fff; /* White text for contrast */
    padding: 1px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight:600!important;
    font-weight: normal;
    white-space: nowrap; /* Prevent text wrapping */
    opacity: 0; /* Initially hidden */
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out; /* Smooth fade-in */
    z-index: 1; /* Ensure it appears above other elements */
}

/* Tooltip arrow */
.tooltip-custom-menu::after {
    content: "";
    position: absolute;
    top: -50%; /* Position the arrow below the tooltip */
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    border-width: 10px;
    border-style: solid;
    border-color: #333 transparent transparent transparent; /* Match tooltip background color */
}

/* Show tooltip on hover */
.icon-container:hover .tooltip-custom-menu {
    opacity: 1;
    visibility: visible;
}

/* Adjust the icon appearance */
.icon-main-menu {
    display: block;
    width: 35px; /* Adjust icon size as needed */
    height: 35px;
    padding-top:6px;
    cursor: pointer;
    margin: auto;
}

/* END - icons */

/*  my-account style in header */

.custom-menu-nav img:not([src$=".svg"]) {
    max-width: unset;
    height: 41px;
}

.custom-menu-nav .icon-main-menu {
    width: unset!important;
    height: 40px;
}

.custom-menu-nav {
    margin-top: 17px;
}

.menuo-right #Top_bar .menu_wrapper:after {
    top: 0px;
}

.header-fixed #Top_bar .menu_wrapper {
    padding-right: 113px;
}

.mds-notification-icon {filter: invert(120%) sepia(40%) saturate(36%) hue-rotate(0deg) brightness(501%) contrast(100%);}

@media only screen and (max-width: 767px) {

.custom-menu-nav{position: absolute;top: -15px;right: 62px;}
.custom-menu-nav img:not([src$=".svg"]) {max-width: 32px!important;height: 31px;}

.mds-notification-icon {filter: unset!important;}

.custom-menu-nav .icon-main-menu {
    width: unset !important;
    height: 32px;
}

}

/* END - my-account style in header */