:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --sidebar-bg: #193d63;
    --sidebar-hover: #64799d;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --bg-color: #f8f9fa;
    --text-color: #212529;
    --card-bg: #ffffff;
    --nav-bg: #ffffff;
    --border-color: #dee2e6;
    --mode-indicator: #28a745;
    --sidebar-width: 250px;
    --sidebar-minimized: 70px;
    --transition-speed: 0.3s;
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: bold;
    src: url('/myFonts/fonts/eot/IRANSansWeb(FaNum)_Bold.eot');
    src: url('/myFonts/fonts/eot/IRANSansWeb(FaNum)_Bold.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('/myFonts/fonts/woff2/IRANSansWeb(FaNum)_Bold.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('/myFonts/fonts/woff/IRANSansWeb(FaNum)_Bold.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('/myFonts/fonts/ttf/IRANSansWeb(FaNum)_Bold.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 500;
    src: url('/myFonts/fonts/eot/IRANSansWeb(FaNum)_Medium.eot');
    src: url('/myFonts/fonts/eot/IRANSansWeb(FaNum)_Medium.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('/myFonts/fonts/woff2/IRANSansWeb(FaNum)_Medium.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('/myFonts/fonts/woff/IRANSansWeb(FaNum)_Medium.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('/myFonts/fonts/ttf/IRANSansWeb(FaNum)_Medium.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 300;
    src: url('/myFonts/fonts/eot/IRANSansWeb(FaNum)_Light.eot');
    src: url('/myFonts/fonts/eot/IRANSansWeb(FaNum)_Light.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('/myFonts/fonts/woff2/IRANSansWeb(FaNum)_Light.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('/myFonts/fonts/woff/IRANSansWeb(FaNum)_Light.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('/myFonts/fonts/ttf/IRANSansWeb(FaNum)_Light.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 200;
    src: url('/myFonts/fonts/eot/IRANSansWeb(FaNum)_UltraLight.eot');
    src: url('/myFonts/fonts/eot/IRANSansWeb(FaNum)_UltraLight.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('/myFonts/fonts/woff2/IRANSansWeb(FaNum)_UltraLight.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('/myFonts/fonts/woff/IRANSansWeb(FaNum)_UltraLight.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('/myFonts/fonts/ttf/IRANSansWeb(FaNum)_UltraLight.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('/myFonts/fonts/eot/IRANSansWeb(FaNum).eot');
    src: url('/myFonts/fonts/eot/IRANSansWeb(FaNum).eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('/myFonts/fonts/woff2/IRANSansWeb(FaNum).woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('/myFonts/fonts/woff/IRANSansWeb(FaNum).woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('/myFonts/fonts/ttf/IRANSansWeb(FaNum).ttf') format('truetype');
}

* {
    font-family: IRANSans !important;
}


.deactive {
    display: none !important;
}

.pwa-install-button {
    align-items: center;
    background: #35a4fc;
    border: 0;
    border-radius: 0 12px 12px 0;
    bottom: 40px;
    box-shadow: 0 10px 24px rgba(25, 61, 99, 0.24);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.9rem;
    gap: 0;
    inset-inline-end: 0;
    justify-content: flex-start;
    line-height: 1;
    min-height: 48px;
    overflow: hidden;
    padding: 0 14px;
    position: fixed;
    transition: width var(--transition-speed) ease,
                background-color var(--transition-speed) ease,
                box-shadow var(--transition-speed) ease;
    white-space: nowrap;
    width: 48px;
    z-index: 1080;
}

.pwa-install-button:hover,
.pwa-install-button:focus,
.pwa-install-button:focus-visible {
    background: #1d8fe9;
    box-shadow: 0 12px 28px rgba(25, 61, 99, 0.32);
    color: #fff;
    outline: none;
    width: 142px;
}

.pwa-install-button i {
    flex: 0 0 20px;
    font-size: 1.1rem;
    text-align: center;
}

.pwa-install-button span {
    margin-inline-start: 8px;
    opacity: 0;
    transition: opacity 0.18s ease 0.08s;
}

.pwa-install-button:hover span,
.pwa-install-button:focus span,
.pwa-install-button:focus-visible span {
    opacity: 1;
}

html[dir="ltr"] .pwa-install-button {
    border-radius: 12px 0 0 12px;
}

.bg-frblue {
    background-color: #5a6688 !important;
}

.btn {
    color: #fff;
    border: none;
}

.btn-light {
    color: #000;
} .btn-outline-light {
    color: #000;
} .btn-info {
    background: #51727b;
} .btn-primary {
    background: #5080bb;
} .btn-success {
    background: #578971;
} .btn-warning {
    background: #a9986c;
} .btn-danger {
    background: #a16b71;
} .btn-secondary {
    background: #515f6d;
} .btn-info:active {
    background: #51727b;
} .btn-primary {
    background: #5080bb;
} .btn-success {
    background: #578971;
} .btn-warning {
    background: #a9986c;
} .btn-danger {
    background: #a16b71;
} .btn-secondary {
    background: #515f6d;
} .btn-info:hover {
    background: #94bcc7;
    color: #fff;
} .btn-primary:hover {
    background: #97a9c5;
    color: #fff;
} .btn-success:hover {
    background: #8daf9f;
    color: #fff;
} .btn-warning:hover {
    background: #d3c595;
    color: #fff;
} .btn-danger:hover {
    background: #cda3a7;
    color: #fff;
} .btn-secondary:hover {
    background: #738493;
    color: #fff;
} .btn-info:active {
    background-color: #51727b !important;
    color: #fff !important;
} .btn-primary:active {
    background: #5080bb !important;
    color: #fff !important;
} .btn-success:active {
    background: #578971 !important;
    color: #fff !important;
} .btn-warning:active {
    background: #a9986c !important;
    color: #fff !important;
} .btn-danger:active {
    background: #a16b71 !important;
    color: #fff !important;
} .btn-outline-secondary {
    color: #738493;
    border: 1px solid #738493;
} .btn-outline-info {
    color: #5d6a7f;
    border: 1px solid #5d6a7f;
} .btn-outline-primary {
    color: #5080bb;
    border: 1px solid #5080bb;
} .btn-outline-success {
    color: #8daf9f;
    border: 1px solid #8daf9f;
} .btn-outline-warning {
    color: #d3c595;
    border: 1px solid #d3c595;
} .btn-outline-danger {
    color: #cda3a7;
    border: 1px solid #cda3a7;
} .btn-outline-secondary:hover {
    background: #515f6d;
    color: #fff;
    border: 1px solid #515f6d;
} .btn-outline-info:hover {
    background: #51727b;
    color: #fff;
    border: 1px solid #51727b;
} .btn-outline-primary:hover {
    background: #5f6b7d;
    color: #fff;
    border: 1px solid #5f6b7d;
} .btn-outline-success:hover {
    background: #578971;
    color: #fff;
    border: 1px solid #578971;
} .btn-outline-warning:hover {
    background: #a9986c;
    color: #fff;
    border: 1px solid #a9986c;
} .btn-outline-danger:hover {
    background: #a16b71;
    color: #fff;
    border: 1px solid #a16b71;
} .btn-outline-secondary:active {
    background: #515f6d !important;
    color: #fff !important;
    border: 1px solid #515f6d !important;
} .btn-outline-info:active {
    background: #51727b !important;
    color: #fff !important;
    border: 1px solid #51727b !important;
} .btn-outline-primary:active {
    background: #5080bb !important;
    color: #fff !important;
    border: 1px solid #5080bb !important;
} .btn-outline-success:active {
    background: #578971 !important;
    color: #fff !important;
    border: 1px solid #578971 !important;
} .btn-outline-warning:active {
    background: #a9986c !important;
    color: #fff !important;
    border: 1px solid #a9986c !important;
} .btn-outline-danger:active {
    background: #a16b71 !important;
    color: #fff !important;
    border: 1px solid #a16b71 !important;
} .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border: none;
    background: #6993bd;
    font-weight: normal;
    color: #ffffff;
} .page-link.active, .active > .page-link {
    z-index: 3;
    color: var(--bs-pagination-active-color);
    background-color: #527dbb;
    border-color: #527dbb;
} .deactive {
    display: none !important;
}
/*------scroll bar---------------------*/
::-webkit-scrollbar {
    /* Keep the gutter fixed so expanding the thumb never shifts page content. */
    width: 13px;
    height: 15px;
} ::-webkit-scrollbar-button {
    width: 0px;
    height: 0px;
} ::-webkit-scrollbar-button:single-button:vertical {
    display: block;
    width: 13px;
    height: 13px;
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 7px 7px;
} ::-webkit-scrollbar-button:single-button:vertical:decrement {
    background-image: none;
} .scrollbar-hover::-webkit-scrollbar-button:single-button:vertical:decrement, ::-webkit-scrollbar-button:single-button:vertical:decrement:hover {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath d='M1 6L4 3l3 3' fill='none' stroke='%23525965' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
} ::-webkit-scrollbar-button:single-button:vertical:increment {
    background-image: none;
} .scrollbar-hover::-webkit-scrollbar-button:single-button:vertical:increment, ::-webkit-scrollbar-button:single-button:vertical:increment:hover {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath d='M1 2l3 3 3-3' fill='none' stroke='%23525965' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
} ::-webkit-scrollbar-button:single-button:vertical:hover {
    background-color: rgba(82, 89, 101, 0.12);
} ::-webkit-scrollbar-thumb {
    background: #525965;
    background-clip: padding-box;
    border-radius: 6px;
} ::-webkit-scrollbar-thumb:vertical {
    border: 0 solid transparent;
    border-left-width: 4px;
    border-right-width: 4px;
    transition: border-width 0.15s ease;
} ::-webkit-scrollbar-thumb:vertical:hover {
        background: #525965;
        border-left-width: 0;
        border-right-width: 0;
    } ::-webkit-scrollbar-thumb:vertical:active {
        background: #525965;
        border-left-width: 0;
        border-right-width: 0;
    } ::-webkit-scrollbar-track {
    background: transparent;
    border: 0px none #ffffff;
    border-radius: 50px;
} ::-webkit-scrollbar-track:hover {
        background: transparent;
    } ::-webkit-scrollbar-track:active {
        background: transparent;
    } ::-webkit-scrollbar-corner {
    background: transparent;
} iframe {
    height: calc(100% - 10px);
    width: 100%;
}
/*-----------------image signature upload------------------------ */
.signature-upload {
    position: relative;
    max-width: 205px;
} .signature-upload .signature-edit {
        position: absolute;
        right: 12px;
        z-index: 1;
        top: 10px;
    } .signature-upload .signature-edit input {
            display: none;
        }
/*.signature-upload .signature-edit input + a {
                display: inline-block;
                width: 34px;
                height: 34px;
                margin-bottom: 0;
                border-radius: 100%;
                background: #FFFFFF;
                border: 1px solid transparent;
                box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
                cursor: pointer;
                font-weight: normal;
                transition: all 0.2s ease-in-out;
            }

                .signature-upload .signature-edit input + a:hover {
                    background: #f1f1f1;
                    border-color: #d6d6d6;
                }

                .signature-upload .signature-edit input + a:after {
                   
                    
                    color: #757575;
                    position: absolute;
                    top: 5px;
                    left: 0;
                    right: 0;
                    text-align: center;
                    margin: auto;
                }*/
.signature-upload .signature-preview {
        width: 192px;
        height: 192px;
        position: relative;
        border-radius: 25px;
        border: 6px solid #F8F8F8;
        box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
        background-image: url(../Images/signature.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    } .signature-upload .signature-preview > img {
            width: 100%;
            height: 100%;
            border-radius: 20px;
        } .bi::before, [class^="bi-"]::before, [class*=" bi-"]::before {
    line-height: unset !important;
}
/*----------------end image upload-----------------*/
.fc .fc-toolbar-title {
    font-size: 1rem !important;
    border: none;
    background: #c5ddeb;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #555555;
} .fc-toolbar-chunk {
    color:#fff;
} .fc-toolbar .btn-group {
    color: #fff;
} .top-nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
} .user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px 10px;
    border-radius: 10px;
} .user-avatar img {
    width: 47px;
    border-radius: 50%;
} .user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
} .user-details h5 {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
} .user-details p {
    margin: 0;
    color: #6c757d;
    font-size: 0.85rem;
} .user-info:hover {
    background: lightblue !important;
} .modal-footer .btn{
    min-width : 100px;
}
/* Mobile Toggle Button */
.toggle-sidebar-mobile {
    display: none;
    color: #193d63;
    background: #eef4fb;
    width: 40px;
    border: 0;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.2s;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem !important;
} .toggle-sidebar-mobile-close {
    display: none;
    background: none;
    color: #4698ef;
    border: 0;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.2s;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: absolute;
    left: 20px;
    top: 10px;
    right: auto;
} .toggle-sidebar-mobile:hover {
    color: #0f3a5c;
    background: #dcecff;
} .toggle-sidebar-mobile-close:hover {
    color: #bcdbff;
} .dropdown-menu {
    z-index: 1024;
} .dropdown-menu .btn {
    width: 100% !important;
} a {
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
    text-decoration: none;
} @media(max-width:992px) {
    .toggle-sidebar-mobile-close, .toggle-sidebar-mobile {
        display: block;
    }

    .user-details {
        display: none;
    }

    .fc .fc-toolbar {
        align-items: center;
        display: grid;
        justify-content: space-between;
        align-self: center;
    }

        .fc .fc-toolbar .btn-group {
            width: 100%;
            padding-top: 5px;
            padding-bottom: 5px;
        }
} @media (max-width: 768px) {
    .top-nav-left, .top-nav-right {
        justify-content: space-between;
    }
    .top-nav-right .dropdown-menu-right {
        width: 82%;
    }
        .user-info {
        justify-content: flex-end;
    }
}
