Introduction

Piper cubeba is a plant cultivated in Java and Sumatra for its essential oil. It was used for the treatment of abdominal pain and dysentery. Piper cubeba has many active constituents including tannins, glycosides, and polyphenols as flavonoids that is responsible for its antioxidant and reducing activities1.

The synthesis of silver nanoparticles (Ag-NPs) have attracted the interest of many researchers because of their different applications, including environmental2,3, industrial4,5, biomedical6,7, and pharmaceutical applications8,9. Ag-NPs synthesis could be performed by two methods, either “top to down” or “bottom to top”. Top to down approach includes the starting material size reduction where nanoparticles usually made by several physical techniques10,11. Bottom to top method is performed using a reducing and/or capping agent that could be chemical or natural. The main drawback of using chemical agents was their potential toxicity that made researchers directed to the green synthesis of nanoparticles using either animal metabolites12,13, bacteria14, fungus15, algae16, or plants17.

Ag-NPs were found to have strong antimicrobial activity against various microorganisms including, fungi, virus, and bacteria18,19. Due to their antibacterial activities, Ag-NPs have recently been used extensively in a variety of disciplines including agriculture20, water disinfection21, textiles and paints22,23, and as an antimicrobial agent in combination with other antibiotics24.

Ornidazole (ONZ) is a nitroimidazole drug that has been used to treat bacterial and protozoal infections. ONZ has been also used for treating the infections of the intestine, stomach, and uro-genital tract. The chemical name of ONZ is 1-(3-chloro-2-hydroxypropyl)-2-methyl-5-nitroimidazole (Fig. 1a)25. Miconazole nitrate (MIZ) is an imidazole antifungal drug that has been used for the treatment of skin infections and superficial candidiasis. MIZ could also be taken orally or as oral gel for treating intestinal and oropharyngeal candidiasis. Chemically, it is 1‐[2,4‐Dichloro‐b‐(2,4‐dichlorobenzyloxy) phenylethyl]‐1H‐imidazole (Fig. 1b)26. Both ONZ and MIZ belong to anti-microbial drugs.

Figure 1
figure 1

Chemical structure of ONZ (a) and MIZ (b).

Many techniques have been reported in the literature for determining ONZ and MIZ in pharmaceutical dosage forms. The reported techniques for ONZ were spectrophotometry27,28,29, spectrofluorimetry30, HPLC31,32, TLC33, electrochemistry34,35,36,37, gas chromatography38, and capillary electrophoresis39,40, while for MIZ the reported methods included spectrophotometry41,42, gas chromatography38,43, capillary zone electrophoresis44, HPLC45,46,47,48, and HPTLC49. Till now, there haven’t been any reported spectrofluorimetric methods for the determination of either ONZ or MIZ using Ag-NPs and no spectrofluorimetric methods at all were reported for MIZ determination.

The current study aimed to discuss the ecofriendly synthesis of Ag-NPs using Piper cubeba seed extract as a green reducing agent for the first time. The characterization of Ag-NPs optical properties and morphology was carried out. Antimicrobial activities had also been investigated. In addition, the quenching of fluorescence intensity by ONZ and MIZ was examined and used to design a simple and green spectrofluorimetric method for their estimation. Since the studied drugs don't exhibit native fluorescent properties, the importance of the proposed study is magnified as it presents a simple, green, and sensitive spectrofluorimetric approach for their analysis in different dosage forms and human plasma samples. Compared to the proposed method, the reported spectrofluorimetric method for ONZ30 required complicated and time consuming steps. This method is considered the first spectrofluorimetric one for MIZ.

Experimental

Materials and reagents

Ornidazole (99.16%) was provided by Organopharma (Cairo, Egypt) and miconazole nitrate (99.95%) was kindly provided by Amriya Pharmaceutical industries (Alexandria, Egypt). Astranida® coated tablets (500 mg ONZ/tablet, Batch No. 19052A), Daktarin® cream (20 mg MIZ/1 g, Batch No. LBE0841), and Daktarin® oral gel (20 mg miconazole/1 g, Batch No. LIB2G00) were purchased from local Pharmacy. Piper cubeba seeds were purchased from local market. Human plasma samples were provided by Mansoura University Hospitals (Mansoura, Egypt), and they were stored at − 80 °C until used after thawing. Silver nitrate, phosphoric acid, methanol, boric acid, and glacial acetic acid were purchased from Sigma-Aldrich (St. Louis, MO, USA). Britton–Robinson buffer (0.02 M, pH 2–12) solutions were freshly prepared. All reagents and chemicals were of analytical grade and the experiments were performed using double distilled water.

Preparation of piper cubeba extract

Piper cubeba powder (5 g) was weighed and boiled for 10 min in 100 mL double distilled water. After cooling, the resultant solution was then filtered and centrifuged at 6000 rpm for 15 min then the supernatant was kept in refrigerator until used (Fig. 2). All experiments on Piper cubeba seeds were performed in accordance with relevant guidelines and regulations and were approved by the Committee of Research Ethics in the Faculty of Pharmacy, Kafrelsheikh University, Kafrelsheikh, Egypt.

Figure 2
figure 2

Scheme for the synthesis of Ag-NPs and application for determination of ONZ and MIZ.

Synthesis of Ag-NPs

Ag-NPs were prepared using a green synthesis approach by mixing 10 mL (1.0 mM) AgNO3 with 5 mL Piper cubeba extract followed by heating for 15 min using water bath maintained at 90 °C. After cooling, the color turned dark brown indicating the formation of Ag-NPs. The prepared solution was stored in the refrigerator for later use (Fig. 2).

Instrumentation

Fluorescence measurements were performed using Cary Eclipse Fluorescence Spectrophotometer with Xenon flash lamp from Agilent Technologies (United States). It was adjusted at 800 V and the slit width was set at 5 nm. A double beam spectrophotometer (PG Instrument, UK) was used to carry out the spectrophotometric measurements. The Fourier Transform Infrared (FT-IR) spectra of Ag-NPs were detected using FT-IR spectrophotometer (IS10 Nicolet, USA). All measurements were carried out in the range of 4000–1000 cm−1 and recorded at 4 cm−1 resolution as 32 scans. The morphology of Ag-NPs was investigated using high-resolution transmission electron microscope (HRTEM) operated at 200 kV (JEOL, JEM-2100, Tokyo). Size of Ag-NPs was also confirmed by using the dynamic light scattering (DLS) nanoparticle size analyzer (Brookhaven, USA). As well, elemental analysis of Ag-NPs was performed using energy-dispersive X-ray (EDX) spectroscopy attached to scanning electron microscope (Jeol, JSM-IT100LA, Japan). Centrifugation was performed using Centrifuge, model 2-16P, (Germany). For pH measurements, a Jenway 3510 pH meter (Jenway, UK) was used. Vortex mixer (IVM-300p, Taiwan) and ultrasonic bath (SS 101H 230, USA) were also used.

Antimicrobial study

The antimicrobial activity of Ag-NPs synthesized from Piper cubeba extract was investigated using agar disc diffusion method against four different pathogenic organisms including, Bacillus subtilis, Staphylococcus aureus, Escherichia coli, and Candida albicans. The synthesized Ag-NPs (50.0 µg/mL) were tested for antimicrobial activity in comparison with the Piper cubeba extract and 1.0 mM of each of AgNO3, ONZ, and MIZ. The method used the Lysogenia Broth (LB) media where 100 µL of liquid culture were spread on, and then tested organisms were cultured on the LB agar plates. Filter paper discs containing the tested compounds were placed on the agar surface, and after incubation overnight at 27 °C, the germination and growth of the tested microorganisms were inhibited and the diameters of inhibition zones (mm) were measured and recorded.

Standard solutions

Standard solution of each of ONZ and MIZ (1.0 mM) was prepared separately by dissolving 0.011 g and 0.024 g, respectively, in methanol in 50 mL volumetric flask. Serial dilution of the standard solution was performed using double distilled water to prepare working solutions in the range of 5.0–80.0 μM for ONZ and 20.0–100.0 μM for MIZ. The standard solutions of both drugs were stable for at least one week when kept at 4 °C.

Spectrofluorimetric measurements

Factors that could affect the sensing of the studied drugs fluorescence were optimized by adding 0.5 mL of Ag-NPs to 20.0 μM of ONZ or 50.0 μM of MIZ solution. The intensity of fluorescence was determined at 320 nm using an excitation wavelength of 280 nm. The fluorescence intensities of increased concentrations of ONZ and MIZ in the range of 5.0–80.0 µM and 20.0–100.0 µM, respectively were investigated at room temperature, at pH of 4 and 9 using 2 mL and 1 mL Britton–Robinson buffer, respectively. The calibration curves were plotted using fluorescence quenching vs. the drugs concentrations (μM) then the regression equations were derived.

Method optimization

Experimental parameters that could affect the quenching of the fluorescence intensity of Ag-NPs by ONZ and MIZ were studied. Such parameters included the buffer pH, buffer volume, incubation time, and temperature. The pH effect was studied using Britton–Robinson buffer over the pH range of 2–12. Buffer volume in the range of (250.0 µL–2.0 mL) for ONZ and (200.0 µL–1.5 mL) for MIZ was also investigated. The incubation time effect was studied at different time intervals from one to sixty minutes. Finally, the temperature was studied in the range of (25–60 °C) for ONZ and (25–40 °C) for MIZ.

Method validation

The proposed method was validated according to ICHQ2 (R1) guidelines50. Validation parameters including linearity, limit of detection, limit of quantitation, accuracy, precision, robustness, and method selectivity were studied. Linearity was studied using six standard solutions (n = 3) over the range of (5.0–80.0 μM) and (20.0–100.0 μM) for ONZ and MIZ, respectively. The calibration curves were obtained by plotting fluorescence quenching (F0 − F) versus different drug concentrations in μM, and the data obtained was analyzed. Limits of detection (LOD) and quantitation (LOQ) are a measure of method sensitivity, and they could be calculated using the following Equations51:

$$LOD = 3.3\frac{{S_{a} }}{b}$$
(1)
$$LOQ = 10\frac{{S_{a} }}{b}$$
(2)

where Sa is the standard deviation of the intercept of the regression line and b is its slope.

The method accuracy was also investigated by comparing the results obtained by the proposed method to those obtained by the reported methods29,42. Method precision was also evaluated using three replicates of three different concentrations in the same day (intra-day precision) and during three consecutive days (inter-day precision). After that, the analytical data was statically analyzed using Student t-test and Variance ratio F test for accuracy and precision, respectively.

Robustness of the developed method was studied to find out if small changes in the experimental parameters could influence the quenching of the fluorescence intensities of Ag-NPs by the studied drugs. For ONZ, these changes involved: volume of Ag-NPs (500.0 μL ± 5), Britton–Robinson buffer pH (4 ± 0.2), and volume of buffer (2 mL ± 0.1). While for MIZ, these changes involved: volume of Ag-NPs (500.0 μL ± 5), Britton–Robinson buffer pH (9 ± 0.2), and volume of buffer (1 mL ± 0.1).

Finally, the selectivity was investigated by studying the ability of the proposed method to detect the studied drugs in their commercial preparations, spiked human plasma, and in the presence of other antifungal and common co-administered drugs.

Assay of tablets

Ten tablets of Astranida® (500 mg ONZ/tablet) were weighed and ground. An equivalent amount of powder to 10.98 mg of ONZ was mixed with 30 mL of methanol and sonicated for about 20 min. The mixture was then filtered, transferred to 50 mL volumetric flask and completed with methanol to the mark. Working solutions were prepared by dilution with double distilled water using 10 mL volumetric flasks. The procedure described under “Spectrofluorimetric measurements” section was then followed and the corresponding regression equation was used to determine the nominal contents of tablets.

Analysis of cream and gel dosage forms

An accurately weighed amounts of Daktarin® cream (20 mg MIZ/1 g) and Daktarin® oral gel (20 mg miconazole/1 g) equivalent to 23.95 mg and 20.81 mg of miconazole nitrate and miconazole, respectively, were added separately to 40 mL of methanol and sonicated for 20 min at 60 °C. The resulting solutions were cooled for 2 min to solidify the base, then filtered, washed and completed to 50 mL with methanol using 50 mL volumetric flask. Different concentrations within the concentration range of MIZ were prepared after dilution with double distilled water. The procedure described under “Spectrofluorimetric measurements” section was then followed and the corresponding regression equation was used to determine the nominal contents of the cream and gel dosage forms.

Procedure for human plasma

Into a series of 15-mL Falcon tubes, 1 mL aliquots of ONZ standard solution were added to 1 mL human plasma and vortex mixed for 2 min. Then 0.5 mL of Ag-NPs and 2 mL Britton–Robinson buffer (pH 4) were added. Protein precipitation was achieved by completing to 5 mL with methanol. The final concentration was in the range of 20.0–40.0 μM ONZ. The solution was then vortex mixed for 2 min and centrifuged at 6000 rpm for 20 min. The supernatant (3.5 mL) was filtered using syringe filter 0.45 μm and fluorescence measurements were performed. Blank plasma was prepared in a similar way. The concentration measurements were performed as described under “Spectrofluorimetric measurements” section and the corresponding regression equation was derived. All experiments were performed in accordance with the Institutional Ethics Approval of the relevant University Committee (Committee of Research Ethics in the Faculty of Pharmacy, Kafrelsheikh University, Kafrelsheikh, Egypt).

Fluorescence quantum yield measurements

The quantum yield of Ag-NPs was calculated using the following Eq. 52:

$$\Phi_{Ag - NPs} = \Phi_{St} \times \left. {\left( {\frac{{F_{Ag - NPs} }}{{F_{St} }}} \right.} \right) \times \left. {\left( {\frac{{A_{St} }}{{A_{Ag - NPs} }}} \right.} \right) \times \left. {\left( {\frac{{\eta_{Ag - NPs} }}{{\eta_{St} }}} \right.} \right)^{2}$$

where Φ represents the quantum yield, F is the integrated fluorescence intensity of Ag-NPs and the standard (St) after excitation at 280 nm, A is the absorbance at 280 nm, and η is the refractive index of solvent (η = 1.33 for both solvents). 2-amino pyridine in 0.1 M H2SO4 was used as a standard with ΦSt equals 0.6. The absorbance (ASt and AAg-NPs) was kept less than 0.1 in order to minimize the absorption effect.

Ethics declarations

All experiments were performed in accordance with relevant guidelines and regulations and this work was approved by the Committee of Research Ethics in the Faculty of Pharmacy, Kafrelsheikh University, Kafrelsheikh, Egypt.

Informed consent

A waiver for the informed consent for the current study was obtained from the Committee of Research Ethics in the Faculty of Pharmacy, Kafrelsheikh University, Kafrelsheikh, Egypt.

Results and discussion

Characterization of Ag-NPs

In this study, the green synthesis of Ag-NPs was carried out using Piper cubeba seed extract for the first time (Fig. 2). Under UV lamp, the synthesized Ag-NPs solution showed strong green fluorescence (Fig. S1). They were characterized using UV–visible spectrophotometry, spectrofluorimetry, DLS, EDX, FT-IR spectrometry, and HRTEM.

Figure S2 shows the UV–visible absorption spectra of each of AgNO3 and Ag-NPs. As observed, Ag-NPs showed maximum UV absorption peak at 390 nm53. Fluorescence spectra of Ag-NPs are presented in Fig. 3a, as Ag-NPs were excited at 280 nm, the maximum emission peak appeared at 320 nm. The emission showed excitation wavelength dependency. For detecting the optimum excitation wavelength (λex) that result in the optimal emission, λex was changed from 260 to 300 nm and 280 nm was found to be the optimum λex (Fig. 3b).

Figure 3
figure 3

(a) Fluorescence emission spectra of Ag-NPs at 320 nm after excitation at 280 nm, (b) Fluorescence emission spectra of the Ag-NPs at different excitation wavelengths (260–300 nm).

The morphology of Ag-NPs was examined using HRTEM which revealed that Ag-NPs were well separated with spherical shape (Fig. 4a). As well, DLS was used to measure the particle size distribution of Ag-NPs, which had a main average size of about 88 nm and polydispersity of 0.202 (Fig. S3a). EDX spectroscopy was also performed to investigate the elemental composition of Ag-NPs, which showed absorption peaks of silver at 3 kV confirming the formation of Ag-NPs (Fig. S3b). Other peaks also appeared as C, O, Cl, and K that could be due to their presence in the Piper cubeba extract.

Figure 4
figure 4

(a) HRTEM images of Ag-NPs, (b) FT-IR spectra of Ag-NPs.

FT-IR was used to study the surface functional groups of Ag-NPs. The obtained spectra showed different functional groups including N–H (3448 cm−1), C–H (2924 cm−1), C=O (1705 cm−1), C=C (1622 cm−1), C–N (1384 cm−1), and C–O (1022 cm−1)54 as shown in Fig. 4b.

The quantum yield of Ag-NPs was also evaluated using 2-amino pyridine as a standard and they showed a good quantum yield of about 0.45.

Antimicrobial activity of Ag-NPs

The antimicrobial activity of Ag-NPs was investigated against various pathogenic organisms including, gram positive bacteria (B. subtilis, S. aureus), gram negative bacteria (E. coli), and Candida albicans fungi. Upon comparing Ag-NPs with ONZ and Piper cubeba extract, Ag-NPs were found to have greater antimicrobial activity against candida albicans (11.21 mm), B. subtilis (9.12 mm), S. aureus (8.86 mm), and E. coli (7.41 mm) in contrast to the extract and ONZ that have less antifungal activity (Piper cubeba extract, 9.25 mm and ONZ, 9.46 mm) and no antibacterial action. In addition, the prepared Ag-NPs were also compared with AgNO3 and MIZ, and it was found that, all the four pathogens were susceptible for MIZ and AgNO3 except for B. subtilis which was more susceptible for Ag-NPs (Table 1, Fig. 5).

Table 1 Antimicrobial activity of Ag-NPs using agar disc diffusion method.
Figure 5
figure 5

Antimicrobial activity of Piper cubeba extract (6), Ag-NPs (50.0 µg/mL) (7), MIZ (1.0 mM) (8), AgNO3 (1.0 mM) (9), and ONZ (1.0 mM) (10) against (a) S. aureus, (b) B. subtilis, (c) E. coli, and (d) C. albicans.

Mechanism of fluorescence quenching

Figure 6 shows the fluorescence spectra of Ag-NPs in presence of each of ONZ and MIZ with different concentrations. The fluorescence quenching of Ag-NPs increases quantitatively by increasing the concentration of the studied drugs.

Figure 6
figure 6

Fluorescence emission spectra of Ag-NPs upon the addition of different concentrations of (a) ONZ (from top to bottom: 0, 5.0, 10.0, 20.0, 40.0, 60.0, 80.0 μM), (b) MIZ (from top to bottom: 0, 20.0, 30.0, 40.0, 60.0, 80.0, 100.0 μM).

Generally, quenching of fluorescence has different mechanisms, including inner filter effect (IFE), dynamic quenching, and static quenching55. Since there was an overlapping between the excitation spectra of Ag-NPs and the UV–visible absorption spectra of ONZ, IFE could occur (Fig. 7a). In contrary, no overlapping occurred between MIZ absorption spectra and Ag-NPs excitation spectra, and that resulted in excluding the IFE in this case (Fig. 7b).

Figure 7
figure 7

(a) A co-plot showing the overlapping between the fluorescence excitation spectrum of Ag-NPs and the UV–Vis absorption spectrum of ONZ, (b) A co-plot showing the absence of overlapping between the fluorescence excitation spectrum of Ag-NPs and the UV–Vis absorption spectrum of MIZ.

For prospective IFE, the intensity of the fluorescence of Ag-NPs was corrected following the addition of ONZ in increasing concentrations using Eq. (3):

$${\varvec{F}}_{corr} = {\varvec{F}}_{obs} \times 10^{{\left( {\frac{{A_{{{\text{ex}}}} + A_{{{\text{em}}}} }}{2}} \right)}}$$
(3)

where Fcorr and Fobs are the fluorescence intensity corrected and observed after excluding the IFE from the Fobs., Aex and Aem refer to the drug absorbance at the excitation and emission wavelengths, respectively.

The suppressed efficiency (%E) was calculated for both the corrected and observed fluorescence according to Eq. (4):

$$\% {\varvec{E}} = \left[ {1 - \left( {\frac{{\varvec{F}}}{{{\varvec{F}}_{0} }}} \right)} \right] \times 100$$
(4)

where %E is the suppressed efficiency, F is the Fcorr or Fobs, F0 is the blank fluorescence intensity.

The %E of both corrected and observed fluorescence intensities of Ag-NPs were separately plotted against ONZ and MIZ concentrations in µM. From Fig. 8 we can conclude that the IFE plays an important role in the quenching of Ag-NPs by ONZ, while for MIZ there was no effect.

Figure 8
figure 8

%E of observed and corrected fluorescence of Ag-NPs after the addition of various concentrations of (a) ONZ (5.0, 10.0, 20.0, 40.0, 60.0, 80.0 μM), (b) MIZ (20.0, 30.0, 40.0, 60.0, 80.0, 100.0 μM).

In addition to the IFE, other mechanisms might occur like static or dynamic quenching. The static quenching occurs due to the ground state complex formation. While, in dynamic quenching, the quencher (ONZ or MIZ) diffuses in the excited state to the fluorophore and contacts with it56. Another difference between the two prescribed mechanisms is the dependency on temperature. In the dynamic quenching, increasing the temperature increases the Stern–Volmer constant, while decreases it in the static one57. The possible quenching mechanisms were investigated using Stern–Volmer Eq. (5):

$$\frac{{F_{0} }}{F} = 1 + K_{sv} \left[ Q \right]$$
(5)

where (F0) and (F) are the fluorescence intensities before and after adding the drug, KSV is the Stern–Volmer (S–V) constant, [Q] is the concentration of quencher56.

The proposed method was performed at different temperature settings (298, 308, 318 K) and S–V equation was adopted where Fo/F was plotted against the concentration of each drug in µM (Fig. 9). For ONZ, the KSV values were 18.2 × 103, 17.05 × 103, and 16.65 × 103, while for MIZ the KSV values were 4.65 × 103, 3.3 × 103, and 0.95 × 103 at 298, 308, 318 K, respectively. As a result, in addition to the previously discussed IFE, the mechanism of quenching for both ONZ and MIZ is the static quenching since KSV decreased by increasing the temperature58,59,60.

Figure 9
figure 9

Stern–Volmer plots for the quenching of Ag-NPs fluorescence at three different temperature settings (298, 308, and 318 K) by different concentrations of (a) ONZ (20.0, 40.0, 60.0 μM), (b) MIZ (20.0, 40.0, 60.0 μM).

Optimization of experimental parameters

Effect of temperature on Ag-NPs

In order to confirm the maximum formation of Ag-NPs, the effect of temperature on Ag-NPs synthesis was studied by heating the mixture at different temperature settings in the range of 30–90 °C. It was found that the absorbance (λmax = 390 nm) increased by increasing the temperature, which indicated the maximum formation of Ag-NPs (Fig. S4). This was supported by the change of the color into dark brown and also was compatible with the results of most of the reported studies that investigated the effect of temperature on Ag-NPs61,62. Accordingly, 90 °C was used as the optimal temperature for the synthesis of Ag-NPs.

Effect of pH and buffer volume

Upon studying the effect of pH and buffer volume, Britton–Robinson buffers with pH 4 and pH 9 were found to result in a subsequent increase in the fluorescence quenching of Ag-NPs by ONZ and MIZ, respectively (Fig. S5a). In addition, the optimum buffer volumes were 2 mL and 1 mL for ONZ and MIZ, respectively (Fig. S5b).

Effect of incubation time

It was found that quenching of the fluorescence intensity of Ag-NPs by both drugs was stable for about 10 min then the quenching effect slightly decreased with increasing the incubation time (Fig. S5c).

Effect of temperature

Increasing the temperature was found to result in a significant decrease in the fluorescence quenching with the studied drugs (Fig. S5d). As a result, the spectrofluorimetric measurements were performed at room temperature.

Method validation

The proposed method was validated according to ICHQ2 (R1) guidelines50.

Linearity and range

The calibration curve was obtained by plotting fluorescence quenching (F0 − F) versus different drug concentrations in μM which was linear over the range of (5.0–80.0 μM) and (20.0–100.0 μM) for ONZ and MIZ, respectively. The correlation coefficient (r) for both drugs was 0.9999. Linear regression analysis was represented using the following equations:

$$\left( {{\text{F}}_{0} - {\text{F}}} \right) = 2.9667{\text{\,C}} + 66.05\;\;\;\; \left( {{\text{r}} = 0.9999} \right){\text{ for ONZ}}$$
(6)
$$\left( {{\text{F}}_{0} - {\text{F}}} \right) = 1.8221{\text{\,C}} + 6.4803\;\;\;\;\left( {{\text{r }} = 0.9999} \right){\text{ for MIZ}}$$
(7)

where F0 is the native fluorescence intensity of Ag-NPs, F is the Ag-NPs fluorescence intensity in presence of ONZ or MIZ, C is the concentration of the studied drugs in μM, and r is the correlation coefficient. The developed method’s analytical performance data was summarized in Table 2.

Table 2 Analytical performance data of the proposed method.

LOD and LOQ

LOD and LOQ are a measure of method sensitivity that were 0.35 and 1.06 μM, respectively for ONZ and 1.43 and 4.35 μM, respectively for MIZ. The measured LOD and LOQ values proved that the proposed method is adequately sensitive (Table 2).

Accuracy and precision

Upon comparing the results obtained by the proposed method with those obtained by the reported methods29,42, the analytical data was statically analyzed using both Variance ratio F-test and Student t-test which showed that there was no marked difference between the precision and accuracy of the proposed and reported methods (Table 3). The intra and inter-day precisions were also evaluated and the investigated drugs showed acceptable % error and %RSD, as presented in Table S1.

Table 3 Application of the proposed method for the determination of the studied drugs in raw materials.

Robustness

As described under “Experimental” section, the robustness of the developed method was studied to find out if small changes in the experimental parameters could influence the quenching of the fluorescence intensities of Ag-NPs by ONZ and MIZ. The obtained results indicated that, small changes in experimental conditions did not significantly affect the quenching of the Ag-NPs fluorescence intensity by both drugs, as shown in Table S2.

Selectivity

The selectivity of the proposed method for determining ONZ and MIZ was verified in their commercial dosage forms with low %RSD (less than 1.59%) and high % recovery (98.0–101.04%) without any interference from the existed excipients. The possible interfering excipients as lactose, maltose, mannitol, dextrin, and citric acid were studied in details and confirmed the high selectivity of the method, since they almost did not affect the fluorescence intensity of the Ag-NPs (Fig. S6). Similarly, the method selectivity was proved, by its ability to detect the studied drugs in the presence of different metal ions like Na+, K+, Ca+2, Mg+2, and Ba+2 without any interference (Fig. S7). The proposed method was also able to determine ONZ and MIZ in the presence of other antifungal and common co-administered drugs such as clotrimazole, ketoconazole, terconazole, ciprofloxacin, ofloxacin, and hydrocortisone sodium succinate. The tolerance limit of the drugs was determined as the concentration that result in 2% or less relative error, which was 25.0 µM for clotrimazole, 10.0 µM for both ketoconazole and terconazole, 1.0 µM for both ciprofloxacin and ofloxacin, and 25.0 µM for hydrocortisone sodium succinate60. In addition, the method could determine ONZ in spiked human plasma with low %RSD and high % recoveries demonstrating the absence of interference from plasma components. Accordingly, the developed method showed excellent selectivity for determination of ONZ and MIZ without any interference.

Method applications

Analysis of ONZ and MIZ in commercial dosage forms

The studied drugs were successfully determined in their commercial dosage forms including, Astranida® tablets for ONZ, Daktarin® cream, and Daktarin® oral gel for MIZ with high % recovery (98.0–101.04%) and low %RSD values (less than 1.59%). Table 4 shows that the results of the proposed method were in an acceptable agreement with those obtained by the reported methods29,42. Statistical analysis of the resultant data by Variance ratio F-test and Student t-test indicated that the method has good accuracy and precision, respectively.

Table 4 Application of the proposed method for the determination of the studied drugs in commercial dosage forms.

Determination of ONZ in human plasma

The selectivity and high sensitivity of the proposed analytical method allowed its application to analyze and/or detect ONZ in spiked human plasma, since the mean maximum plasma concentration of ONZ was 10.9 μg/ml (49.63 µM) when a dose of 750 mg was administered63. Linear relationship was found in plasma samples spiked with ONZ after plotting the quenching of fluorescence (F0 − F) against the concentrations of ONZ in µM. It was demonstrated that the method has sufficient ability to analyze the studied drug with high mean percentage recoveries and low SD values (100.08% ± 1.75), indicating that endogenous plasma components did not interfere, which pointed out to a negligible matrix effect (Table 5, Fig. S8). Linear regression analysis is represented by the following Eq. (8):

$$\left( {{\text{F}}_{0} - {\text{F}}} \right) = 10.32{\text{\,C}}{-}111.12 \;\;\;\;\left( {{\text{r }} = \, 0.999} \right)$$
(8)
Table 5 Application of the proposed method for the determination of ONZ in spiked human plasma.

Comparison with other methods

In comparison to the other reported methods, the proposed method provides a simple, fast, and an ecofriendly spectrofluorimetric approach for the estimation of ONZ and MIZ instead of the expensive, complicated, and tedious HPLC, capillary electrophoresis, and other chromatographic techniques. The proposed method is the first spectrofluorimetric method for the determination of MIZ and the first one used Ag-NPs as a fluorescent probe for the estimation of ONZ without the need for any pre-derivatization steps. Since the studied drugs don't exhibit native fluorescent properties, the importance of the proposed study is magnified. Compared to the reported spectrofluorimetric method for ONZ30, the proposed method is almost as sensitive as the reported one, which was not green, time consuming, and more complicated.

Conclusion

The current study provides a green, simple, rapid, and economic spectrofluorimetric method for the estimation of ONZ and MIZ. This method is the first spectrofluorimetric one for the determination of the studied drugs using Ag-NPs without the need for any pre-derivatization steps. Since the studied drugs don't exhibit native fluorescent properties, the importance of the proposed study is magnified. The developed method depends on the ecofriendly synthesis of Ag-NPs using Piper cubeba seed extract. The produced Ag-NPs were characterized using UV–Vis spectroscopy, spectrofluorimetry, FTIR, DLS, EDX, and HRTEM. The synthesized Ag-NPs showed a strong green fluorescence, which was quantitatively quenched by the studied drugs. Antimicrobial activity of Ag-NPs was examined using the disc diffusion method. The synthesized nanoparticles exhibited marked antimicrobial activity against various strains of gram negative and gram positive bacteria in addition to Candida albicans fungi. Therefore, the proposed method may hold potential applications in the antimicrobial therapy and related mechanism research. The developed method was applied for determining the studied drugs in commercial dosage forms with high % recoveries and low %RSD values. The proposed method was also used for the sensitive detection and determination of ONZ in the spiked human plasma.