.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    transition: box-shadow 0.3s ease;
}

.avatar:hover {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;

}

.submenu {
    position: absolute;
    top: 80px;
    right: 0px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 180px;
    display: none;
    flex-direction: column;
    padding: 10px 0;
}

.submenu a {
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
    display: block;
    transition: background 0.2s ease;
}

.submenu a:hover {
    background: #f0f0f0;
}

.submenu::before {
    content: "";
    position: absolute;
    top: -10px;
    right: 15px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
}

#benefitsBtn	{ 
    margin-right: 125px; 
}

.sub-menu {
    z-index: 99999999999;
}

.show {
    display: flex;
}
.full-width-menu {
    display: none;
    width: 100vw;
    background: #cccccc;
    padding: 2px 0;
    text-align: center;
    left: 0;
    right: 0;
}

.full-width-menu a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

.sub-menu.open .full-width-menu {
    display: flex;
}

#header-sub-button{
    background-color: #E31936 !important;
    color: white !important;
}
#header-sub-button:hover {
    background-color: #00539B !important;
    color: white !important;
}
@media screen and (max-width: 665px) {
    .sub-menu {
        position: fixed;
        top: 80px;
        right: 0; 
        width: 100%;
        max-height: calc(100vh - 120px);
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch; 
        z-index: 9999; 
        }
    
}