﻿/* Start importing fonts */
@font-face {
    font-family: iranyekan-regular;
    src: url("../fonts/iranyekan/iranyekanwebregular.woff");
}

@font-face {
    font-family: "iranSansWeb";
    src: url(../fonts/iransans/IRANSansWeb.woff)
}
/* End importing fonts */

.persianFontYekan {
    font-family: iranyekan-regular !important;
}

.persianFontSans, .persianFontSans * {
    font-family: iranSansWeb !important;
}

.appBarPortalTitle{
    margin-right: -5px !important;
}

.appBarCommandsContainer{
    display: flex;
    justify-content: end;
    padding: 0;
    margin-left: -20px;
    width: auto;
}

.appBarLogoIconButton{
    margin-left: -15px;
}

.appBarLogoText{
    width: 120px;
}

.appBarLogo {
    width: 32px;
}

@media (max-width: 480px) {

    .persianFontSans {
        font-family: iranSansWeb !important;
        font-size: smaller;
    }

    .appBarPortalTitle {
        display: none;
    }

    .appBarLogoText {
        width: 100px;
        margin-left: -2px !important;
    }

    .appBarLogo {
        width: 28px;
    }
}

.mainContainer {
    min-height: 80vh !important;
    max-width: 100%;
}

.footerItem {
    display: block !important;
    margin: auto !important;
}

.footer {
    color: #FFFFFF !important;
    text-decoration: none !important;
}

/* Start Override MudBlazor Styles */
.mud-typography-body1 {
    font-family: inherit !important;
}

.mud-switch .mud-typography-body1 {
    font-family: iranSansWeb !important;
}

.mud-menu .mud-button{
    color: white;
}

.mud-list-item-text .mud-typography-body1 {
    font-family: inherit;
    font-size: small;
}

.mud-button-label .mud-button-icon-start{
    margin-inline-end: 2px;
}

.mud-button-label .mud-button-icon-end{
    margin-inline-start: 2px;
}

.mud-menu .mud-button {
    font-family: inherit;
    font-size: small;
}

.mud-popover {
    left: 0px;
}

.mud-popover .mud-popover-top-center .mud-popover-anchor-bottom-center {
    left: inherit !important;
}
/* End Override MudBlazor Styles */
/* Start Signup Section styles */
.custom-signup-page {
    background-size: cover;
    min-height: 95vh !important;
}
/* End Custom Form and button styles */

.signupTitle {
    font-size: smaller;
}

.leftToRightInput .mud-input-control-input-container .mud-input input {
    direction: ltr !important;
}

.mud-typography-body1 {
    font-family: iranSansWeb !important;
}

/* Start customization for mudblazor v8.13.0 */
/*.mud-select .mud-input-slot {
    font-family: iranSansWeb !important;
}*/

/* End customization for mudblazor v8.13.0 */

.responsive-card {
    width: 100%;
    max-width: 600px; /* fits nicely for desktop */
    padding: 1rem;
}

/* Make image responsive and scale smoothly */
.responsive-card-image {
    width: 100%;
    height: auto;
    object-fit: contain; /* maintain aspect ratio */
    max-height: 150px; /* optional height cap */
    background-size: contain;
}

/* Optional: make card shrink nicely on small phones */
@media (max-width: 576px) {
    .responsive-card {
        max-width: 90%;
        padding: 0.5rem;
    }

    .responsive-card-image {
        max-height: 100px;
    }
}

.otp-code-input {
    flex: 0.5 1 auto !important;
}

.fw-bold td {
    font-weight: 700 !important;
}

/* =======================
   Start signup page css
   ======================= */

.signup-left-side {
    background-image: url('/img/auth-bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 98vh;
}

.signup-full-height {
    height: 98vh;
}

.signup-box {
    width: 100%;
    max-width: 420px;
}

/* =======================
   End signup page css
   ======================= */