/* Profile Menu Plugin Styles */
.profile-menu-container {
    position: relative;
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    z-index: 9999;
}

.profile-menu-trigger {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    background: #ffffff;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-menu-trigger:hover {
    background: #f8f9fa;
    border-color: #007cba;
    box-shadow: 0 4px 8px rgba(0, 124, 186, 0.15);
}

.profile-menu-avatar {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.profile-menu-trigger:hover .profile-menu-avatar,
.profile-menu-container.profile-menu-active .profile-menu-avatar {
    transform: scale(1.05);
}

.profile-menu-name {
    font-weight: 600;
    color: #23282d;
    margin-right: 8px;
    font-size: 14px;
}

.profile-menu-arrow {
    color: #666;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.profile-menu-container:hover .profile-menu-arrow,
.profile-menu-container.profile-menu-active .profile-menu-arrow {
    transform: rotate(180deg);
}

.profile-menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10000;
    margin-top: 5px;
    pointer-events: none;
}

.profile-menu-container:hover .profile-menu-dropdown,
.profile-menu-container.profile-menu-active .profile-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.profile-menu-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.profile-menu-item {
    margin: 0;
    padding: 0;
}

.profile-menu-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: #23282d;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.profile-menu-link:hover {
    background: #f8f9fa;
    color: #007cba;
    text-decoration: none;
}

.profile-menu-icon {
    margin-right: 10px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.profile-menu-logout .profile-menu-link:hover {
    background: #fff5f5;
    color: #dc3545;
}

/* Responsive design */
@media (max-width: 768px) {
    .profile-menu-name {
        display: none;
    }
    
    .profile-menu-trigger {
        padding: 6px;
    }
    
    .profile-menu-avatar {
        margin-right: 0;
    }
    
    .profile-menu-dropdown {
        right: 0;
        left: auto;
    }
}

/* Animation for smooth appearance */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-menu-container:hover .profile-menu-dropdown,
.profile-menu-container.profile-menu-active .profile-menu-dropdown {
    animation: slideDown 0.3s ease;
}


