﻿/*#region Fonts*/

@font-face {
    font-family: 'Vazir';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(../fonts/Vazir-Light.ttf) format('woff2');
}

@font-face {
    font-family: 'Vazir';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/Vazir-Regular.ttf) format('woff2');
}

@font-face {
    font-family: 'Vazir';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/Vazir-Medium.ttf) format('woff2');
}

@font-face {
    font-family: 'Vazir';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/Vazir-Bold.ttf) format('woff2');
}

@font-face {
    font-family: 'Vazir';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(../fonts/Vazir-Bold.ttf) format('woff2');
}
/*#endregion*/

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    font-family: "Vazir";
    direction: rtl;
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "بارگذاری ...");
    }

.mud-input.mud-input-outlined {
    background-color: var(--mud-palette-surface);
}

.hide-scrollbar {
    overflow-y: auto; /* امکان اسکرول را فعال می‌کند */
    scrollbar-width: none; /* مخفی کردن اسکرول بار در Firefox */
    -ms-overflow-style: none; /* مخفی کردن اسکرول بار در Edge و IE */
}

    .hide-scrollbar::-webkit-scrollbar {
        width: 0; /* مخفی کردن اسکرول بار در Chrome و Safari */
        height: 0;
        background: transparent;
    }

.ql-align-right {
    text-align: right;
    line-height: 1.8;
}

.ql-align-left {
    text-align: left;
    line-height: 1.8;
}

.ql-align-justify {
    text-align: justify;
    line-height: 1.8;
}

.custome-expand .mud-expand-panel-header {
    padding: 0 !important;
}

.mud-expand-panel .mud-expand-panel-content {
    padding: 0 !important;
}

.ql-editor {
    text-align: right !important;
}

.pointer {
    cursor: pointer !important;
}

.bottom-sheet-drawer .mud-nav-item .mud-nav-link .mud-nav-link-text {
    text-align: center;
}