﻿/*#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, "بارگذاری ...");
    }

.repo-page-content > .mud-list-item > .mud-list-item-icon {
    min-width: 26px;
}

.CodeMirror-scroll {
    text-align: right;
}

.mud-tabs-tabbar-content {
    overflow-x: hidden;
}

@media (max-width: 991.98px) {
    .mud-tabs-tabbar-content {
        overflow-x: scroll !important;
    }

    .mud-tabs-tabbar-wrapper {
        transform: none !important;
    }
}

.mud-tabs-scroll-button {
    display: none;
}

@media (min-width: 992px) {
    .mud-tabs-scroll-button {
        display: block;
    }
}

.gray.lighten-6 {
    background-color: #fdfdfd !important;
}

.mud-table-page-number-information {
    direction: rtl !important;
}

.pointer {
    cursor: pointer !important;
}

.editor-area a {
    color: var(--mud-palette-primary) !important;
}

.height-auto {
    height: auto !important;
}

.issue-status-select-item > .mud-list-item-text > .mud-typography {
    display: flex;
    gap: 8px;
    align-items: center;
}

.issue-status-select > .mud-input-control-input-container > .mud-input > .mud-input-slot {
    display: flex !important;
    gap: 8px;
    align-items: center;
}

@media (max-width: 600px) {
    .mud-xs-table .mud-table-cell:before {
        content: none;
    }
}

.progress-with-icon {
    position: relative;
    width: 28px; /* هم‌اندازه با Size.Small تقریبی */
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .progress-with-icon .ring {
        position: absolute;
        inset: 0; /* top/right/bottom/left: 0 */
    }

    .progress-with-icon .icon {
        position: absolute;
        font-size: 18px; /* اندازه آیکون داخل حلقه */
        line-height: 1;
    }

.mud-application-layout-rtl .mud-flip-x-rtl {
    transform: none !important;
}