﻿/*@font-face {*/
/*font-family: 'Iranian Sans';*/
/*font-family: 'Vazir';
    src: url(../fonts/Vazir-Bold-FD-WOL.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'IranianSans';
    src: url('../fonts/Iranian Sans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}*/

@font-face {
    font-family: 'IRAN';
    src: url('../fonts/IRAN.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'IRANa';
    src: url('../fonts/IRANa.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.wide-popover {
    min-width: 400px !important;
}

.lay-light-color {
    background-color: #E9EFEC !important;
}

* {
    font-family: 'IRAN','Vazir', 'Helvetica Neue','IranianSans', Helvetica, Arial, sans-serif !important;
    /*font-weight: 400;*/
    /*font-family: 'Iranian Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;*/
    font-weight: 400;
    font-size: 13px;
}



.icon-size .mud-icon-root {
    font-size: 20px !important;
}



.icon-size .mud-nav-item .mud-icon-root {
    fill: #6A9C89 !important;
}



.mud-icon-root.mud-svg-icon svg {
    fill: #16423C;
}

.mud-button-label {
    /*    color: #16423C;*/
}

.mud-button-outlined.mud-button-outlined-success {
    border: 2.5px solid #1f3b4d;
}


.delete-icon {
    fill: red !important;
}

.mud-button-outlined {
    border: 2.5px solid #1f3b4d;
}

    .mud-button-outlined.mud-button-toolbar {
        border: 2.5px solid #1f3b4d !important;
    }

.mud-svg-icon-mud-icon-size-medium {
    fill: red !important;
}

body {
    font-family: 'IRAN','Vazir', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    /*font-weight: 400;*/
    /*font-family: 'Iranian Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;*/
    font-weight: 400;
    background-color: white !important;
}



.dastlafText {
    font-size: var(--mud-typography-h5-size);
    font-family: font-family: 'IRAN','Vazir', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-weight: var(--mud-typography-h5-weight);
    line-height: var(--mud-typography-h5-lineheight);
    letter-spacing: var(--mud-typography-h5-letterspacing);
    text-transform: var(--mud-typography-h5-text-transform);
}


.Home-Charts-BarCHarts {
    display: flex !important;
}


.Home-Footer {
    position: fixed;
    bottom: 0;
    /*right: 0;*/
    z-index: 20;
    display: flex;
    width: 100% !important;
    justify-content: center;
    font-size: 13px !important;
    background-color: var(--mud-palette-appbar-background);
}


    .Home-Footer .mud-typography-body1 {
        font-size: 13px !important;
    }

    .Home-Footer .mud-toolbar {
        height: auto;
    }

    .Home-Footer .mud-toolbar {
        height: auto;
    }


@media (max-width: 993px) {
    .Home-Footer {
        display: none;
    }
}

.mud-table-toolbar-btn {
    direction: rtl;
}



.mud-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    flex: 0 1 auto;
    align-items: center;
    list-style-type: none;
    margin: 0;
    padding: 0 !important;
    padding-right: 10px !important;
    padding-bottom: 10px !important;
}

.mud-dialog-title {
    background-color: var(--sumerian-color) !important;
    color: #fff;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
}

.selected {
    background-color: #c9a950 !important;
}

.MudCarouselItem-Margin {
    height: 100px !important;
    /*width:0;*/
}


.mud-application-layout-rtl .mud-flip-x-rtl {
    transform: scaleX(1) !important;
}


.mud-progress-linear-bar {
    background-color: #6A9C89 !important;
}




/*
دکمه ثبت و انصراف دیالوگ ها*/





.dialog-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.custom-button {
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    color: white !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .custom-button:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    }

.submit-button-upsert {
    background-color: #6A9C89 !important;
}

    .submit-button-upsert:hover {
        background-color: #16423C !important;
    }

.cancel-button-upsert {
    background-color: #E57373 !important;
    color: white !important;
}

    .cancel-button-upsert:hover {
        background-color: #C62828 !important;
        color: #E9EFEC;
    }

.custom-button .mud-button-label {
    color: white !important;
}


/*
دکمه ثبت و انصراف دیالوگ ها*/




.Search-Placeholder {
    direction: rtl;
}

    .Search-Placeholder input::placeholder {
        font-size: 15px !important;
    }




.mud-button-group-outlined.mud-button-group-override-styles.mud-button-group-outlined-success .mud-button-root {
    color: #16423C;
    border: 1px solid #16423C;
    --mud-ripple-color: #16423C;
}


.mud-paper {
    background-color: white !important;
}

.text-center {
    text-align: center;
}

.no-wrap-text {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-width: 80px !important;
    max-width: 300px !important;
}


.mud-table-head {
    line-height: 2.5rem;
}

.header-color {
    /*background-color: #0B8457 !important;*/
    background-color: var(--sumerian-color) !important;
    height: 20px !important;
    line-height: 2.5rem;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 200px !important;
    text-align: center !important;
}

.column-header {
    color: white !important;
}

.filter-header-cell {
    background-color: rgba(200,230,201,1) !important;
}

.filter-textfield {
    background-color: #fff!important;
    color: white !important;
    border-radius: 4px;
    border: 1px solid #B0B0B0;
    transition: border-color 0.2s, background-color 0.2s;
    border-color: #EAC100 !important;
}

    .filter-textfield .mud-input {
        height: 18px;
    }

    /* حالت هاور */
    .filter-textfield:hover {
        border-color: #2f6f60 !important;
    }

    /* حالت فوکوس (وقتی کاربر کلیک کرده) */
    .filter-textfield:focus-within {
        border-color: #EAC100 !important;
    }




.selected-row {
    /*background-color: #7BAEA0 !important;*/
    background-color: var(--uruk-color) !important;
    color: white !important;
}

.column-header {
    white-space: nowrap !important;
    text-overflow: ellipsis;
    overflow: hidden;
}

/*popUp PWA*/

#installPopup {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgb(25, 169, 140);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000000;
    font-family: sans-serif;
    text-align: center;
    max-width: 90%; /* جلوگیری از خروج از صفحه در موبایل */
    box-sizing: border-box;
}

    /* دکمه‌ها */
    #installPopup .popup-buttons {
        margin-top: 10px;
        display: flex;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    #installPopup button {
        border: none;
        padding: 8px 15px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 14px;
    }

        #installPopup button:first-child {
            background: white;
            color: #0078d7;
        }

        #installPopup button:last-child {
            background: red;
            color: white;
        }

/* رسپانسیو برای موبایل */
@media (max-width: 480px) {
    #installPopup {
        top: 10px;
        padding: 10px;
        font-size: 14px;
    }

        #installPopup button {
            flex: 1 1 auto;
            font-size: 13px;
            padding: 6px 10px;
        }
}


.header-dialog-info {
    background: #6A9C89 !important;
    font-size: 2.125rem !important;
    font-weight: 700 !important;
    color: #000 !important;
}

.header-dialog-warning {
    background: #ffc107 !important;
    font-size: 2.125rem !important;
    font-weight: 700 !important;
    color: #000 !important;
}

.header-dialog-danger {
    background: #dc3545 !important;
    font-size: 2.125rem !important;
    font-weight: 700 !important;
    color: #fff !important;
}

@media (min-width: 768px) {
    .gap-y-md-0 {
        row-gap: 0 !important;
    }

    .gap-y-md-1 {
        row-gap: .25rem !important;
    }

    .gap-y-md-2 {
        row-gap: .5rem !important;
    }

    .gap-y-md-3 {
        row-gap: 1rem !important;
    }

    .gap-y-md-4 {
        row-gap: 1.5rem !important;
    }

    .gap-y-md-5 {
        row-gap: 3rem !important;
    }
}

.mud-button-root.mud-icon-button.mud-ripple.mud-ripple-icon.mud-button-close svg{
    color: #fff;
}