﻿/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
.navbar-toggler {
    border-color: white;  
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    
}

@font-face {
    font-family: 'dirooz';
    src: url('../vendor/fonts/dirooz/dirooz.eot') format('embedded-opentype'), url('../vendor/fonts/dirooz/dirooz.ttf') format('truetype'), url('../vendor/fonts/dirooz/dirooz.woff') format('woff'), url('../vendor/fonts/dirooz/dirooz.woff2') format('woff2');
}

body {
    font-family: "dirooz", dirooz;
    color: #444444;
    direction: rtl;
    text-align: right;
}

a {
    color: #0074d9;
    text-decoration: none;
}

    a:hover {
        color: #0b5ed7;
        text-decoration: none;
    }

h1, h2, h3, h4, h5, h6 {
    font-family: "dirooz", dirooz;
}

.width-250 {
    width: 250px;
}

.height-250 {
    height: 250px;
}

.width-187 {
    width: 187px;
}

.width-200 {
    width: 200px;
}

.width-115 {
    width: 115px;
}

.height-115 {
    height: 115px;
}

.height-200 {
    height: 200px;
}

.height-220 {
    height: 220px;
}

.height-auto {
    height: auto;
}

.w-100D {
    width: 100%;
}

.width-auto {
    width: auto;
}

.height-auto {
    height: auto;
}

.width-50 {
    width: 50px;
}

.height-50 {
    height: 50px;
}

.text-right {
    text-align: right !important;
}

.text-box-danger {
    background-color: rgb(255, 235, 235) !important;
    border-color: #dc3546;
}

.margin-0 {
    margin-left: 0px;
    margin-right: 0px;
}

.text-normal {
    font-weight: normal;
}
/*--------------------------------------------------------------
# nav-link
--------------------------------------------------------------*/
.nav-link-Color {
    color: rgb(255 255 255 / 90%) !important;
}

    .nav-link-Color:hover {
        color: rgb(169 166 166 / 80%) !important;
    }
/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: #0074d9;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

    .back-to-top i {
        font-size: 28px;
        color: #fff;
        line-height: 0;
    }

    .back-to-top:hover {
        background: #21cfaf;
        color: #fff;
    }

    .back-to-top.active {
        visibility: visible;
        opacity: 1;
    }

/*--------------------------------------------------------------
# Navbar
--------------------------------------------------------------*/

.logo {
    max-width: 66px;
    /*max-width: 160px;*/
    margin-left: 20px;
    margin-right: 20px;
}

.SystemName {
    max-width: 125px;
    margin-right: 25px;
}

#UserProflePhoto {
    object-fit: cover;
}

.dropdown-toggle::after {
    margin-right: 5px;
    color: #fff;
}

ul.dropdown-menu.text-small.shadow.show {
    left: 10px;
}

.navbar-nav {
    padding-right: 0;
}

.Data-Valid {
    background-color: #fffdd5c8;
    /*border: 1px solid #99999999;*/
    border: 1px solid #5a0909;
}

.Data-InValid {
    background-color: #FFC0C0;
}

.Location-InValid {
    border: 1px solid #5a0909;
    background-color: #F7D8FF;
}

    .Location-InValid:hover {
        border: 1px solid aqua;
    }

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
    /* padding: 20px 0;*/
    overflow: hidden;
    position: relative;
}

.section-bg {
    background-color: #f2f9f8;
}

.section-title {
    padding-bottom: 40px;
    text-align: center;
}

    .section-title h2 {
        font-size: 36px;
        font-weight: 300;
        margin-bottom: 20px;
        padding-bottom: 0;
        color: #21413c;
    }

    .section-title p {
        margin-bottom: 0;
    }

.min-height-150px {
    min-height: 150px;
}

.min-height-200px {
    min-height: 200px;
}

.min-height-300px {
    min-height: 300px;
}

.min-height-500px {
    min-height: 500px;
}

.min-height-74vh {
    min-height: 74vh;
    overflow-x: hidden;
}

.min-height-600px {
    min-height: 600px;
}

textarea {
    resize: none;
}

.textarea-h100 {
    width: 100%;
    height: 100px;
}

.textarea-h150 {
    width: 100%;
    height: 150px;
}

.textarea-h220 {
    width: 100%;
    height: 220px;
    border-color: cornflowerblue;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
    padding: 12px 0 12px 0;
    background-color: #579bcf47;
    min-height: 20px;
}



    .breadcrumbs h2 {
        font-size: 24px;
        font-weight: 300;
        margin: 0;
    }

@media (max-width: 992px) {
    .breadcrumbs h2 {
        margin: 0 0 10px 0;
    }
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

    .breadcrumbs ol li {
        padding-left: 10px;
    }

        .breadcrumbs ol li + li::before {
            display: inline-block;
            padding-left: 10px;
            color: #6c757d;
            font-weight: bolder;
            content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M5.5 0L7 1.5 4.5 4 7 6.5 5.5 8l-4-4 4-4z' fill='currentColor'/%3E%3C/svg%3E");
        }

@media (max-width: 768px) {
    .breadcrumbs .d-flex {
        display: block !important;
    }

    .breadcrumbs ol {
        display: block;
    }

        .breadcrumbs ol li {
            display: inline-block;
        }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    background: black;
    padding: 0 0 30px 0;
    color: #fff;
    font-size: 14px;
}

    #footer .footer-top {
        background: #0c1817;
        border-bottom: 1px solid #18302c;
        padding: 60px 0 30px 0;
    }

        #footer .footer-top .footer-info {
            margin-bottom: 30px;
        }

            #footer .footer-top .footer-info h3 {
                font-size: 24px;
                margin: 0 0 20px 0;
                padding: 2px 0 2px 0;
                line-height: 1;
                font-weight: 700;
            }

            #footer .footer-top .footer-info p {
                font-size: 14px;
                line-height: 24px;
                margin-bottom: 0;
                font-family: "dirooz", dirooz;
                color: #fff;
            }

        #footer .footer-top .social-links a {
            font-size: 18px;
            display: inline-block;
            background: #1c3733;
            color: #fff;
            line-height: 1;
            padding: 8px 0;
            margin-right: 4px;
            border-radius: 50%;
            text-align: center;
            width: 36px;
            height: 36px;
            transition: 0.3s;
        }

            #footer .footer-top .social-links a:hover {
                background: #0074d9;
                color: #fff;
                text-decoration: none;
            }

        #footer .footer-top h4 {
            font-size: 16px;
            font-weight: 600;
            color: #fff;
            position: relative;
            padding-bottom: 12px;
        }

        #footer .footer-top .footer-links {
            margin-bottom: 30px;
        }

            #footer .footer-top .footer-links ul {
                list-style: none;
                padding: 0;
                margin: 0;
            }

                #footer .footer-top .footer-links ul i {
                    padding-right: 2px;
                    color: #4ae3c6;
                    font-size: 18px;
                    line-height: 1;
                }

                #footer .footer-top .footer-links ul li {
                    padding: 10px 0;
                    display: flex;
                    align-items: center;
                }

                    #footer .footer-top .footer-links ul li:first-child {
                        padding-top: 0;
                    }

                #footer .footer-top .footer-links ul a {
                    color: #fff;
                    transition: 0.3s;
                    display: inline-block;
                    line-height: 1;
                }

                    #footer .footer-top .footer-links ul a:hover {
                        color: #34dfbf;
                    }

        #footer .footer-top .footer-newsletter form {
            margin-top: 30px;
            background: #fff;
            padding: 6px 10px;
            position: relative;
            border-radius: 4px 0 0 4px;
        }

            #footer .footer-top .footer-newsletter form input[type=email] {
                border: 0;
                padding: 4px;
                width: calc(100% - 110px);
            }

            #footer .footer-top .footer-newsletter form input[type=submit] {
                position: absolute;
                top: 0;
                right: -4px;
                bottom: 0;
                border: 0;
                background: none;
                font-size: 16px;
                padding: 0 20px;
                background: #0074d9;
                color: #fff;
                transition: 0.3s;
                border-radius: 0 4px 4px 0;
            }

                #footer .footer-top .footer-newsletter form input[type=submit]:hover {
                    background: #14806c;
                }

    #footer .copyright {
        text-align: center;
        padding-top: 30px;
    }

    #footer .credits {
        padding-top: 10px;
        text-align: center;
        font-size: 13px;
        color: #fff;
    }


/************************************************************/

/*--------------------------------------------------------------
# VueClasses
--------------------------------------------------------------*/

.bounce-enter-active {
    animation: bounce-in 0.5s;
}

.bounce-leave-active {
    animation: bounce-in 0.5s reverse;
}

@keyframes bounce-in {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}

.slide-fade-enter-active {
    transition: all 0.3s ease-out;
}

.slide-fade-leave-active {
    transition: all 0.5s cubic-bezier(1, 0.5, 0.8, 1);
}

.slide-fade-enter-from,
.slide-fade-leave-to {
    transform: translateX(20px);
    opacity: 0;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
.divReadOnly {
    pointer-events: none;
}

.div-box {
    border: 1px solid #e3e3e3;
    border-radius: 15px;
    padding: 20px 20px 20px 20px;
}

.div-box-10px {
    border: 1px solid #e3e3e3;
    border-radius: 15px;
    padding: 10px 10px 10px 10px;
}

.div-box-5px {
    border: 1px solid #e3e3e3;
    border-radius: 15px;
    padding: 5px 5px 5px 5px;
}

.div-box-green {
    border: 3px solid #6cb600;
    border-radius: 15px;
    padding: 20px 20px 20px 20px;
}

.group-box {
    border: 1px solid #e3e3e3;
    border-radius: 15px;
    padding: 10px;
    position: relative;
    margin-top: 20px;
}

.group-box-title {
    position: absolute;
    top: -12px; /* تنظیم مکان بالای متن راهنما */
    right: 10px; /* تنظیم مکان سمت چپ متن راهنما */
    background-color: #fff; /* رنگ پس‌زمینه برای پوشش border */
    padding: 0 5px; /* تنظیم فضای داخل متن راهنما */
    font-size: 14px; /* تنظیم اندازه فونت */
}


.div-box-TBPadding {
    border: 1px solid #e3e3e3;
    border-radius: 15px;
    padding: 10px 0px 20px 0px;
    margin: 0px 0px 0px 0px;
}

.div-box-FullPadding {
    border: 1px solid #e3e3e3;
    border-radius: 15px;
    padding: 10px 10px 20px 10px;
    margin: 0px 0px 0px 0px;
}

.div-box-none {
    border: 1px solid #ffffff00;
    padding: 10px 10px 0px 10px;
}

.div-box-1rem {
    border: 1px solid #e1e1e1;
    border-radius: 15px;
    padding: 10px 10px 0px 10px;
    margin: 1rem;
}




.cursor-pointer {
    cursor: pointer !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

div#swal2-html-container {
    font-size: 15px;
}

h2#swal2-title {
    font-size: 20px;
}

.txt-danger {
    border-color: #dc3545;
    background-color: rgba(229,53,69,.1);
}

.txt-DeActive {
    background-color: rgba(255,195,0,.1) !important;
    border: 1.5px solid #ffc300 !important;
}

.txt-Active {
    border-color: #35DC3A;
    background-color: rgba(56,229,53,.1) !important;
    border: 1.5px solid #35DC3A !important;
}

.screen-cover {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 14;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.7);
    /*background-color: rgba(38, 48, 56, 0.7);*/
    backdrop-filter: blur(3px);
}



/*.Loader {
    z-index: 1000;
    position: absolute;
    top: 50%;
    bottom: 50%;
}*/


.loader {
    z-index: 1000;
    top: 25%;
    bottom: 50%;
    width: 48px;
    height: 48px;
    position: absolute;
}

    .loader:before {
        content: '';
        width: 48px;
        height: 5px;
        background: #000;
        opacity: 0.25;
        border: 1px solid;
        position: absolute;
        top: 60px;
        left: 25px;
        border-radius: 50%;
        animation: shadow 0.5s linear infinite;
    }

    .loader:after {
        content: '';
        width: 100%;
        height: 100%;
        background: #B9DDFF;
        animation: bxSpin 0.5s linear infinite;
        position: absolute;
        border: 1px solid #0C83F3;
        top: 0;
        left: 25px;
        border-radius: 4px;
    }

@keyframes bxSpin {
    17% {
        border-bottom-right-radius: 3px;
    }

    25% {
        transform: translateY(9px) rotate(22.5deg);
    }

    50% {
        transform: translateY(18px) scale(1, .9) rotate(45deg);
        border-bottom-right-radius: 40px;
    }

    75% {
        transform: translateY(9px) rotate(67.5deg);
    }

    100% {
        transform: translateY(0) rotate(90deg);
    }
}

@keyframes shadow {
    0%, 100% {
        transform: scale(1, 1);
    }

    50% {
        transform: scale(1.2, 1);
    }
}


.user-picture-NoRadius {
    border: solid 1px #b5b5b5;
    border-radius: 10%;
    width: 30px;
    height: 30px;
    object-fit: cover;
}

.user-picture {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    object-fit: cover;
}

.user-picture-smalInlist {
    border-radius: 10%;
    width: auto;
    height: 30px;
    object-fit: cover;
}

.user-picture-smalInlist24 {
    border-radius: 10%;
    width: auto;
    height: 24px;
    object-fit: cover;
}

.user-picture-bold {
    width: auto;
    height: 12vh;
    object-fit: cover;
    border-radius: 10px;
}

.user-picture-smal {
    width: auto;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}


.no-padding-top {
    padding-top: 0 !important;
}

.no-padding-bottom {
    padding-bottom: 0 !important;
}

.no-padding-right {
    padding-right: 0 !important;
}

.no-padding-left {
    padding-left: 0 !important;
}

.mr-18 {
    margin-right: 18px;
}

/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/
.pagination {
    padding-right: 0;
}

.page-item:first-child .page-link {
    border-top-right-radius: var(--bs-pagination-border-radius);
    border-bottom-right-radius: var(--bs-pagination-border-radius);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.page-item:last-child .page-link {
    border-top-left-radius: var(--bs-pagination-border-radius);
    border-bottom-left-radius: var(--bs-pagination-border-radius);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/*--------------------------------------------------------------
# Radio Button CheckBox
--------------------------------------------------------------*/

.Radio div {
    clear: both;
    overflow: hidden;
}

.Radio label {
    width: 100%;
    border-radius: 3px;
    border: 1px solid #D1D3D4;
    font-weight: normal;
}

.Radio input[type="radio"]:empty,
.Radio input[type="checkbox"]:empty {
    display: none;
}

    .Radio input[type="radio"]:empty ~ label,
    .Radio input[type="checkbox"]:empty ~ label {
        position: relative;
        line-height: 2.5em;
        text-indent: 3.25em;
        margin-top: 2em;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

        .Radio input[type="radio"]:empty ~ label:before,
        .Radio input[type="checkbox"]:empty ~ label:before {
            position: absolute;
            display: block;
            top: 0;
            bottom: 0;
            right: 0;
            content: '';
            width: 2.5em;
            background: #D1D3D4;
            border-radius: 0 3px 3px 0;
        }

.Radio input[type="radio"]:hover:not(:checked) ~ label,
.Radio input[type="checkbox"]:hover:not(:checked) ~ label {
    color: #888;
}

    .Radio input[type="radio"]:hover:not(:checked) ~ label:before,
    .Radio input[type="checkbox"]:hover:not(:checked) ~ label:before {
        content: '\2714';
        text-indent: .9em;
        color: #C2C2C2;
    }

.Radio input[type="radio"]:checked ~ label,
.Radio input[type="checkbox"]:checked ~ label {
    color: #777;
}

    .Radio input[type="radio"]:checked ~ label:before,
    .Radio input[type="checkbox"]:checked ~ label:before {
        content: '\2714';
        text-indent: .9em;
        color: #333;
        background-color: #ccc;
    }

.Radio input[type="radio"]:focus ~ label:before,
.Radio input[type="checkbox"]:focus ~ label:before {
    box-shadow: 0 0 0 3px #999;
}

.Radio-default input[type="radio"]:checked ~ label:before,
.Radio-default input[type="checkbox"]:checked ~ label:before {
    color: #333;
    background-color: #ccc;
}

.Radio-primary input[type="radio"]:checked ~ label:before,
.Radio-primary input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #337ab7;
}

.Radio-success input[type="radio"]:checked ~ label:before,
.Radio-success input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #5cb85c;
}

.Radio-danger input[type="radio"]:checked ~ label:before,
.Radio-danger input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #d9534f;
}

.Radio-warning input[type="radio"]:checked ~ label:before,
.Radio-warning input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #f0ad4e;
}

.Radio-info input[type="radio"]:checked ~ label:before,
.Radio-info input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #5bc0de;
}

/*--------------------------------------------------------------
# Table
--------------------------------------------------------------*/

.table {
    font-size: 14px !important;
}

    .table tr {
        vertical-align: middle;
    }

.sortable {
    cursor: pointer;
}

.dropdown-item {
    text-align: right
}

    .dropdown-item.active, .dropdown-item:active {
        color: #fff !important;
    }
/*--------------------------------------------------------------
# userPhoto
--------------------------------------------------------------*/
.UserPhoto-Box {
    border: solid #e1e1e1;
    border-radius: 15px;
}

.UserPhoto-button {
    width: 100%
}

/*--------------------------------------------------------------
# mahdi
--------------------------------------------------------------*/
.autoOverflow-Y {
    overflow-y: auto
}

.inLineText {
    display: inline-block;
    /*white-space: nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
}


.margin-bottom-0 {
    margin-bottom: 0px !important;
}

.card-padding-5 {
    padding: 0px !important
}

/*--------------------------------------------------------------
# Analogclock
--------------------------------------------------------------*/
.clockNotStarted {
    position: relative;
    margin: auto;
    height: 15vh;
    width: 15vh;
    background: url('../img/clock/clock.jpg') no-repeat;
    background-size: 100%;
}

.clockStarted {
    position: relative;
    margin: auto;
    height: 15vh;
    width: 15vh;
    background: url('../img/clock/clockStart.jpg') no-repeat;
    background-size: 100%;
}

.clockStopped {
    position: relative;
    margin: auto;
    height: 15vh;
    width: 15vh;
    background: url('../img/clock/clockStop.jpg') no-repeat;
    background-size: 100%;
}



#hour, #minute, #second {
    position: absolute;
    background: black;
    border-radius: 10px;
    transform-origin: bottom;
}

#hour {
    width: 1.8%;
    height: 25%;
    top: 25%;
    left: 48.85%;
    opacity: 0.8;
}

#minute {
    width: 1.6%;
    height: 30%;
    top: 19%;
    left: 48.9%;
    opacity: 0.8;
}

#second {
    width: 1%;
    height: 40%;
    top: 9%;
    left: 49.25%;
    opacity: 0.8;
}

/*--------------------------------------------------------------
# Modal
--------------------------------------------------------------*/
.modal-body-height {
    max-height: 525px;
    overflow-y: auto;
}

.modal-backdrop.show.custom-backdrop {
    opacity: 1;
    background-color: #0a4c7e;
}

.modal.custom-fade::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}



/*--------------------------------------------------------------
# vue-star-rating
--------------------------------------------------------------*/
.custom-text {
    font-weight: bold;
    font-size: 1.9em;
    border: 1px solid #cfcfcf;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 5px;
    color: #999;
    background: #fff;
}

.redColor {
    color: red;
}

/*--------------------------------------------------------------
# File Explorer
--------------------------------------------------------------*/

.file-list {
    display: flex;
    flex-wrap: wrap;
    /*margin-top: 20px;*/
    direction: ltr;
}

.file-item {
    display: flex;
    align-items: center;
    margin: 5px;
    padding: 4px;
    border-radius: 5px;
    flex-direction: column;
    cursor: pointer;
    border: 1px solid #E5F3FF;
}

    .file-item:hover {
        background-color: #E5F3FF;
    }

.file-icon {
    width: auto;
    height: 50px;
    margin-bottom: 5px;
    border-radius: 5px;
}

.file-Big-icon {
    text-align: center;
    width: auto;
    height: 150px;
    margin-bottom: 5px;
    border-radius: 5px;
}

.file-name {
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-label {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.file-text {
    width: 100px;
    font-size: 12px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-align: center;
}

/*--------------------------------------------------------------
# accordion
--------------------------------------------------------------*/
.accordion-button:after {
    order: -1;
    float: right;
    margin-left: 5px;
}

/*--------------------------------------------------------------
# truncate-text
--------------------------------------------------------------*/
.truncate-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 80ch;
    margin-bottom: 0;
    cursor: pointer;
}

/*--------------------------------------------------------------*/
.single-line-scroll {
    white-space: nowrap; /* متن در یک خط نمایش داده شود */
    overflow: hidden; /* متن خارج از اندازه مشاهده شود */
    text-overflow: ellipsis; /* نماد ... به عنوان نشانه متن بیشتر */
    display: inline-block; /* برای اینکه متن در یک خط باشد */
    max-width: 90%; /* حداکثر عرض متن */
}

.popup-text-inline {
    white-space: nowrap; /* متن در یک خط نمایش داده شود */
    overflow: hidden; /* متن خارج از اندازه مشاهده شود */
    text-overflow: ellipsis; /* نماد ... به عنوان نشانه متن بیشتر */
    display: inline-block; /* برای اینکه متن در یک خط باشد */
    max-width: 90%; /* حداکثر عرض متن */
    cursor: pointer; /* تغییر نمایه ماوس به نماد دستوری */
}

.popup-text {
    white-space: nowrap; /* متن در یک خط نمایش داده شود */
    overflow: hidden; /* متن خارج از اندازه مشاهده شود */
    text-overflow: ellipsis; /* نماد ... به عنوان نشانه متن بیشتر */
    display: inline-block; /* برای اینکه متن در یک خط باشد */
    max-width: 90%; /* حداکثر عرض متن */
    cursor: pointer; /* تغییر نمایه ماوس به نماد دستوری */
}

    .popup-text:hover::after {
        content: attr(data-content); /* نمایش متن کامل در popup */
        position: absolute;
        background-color: #030f4df5; /* پس زمینه popup */
        color: white; /* رنگ متن popup */
        padding: 10px; /* فاصله‌بندی درونی popup */
        border-radius: 5px; /* گوشه‌های گرد popup */
        white-space: normal; /* متن در popup به صورت چند خط نمایش داده شود */
        z-index: 1; /* اعمال لایه‌بندی بالا تر برای popup */

        width: 162px;
        top: 50%;
        left: 0;
    }

.popup-star {
    white-space: nowrap; /* متن در یک خط نمایش داده شود */
    overflow: hidden; /* متن خارج از اندازه مشاهده شود */
    text-overflow: ellipsis; /* نماد ... به عنوان نشانه متن بیشتر */
    max-width: 90%; /* حداکثر عرض متن */
    cursor: pointer; /* تغییر نمایه ماوس به نماد دستوری */
}

    .popup-star:hover::after {
        content: attr(data-content); /* نمایش متن کامل در popup */
        position: absolute;
        text-align: center;
        background-color: #fed3d3ff; /* پس زمینه popup */
        color: black; /* رنگ متن popup */
        padding: 10px; /* فاصله‌بندی درونی popup */
        border-radius: 5px; /* گوشه‌های گرد popup */
        white-space: normal; /* متن در popup به صورت چند خط نمایش داده شود */
        z-index: 1; /* اعمال لایه‌بندی بالا تر برای popup */
        width: 162px;
        top: 0;
        left: 0;
    }


.Zoomable-my-image {
    cursor: pointer;
    transition: transform 0.2s;
}

    .Zoomable-my-image:hover {
        
        transform: scale(1.3);
        border: dotted 1px #8D2321;
        background-color: #FFF0D4;
    }

.Zoomable-image {
    cursor: pointer;
    transition: transform 0.2s;
}

    .Zoomable-image:hover {
        transform: scale(4);
        border: dotted 1px #8D2321;
        background-color: #FFF0D4;
    }

.card-deSelect {
    background-color: #ffffff;
}

.card-Select {
    background-color: #97ffb13c;
}

.M-ydropdown-menu-item {
    margin-top: 5px;
}



/*--------------------------------------------------------------
#card
--------------------------------------------------------------*/
.homeBody {
    display: flex;
    margin-top: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.homeWrapper {
    display: flex;
    width: 90%;
    justify-content: space-around;
}

.homeCard {
    width: 20vw;
    height: 35vh;
    border-radius: 15px;
    margin-top: 30px;
    padding: 1.5rem;
    background: white;
    position: relative;
    display: flex;
    align-items: center;
    transition: 0.4s ease-out;
    box-shadow: 0px 7px 10px #0a4c7ef5;
    justify-content: center;
    border: 1px solid black;
}

    .homeCard:hover {
        transform: translateY(20px);
    }

        .homeCard:hover:before {
            opacity: 1;
        }

        .homeCard:hover .info {
            opacity: 1;
            transform: translateY(0px);
        }

    .homeCard:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 15px;
        background: #0a4c7ef5;
        z-index: 2;
        transition: 0.5s;
        opacity: 0;
    }

    .homeCard img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        border-radius: 15px;
    }

    .homeCard .info {
        position: relative;
        z-index: 3;
        color: white;
        opacity: 0;
        transform: translateY(30px);
        transition: 0.5s;
    }

        .homeCard .info h1 {
            margin: 0px;
            text-align: center;
        }

        .homeCard .info p {
            letter-spacing: 1px;
            font-size: 15px;
            margin-top: 16px;
            text-align: center;
        }

        .homeCard .info button {
            padding: 0.6rem;
            outline: none;
            border: none;
            border-radius: 3px;
            background: white;
            color: black;
            font-weight: bold;
            cursor: pointer;
            transition: 0.4s ease;
        }

            .homeCard .info button:hover {
                background: dodgerblue;
                color: white;
            }

/*--------------------------------------------------------------
# yearPicker
--------------------------------------------------------------*/

.yearPickerPopup {
    position: absolute;
    background-color: #ffffff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 15px;
    width: 350px; /* تغییر عرض */
    height: 280px;
}

    .yearPickerPopup .yearGroup {
        display: flex;
        flex-wrap: wrap;
    }

    .yearPickerPopup a {
        text-align: center;
        margin-top: 7px;
        margin-left: 10px;
        margin-right: 10px;
        width: 330px;
    }


    .yearPickerPopup .yearGroup > div {
        width: calc(100% / 5);
        padding: 15px;
        box-sizing: border-box;
        text-align: center;
        cursor: pointer;
        border-radius: 5px;
        border: 1px solid #f0f0f0;
    }

        .yearPickerPopup .yearGroup > div:hover {
            background-color: #f0f0f0;
        }

.yearSelected {
    background-color: #cddc3957 !important;
    border: 1px solid #198754 !important;
}
/**-*-*-*-*-*-**/
.yearPickerPopupMini {
    position: absolute;
    background-color: #ffffff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 15px;
    width: 180px; /* تغییر عرض */
    height: 115px;
}

    .yearPickerPopupMini .yearGroupMini {
        display: flex;
        flex-wrap: wrap;
    }

    .yearPickerPopupMini a {
        text-align: center;
        margin-top: 7px;
        margin-left: 10px;
        margin-right: 10px;
        width: 158px;
    }


    .yearPickerPopupMini .yearGroupMini > div {
        width: calc(100% / 3);
        padding: 15px;
        box-sizing: border-box;
        text-align: center;
        cursor: pointer;
        border-radius: 5px;
        border: 1px solid #f0f0f0;
    }

        .yearPickerPopupMini .yearGroupMini > div:hover {
            background-color: #f0f0f0;
        }



/*--------------------------------------------------------------
# readOnlyInput
--------------------------------------------------------------*/
.readOnlyInput-orang {
    background-color: linen;
    border: 1px solid #f0ba84;
}

.readOnlyInput-green {
    background-color: #e6faef;
    border: 1px solid #79bd98;
}

.readOnlyInput-Pink {
    background-color: #f8e6fa !important;
    border: 1px solid #bd79b0;
}

.readOnlyInput-PinkNoborder {
    background-color: #f8e6fa !important;
}

.fix-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
    text-align: center;
}

.readOnlyInput-Beige {
    background-color: #F1E5D1;
    border: 1px solid #DBB5B5;
}

.readOnlyAccordion-orang {
    background-color: linen;
    border-radius: 18px;
}

.readOnlyAccordion-green {
    background-color: #e6faef;
    border-radius: 18px;
}

/*--------------------------------------------------------------
# loader
--------------------------------------------------------------*/

.loader-new {
    z-index: 1000;
    top: 35%;
    left: 45%;
    position: absolute;
}

loading-container {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,.3);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999999999999 !important
}

.show-loading {
    display: flex
}

.loading-content {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,.1),inset 0 -2px 5px 0 rgba(0,0,0,.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff
}

@media only screen and (min-width:1200px) {
    .loading-content {
        width: 200px;
        height: 170px;
        border-radius: 14px
    }
}

/*--------------------------------------------------------------
# cashCredit
--------------------------------------------------------------*/
.budgetBorder {
    border: 1px solid #999;
}

.budgetBorder-b {
    border-bottom: 1px solid #999;
}

.cashCredit {
    background-color: lightcyan !important;
}

.blockedCashCredit {
    background-color: Lavender !important;
}

.spentCashCredit {
    background-color: MistyRose !important;
}

.cashCreditBalance {
    background-color: Linen !important;
}

.budgetFooter {
    border: 1px solid #999;
    font-weight: bold;
}
/*--------------------------------------------------------------
# search-container
--------------------------------------------------------------*/
.search-container {
    position: relative;
    display: inline-block;
}

    .search-container input[type="text"] {
        padding-left: 30px;
    }

    .search-container button {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        background-color: transparent;
        border: none;
        padding: 5px 10px;
        cursor: pointer;
    }

/*--------------------------------------------------------------
# search-container-top
--------------------------------------------------------------*/
.search-container-top {
    position: relative;
    display: inline-block;
}

    .search-container-top button {
        position: absolute;
        left: 0;
        top: -12px;
        background-color: transparent;
        border: none;
        padding: 5px 10px;
        cursor: pointer;
        background-color: #ffc107;
    }

    .search-container-top a :hover {
        background-color: #ffca2c;
    }
/*--------------------------------------------------------------
# search-container-top
--------------------------------------------------------------*/
.max2line {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}
/*--------------------------------------------------------------
# chevron 
--------------------------------------------------------------*/
.chevron {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 40px;
}

    .chevron div {
        width: 100%;
        height: 100%;
        text-align: center;
        line-height: 35px;
        font-size: 17px;
        position: relative;
        z-index: 1;
    }

        .chevron div:nth-child(1) {
            background-color: #ffc1cc;
            clip-path: polygon(5% 0%, 100% 0%, 100% 50%, 100% 100%, 5% 100%, 2% 50%);
            border: 3px solid #e89ba5;
        }

        .chevron div:nth-child(2) {
            background-color: #c1e1c5;
            clip-path: polygon(5% 0%, 100% 0%, 97% 50%, 100% 100%, 5% 100%, 2% 50%);
            border: 3px solid #9fc59e;
        }

        .chevron div:nth-child(3) {
            background-color: #c1d3ff;
            clip-path: polygon(5% 0%, 100% 0%, 97% 50%, 100% 100%, 5% 100%, 2% 50%);
            border: 3px solid #9fb0e6;
        }

        .chevron div:nth-child(4) {
            background-color: #ffe4b3;
            clip-path: polygon(5% 0%, 100% 0%, 97% 50%, 100% 100%, 5% 100%, 2% 50%);
            border: 3px solid #d8ba8f;
        }

        .chevron div:nth-child(5) {
            background-color: #e6ccff;
            clip-path: polygon(0% 0%, 100% 0%, 97% 50%, 100% 100%, 0% 100%, 0% 50%);
            border: 3px solid #c4a9e6;
        }

.chevronReadOnly {
    opacity: 0.3;
    border-color: #aaa;
}
/*--------------------------------------------------------------
# form-switch 
--------------------------------------------------------------*/


.MyForm-switch .form-check-input {
    margin-top: 5px;
    width: 50px;
    height: 24px;
    background-color: #DC143C;
    background-image: none;
    border-radius: 1rem;
    position: relative;
    transition: background-color 0.3s ease;
}

    .MyForm-switch .form-check-input:checked {
        background-color: #32CD32;
    }

    .MyForm-switch .form-check-input::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 4px;
        height: 16px;
        width: 16px;
        background-color: white;
        border-radius: 50%;
        transform: translateY(-50%);
        transition: left 0.3s ease;
    }

    .MyForm-switch .form-check-input:checked::before {
        left: calc(100% - 20px);
    }

.form-check-label-limit {
    margin-top: 5px;
    margin-right: 3rem;
}




.switchInList {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

    .switchInList input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #DC143C;
    transition: .4s;
    border-radius: 12px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        border-radius: 50%;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #32CD32;
}

    input:checked + .slider:before {
        transform: translateX(26px);
    }

.slider:active:before {
    width: 20px;
}

.switch-label {
    margin-left: 10px;
    line-height: 24px;
}
/*--------------------------------------------------------------
    ModalContainer
--------------------------------------------------------------*/
.mealContainer {
    /*background-color: #ebfcff;*/
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

    .mealContainer ul {
        list-style-type: none;
    }

.meal-list {
}

.meal-item {
    background-color: #fff2ea;
    padding: 20px 25px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #00000026;
}

    .meal-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        border-color: #feb486;
    }


.meal-title-NoFood {
    font-weight: bold;
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #333;
    display: inline-block;
    margin-top: 10px;
    padding: 5px 25px 5px 25px;
    border-radius: 15px;
    width: 100%;
    text-align: center;
    background-color: #f0ff9f;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.add-food-btn {
    position: absolute;
    left: 15px;
    top: 15px;
    background-color: #007BFF;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    box-shadow: none;
    border: none;
    transition: background-color 0.3s ease;
}

    .add-food-btn:hover {
        background-color: #0056b3;
    }

    .add-food-btn i {
        margin-left: 5px;
    }

.meal-foods {
    padding-right: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.No-food-card {
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    width: calc(100% - 15px);
    box-sizing: border-box;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.foodPlan-food-card {
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    width: calc(50% - 15px);
    box-sizing: border-box;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.food-card {
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    box-sizing: border-box;
    position: relative;
    transition: box-shadow 0.3s ease;
}

    .food-card:hover {
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    }

.food-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

    .food-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.No-food-info {
    flex: 1;
}

    .No-food-info h3 {
        font-size: 1.2em;
        color: #333;
        margin-bottom: 0px !important;
    }

.food-info {
    flex: 1;
    padding-left: 40px;
}

    .food-info h3 {
        font-size: 1.2em;
        color: #333;
    }

    .food-info p {
        margin: 5px 0;
        color: #666;
    }

.actions {
    position: absolute;
    top: 10px;
    left: 10px;
}

.dropdown-btn {
    background-color: transparent;
    border: none;
    font-size: 1.4em;
    cursor: pointer;
    color: #888;
    transition: color 0.3s ease;
}

    .dropdown-btn:hover {
        color: #555;
    }

/*.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;  
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    z-index: 1;
    
}*/


.Zoomable-Food-image {
    cursor: pointer;
    transition: transform 0.2s;
}

    .Zoomable-Food-image:hover {
        transform: scale(2.5);
        border: dotted 1px #8D2321;
        background-color: #FFF0D4;
        z-index: 999
    }



.dropdown:hover .dropdown-menu {
    display: block;
}



/*--------------------------------------------------------------
    FoodList
--------------------------------------------------------------*/

.FoodList-custom-select {
    position: relative;
    display: inline-block;
}

.FoodList-select-box {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    padding: 10px;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: 5px;
}

    .FoodList-select-box img {
        width: 40px;
        height: 40px;
        object-fit: cover;
        border-radius: 5px;
    }

    .FoodList-select-box span {
        margin-right: 10px;
    }

.FoodList-options-container {
    position: absolute;
    top: 100%;
    right: 10px;
    width: calc(100% - 20px);
    max-height: 400px; /* ارتفاع حداکثری برای لیست */
    overflow-y: auto; /* فعال‌سازی اسکرول بار عمودی */
    background-color: white;
    border: 1px solid #ccc;
    z-index: 1;
    display: none;
    border-radius: 5px;
}

    .FoodList-options-container.show {
        display: block;
    }

.FoodList-option {
    padding: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

    .FoodList-option img {
        width: 40px;
        height: 40px;
        object-fit: cover;
        border-radius: 5px;
        margin-left: 10px;
    }

    .FoodList-option:hover {
        background-color: #e1e1e1;
    }

.search-input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}
/*--------------------------------------------------------------
    PresaleMeal
--------------------------------------------------------------*/

.Presale-foods-list {
    display: flex;
    flex-wrap: wrap;
}

.Presale-food-item {
    border: 1px solid #ddd;
    padding: 10px;
    margin: 10px;
    width: 200px;
    text-align: center;
    border-radius: 15px
}

.Presale-food-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 25%;
}

.Presale-order-controls {
    display: flex;
    align-items: center;
    justify-content: center;
}

.Presale-button {
    margin: 0 10px;
    padding: 0;
    width: 40px;
    height: 40px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.food-name {
    margin-top: 10px;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    min-height: 3em;
    font-size: 16px;
    line-height: 1.5em;
}

.remainder-count {
    background-color: #ffe6e6;
    color: #d9534f;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid #d9534f;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
}

.meal-title {
    font-weight: bold;
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #333;
    display: inline-block;
    margin-top: 10px;
    padding: 5px 25px 5px 25px;
    border-radius: 15px;
    width: 150px;
    text-align: center;
    background-color: #f0ff9f;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.meal-title-home {
    font-weight: bold;
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #333;
    display: inline-block;
    margin: 0px -5px 0px 0px;
    padding: 5px 25px 5px 25px;
    border-radius: 10px;
    width: 150px;
    text-align: center;
    background-color: #f0ff9f;
    box-shadow: 0px 0px 7px 2px rgb(106 255 44);
}


.meal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.time-range {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    color: #555;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.time-range-span {
    margin: 0 15px;
}

    .time-range-span:first-child {
        margin-right: 50px;
    }

    .time-range-span:last-child {
        margin-left: 0px;
    }


.Presale-button-plus {
    background-color: #ff69b4;
    color: white;
}

.Presale-button-minus {
    background-color: transparent;
    color: #a9a9a9;
    border: 2px solid #a9a9a9;
}

.Presale-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.Presale-button:hover:not(:disabled) {
    transform: scale(1.1);
}

.Presale-button:active {
    transform: scale(0.95);
}

.Presale-order-count {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 10px;
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    font-weight: bold;
    margin: 0 10px;
}

/*--------------------------------------------------------------
    rounded-table
--------------------------------------------------------------*/

.rounded-table {
    border-collapse: separate;
    border-radius: 20px;
    overflow: hidden;
}

    .rounded-table th, .rounded-table td {
        border: 1px solid #dee2e6;
    }

.rounded-cells td {
    border-radius: 20px;
    text-align: center;
    border: 1px solid #dee2e6;
}

.rounded-cells th {
    border-radius: 20px;
    border: 1px solid #dee2e6;
}

.rounded-cells {
    border-collapse: separate;
}
/*--------------------------------------------------------------
--------------------------------------------------------------*/

.icon-success {
    color: green;
}

.icon-fail {
    color: red;
}

.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #343a40;
    width: 100%;
}

.title-item {
    padding: 0.5rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background-color: #ffffff;
    color: #495057;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

    .title-item:first-of-type {
        border-right: none;
        border-radius: 0.375rem 0 0 0.375rem;
        background-color: #c8ffc485;
    }

    .title-item:last-of-type {
        border-left: none;
        border-radius: 0 0.375rem 0.375rem 0;
        background-color: #f6ffc485;
        width: 100%;
    }




.input-container {
    padding: 1rem;
    border-top: 1px solid #00000026;
    border-left: 1px solid #00000026;
    border-right: 1px solid #00000026;
    border-radius: 15px 15px 0px 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff2ea;
    margin-bottom: -8px;
    margin-top: -45px;
}



/*--------------------------------------------------------------
    OrderForDelivery
--------------------------------------------------------------*/
.Delivery-Container {
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.Deliverer-container-Order {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.order-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    /*background-color: #fce7ff;*/
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100%; /* Adjust this if you need a fixed height */
    box-sizing: border-box;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.Deliverer-picture {
    border-radius: 20px;
    background-color: #fff;
    border: 1px solid #999;
    width: 100px;
    height: 100px;
    object-fit: cover;
    padding: 5px;
}

.Deliverer-Zoomable-image {
    cursor: pointer;
    transition: transform 0.2s;
}

    .Deliverer-Zoomable-image:hover {
        transform: scale(2);
        border: dotted 1px #8D2321;
        background-color: #e4f0ff;
        z-index: 999;
    }


.Deliverer h2 {
    margin-right: 15px;
    font-size: 18px;
    font-weight: bold;
}

.Deliverer h3 {
    margin-right: 15px;
    font-size: 14px;
}

.order-list {
    margin-bottom: 16px;
}

.deliver-food-info {
    flex: 1;
}

.servableFood-Name {
    width: 60%;
}

.servableFood-count {
    font-weight: bolder;
    width: 40%;
}

.deliver-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
}

    .deliver-button:hover {
        background-color: #45a049;
    }

.deliver-food-card {
    background-color: #fff2ea;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    box-sizing: border-box;
    position: relative;
    transition: box-shadow 0.3s ease;
    border: 1px solid #fbcdb0;
}

    .deliver-food-card:hover {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

.card-footer {
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 10px;
}
/*--------------------------------------------------------------
--------------------------------------------------------------*/
.input-group {
    display: flex;
    align-items: center;
}

    .input-group .form-label {
        margin-left: 10px;
        margin-top: 5px;
        white-space: nowrap;
    }

    .input-group .form-control {
        flex: 1;
    }
/*--------------------------------------------------------------
--------------------------------------------------------------*/

.distributor-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    margin-top: 40px;
}

.deliverByDistributor-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    margin-top: 5px;
}

.distributor-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 20px;
}

@media (min-width: 992px) {
    .distributor-card {
        width: 48%;
    }
}

@media (min-width: 1200px) {
    .distributor-card {
        width: 48%;
    }
}

.distributor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.distributor-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    text-align: center;
}

.distributor-distributor-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #007bff;
    margin-left: 15px;
}

.distributor-header h2 {
    font-size: 1.3em;
    color: #333;
    margin-right: 10px;
}

.distributor-details {
    text-align: right;
}

    .distributor-details p {
        font-size: 1em;
        color: #555;
        margin: 8px 0;
    }

    .distributor-details strong {
        color: #2b39a3;
    }

    .distributor-details ul {
        padding-left: 15px;
    }

        .distributor-details ul li {
            font-size: 0.9em;
            color: #666;
            margin-bottom: 5px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

.office-item button {
    font-size: 0.8em;
    padding: 5px 10px;
    background-color: #dc3545;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .office-item button:hover {
        background-color: #c82333;
    }

.delivery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .delivery-header p {
        margin: 0;
        font-size: 1em;
    }

.btn-add {
    background-color: #28a745;
    color: #fff;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: 10px;
}

    .btn-add:hover {
        background-color: #218838;
    }

.department-group {
    margin-bottom: 20px;
}

    .department-group h2 {
        margin-bottom: 10px;
        font-size: 1.5em;
        color: #333;
    }


.office-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.office-card {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    position: relative;
    width: calc(100% );
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .office-card p {
        margin: 0;
        font-size: 0.9em;
        color: #333;
    }

.btn-remove {
    background-color: transparent;
    border: none;
    color: #dc3545;
    font-size: 1.2em;
    position: absolute;
    left: 5px;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .btn-remove:hover {
        color: #c82333;
    }

    .btn-remove i {
        pointer-events: none;
    }

.btn-add {
    background-color: #28a745;
    color: #fff;
    padding: 5px 10px;
    border: none;
    border-radius: 25%;
    font-size: 1.2em;
    cursor: pointer;
    width: 40px;
    height: 40px;
    transition: background-color 0.3s ease;
}

    .btn-add:hover {
        background-color: #218838;
    }

.accordion-button {
    font-size: 16px;
    background-color: #007bff;
    color: #1b2579;
    text-align: right;
}

    .accordion-button.collapsed {
        background-color: #97e6f5;
    }

.accordion-body {
    background-color: #f1f1f1;
}

.office-card {
    border: 1px solid #ddd;
}

.btn-add-new {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
}

.btn-change {
    position: absolute;
    background-color: #ffcd39;
    top: 10px;
    left: 10px;
    padding: 10px 12px 7px 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: 10px;
}

    .btn-change:hover {
        background-color: #e5b31e
    }

.distributor-item {
    background-color: #fff2ea;
    padding: 20px 25px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #00000026;
}

    .distributor-item:hover {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        border-color: #feb486;
    }

/*--------------------------------------------------------------
--------------------------------------------------------------*/
.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/*--------------------------------------------------------------
--------------------------------------------------------------*/
.tableOverFlow {
}

.approvalRowFinished {
}

.approvalRowNotFinished {
}

.status-icon {
    display: inline-block;
    padding: 3px 5px 1px 5px;
    border-radius: 4px;
    text-shadow: none;
}

.success-icon {
    color: green;
    border: 2px solid green;
    background-color: #e0ffe0;
}

.error-icon {
    color: red;
    border: 2px solid red;
    background-color: #ffe0e0;
}

.table-group {
    border: 2px solid #a0c4ff;
    border-radius: 8px;
    margin: 10px 0;
    padding: 15px !important;
}

    .table-group td {
        background-color: #1fb0ff4d !important;
    }

    .table-group strong {
        font-size: 20px;
        color: #000;
        margin-bottom: 100px;
    }

.meeting-info {
    font-size: 16px;
    color: #d63384;
    font-weight: 600;
}

.table-row {
    transition: background-color 0.3s;
    border: 2px solid #a0c4ff;
}

    .table-row:hover {
        background-color: #e3f2fd;
    }

.input-group-text {
    height: 38px;
}
/*--------------------------------------------------------------
--------------------------------------------------------------*/
/* Custom container styles */
.Search-container {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Custom row styles */
.Search-row {
    display: flex;
    flex-wrap: wrap;
}

/* Custom column styles */
.Search-col {
    flex: 1;
}

.Search-col-1 {
    flex: 0 0 8.3%;
    max-width: 8.3%;
}

.Search-col-2 {
    flex: 0 0 16.6667%;
    max-width: 16.6667%;
}

.Search-col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.Search-label {
    font-weight: bold;
    color: #555;
    display: block;
    margin-bottom: 5px;
}

.Search-form-control {
    width: calc(100% - 10px);
    border-radius: 10px;
    transition: all 0.3s ease;
    padding: 10px;
    border: 1px solid #ced4da;
}

.Search-form-select {
    width: calc(100% - 10px);
    border-radius: 10px;
    transition: all 0.3s ease;
    padding: 8px;
    border: 1px solid #ced4da;
}

    .Search-form-control:focus, .Search-form-select:focus {
        box-shadow: 0 0 5px rgba(81, 203, 238, 1);
        border-color: #51cbee;
    }

.Search-input-group-text {
    background-color: #f0f0f0;
    border-radius: 10px 0 0 10px;
}

.Search-checkbox-label {
    margin-top: 5px;
    margin-right: 10px;
    font-weight: bold;
}

.Search-text-danger {
    font-size: 0.9rem;
    margin-top: 5px;
}

.Search-checkbox {
    transform: scale(1.2);
    margin-right: 5px;
}

.Search-input-group {
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .Search-col-2, .Search-col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }

    .Search-form-control, .Search-form-select {
        width: 100%;
    }
}


/*--------------------------------------------------------------
--------------------------------------------------------------*/
.description {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

    .description b {
        color: #007bff;
    }

ul.RegisterUl {
    list-style: none;
    padding: 0;
    margin: 0;
}

li.Registerli {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.label {
    font-size: 15px;
    color: #555;
}

.price {
    font-size: 15px;
    font-weight: bold;
    color: #333;
}

    .price::before {
        content: " ";
    }

.RegisterContainer {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 600px;
    margin: auto;
}




.row {
    padding-left: 0 !important;
}


.NewRegisterContainer {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 20px;
}

.NewRegisterModal-body {
    padding: 2rem;
}

.NewRegisterForm-label {
    font-weight: bold;
    color: #333;
}

.NewRegisterForm-control {
    border: 1px solid #ced4da;
    border-radius: 4px;
}

    .NewRegisterForm-control:focus {
        border-color: #007bff;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

.price-list {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 15px;
    margin-top: 10px;
}

    .price-list ul {
        list-style-type: none;
        padding: 0;
    }

    .price-list li {
        padding: 10px 0;
        border-bottom: 1px solid #ddd;
    }

        .price-list li:last-child {
            border-bottom: none;
        }

    .price-list .label {
        font-weight: bold;
    }

    .price-list .price {
        float: left;
        color: #007bff;
    }

    .price-list .clearfix {
        overflow: auto;
    }

.form-section {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 20px;
}

    .form-section h4 {
        color: white;
        background-color: #0a4c7e;
        border-bottom: 2px solid #17a2b8;
        padding-top: 10px;
        padding-bottom: 10px;
        margin-bottom: 20px;
        text-align: center;
        border-radius: 15px
    }

.btn-custom {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: white;
}

    .btn-custom:hover {
        background-color: #138f9c;
        border-color: #138f9c;
    }


.photo-frame {
    width: 100%;
    height: 100%;
    min-height: 250px;
    max-height: 250px;
    border: 2px solid #17a2b8;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 15px;
}

.photo-frame2 img {
    width: 100%;
    height: auto;
    min-height: 250px;
    max-height: 250px;
    object-fit: contain;
    cursor: pointer;
}

 
.photo-frame2 span {
    font-size: 1.2em;
    color: #6c757d;
    display: none; /* Hidden by default */
}

.photo-frame img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    display: none; /* Hidden by default */
}

.photo-frame span {
    font-size: 1.2em;
    color: #6c757d;
}

.photo-frame input[type="file"] {
    display: none;
}

.Register-switch {
    padding-bottom: 15px;
    margin-bottom: 5px;
    border-bottom: 1px solid #17a2b8;
}

    .Register-switch .form-check-input {
        margin-top: 5px;
        width: 50px;
        height: 24px;
        background-color: #DC143C;
        background-image: none;
        border-radius: 1rem;
        position: relative;
        transition: background-color 0.3s ease;
    }

        .Register-switch .form-check-input:checked {
            background-color: #32CD32;
            left: 0;
        }

        .Register-switch .form-check-input::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 4px;
            height: 16px;
            width: 16px;
            background-color: white;
            border-radius: 50%;
            transform: translateY(-50%);
            transition: left 0.3s ease;
        }

        .Register-switch .form-check-input:checked::before {
            left: calc(100% - 20px);
        }

.form-check-label {
    margin-top: 5px;
}




.cardContainer {
    margin-top: 50px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.requirements {
    background-color: #f1f1f1;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}
.required label:before {
    content: " * ";
    color:red;
}
/*--------------------------------------------------------------------------*/
.educational-photo-frame {
    border: 2px solid #17a2b8;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.educational-upload-button {
    padding: 10px 15px;
    background-color: #4CAF50; /* رنگ سبز برای دکمه انتخاب */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.educational-uploaded-images {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}

.educational-image-container {
    position: relative;
    margin: 5px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px; /* اضافه کردن فاصله داخلی */
    background-color: #f9f9f9; /* رنگ پس‌زمینه برای تمایز */
}

.educational-uploaded-image {
    max-width: 200px; /* افزایش حداکثر عرض تصویر */
    max-height: 200px; /* افزایش حداکثر ارتفاع تصویر */
    border-radius: 4px;
}

.educational-delete-button {
    margin-top: auto; /* قرار دادن دکمه حذف در پایین */
    padding: 8px 12px;
    background-color: #f44336; /* رنگ قرمز برای دکمه حذف */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
     
    transition: background-color 0.3s; /* افکت تغییر رنگ */
}

    .educational-delete-button:hover {
        background-color: #d32f2f; /* رنگ تیره‌تر هنگام هاور */
    }

/*-------------------------------------------------------------------------------*/

.course-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    position: relative;
}

.course-title {
    font-weight: bold;
    color: #007bff;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.course-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000; /* تنظیم عمق لایه برای اطمینان از نمایش آن روی دیگر محتوا */
}
/*-----------------------------------------------------------------------------------*/
.copy-btn {
    background-color: #204dcd;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 48px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    margin-right: 8px; /* فاصله از متن */
}

    .copy-btn:hover {
        background-color: #ff4f3f;
    }


.vertical-text {
    writing-mode: vertical-rl; /* جهت نوشتن از بالا به پایین */
    transform: rotate(180deg); /* چرخش برای خوانایی بهتر */
    white-space: nowrap; /* جلوگیری از شکستگی متن */
    text-align:center;
}

.delete-photo-btn {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: red;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}

    .delete-photo-btn:hover {
        background-color: darkred;
    }
 

    /*/----------------------------------------------------------*/
    /*/----------------------------------------------------------*/
.hse-container {
    direction: rtl;
    text-align: justify;
    line-height: 2;
    font-size: 1rem;
}

    .hse-container h2, .hse-container h3 {
        text-align: center;
        margin: 0.75rem 0;
    }

        .hse-container h2 b, .hse-container h3 b {
            font-weight: 800;
        }

.hse-lead {
    font-size: 1.05rem;
}

.hse-section {
    margin-top: 1.25rem;
}

    .hse-section > .title {
        font-weight: 800;
        display: block;
        margin-bottom: 0.5rem;
    }

.hse-note {
    font-weight: 700;
}

.hse-subtle {
    opacity: .9;
}

.hse-list {
    margin: .25rem 1rem .25rem 0;
}

    .hse-list li {
        margin-bottom: .25rem;
    }

.hse-tips {
    font-weight: 600;
}
.hse-table {
    width: 100%;
    border-collapse: collapse;
    margin: .75rem 0;
}

    .hse-table th, .hse-table td {
        border: 1px solid #333;
        padding: .5rem .6rem;
        vertical-align: middle;
    }

    .hse-table th {
        background: #f3f3f3;
        text-align: center;
        font-weight: 800;
    }

    .hse-table .head-soft {
        background: #fbe4d5;
        font-weight: 700;
    }

    .hse-table .head-medium {
        background: #edc2a5;
        font-weight: 700;
        text-align: center;
    }

 

.copy-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: .1rem .35rem;
}

    .copy-btn i {
        pointer-events: none;
    }

/* --- CTA bar --- */
.hse-cta {
    display: flex;
    gap: .5rem;
    justify-content: center;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.majors-wrap {
    direction: rtl;
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

/* خود جدول: وسط‌چین، گرد، سایه ملایم */
.majors-table {
    width: min(1100px, 96%);
    border-collapse: collapse;
    text-align: center; /* وسط‌چین متن‌ها */
    border-radius: 14px;
    overflow: hidden; /* برای اعمال radius به thead */
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    margin: 0 auto; /* وسط‌چین نسبتی */
    font-size: 1rem;
}

    .majors-table th,
    .majors-table td {
        border: 1px solid #e5e7eb;
        padding: .75rem 1rem;
        vertical-align: top;
    }

    /* سربرگ با پس‌زمینه ملایم و فونت ضخیم */
    .majors-table thead th {
        background: #f3f4f6;
        font-weight: 800;
    }

    /* ردیف‌های راه‌راه ملایم */
    .majors-table tbody tr:nth-child(even) td {
        background: #fafafa;
    }

    /* ستون عنوان حوزه باریک‌تر و بدون شکستن سطر */
    .majors-table td.domain {
        white-space: nowrap;
        width: 140px;
        font-weight: 700;
    }

/* فهرست داخل سلول‌ها: بدون بولت، وسط‌چین، فاصله عمودی مناسب */
.majors-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .majors-list li {
        margin: .25rem 0;
        line-height: 1.9;
    }

/* برای نمایش یک‌خطی کوتاه */
.nowrap {
    white-space: nowrap;
}
