/* _content/Refahi.Clients.Web.UI/Components/AppScaffold/RfAppScaffold.razor.rz.scp.css */
/* Refahi.Clients.Web.UI / Components / RfAppScaffold.razor.css */

.rfh-scaffold[b-5tnx0q1p9o] {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100dvh;
}

.rfh-scaffold-top[b-5tnx0q1p9o] {
    flex: 0 0 auto;
}

.rfh-scaffold-body[b-5tnx0q1p9o] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

    .rfh-scaffold.is-full[b-5tnx0q1p9o] {
        min-height: 100vh;
        min-height: 100dvh; /* موبایل‌های جدید */
        display: flex;
        flex-direction: column;
    }

    /* Opt-in layout for pages with a persistent bottom action. Existing pages
       keep the previous min-height/scroll behavior when this class is absent. */
    .rfh-scaffold.is-full.has-bottom-action[b-5tnx0q1p9o] {
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        overflow: hidden;
    }

    .rfh-scaffold.has-bottom-action .rfh-scaffold-body[b-5tnx0q1p9o] {
        min-height: 0;
    }

    .rfh-scaffold-body.is-flush[b-5tnx0q1p9o] {
        padding: 0;
    }

    .rfh-scaffold-body.is-flush.has-bottom-nav[b-5tnx0q1p9o] {
        padding-bottom: calc(76px + env(safe-area-inset-bottom));
    }

    /* وقتی BottomNav داریم، پایین صفحه باید جا بده */
    .rfh-scaffold-body.has-bottom-nav[b-5tnx0q1p9o] {
        padding-bottom: calc(var(--rf-space-4) + 76px + env(safe-area-inset-bottom));
    }

/* BottomNav container */
.rfh-scaffold-action[b-5tnx0q1p9o] {
    background: var(--rf-surface-0);
    flex: 0 0 auto;
    padding-bottom: env(safe-area-inset-bottom);
    position: relative;
    z-index: 10;
}

    .rfh-scaffold.has-bottom-nav-content .rfh-scaffold-action[b-5tnx0q1p9o] {
        padding-bottom: 0;
    }

.rfh-scaffold-bottom[b-5tnx0q1p9o] {
    flex: 0 0 auto;
}

    /* Bottom navigation joins the scaffold flow only for the opt-in action
       layout, placing the action immediately above it without magic offsets. */
    .rfh-scaffold.has-bottom-action .rfh-scaffold-bottom[b-5tnx0q1p9o]  .rf-bnav {
        position: static;
    }
/* _content/Refahi.Clients.Web.UI/Components/Badge/RfFilterBadge.razor.rz.scp.css */
.filter-badge[b-cgextr3m4x] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border: 1px solid var(--rf-colors-neutral-200);
    border-radius: 12px;
    background: var(--rf-surface-0);
    font-family: Estedad, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--rf-colors-neutral-700);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.filter-badge:hover[b-cgextr3m4x] {
    border-color: var(--rf-color-primary);
    background: var(--rf-colors-primary-50);
}

.filter-badge.active[b-cgextr3m4x] {
    border-color: var(--rf-color-primary);
    background: var(--rf-colors-primary-50);
    color: var(--rf-color-primary);
    font-weight: 600;
}

.filter-badge-text[b-cgextr3m4x] {
    color: inherit;
}

.filter-badge-count[b-cgextr3m4x] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--rf-color-primary);
    color: var(--rf-text-invert);
    font-size: 12px;
    font-weight: 600;
}

.filter-badge.active .filter-badge-count[b-cgextr3m4x] {
    background: var(--rf-colors-primary-600);
}

.filter-badge-icon[b-cgextr3m4x] {
    width: 16px;
    height: 16px;
    background-color: currentColor;
    transition: transform 0.2s;
}

.filter-badge.active .filter-badge-icon[b-cgextr3m4x] {
    transform: rotate(180deg);
}
/* _content/Refahi.Clients.Web.UI/Components/Badge/RfhBadge.razor.rz.scp.css */
.rfh-badge[b-bso5ddbsb5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--rf-font-weight-medium);
}

/* sizes */
.rfh-badge-sm[b-bso5ddbsb5] {
    font-size: var(--rf-font-size-xs);
    padding: 2px 6px;
    border-radius: var(--rf-radius-sm);
}

.rfh-badge-md[b-bso5ddbsb5] {
    font-size: var(--rf-font-size-sm);
    padding: 4px 8px;
    border-radius: var(--rf-radius-sm);
}

.rfh-badge-pill[b-bso5ddbsb5] {
    border-radius: 999px;
}

/* variants (همان‌هایی که داشتی) */
.rfh-badge-default[b-bso5ddbsb5] {
    background: var(--rf-surface-2);
    color: var(--rf-text-1);
}

.rfh-badge-success[b-bso5ddbsb5] {
    background: var(--rf-colors-success-50);
    color: var(--rf-color-success);
}

.rfh-badge-danger[b-bso5ddbsb5] {
    background: var(--rf-colors-danger-50);
    color: var(--rf-color-danger);
}
/* _content/Refahi.Clients.Web.UI/Components/Button/RfhButton.razor.rz.scp.css */
/* فقط چیزهایی که در framework نداری */
.rfh-btn__spinner[b-65gindptnh] {
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: rfh-spin-b-65gindptnh 0.6s linear infinite;
}

@keyframes rfh-spin-b-65gindptnh {
    to {
        transform: rotate(360deg);
    }
}

/* اگر ShowLoadingText=true شد، محتوا را مخفی می‌کنیم تا عرض دکمه نپرد */
.rfh-btn__content--hidden[b-65gindptnh] {
    opacity: 0;
    position: absolute;
}
/* _content/Refahi.Clients.Web.UI/Components/Button/RfIconButton.razor.rz.scp.css */
/* spinner فقط مخصوص حالت Loading */
.rfh-ib__spinner[b-x406eek4c3] {
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: rfh-ib-spin-b-x406eek4c3 .6s linear infinite;
}

@keyframes rfh-ib-spin-b-x406eek4c3 {
    to {
        transform: rotate(360deg);
    }
}
/* _content/Refahi.Clients.Web.UI/Components/Calendar/RfDatePicker.razor.rz.scp.css */
/* RfDatePicker.razor.css */

.rf-dp[b-xadsyrxgq2] {
    width: 100%;
}

/* Header */
.rf-dp-head[b-xadsyrxgq2] {
    align-items: center;
    justify-content: space-between;
    padding: var(--rf-space-4);
}

.rf-dp-title[b-xadsyrxgq2] {
    flex: 1;
    text-align: center;
    display: grid;
    gap: var(--rf-space-1);
}

.rf-dp-month[b-xadsyrxgq2] {
    font-weight: var(--rf-font-weight-bold);
    font-size: var(--rf-font-size-lg);
}

.rf-dp-year[b-xadsyrxgq2] {
    justify-self: center;
    height: 32px;
    padding: 0 var(--rf-space-3);
    border: 1px solid var(--rf-border-color);
    border-radius: var(--rf-radius-md);
    background: var(--rf-surface-0);
}

.rf-dp-nav[b-xadsyrxgq2] {
    width: 40px;
    height: 40px;
}

/* Weekday labels */
.rf-dp-weekdays[b-xadsyrxgq2] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    padding: 0 var(--rf-space-4);
    color: var(--rf-text-2);
    font-size: var(--rf-font-size-sm);
}

.rf-dp-weekday[b-xadsyrxgq2] {
    text-align: center;
    padding: var(--rf-space-2) 0;
}

/* Days grid */
.rf-dp-grid[b-xadsyrxgq2] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    padding: var(--rf-space-2) var(--rf-space-4) var(--rf-space-6) var(--rf-space-4);
    padding-left: var(--rf-space-4);
    padding-right: var(--rf-space-4);
    gap: var(--rf-space-2);
}

/* Cells */
.rf-dp-cell[b-xadsyrxgq2] {
    height: 44px;
    border-radius: var(--rf-radius-md);
}

.rf-dp-empty[b-xadsyrxgq2] {
    height: 44px;
}

.rf-dp-day[b-xadsyrxgq2] {
    border: 1px solid transparent;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--rf-text-1);
    font-weight: var(--rf-font-weight-medium);
}

    /* Holiday: red-ish like your design */
    .rf-dp-day.is-holiday[b-xadsyrxgq2] {
        color: var(--rf-colors-danger-600);
    }

    /* Outside month */
    .rf-dp-day.is-outside[b-xadsyrxgq2] {
        opacity: .35;
    }

    /* Disabled */
    .rf-dp-day:disabled[b-xadsyrxgq2],
    .rf-dp-day.is-disabled[b-xadsyrxgq2] {
        opacity: .35;
        cursor: not-allowed;
    }

    /* Today */
    .rf-dp-day.is-today[b-xadsyrxgq2] {
        border-color: var(--rf-border-color);
    }

    /* Selected: white box border like design (or invert if you prefer) */
    .rf-dp-day.is-selected[b-xadsyrxgq2] {
        border-color: var(--rf-border-color);
        background: var(--rf-surface-0);
        box-shadow: var(--rf-shadow-sm);
    }
/* _content/Refahi.Clients.Web.UI/Components/Calendar/RfJalaliCalendar.razor.rz.scp.css */

.rf-cal[b-k2x0h15ncq] {
    width: 100%;
    outline: none;
}

/* Header */
.rf-cal-head[b-k2x0h15ncq] {
    align-items: center;
    justify-content: space-between;
    padding: var(--rf-space-4);
}

.rf-cal-title[b-k2x0h15ncq] {
    flex: 1;
    text-align: center;
    display: grid;
    gap: var(--rf-space-1);
}

.rf-cal-month[b-k2x0h15ncq] {
    font-weight: var(--rf-font-weight-bold);
    font-size: var(--rf-font-size-lg);
}

.rf-cal-year[b-k2x0h15ncq] {
    justify-self: center;
    height: 32px;
    padding: 0 var(--rf-space-3);
    border: 1px solid var(--rf-border-color);
    border-radius: var(--rf-radius-md);
    background: var(--rf-surface-0);
}

.rf-cal-nav[b-k2x0h15ncq] {
    width: 40px;
    height: 40px;
}

/* Weekdays */
.rf-cal-weekdays[b-k2x0h15ncq] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    padding: 0 var(--rf-space-4);
    color: var(--rf-text-2);
    font-size: var(--rf-font-size-sm);
}

.rf-cal-weekday[b-k2x0h15ncq] {
    text-align: center;
    padding: var(--rf-space-2) 0;
}

/* Grid */
.rf-cal-grid[b-k2x0h15ncq] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    padding: var(--rf-space-2) var(--rf-space-4) var(--rf-space-6);
    padding-left: var(--rf-space-4);
    padding-right: var(--rf-space-4);
    gap: var(--rf-space-2);
}

/* Cells */
.rf-cal-cell[b-k2x0h15ncq] {
    height: 52px;
    border-radius: var(--rf-radius-md);
}

.rf-cal-empty[b-k2x0h15ncq] {
    height: 52px;
}

.rf-cal-day[b-k2x0h15ncq] {
    border: 1px solid transparent;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    color: var(--rf-text-1);
    font-weight: var(--rf-font-weight-medium);
    padding: 0;
}

/* Day number */
.rf-cal-daynum[b-k2x0h15ncq] {
    line-height: 1;
}

/* Badge (price/caption) */
.rf-cal-badge[b-k2x0h15ncq] {
    font-size: var(--rf-font-size-xs);
    color: var(--rf-text-2);
    line-height: 1;
}

/* Holiday (red) */
.rf-cal-day.is-holiday[b-k2x0h15ncq] {
    color: var(--rf-colors-danger-600);
}

/* Outside month */
.rf-cal-day.is-outside[b-k2x0h15ncq] {
    opacity: .35;
}

/* Disabled */
.rf-cal-day:disabled[b-k2x0h15ncq],
.rf-cal-day.is-disabled[b-k2x0h15ncq] {
    opacity: .35;
    cursor: not-allowed;
}

/* Today */
.rf-cal-day.is-today[b-k2x0h15ncq] {
    border-color: var(--rf-border-color);
}

/* Focus ring (keyboard) */
.rf-cal-day.is-focused[b-k2x0h15ncq] {
    outline: 2px solid var(--rf-colors-primary-300);
    outline-offset: 2px;
}

/* Selected (single) */
.rf-cal-day.is-selected[b-k2x0h15ncq] {
    border-color: var(--rf-border-color);
    background: var(--rf-surface-0);
    box-shadow: var(--rf-shadow-sm);
}

/* Range highlight */
.rf-cal-day.is-in-range[b-k2x0h15ncq] {
    background: var(--rf-colors-primary-50);
    border-color: transparent;
}

.rf-cal-day.is-range-start[b-k2x0h15ncq],
.rf-cal-day.is-range-end[b-k2x0h15ncq] {
    border-color: var(--rf-border-color);
    background: var(--rf-surface-0);
    box-shadow: var(--rf-shadow-sm);
    outline: 2px solid var(--rf-colors-primary-300);
    outline-offset: 2px;
}

/* Make range look connected (optional) */
.rf-cal-day.is-in-range[b-k2x0h15ncq] {
    border-radius: var(--rf-radius-sm);
}

.rf-cal-day.is-range-start[b-k2x0h15ncq] {
    border-top-right-radius: var(--rf-radius-md);
    border-bottom-right-radius: var(--rf-radius-md);
}

.rf-cal-day.is-range-end[b-k2x0h15ncq] {
    border-top-left-radius: var(--rf-radius-md);
    border-bottom-left-radius: var(--rf-radius-md);
}
/* _content/Refahi.Clients.Web.UI/Components/Calendar/RfJalaliDatePickerSheet.razor.rz.scp.css */
.rf-date-sheet__footer[b-475uz0jc7a] {
    display: grid;
    gap: var(--rf-space-3);
    width: 100%;
}
/* _content/Refahi.Clients.Web.UI/Components/Chip/RfhChip.razor.rz.scp.css */
.rfh-chip[b-pqkz7qtskb] {
    display: inline-flex;
    align-items: center;
    gap: var(--rf-space-2);
    padding: 6px 12px;
    border-radius: var(--rf-radius-lg);
    border: 1px solid var(--rf-border-color);
    background: var(--rf-surface-0);
    font-size: var(--rf-font-size-sm);
    color: var(--rf-text-1);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

    /* selected */
    .rfh-chip.is-selected[b-pqkz7qtskb] {
        background: var(--rf-colors-primary-500);
        color: var(--rf-surface-0);
        border-color: var(--rf-colors-primary-500);
    }

    /* disabled */
    .rfh-chip:disabled[b-pqkz7qtskb],
    .rfh-chip.is-disabled[b-pqkz7qtskb] {
        opacity: .45;
        cursor: not-allowed;
    }

/* remove icon */
.rfh-chip-remove[b-pqkz7qtskb] {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--rf-border-color);
    line-height: 1;
    font-size: 14px;
}
/* _content/Refahi.Clients.Web.UI/Components/Divider/RfhDivider.razor.rz.scp.css */
/* Base (همان چیزی که داشتی) */
.rfh-divider[b-xab6l0983n] {
    border: none;
    border-top: 1px solid var(--rf-border-color);
    margin: var(--rf-space-3) 0;
}

/* Spacing variants */
.rfh-divider--tight[b-xab6l0983n] {
    margin: var(--rf-space-2) 0;
}

.rfh-divider--loose[b-xab6l0983n] {
    margin: var(--rf-space-4) 0;
}

/* Labeled divider */
.rfh-divider--labeled[b-xab6l0983n] {
    display: flex;
    align-items: center;
    gap: var(--rf-space-3);
    margin: var(--rf-space-3) 0;
}

.rfh-divider__line[b-xab6l0983n] {
    flex: 1;
    height: 1px;
    background: var(--rf-border-color);
}

.rfh-divider__label[b-xab6l0983n] {
    font-size: var(--rf-font-size-sm);
    color: var(--rf-text-2);
    white-space: nowrap;
}
/* _content/Refahi.Clients.Web.UI/Components/EmptyState/RfEmptyState.razor.rz.scp.css */
/* Refahi.Clients.Web.UI / Components / RfEmptyState.razor.css */

.rfh-empty[b-lcs0ndmgzx] {
    text-align: center;
    padding: var(--rf-space-8) var(--rf-space-4);
    border: 1px solid var(--rf-border-color);
    border-radius: var(--rf-radius-lg);
    background: var(--rf-surface-0);
}

    .rfh-empty.is-compact[b-lcs0ndmgzx] {
        padding: var(--rf-space-5) var(--rf-space-4);
    }

.rfh-empty-icon[b-lcs0ndmgzx] {
    margin-bottom: var(--rf-space-4);
    color: var(--rf-text-2);
    display: flex;
    justify-content: center;
}

.rfh-empty-title[b-lcs0ndmgzx] {
    font-size: var(--rf-font-size-lg);
    font-weight: var(--rf-font-weight-bold);
    color: var(--rf-text-1);
}

.rfh-empty-desc[b-lcs0ndmgzx] {
    margin-top: var(--rf-space-2);
    font-size: var(--rf-font-size-md);
    color: var(--rf-text-2);
    line-height: 1.6;
}

.rfh-empty-actions[b-lcs0ndmgzx] {
    margin-top: var(--rf-space-5);
    display: flex;
    justify-content: center;
    gap: var(--rf-space-3);
    flex-wrap: wrap;
}
/* _content/Refahi.Clients.Web.UI/Components/EmptyState/RfListSkeleton.razor.rz.scp.css */
/* Refahi.Clients.Web.UI / Components / RfListSkeleton.razor.css */

.rfh-list-skel[b-vhclx0hr6b] {
    display: grid;
    gap: var(--rf-space-3);
}

/* --- ListItem mode --- */
.rfh-list-skel-item[b-vhclx0hr6b] {
    display: flex;
    align-items: center;
    gap: var(--rf-space-3);
    padding: var(--rf-space-3) var(--rf-space-4);
    border: 1px solid var(--rf-border-color);
    border-radius: var(--rf-radius-lg);
    background: var(--rf-surface-0);
}

.rfh-list-skel-leading[b-vhclx0hr6b] {
    flex: 0 0 auto;
}

.rfh-list-skel-content[b-vhclx0hr6b] {
    flex: 1 1 auto;
    display: grid;
    gap: var(--rf-space-2);
    min-width: 0;
}

.rfh-list-skel-trailing[b-vhclx0hr6b] {
    flex: 0 0 auto;
    opacity: .7;
}

/* --- Card mode --- */
.rfh-list-skel-card[b-vhclx0hr6b] {
    border: 1px solid var(--rf-border-color);
    border-radius: var(--rf-radius-lg);
    background: var(--rf-surface-0);
    overflow: hidden;
}

.rfh-list-skel-card-media[b-vhclx0hr6b] {
    border-radius: 0;
}

.rfh-list-skel-card-body[b-vhclx0hr6b] {
    padding: var(--rf-space-4);
    display: grid;
    gap: var(--rf-space-2);
}

/* width helpers for skeleton blocks */
.rfh-skel__w-70[b-vhclx0hr6b] {
    width: 70%;
}

.rfh-skel__w-60[b-vhclx0hr6b] {
    width: 60%;
}

.rfh-skel__w-55[b-vhclx0hr6b] {
    width: 55%;
}

.rfh-skel__w-40[b-vhclx0hr6b] {
    width: 40%;
}

.rfh-skel__w-35[b-vhclx0hr6b] {
    width: 35%;
}
/* _content/Refahi.Clients.Web.UI/Components/EmptyState/RfSkeleton.razor.rz.scp.css */
/* Refahi.Clients.Web.UI / Components / RfSkeleton.razor.css */

.rfh-skel[b-1bq4hu2iok] {
    border-radius: var(--rf-radius-md);
    background: var(--rf-surface-2);
    position: relative;
    overflow: hidden;
}

    .rfh-skel.is-circle[b-1bq4hu2iok] {
        border-radius: 999px;
    }

    /* shimmer */
    .rfh-skel[b-1bq4hu2iok]::after {
        content: "";
        position: absolute;
        inset: 0;
        transform: translateX(0);
        background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--rf-surface-0) 35%, transparent), transparent );
        animation: rfh-skel-shimmer-b-1bq4hu2iok 1.1s infinite;
    }

@keyframes rfh-skel-shimmer-b-1bq4hu2iok {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* text wrapper */
.rfh-skel-text[b-1bq4hu2iok] {
    display: grid;
    gap: var(--rf-space-2);
}

/* last line width control */
.rfh-skel__last[b-1bq4hu2iok] {
    width: 70%;
}
/* _content/Refahi.Clients.Web.UI/Components/Error/RfErrorDialog.razor.rz.scp.css */
/* RfErrorDialog.razor.css */

.rf-error-dialog-content[b-z1f88e5wzm] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--rf-space-4);
    padding: var(--rf-space-5) var(--rf-space-4);
}

.rf-error-dialog-icon[b-z1f88e5wzm] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rf-error-dialog-icon--info[b-z1f88e5wzm] {
    background: var(--rf-colors-info-50);
    color: var(--rf-colors-info-500);
}

.rf-error-dialog-icon--warning[b-z1f88e5wzm] {
    background: var(--rf-colors-warning-50);
    color: var(--rf-colors-warning-500);
}

.rf-error-dialog-icon--danger[b-z1f88e5wzm] {
    background: var(--rf-colors-danger-50);
    color: var(--rf-colors-danger-500);
}

.rf-error-dialog-message[b-z1f88e5wzm] {
    font-size: var(--rf-font-size-lg);
    color: var(--rf-text-1);
    line-height: 1.6;
    margin: 0;
}

.rf-error-dialog-body[b-z1f88e5wzm] {
    font-size: var(--rf-font-size-md);
    color: var(--rf-text-2);
    line-height: 1.6;
}

/* Desktop Enhancement */
@media (min-width: 768px) {
    .rf-error-dialog-content[b-z1f88e5wzm] {
        padding: var(--rf-space-6) var(--rf-space-5);
    }
    
    .rf-error-dialog-icon[b-z1f88e5wzm] {
        width: 80px;
        height: 80px;
    }
}
/* _content/Refahi.Clients.Web.UI/Components/Error/RfErrorPage.razor.rz.scp.css */
/* RfErrorPage.razor.css */

.rf-error-page[b-3jhy0wo764] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--rf-space-5);
    background: var(--rf-surface-1);
}

.rf-error-page-content[b-3jhy0wo764] {
    max-width: 500px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--rf-space-4);
}

.rf-error-page-icon[b-3jhy0wo764] {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--rf-space-3);
}

/* Error Type Colors */
.rf-error-page--notfound .rf-error-page-icon[b-3jhy0wo764] {
    background: var(--rf-colors-primary-50);
    color: var(--rf-colors-primary-500);
}

.rf-error-page--servererror .rf-error-page-icon[b-3jhy0wo764] {
    background: var(--rf-colors-danger-50);
    color: var(--rf-colors-danger-500);
}

.rf-error-page--offline .rf-error-page-icon[b-3jhy0wo764] {
    background: var(--rf-colors-warning-50);
    color: var(--rf-colors-warning-500);
}

.rf-error-page--forbidden .rf-error-page-icon[b-3jhy0wo764] {
    background: var(--rf-colors-danger-50);
    color: var(--rf-colors-danger-500);
}

.rf-error-page--error .rf-error-page-icon[b-3jhy0wo764] {
    background: var(--rf-surface-2);
    color: var(--rf-text-2);
}

.rf-error-page-code[b-3jhy0wo764] {
    font-size: 96px;
    font-weight: 700;
    line-height: 1;
    color: var(--rf-text-3);
    opacity: 0.3;
}

.rf-error-page-title[b-3jhy0wo764] {
    font-size: var(--rf-font-size-xxl);
    font-weight: 700;
    color: var(--rf-text-1);
    margin: 0;
}

.rf-error-page-description[b-3jhy0wo764] {
    font-size: var(--rf-font-size-lg);
    color: var(--rf-text-2);
    line-height: 1.6;
    margin: 0;
}

.rf-error-page-body[b-3jhy0wo764] {
    font-size: var(--rf-font-size-md);
    color: var(--rf-text-2);
    line-height: 1.6;
}

.rf-error-page-actions[b-3jhy0wo764] {
    margin-top: var(--rf-space-5);
    display: flex;
    gap: var(--rf-space-3);
    flex-wrap: wrap;
    justify-content: center;
}

/* Desktop Enhancement */
@media (min-width: 768px) {
    .rf-error-page[b-3jhy0wo764] {
        padding: var(--rf-space-8);
    }

    .rf-error-page-content[b-3jhy0wo764] {
        max-width: var(--rf-body-max-width-desktop);
    }
    
    .rf-error-page-icon[b-3jhy0wo764] {
        width: 140px;
        height: 140px;
    }
    
    .rf-error-page-code[b-3jhy0wo764] {
        font-size: 120px;
    }
    
    .rf-error-page-title[b-3jhy0wo764] {
        font-size: 32px;
    }
}
/* _content/Refahi.Clients.Web.UI/Components/Filter/RfPriceFilter.razor.rz.scp.css */
.price-filter[b-jwty1fnztc] {
    display: grid;
    gap: var(--rf-space-4);
}

.price-filter-values[b-jwty1fnztc] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--rf-space-4);
}

.price-filter-value[b-jwty1fnztc] {
    display: grid;
    gap: var(--rf-space-1);
    min-width: 0;
}

.price-filter-value:last-child[b-jwty1fnztc] {
    text-align: end;
}

.price-filter-label[b-jwty1fnztc] {
    color: var(--rf-text-2);
    font-size: var(--rf-font-size-sm);
    font-weight: var(--rf-font-weight-regular);
    line-height: var(--rf-line-height-normal);
}

.price-value[b-jwty1fnztc] {
    color: var(--rf-text-1);
    font-size: var(--rf-font-size-md);
    font-weight: var(--rf-font-weight-semibold);
    line-height: var(--rf-line-height-normal);
    white-space: nowrap;
}

.price-filter-sliders[b-jwty1fnztc] {
    position: relative;
    height: 32px;
    display: flex;
    align-items: center;
    direction: rtl;
}

.price-filter-sliders[b-jwty1fnztc]::before,
.price-filter-sliders[b-jwty1fnztc]::after {
    content: "";
    position: absolute;
    top: 50%;
    height: 4px;
    border-radius: 999px;
    transform: translateY(-50%);
    pointer-events: none;
}

.price-filter-sliders[b-jwty1fnztc]::before {
    inset-inline: 0;
    background: var(--rf-surface-2);
}

.price-filter-sliders[b-jwty1fnztc]::after {
    left: calc(100% - var(--max-percent));
    right: var(--min-percent);
    background: var(--rf-colors-primary-500);
}

.price-slider[b-jwty1fnztc] {
    position: absolute;
    inset-inline: 0;
    width: 100%;
    height: 32px;
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    outline: none;
    pointer-events: none;
}

.price-slider--min[b-jwty1fnztc] {
    z-index: 2;
}

.price-slider--max[b-jwty1fnztc] {
    z-index: 3;
}

.price-slider[b-jwty1fnztc]::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
}

.price-slider[b-jwty1fnztc]::-moz-range-track {
    height: 4px;
    background: transparent;
}

.price-slider[b-jwty1fnztc]::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    margin-top: -8px;
    -webkit-appearance: none;
    appearance: none;
    border: 3px solid var(--rf-colors-primary-500);
    border-radius: 50%;
    background: var(--rf-surface-0);
    box-shadow: var(--rf-shadow-sm);
    cursor: pointer;
    pointer-events: auto;
}

.price-slider[b-jwty1fnztc]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border: 3px solid var(--rf-colors-primary-500);
    border-radius: 50%;
    background: var(--rf-surface-0);
    box-shadow: var(--rf-shadow-sm);
    cursor: pointer;
    pointer-events: auto;
}

.price-slider:focus-visible[b-jwty1fnztc]::-webkit-slider-thumb {
    outline: 3px solid var(--rf-colors-primary-100);
    outline-offset: 2px;
}

.price-slider:focus-visible[b-jwty1fnztc]::-moz-range-thumb {
    outline: 3px solid var(--rf-colors-primary-100);
    outline-offset: 2px;
}
/* _content/Refahi.Clients.Web.UI/Components/Filter/RfSortFilter.razor.rz.scp.css */
.sort-filter[b-rlhdvf91vq] {
    display: grid;
    gap: var(--rf-space-2);
}

.sort-option[b-rlhdvf91vq] {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--rf-space-3);
    min-height: 52px;
    padding: var(--rf-space-2) var(--rf-space-3);
    border: 1px solid var(--rf-border-color);
    border-radius: var(--rf-radius-md);
    background: var(--rf-surface-0);
    color: var(--rf-text-1);
    cursor: pointer;
}

.sort-option:hover[b-rlhdvf91vq] {
    border-color: var(--rf-colors-primary-300);
    background: var(--rf-colors-primary-50);
}

.sort-option.is-active[b-rlhdvf91vq] {
    border-color: var(--rf-colors-primary-500);
    background: var(--rf-colors-primary-50);
}

.sort-option input[type="radio"][b-rlhdvf91vq] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sort-option-indicator[b-rlhdvf91vq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border: 1px solid var(--rf-border-color);
    border-radius: 50%;
    color: var(--rf-text-invert);
    background: var(--rf-surface-0);
}

.sort-option.is-active .sort-option-indicator[b-rlhdvf91vq] {
    border-color: var(--rf-colors-primary-500);
    background: var(--rf-colors-primary-500);
}

.sort-option-text[b-rlhdvf91vq] {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--rf-text-1);
    font-size: var(--rf-font-size-md);
    font-weight: var(--rf-font-weight-medium);
    line-height: var(--rf-line-height-normal);
}

.sort-option.is-active .sort-option-text[b-rlhdvf91vq] {
    color: var(--rf-colors-primary-700);
    font-weight: var(--rf-font-weight-semibold);
}

.sort-option-count[b-rlhdvf91vq] {
    flex: 0 0 auto;
    color: var(--rf-text-2);
    font-size: var(--rf-font-size-sm);
    font-weight: var(--rf-font-weight-regular);
    white-space: nowrap;
}
/* _content/Refahi.Clients.Web.UI/Components/Filter/RfStarsFilter.razor.rz.scp.css */
.stars-filter[b-52todnyh00] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.star-option[b-52todnyh00] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--rf-colors-neutral-200);
    border-radius: 12px;
    background: var(--rf-surface-0);
    cursor: pointer;
    transition: all 0.2s;
}

.star-option:hover[b-52todnyh00] {
    border-color: var(--rf-color-primary);
    background: var(--rf-colors-primary-50);
}

.star-option.active[b-52todnyh00] {
    border-color: var(--rf-color-primary);
    background: var(--rf-colors-primary-50);
}

.star-option input[type="checkbox"][b-52todnyh00] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.star-option-content[b-52todnyh00] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.star-display[b-52todnyh00] {
    display: flex;
    gap: 2px;
}

.star[b-52todnyh00] {
    font-size: 18px;
    color: var(--rf-color-warning);
}

.star-label[b-52todnyh00] {
    font-family: Estedad, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--rf-colors-neutral-700);
}

.star-option-count[b-52todnyh00] {
    font-family: Estedad, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: var(--rf-colors-neutral-500);
    white-space: nowrap;
    margin-left: 8px;
}

.star-option.active .star-label[b-52todnyh00] {
    color: var(--rf-color-primary);
    font-weight: 600;
}

.star-option-check[b-52todnyh00] {
    width: 20px;
    min-width: 20px;
    background-color: var(--rf-color-primary);
    flex-shrink: 0;
}
/* _content/Refahi.Clients.Web.UI/Components/Icon/RfIcon.razor.rz.scp.css */
.rf-icon--sm[b-2s45bqvdcl] {
    width: 1rem;
    height: 1rem;
}
/* 16 */

.rf-icon--md[b-2s45bqvdcl] {
    width: 1.25rem;
    height: 1.25rem;
}
/* 20 */

.rf-icon--lg[b-2s45bqvdcl] {
    width: 1.5rem;
    height: 1.5rem;
}
/* 24 */

.rf-icon--xl[b-2s45bqvdcl] {
    width: 2rem;
    height: 2rem;
}
/* 32 */

.rf-icon--xxl[b-2s45bqvdcl] {
    width: 2.5rem;
    height: 2.5rem;
}
/* 40 */

.rf-icon--mirror-rtl:dir(rtl)[b-2s45bqvdcl] {
    transform: scaleX(-1);
}

.rf-icon[b-2s45bqvdcl] {
    display: inline-block;
/*    width: 1em;
    height: 1em;
*/    flex: 0 0 auto;
    vertical-align: -.125em;
    fill: currentColor;
}

    .rf-icon > use[b-2s45bqvdcl] {
        fill: currentColor;
    }
/* _content/Refahi.Clients.Web.UI/Components/List/RfhListItem.razor.rz.scp.css */
/* clickable root */
.rfh-li[b-2crocpd4bz] {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
    background: var(--rf-surface-0);
}

.rfh-li-inner[b-2crocpd4bz] {
    display: flex;
    align-items: center;
    padding: var(--rf-space-3) var(--rf-space-4);
    gap: var(--rf-space-3);
}

/* hover فقط وقتی disabled نیست */
.rfh-li:hover:not(.rfh-li--disabled)[b-2crocpd4bz] {
    background: var(--rf-surface-1);
}

.rfh-li:focus-visible[b-2crocpd4bz] {
    outline: 2px solid var(--rf-colors-primary-500);
    outline-offset: 2px;
}

/* optional bottom divider */
.rfh-li--divider[b-2crocpd4bz] {
    border-bottom: 1px solid var(--rf-border-color);
}

/* disabled */
.rfh-li--disabled[b-2crocpd4bz] {
    opacity: .45;
    cursor: not-allowed;
}

/* Leading */
.rfh-li-leading[b-2crocpd4bz] {
    display: flex;
    align-items: center;
    color: var(--rf-colors-primary-500);
}

/* Content */
.rfh-li-content[b-2crocpd4bz] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.rfh-li-title[b-2crocpd4bz] {
    font-size: var(--rf-font-size-md);
    font-weight: var(--rf-font-weight-medium);
    color: var(--rf-text-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rfh-li-subtitle[b-2crocpd4bz] {
    font-size: var(--rf-font-size-sm);
    color: var(--rf-text-2);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Trailing */
.rfh-li-trailing[b-2crocpd4bz] {
    display: flex;
    align-items: center;
    color: var(--rf-text-2);
}
/* _content/Refahi.Clients.Web.UI/Components/Message/RfInlineMessage.razor.rz.scp.css */
/* Base Message Container */
.rfh-msg[b-t1gr9ucu5e] {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    background: var(--rf-surface-0);
    color: var(--rf-text-1);
    font-family: 'Estedad', sans-serif;
}

/* Right Icon (in RTL) */
.rfh-msg-icon[b-t1gr9ucu5e] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

/* Body Content (Center) */
.rfh-msg-body[b-t1gr9ucu5e] {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rfh-msg-title[b-t1gr9ucu5e] {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--rf-text-1);
}

.rfh-msg-desc[b-t1gr9ucu5e] {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--rf-text-2);
}

.rfh-msg-content[b-t1gr9ucu5e] {
    margin-top: 8px;
}

/* Close Button (Left in RTL) */
.rfh-msg-close[b-t1gr9ucu5e] {
    flex: 0 0 auto;
    margin-top: -4px;
    margin-left: -4px;
}

.rfh-msg-close-btn[b-t1gr9ucu5e] {
    padding: 4px;
    color: var(--rf-text-3);
}

/* ============================================
   STYLE: Soft (Tinted Background)
   ============================================ */
.rfh-msg--soft[b-t1gr9ucu5e] {
    border: 1px solid;
}

/* Info - Blue */
.rfh-msg--soft.rfh-msg--info[b-t1gr9ucu5e] {
    background: var(--rf-colors-info-50);
    border-color: var(--rf-colors-info-200);
}

.rfh-msg--soft.rfh-msg--info .rfh-msg-icon[b-t1gr9ucu5e] {
    color: var(--rf-color-info);
}

/* Warning - Orange */
.rfh-msg--soft.rfh-msg--warning[b-t1gr9ucu5e] {
    background: var(--rf-colors-warning-50);
    border-color: var(--rf-colors-warning-200);
}

.rfh-msg--soft.rfh-msg--warning .rfh-msg-icon[b-t1gr9ucu5e] {
    color: var(--rf-color-warning);
}

/* Success - Green */
.rfh-msg--soft.rfh-msg--success[b-t1gr9ucu5e] {
    background: var(--rf-colors-success-50);
    border-color: var(--rf-colors-success-200);
}

.rfh-msg--soft.rfh-msg--success .rfh-msg-icon[b-t1gr9ucu5e] {
    color: var(--rf-color-success);
}

/* Danger - Red */
.rfh-msg--soft.rfh-msg--danger[b-t1gr9ucu5e] {
    background: var(--rf-colors-danger-50);
    border-color: var(--rf-colors-danger-200);
}

.rfh-msg--soft.rfh-msg--danger .rfh-msg-icon[b-t1gr9ucu5e] {
    color: var(--rf-color-danger);
}

/* ============================================
   STYLE: Bar (White BG + Colored Right Bar)
   ============================================ */
.rfh-msg--bar[b-t1gr9ucu5e] {
    background: var(--rf-surface-0);
    border: 1px solid var(--rf-border-color);
    box-shadow: var(--rf-shadow-sm);
}

.rfh-msg--bar[b-t1gr9ucu5e]::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    right: 0;
    width: 4px;
    border-radius: 0 8px 8px 0;
    background: currentColor;
}

/* Info Bar */
.rfh-msg--bar.rfh-msg--info[b-t1gr9ucu5e] {
    color: var(--rf-color-info);
}

.rfh-msg--bar.rfh-msg--info .rfh-msg-icon[b-t1gr9ucu5e] {
    color: var(--rf-color-info);
}

/* Warning Bar */
.rfh-msg--bar.rfh-msg--warning[b-t1gr9ucu5e] {
    color: var(--rf-color-warning);
}

.rfh-msg--bar.rfh-msg--warning .rfh-msg-icon[b-t1gr9ucu5e] {
    color: var(--rf-color-warning);
}

/* Success Bar */
.rfh-msg--bar.rfh-msg--success[b-t1gr9ucu5e] {
    color: var(--rf-color-success);
}

.rfh-msg--bar.rfh-msg--success .rfh-msg-icon[b-t1gr9ucu5e] {
    color: var(--rf-color-success);
}

/* Danger Bar */
.rfh-msg--bar.rfh-msg--danger[b-t1gr9ucu5e] {
    color: var(--rf-color-danger);
}

.rfh-msg--bar.rfh-msg--danger .rfh-msg-icon[b-t1gr9ucu5e] {
    color: var(--rf-color-danger);
}

/* _content/Refahi.Clients.Web.UI/Components/Message/Toast/RfToastHost.razor.rz.scp.css */
/* Host placement: پایین صفحه، وسط (مثل اکثر اپ‌ها) */
.rfh-toast-host[b-3vonmbjzbj] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 1200;
    display: grid;
    gap: var(--rf-space-3);
    padding: 0 var(--rf-space-4);
    pointer-events: none; /* کلیک فقط روی خود toast ها */
}

.rfh-toast[b-3vonmbjzbj] {
    pointer-events: auto;
    margin: 0 auto;
    max-width: 520px;
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: var(--rf-space-3);
    padding: var(--rf-space-4);
    border-radius: var(--rf-radius-lg);
    background: var(--rf-surface-0);
    border: 1px solid var(--rf-border-color);
    box-shadow: var(--rf-shadow-sm);
    position: relative;
}

    /* نوار رنگی سمت راست (RTL) */
    .rfh-toast[b-3vonmbjzbj]::after {
        content: "";
        position: absolute;
        top: 10px;
        bottom: 10px;
        right: 0;
        width: 4px;
        border-radius: 999px;
        background: currentColor;
        opacity: .9;
    }

.rfh-toast-body[b-3vonmbjzbj] {
    flex: 1 1 auto;
    min-width: 0;
}

.rfh-toast-title[b-3vonmbjzbj] {
    font-size: var(--rf-font-size-md);
    font-weight: var(--rf-font-weight-bold);
    color: var(--rf-text-1);
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rfh-toast-msg[b-3vonmbjzbj] {
    margin-top: 4px;
    font-size: var(--rf-font-size-sm);
    color: var(--rf-text-2);
    line-height: 1.6;
}

.rfh-toast-icon[b-3vonmbjzbj] {
    flex: 0 0 auto;
    margin-top: 2px;
}

.rfh-toast-close[b-3vonmbjzbj] {
    flex: 0 0 auto;
    margin-top: -2px;
}

.rfh-toast-close-btn[b-3vonmbjzbj] {
    padding: 4px;
}

/* Variant colors via currentColor */
.rfh-toast--info[b-3vonmbjzbj] {
    color: var(--rf-colors-primary-500);
}

.rfh-toast--warning[b-3vonmbjzbj] {
    color: var(--rf-colors-warning-600);
}

.rfh-toast--success[b-3vonmbjzbj] {
    color: var(--rf-colors-success-600);
}

.rfh-toast--danger[b-3vonmbjzbj] {
    color: var(--rf-colors-danger-600);
}
/* _content/Refahi.Clients.Web.UI/Components/Modals/RfBottomSheet.razor.rz.scp.css */
.rf-bottom-sheet-legacy-actions[b-00kkezfyrn] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--rf-space-2);
    width: 100%;
}

.rf-bottom-sheet-legacy-actions > *[b-00kkezfyrn] {
    min-height: 48px;
}
/* _content/Refahi.Clients.Web.UI/Components/Modals/RfFullScreenModal.razor.rz.scp.css */

/* Moved to /css/modals.css for global scope */

:global(.rf-modal)[b-thx4kxr6ao] {
    position: fixed !important;
    inset: 0 !important;
    background: var(--rf-surface-0);
    display: flex;
    flex-direction: column;
}

:global(.rf-modal-backdrop)[b-thx4kxr6ao] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: color-mix(in srgb, var(--rf-text-1) 8%, transparent);
}

/* Header */
:global(.rf-modal-header)[b-thx4kxr6ao] {
    height: 56px;
    padding: 0 var(--rf-space-4);
    border-bottom: 1px solid var(--rf-border-color);
    background: var(--rf-surface-0);
    justify-content: space-between;
}

:global(.rf-modal-title)[b-thx4kxr6ao] {
    flex: 1;
    text-align: right;
    font-weight: var(--rf-font-weight-bold);
    font-size: var(--rf-font-size-lg);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

:global(.rf-modal-header-right)[b-thx4kxr6ao] {
    width: 40px; /* تعادل بصری با دکمه بستن سمت چپ */
}

/* Close button (از btn-icon هم استفاده می‌کنیم) */
:global(.rf-modal-close)[b-thx4kxr6ao] {
    width: 40px;
    height: 40px;
    background-color: transparent;
    color: black;
    font-size: 20px;
}

/* Body */
:global(.rf-modal-body)[b-thx4kxr6ao] {
    flex: 1;
    overflow: auto;
    background: var(--rf-surface-0);
    padding: var(--rf-space-4);
}

/* Footer (sticky bottom) */
:global(.rf-modal-footer)[b-thx4kxr6ao] {
    padding: var(--rf-space-4);
    background: var(--rf-surface-0);
}

/* ===============================================
   Desktop Responsive Behavior
   Full-Screen Modal becomes centered dialog on desktop
   =============================================== */

/* Tablet: Slight padding, darker backdrop */
@media (min-width: 768px) {
    :global(.rf-modal-backdrop)[b-thx4kxr6ao] {
        background: color-mix(in srgb, var(--rf-text-1) 50%, transparent);
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    :global(.rf-modal)[b-thx4kxr6ao] {
        position: relative;
        inset: auto;
        max-width: var(--rf-body-max-width-desktop);
        width: 100%;
        max-height: 90vh;
        border-radius: var(--rf-radius-lg);
        box-shadow: var(--rf-shadow-md);
    }
}

/* Desktop: More space */
@media (min-width: 1024px) {
    :global(.rf-modal-backdrop)[b-thx4kxr6ao] {
        padding: 40px;
    }
}
/* _content/Refahi.Clients.Web.UI/Components/Modals/RfhBottomSheet.razor.rz.scp.css */
.rfh-sheet-backdrop[b-ppna9ui0th] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: color-mix(in srgb, var(--rf-text-1) 42%, transparent);
}

.rfh-sheet[b-ppna9ui0th] {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(calc(100% - (var(--rf-space-4) * 2)), 560px);
    max-height: min(88dvh, 760px);
    overflow: hidden;
    border-radius: var(--rf-radius-lg) var(--rf-radius-lg) 0 0;
    background: var(--rf-surface-0);
    box-shadow: var(--rf-shadow-md);
}

.rfh-sheet--fullscreen[b-ppna9ui0th] {
    width: 100%;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
}

.rfh-sheet-header[b-ppna9ui0th] {
    position: relative;
    display: flex;
    min-height: 56px;
    flex: 0 0 56px;
    align-items: center;
    justify-content: center;
    padding-inline: 56px;
    border-bottom: 1px solid var(--rf-border-color);
    background: var(--rf-surface-0);
}

.rfh-sheet-title[b-ppna9ui0th] {
    min-width: 0;
    overflow: hidden;
    color: var(--rf-text-1);
    font-size: var(--rf-font-size-lg);
    font-weight: var(--rf-font-weight-semibold);
    line-height: var(--rf-line-height-normal);
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rfh-sheet-close[b-ppna9ui0th],
.rfh-sheet-header-right[b-ppna9ui0th] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.rfh-sheet-close[b-ppna9ui0th] {
    inset-inline-end: var(--rf-space-2);
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: var(--rf-radius-md);
    background: transparent;
    color: var(--rf-text-1);
    cursor: pointer;
}

.rfh-sheet-close:hover[b-ppna9ui0th],
.rfh-sheet-close:focus-visible[b-ppna9ui0th] {
    background: var(--rf-surface-1);
}

.rfh-sheet-header-right[b-ppna9ui0th] {
    inset-inline-start: var(--rf-space-2);
    display: flex;
    min-width: 40px;
    align-items: center;
    justify-content: center;
}

.rfh-sheet-body[b-ppna9ui0th] {
    flex: 0 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: var(--rf-space-4);
    background: var(--rf-surface-0);
    scrollbar-width: thin;
}

.rfh-sheet--fullscreen .rfh-sheet-body[b-ppna9ui0th] {
    flex: 1 1 auto;
}

.rfh-sheet-footer[b-ppna9ui0th] {
    flex: 0 0 auto;
    padding: var(--rf-space-3) var(--rf-space-4)
        calc(var(--rf-space-3) + env(safe-area-inset-bottom));
    border-top: 1px solid var(--rf-border-color);
    background: var(--rf-surface-0);
}

@media (min-width: 768px) {
    .rfh-sheet-backdrop[b-ppna9ui0th] {
        align-items: center;
        padding: var(--rf-space-5);
    }

    .rfh-sheet[b-ppna9ui0th] {
        width: min(560px, 100%);
        max-height: min(82dvh, 760px);
        border-radius: var(--rf-radius-lg);
    }

    .rfh-sheet--fullscreen[b-ppna9ui0th] {
        width: min(var(--rf-body-max-width-desktop), 100%);
        height: min(90dvh, 840px);
        border-radius: var(--rf-radius-lg);
    }
}
/* _content/Refahi.Clients.Web.UI/Components/Modals/RfModalActionBar.razor.rz.scp.css */

.rf-actionbar[b-vmqxsub0g4] {
    background: var(--rf-surface-0);
    padding: var(--rf-space-4);
}

.rf-actionbar-inner[b-vmqxsub0g4] {
    width: 100%;
    justify-content: space-between;
}

.rf-actionbar-start[b-vmqxsub0g4],
.rf-actionbar-end[b-vmqxsub0g4] {
    min-width: 72px; /* برای تعادل بصری (مثل نمونه‌های شما) */
    display: flex;
    align-items: center;
}

.rf-actionbar-main[b-vmqxsub0g4] {
    flex: 1;
    display: flex;
    justify-content: center;
}
/* _content/Refahi.Clients.Web.UI/Components/NavBar/RfBottomNav.razor.rz.scp.css */
/* RfBottomNav.razor.css */

.rf-bnav[b-mzuhwhg7fz] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    background: var(--rf-surface-0);
    border-top: 1px solid var(--rf-border-color);
    padding-bottom: env(safe-area-inset-bottom);
}

/* count-driven grid */
.rf-bnav-inner[b-mzuhwhg7fz] {
    display: grid;
    grid-template-columns: repeat(var(--rf-bnav-count, 4), minmax(0, 1fr));
    gap: 0;
    padding: var(--rf-space-2) var(--rf-space-3);
}

.rf-bnav-item[b-mzuhwhg7fz] {
    position: relative;
    display: grid;
    grid-template-rows: 30px auto; /* icon row / text row */
    justify-items: center;
    align-items: center;
    gap: 6px;
    padding: var(--rf-space-2) var(--rf-space-1);
    text-decoration: none;
    color: var(--rf-text-2);
    /* جلوگیری از انتخاب متن و لگ در موبایل */
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.rf-bnav-indicator[b-mzuhwhg7fz] {
    position: absolute;
    top: -6px;
    width: 56px;
    height: 6px;
    border-radius: 999px;
    background: transparent;
}

.rf-bnav-icon[b-mzuhwhg7fz] {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* متن: برای 5 آیتم هم جا بشه */
.rf-bnav-text[b-mzuhwhg7fz] {
    max-width: 100%;
    font-size: var(--rf-font-size-xs);
    font-weight: var(--rf-font-weight-medium);
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ACTIVE via NavLink */
.rf-bnav-item.active[b-mzuhwhg7fz] {
    color: var(--rf-colors-primary-500);
}

    .rf-bnav-item.active .rf-bnav-indicator[b-mzuhwhg7fz] {
        background: var(--rf-colors-primary-500);
    }

/* Badge */
.rf-bnav-badge[b-mzuhwhg7fz] {
    position: absolute;
    top: 4px;
    right: 18px;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--rf-colors-danger-600);
    color: var(--rf-text-invert);
    font-size: var(--rf-font-size-xs);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Disabled */
.rf-bnav-item.is-disabled[b-mzuhwhg7fz] {
    opacity: .45;
    cursor: not-allowed;
}
/* _content/Refahi.Clients.Web.UI/Components/Page/RfActionFooter.razor.rz.scp.css */
.rfh-action-footer[b-py66hkm7sl] {
    align-items: center;
    background: var(--rf-surface-0);
    display: flex;
    gap: var(--rf-space-3);
    justify-content: space-between;
    padding: var(--rf-space-3);
    width: 100%;
}

.rfh-action-footer.is-elevated[b-py66hkm7sl] {
    border-top: 1px solid var(--rf-border-color);
}

.rfh-action-footer.is-fixed[b-py66hkm7sl] {
    bottom: 0;
    left: 50%;
    max-width: 430px;
    position: fixed;
    transform: translateX(-50%);
    z-index: 10;
}
/* _content/Refahi.Clients.Web.UI/Components/Page/RfContentGrid.razor.rz.scp.css */
.rfh-content-grid[b-vueu2nmmhy] {
    display: grid;
    gap: var(--rf-space-3);
    min-width: 0;
}

.rfh-content-grid-single[b-vueu2nmmhy] {
    grid-template-columns: minmax(0, 1fr);
}

.rfh-content-grid-two[b-vueu2nmmhy] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rfh-content-grid-responsive[b-vueu2nmmhy] {
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
}
/* _content/Refahi.Clients.Web.UI/Components/Page/RfPage.razor.rz.scp.css */

.rfh-page-header[b-r9yvksxy4s] {
    margin-bottom: var(--rf-space-4);
}


.rfh-page-body[b-r9yvksxy4s] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    min-height: 0;
}
/* _content/Refahi.Clients.Web.UI/Components/Page/RfPageSection.razor.rz.scp.css */
.rfh-page-section[b-680yvmodq9] {
    width: 100%;
}

.rfh-page-section + .rfh-page-section[b-680yvmodq9] {
    margin-top: var(--rf-space-4);
}

.rfh-page-section.is-flush + .rfh-page-section[b-680yvmodq9],
.rfh-page-section + .rfh-page-section.is-flush[b-680yvmodq9] {
    margin-top: 0;
}

.rfh-page-section.is-sticky[b-680yvmodq9] {
    position: sticky;
    top: 0;
    z-index: 10;
}

.rfh-page-section-header[b-680yvmodq9] {
    align-items: center;
    display: flex;
    gap: var(--rf-space-3);
    justify-content: space-between;
    margin-bottom: var(--rf-space-3);
}

.rfh-page-section-heading[b-680yvmodq9] {
    min-width: 0;
}

.rfh-page-section-heading h2[b-680yvmodq9] {
    color: var(--rf-text-1);
    font-size: var(--rf-font-size-xl);
    line-height: 1.5;
    margin: 0;
}

.rfh-page-section-heading p[b-680yvmodq9] {
    color: var(--rf-text-2);
    font-size: var(--rf-font-size-sm);
    line-height: 1.7;
    margin: var(--rf-space-1) 0 0;
}

.rfh-page-section-actions[b-680yvmodq9] {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    gap: var(--rf-space-2);
}

.rfh-page-section-content[b-680yvmodq9] {
    min-width: 0;
}
/* _content/Refahi.Clients.Web.UI/Components/Page/RfResultList.razor.rz.scp.css */
.rfh-result-list[b-0ttcp7pogg] {
    display: grid;
    gap: var(--rf-space-3);
    min-width: 0;
}
/* _content/Refahi.Clients.Web.UI/Components/Select/RfSearchableSelect.razor.rz.scp.css */
.rfh-search-select[b-yb60mj5jkj] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rfh-search-select__trigger[b-yb60mj5jkj] {
    align-items: center;
    background: var(--rf-surface-0);
    border: 1.5px solid var(--rf-colors-neutral-200);
    border-radius: var(--rf-radius);
    color: var(--rf-text-1);
    display: flex;
    font-family: var(--rf-font-family);
    font-size: var(--rf-font-size-md);
    justify-content: space-between;
    min-height: 48px;
    padding: var(--rf-space);
    text-align: right;
    width: 100%;
}

.rfh-search-select__trigger:focus-visible[b-yb60mj5jkj] {
    border-color: var(--rf-colors-primary);
    box-shadow: 0 0 0 4px var(--rf-colors-primary-100);
    outline: none;
}

.rfh-search-select__trigger.is-error[b-yb60mj5jkj] {
    border-color: var(--rf-colors-danger-600);
}

.rfh-search-select__trigger:disabled[b-yb60mj5jkj] {
    background: var(--rf-surface-2);
    cursor: not-allowed;
    opacity: .7;
}

.rfh-search-select__placeholder[b-yb60mj5jkj] {
    color: var(--rf-text-2);
}

.rfh-search-select__required[b-yb60mj5jkj] {
    color: var(--rf-colors-danger-500);
}

.rfh-search-select__content[b-yb60mj5jkj] {
    display: grid;
    gap: var(--rf-space-4);
}

.rfh-search-select__list[b-yb60mj5jkj] {
    display: grid;
}

.rfh-search-select__option[b-yb60mj5jkj] {
    align-items: center;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--rf-border-color);
    color: var(--rf-text-1);
    display: flex;
    font-family: var(--rf-font-family);
    font-size: var(--rf-font-size-md);
    justify-content: space-between;
    min-height: 52px;
    padding: var(--rf-space-3) var(--rf-space-2);
    text-align: right;
    width: 100%;
}

.rfh-search-select__option.is-selected[b-yb60mj5jkj] {
    color: var(--rf-colors-primary-600);
    font-weight: var(--rf-font-weight-bold);
}
/* _content/Refahi.Clients.Web.UI/Components/Switch/RfSwitch.razor.rz.scp.css */
.rfh-sw[b-06wehz884z] {
    display: inline-flex;
    align-items: center;
    gap: var(--rf-space-3);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

    .rfh-sw.is-disabled[b-06wehz884z] {
        opacity: .5;
        cursor: not-allowed;
    }

.rfh-sw__input[b-06wehz884z] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.rfh-sw__track[b-06wehz884z] {
    width: 44px;
    height: 26px;
    border-radius: 999px;
    background: var(--rf-colors-neutral-200);
    border: 1px solid var(--rf-border-color);
    position: relative;
    transition: background .15s ease, border-color .15s ease;
    flex: 0 0 auto;
}

.rfh-sw__thumb[b-06wehz884z] {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--rf-surface-0);
    box-shadow: var(--rf-shadow-sm);
    position: absolute;
    top: 1px;
    right: 1px; /* RTL: thumb on right when OFF */
    transition: transform .15s ease;
}

/* checked */
.rfh-sw__input:checked + .rfh-sw__track[b-06wehz884z] {
    background: var(--rf-colors-primary-500);
    border-color: var(--rf-colors-primary-500);
}

    .rfh-sw__input:checked + .rfh-sw__track .rfh-sw__thumb[b-06wehz884z] {
        transform: translateX(-18px); /* RTL: move left when ON */
    }

/* focus */
.rfh-sw__input:focus-visible + .rfh-sw__track[b-06wehz884z] {
    outline: 2px solid var(--rf-colors-primary-300);
    outline-offset: 2px;
}

.rfh-sw__label[b-06wehz884z] {
    color: var(--rf-text-1);
    font-size: var(--rf-font-size-md);
}
/* _content/Refahi.Clients.Web.UI/Components/TextField/RfhTextField.razor.rz.scp.css */
.rfh-field[b-5cdas16mh5] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rfh-field-label[b-5cdas16mh5] {
    font-size: var(--rf-font-size-sm);
    color: var(--rf-text-2);
}

/* wrapper */
.rfh-field-wrap[b-5cdas16mh5] {
    display: flex;
    align-items: center;
    background: var(--rf-surface-0);
    border: 1.5px solid var(--rf-colors-neutral-200);
    border-radius: var(--rf-radius);
    padding: var(--rf-space);
    gap: var(--rf-space-2);
}

    /* focus */
    .rfh-field-wrap:focus-within[b-5cdas16mh5] {
        outline: 2px solid var(--rf-colors-primary-300);
        outline-offset: 2px;
    }

    /* error */
    .rfh-field-wrap.is-error[b-5cdas16mh5] {
        border-color: var(--rf-colors-danger-600);
    }

    /* disabled */
    .rfh-field-wrap.is-disabled[b-5cdas16mh5] {
        background: var(--rf-surface-2);
        opacity: .7;
    }

/* input */
.rfh-field-input[b-5cdas16mh5] {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--rf-font-family);
    font-size: var(--rf-font-size-md);
    background: transparent;
    color: var(--rf-text-1);
}

.rfh-field-required[b-5cdas16mh5] {
    color: var(--rf-colors-danger-500);
}

.rfh-field-input--multiline[b-5cdas16mh5] {
    min-height: 88px;
    resize: vertical;
    line-height: 1.9;
}

    .rfh-field-input[b-5cdas16mh5]::placeholder {
        font-family: var(--rf-font-family);
        color: var(--rf-text-2);
    }

/* leading/trailing */
.rfh-field-leading[b-5cdas16mh5],
.rfh-field-trailing[b-5cdas16mh5] {
    display: flex;
    align-items: center;
    color: var(--rf-text-2);
}

/* helper text */
.rfh-field-error[b-5cdas16mh5] {
    font-size: var(--rf-font-size-sm);
    color: var(--rf-colors-danger-600);
}

.rfh-field-hint[b-5cdas16mh5] {
    font-size: var(--rf-font-size-sm);
    color: var(--rf-text-2);
}
/* _content/Refahi.Clients.Web.UI/Components/TopBar/RfTopBar.razor.rz.scp.css */
/* Refahi.Clients.Web.UI / Components / RfTopBar.razor.css */

.rfh-topbar[b-c99g2mgcya] {
    background: var(--rf-surface-0);
}

    .rfh-topbar.is-sticky[b-c99g2mgcya] {
        position: sticky;
        top: 0;
        z-index: 800;
    }

.topbar-wrapper[b-c99g2mgcya] {
    height: 56px;
    padding: 0 var(--rf-space-4);
    align-items: center;
    justify-content: space-between;
}

/* right/left containers keep balance */
.rfh-topbar-right[b-c99g2mgcya],
.rfh-topbar-left[b-c99g2mgcya] {
    min-width: 56px;
    display: flex;
    align-items: center;
    gap: var(--rf-space-2);
}

.rfh-topbar-left[b-c99g2mgcya] {
    justify-content: flex-end;
}

.rfh-topbar-right[b-c99g2mgcya]  .rfh-topbar-leading-link {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--rf-text-1);
    text-decoration: none;
}

    .rfh-topbar-right[b-c99g2mgcya]  .rfh-topbar-leading-link:hover,
    .rfh-topbar-right[b-c99g2mgcya]  .rfh-topbar-leading-link:focus-visible,
    .rfh-topbar-right[b-c99g2mgcya]  .rfh-topbar-leading-link:active {
        background: transparent;
        border-color: transparent;
        box-shadow: none;
        color: var(--rf-text-1);
        text-decoration: none;
    }

.rfh-topbar-title[b-c99g2mgcya] {
    flex: 1;
    text-align: center;
    min-width: 0;
}

.rfh-topbar-title-text[b-c99g2mgcya] {
    /*    font-size: var(--rf-font-size-lg);
    font-weight: var(--rf-font-weight-bold);
*/
    /*    color: var(--rf-text-1); */

    font-size: var(--rf-font-size-lg); /* 16px */
    font-weight: var(--rf-font-weight-semibold); /* 600 */
    line-height: 1.5;
}

.rfh-topbar-divider[b-c99g2mgcya] {
    height: 1px;
    background: var(--rf-border-color);
}
