@font-face {
    font-family: IRANRounded;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/iran-rounded/IRAN-Rounded.woff') format('woff'),
        url('../fonts/iran-rounded/IRAN-Rounded.ttf') format('truetype');
}

:root {
    --zaniix-font-family: IRANRounded, Tahoma, 'Segoe UI', sans-serif;
}

[class*="elementor-widget-zaniix-"] {
    font-family: var(--zaniix-font-family);
}

[class*="elementor-widget-zaniix-"] input,
[class*="elementor-widget-zaniix-"] select,
[class*="elementor-widget-zaniix-"] textarea,
[class*="elementor-widget-zaniix-"] button,
[class*="elementor-widget-zaniix-"] table,
[class*="elementor-widget-zaniix-"] th,
[class*="elementor-widget-zaniix-"] td,
[class*="elementor-widget-zaniix-"] label,
[class*="elementor-widget-zaniix-"] .zaniix-card__title,
[class*="elementor-widget-zaniix-"] .zaniix-card__value,
[class*="elementor-widget-zaniix-"] .zanix-kpi-card__title,
[class*="elementor-widget-zaniix-"] .zanix-kpi-card__value,
[class*="elementor-widget-zaniix-"] .zaniix-table__cell,
[class*="elementor-widget-zaniix-"] .zaniix-empty-state,
[class*="elementor-widget-zaniix-"] .zaniix-api-empty,
[class*="elementor-widget-zaniix-"] .zaniix-api-error {
    font-family: var(--zaniix-font-family);
}

[class*="elementor-widget-zaniix-"] jdp-container,
[class*="elementor-widget-zaniix-"] jdp-container * {
    font-family: var(--zaniix-font-family) !important;
}

/*
 * iOS Safari/WebKit: focus on inputs with font-size < 16px zooms the page.
 * Covers channel/campaign filter search, date-range display, selects, jalali picker.
 * Desktop browsers unchanged (touch-callout + coarse pointer).
 */
@supports (-webkit-touch-callout: none) {
    @media (hover: none) and (pointer: coarse) {
        [class*="elementor-widget-zaniix-"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="image"]),
        [class*="elementor-widget-zaniix-"] textarea,
        [class*="elementor-widget-zaniix-"] select,
        .zaniix-date-range-popup input,
        .zaniix-channel-filter__search,
        .zaniix-campaign-filter__search,
        .zaniix-campaign-search,
        input.zaniix-date-range-display,
        .zx-input,
        .zx-select,
        jdp-container input {
            font-size: 16px !important;
        }
    }
}
