/* Profile section at the bottom */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: auto;
    padding-top: 20px;
    gap: 10px;
    position: relative; /* Allows absolute positioning for dropdown */
}

/* Profile image */
.profile-section img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

/* Dropdown menu */
.profile-menu {
    position: absolute;
    bottom: 0px; /* Adjust for spacing */
    left: 58px;
    background: #333;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: none; /* Hidden by default */
    flex-direction: column;
    min-width: 195px;
    padding: 15px 10px;
    text-align: left;
}

.profile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Each dropdown option */
.profile-menu li {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

/* Target all SVG icons inside the dropdown */
.profile-menu li img {
    width: 20px; /* Adjust icon size */
    height: 20px;
    margin-right: 10px;
    /* filter: brightness(0) saturate(100%) invert(72%) sepia(60%) saturate(617%) hue-rotate(60deg) brightness(110%) contrast(103%); */
}


/* Links inside menu */
.profile-menu li a {
    text-decoration: none;
    color: #fff;
    flex-grow: 1; /* Allows text to take available space */
}

.profile-menu li:hover {
    background: #444;
}

/* Show menu when active */
.profile-menu.active {
    display: flex;
}

/* Hidden class */
.hidden {
    display: none;
}
