.fdsus-export-dropdown {
    position: relative;
    display: inline-block;

    .wrap & .fdsus-dropdown-toggle.page-title-action {
        .dashicons {
            vertical-align: middle;
            
            &.dashicons-arrow-down-alt2 {
                font-size: 1.2em;
                margin: 0;
                display: inline-flex;
                align-items: center;
                justify-content: center;
            }
        }

        &:hover,
        &:focus,
        &[aria-expanded="true"] {
            background-color: #f0f0f0;
        }
    }

    .fdsus-dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        border: 1px solid #ddd;
        border-top: none;
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
        font-size: 0.8rem;
        min-width: 14em;
        max-width: 100%;
        z-index: 100;

        [role="menuitem"] {
            display: flex;
            align-items: center;
            gap: 0.5em;
            padding: 0.625rem 0.75rem;
            text-decoration: none;
            color: #444;
            border-bottom: 1px solid #eee;
            transition: background-color 0.15s;

            &:last-child {
                border-bottom: none;
            }

            &:hover,
            &:focus {
                background-color: #f5f5f5;
                color: #000;
            }

            &:focus {
                position: relative;
                z-index: 1;
            }

            .dashicons {
                flex-shrink: 0;
                width: 1.2em;
                height: 1.2em;
                margin: 0;
                font-size: 1.2em;

                &::before {
                    vertical-align: middle;
                }
            }

            // Disabled state for non-functional upside items
            &.fdsus-disabled-item {
                color: rgba(68, 68, 68, 0.6); // Semi-transparent text instead of opacity
                cursor: not-allowed;
            }
        }
    }
}
