/* ============================================================================
   NexShop — sistem ikon 2026
   Phosphor Duotone dipakai konsisten: satu ukuran, satu ketebalan, satu warna
   (currentColor). Tidak ada lagi ikon garis seragam ala Font Awesome maupun
   PNG warna-warni dari ikon pihak ketiga.
   ========================================================================== */

i.ph-duotone,
i.ph,
i.ph-fill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 1.05em;
    vertical-align: -0.125em;
    color: inherit;
    flex: none;
}

/* Tombol/tautan yang hanya berisi ikon: target sentuh tetap 40px */
a > i.ph-duotone:only-child,
button > i.ph-duotone:only-child {
    font-size: 18px;
}

/* Ikon di dalam tombol teks sedikit lebih kecil agar teks tetap dominan */
button i.ph-duotone,
a i.ph-duotone,
.btn i.ph-duotone {
    font-size: 1em;
}

/* Ikon status besar (empty state, hasil pembayaran) */
.nx-ikon-besar,
.nx-empty-icon-box i.ph-duotone,
.nx-success-icon-badge i.ph-duotone,
.nx-expired-icon-badge i.ph-duotone {
    font-size: 26px;
}

/* Sorot halus saat hover — pola GlareHover React Bits, tanpa JS */
a i.ph-duotone,
button i.ph-duotone {
    transition: transform .16s ease, opacity .16s ease;
}

a:hover > i.ph-duotone,
button:hover > i.ph-duotone {
    transform: translateY(-1px);
}

/* Hormati preferensi gerak minimal */
@media (prefers-reduced-motion: reduce) {
    a i.ph-duotone,
    button i.ph-duotone,
    a:hover > i.ph-duotone,
    button:hover > i.ph-duotone {
        transition: none;
        transform: none;
    }
}

/* Ikon PNG pihak ketiga yang masih tersisa di portal: samakan warnanya */
img[src*="img.icons8.com"] {
    filter: grayscale(1) contrast(.9);
    opacity: .85;
}
