/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/

/* User Avatar Styles */
.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.default-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    border: 2px solid #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

#top_menu .dropdown {
    position: relative;
}

#top_menu .dropdown-toggle::after {
    display: none;
}

#top_menu .dropdown-menu {
    min-width: 150px;
    margin-top: 10px;
    left: auto;
    right: 0;
    border: none;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

#top_menu .dropdown-menu:before {
    position: absolute;
    top: -10px;
    right: 15%;
    left: auto;
    display: inline-block !important;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #fff;
    border-left: 7px solid transparent;
    border-bottom-color: rgba(0, 0, 0, 0.2);
    content: '';
}

#top_menu .dropdown-menu:after {
    position: absolute;
    top: -9px;
    right: 16%;
    left: auto;
    display: inline-block !important;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
    border-left: 6px solid transparent;
    content: '';
}

#top_menu .dropdown-menu .dropdown-item {
    padding: 8px 15px;
    transition: background-color 0.2s;
    border-bottom: 1px solid #ededed !important;
    color: #555;
    font-weight: 500;
}

#top_menu .dropdown-menu .dropdown-item:last-child {
    border-bottom: none !important;
}

#top_menu .dropdown-menu .dropdown-item:hover {
    background-color: #f9f9f9;
    color: #fc5b62;
    padding-left: 18px;
}

#top_menu .dropdown-menu .dropdown-item i {
    width: 20px;
    text-align: center;
}

/* Profile page specific avatar styles */
.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.profile-default-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    border: 3px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}