﻿
/*#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*/


/*#region General*/
/*html, body {
    background-color: #f9f9f9 !important;
}*/

.w-100 {
    width: 100% !important;
}
.w-90 {
    width: 90% !important;
}
.w-80 {
    width: 80% !important;
}
::-webkit-scrollbar {
    width: 3px !important;
}

input:focus-visible {
    outline: none;
}
.fixed-bottom {
    position: fixed;
    bottom: 0;
}
/*endregion*/
/*#region dotnet7-loading-progress*/
.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, "بارگذاری ...");
    }

/*endregion*/

/*#region Typo*/

.typo-display-large {
    font-size: 3.5625rem !important;
    font-family: Vazir !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 4rem !important;
}

.typo-display-medium {
    font-size: 2.8125rem !important;
    font-family: Vazir !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 3.25rem !important;
}

.typo-display-small {
    font-size: 2.25rem !important;
    font-family: Vazir !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 2.75rem !important;
}

.typo-headline-large {
    font-size: 2rem !important;
    font-family: Vazir !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 2.5rem !important;
}

.typo-headline-medium {
    font-size: 1.75rem !important;
    font-family: Vazir !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 2.25rem !important;
}

.typo-headline-small {
    font-size: 1.5rem !important;
    font-family: Vazir !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 2rem !important;
}

.typo-title-large {
    font-size: 1.125rem !important;
    font-family: Vazir !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 1.5rem !important;
}

.typo-title-medium {
    font-size: 1rem !important;
    font-family: Vazir !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 1.5rem !important;
    letter-spacing: 0.0015rem !important;
}

.typo-title-small {
    font-size: 0.875rem !important;
    font-family: Vazir !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 1.25rem !important;
    letter-spacing: 0.00625rem !important;
}

.typo-label-large {
    font-size: 0.875rem !important;
    font-family: Vazir !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 1.25rem !important;
    letter-spacing: 0.00625rem !important;
}

.typo-label-medium {
    font-size: 0.75rem !important;
    font-family: Vazir !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 1rem !important;
    letter-spacing: 0.03125rem !important;
}

.typo-label-small {
    font-size: 0.6875rem !important;
    font-family: Vazir !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 1rem !important;
    letter-spacing: 0.03125rem !important;
}

.typo-body-large {
    font-size: 1rem !important;
    font-family: Vazir !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.9rem !important;
    letter-spacing: 0.0015rem !important;
}

.typo-body-medium {
    font-size: 0.875rem !important;
    font-family: Vazir !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.5rem !important;
    letter-spacing: 0.01563rem !important;
}

.typo-body-small {
    font-size: 0.75rem !important;
    font-family: Vazir !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1rem !important;
    letter-spacing: 0.025rem !important;
}

.typo-body-extra-small {
    font-size: 0.6875rem !important;
    font-family: Vazir !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 0.75rem !important;
}

.typo-body-button {
    font-size: 0.875rem;
    font-family: Vazir;
    font-style: normal;
    font-weight: 500;
    line-height: 1.25rem;
    letter-spacing: 0.00625rem;
}
/*endregion*/


.mud-card-header .mud-card-header-actions {
    align-self: self-end !important;
}

.mud-card-header {
    padding: 12px 16px !important;
}
.main-color {
    color: #E3B356 !important;
}

#coins-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none; /* جلوگیری از تداخل با سایر عناصر صفحه */
    overflow: hidden;
    z-index: 9999;
}

.coin {
    position: absolute;
    bottom: 0;
    width: 30px;
    height: 30px;
    background-image: url(../images/BTA.png); /* مسیر تصویر سکه */
    background-size: cover;
    animation: moveUp 0.5s linear;
    opacity: 0;
}

@keyframes moveUp {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh);
        opacity: 0;
    }
}

.image-blur-1 {
    filter: blur(1px);
    -webkit-filter: blur(1px);
}

.image-blur-2 {
    filter: blur(2px);
    -webkit-filter: blur(2px);
}

.image-grayscale {
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

.layout-max-width {
    max-width: 480px;
    margin: 0 auto;
}

.plyr__time + .plyr__time {
    display: block !important;
}

.mud-list-item-icon{
    min-width:30px !important;
}

#blazor-error-ui {
    bottom: 56px !important;
}
