﻿@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir.eot');
    src: url('../fonts/Vazir.eot?#iefix') format('embedded-opentype'), url('../fonts/Vazir.woff2') format('woff2'), url('../fonts/Vazir.woff') format('woff'), url('../fonts/Vazir.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Bold.eot');
    src: url('../fonts/Vazir-Bold.eot?#iefix') format('embedded-opentype'), url('../fonts/Vazir-Bold.woff2') format('woff2'), url('../fonts/Vazir-Bold.woff') format('woff'), url('../fonts/Vazir-Bold.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Light.eot');
    src: url('../fonts/Vazir-Light.eot?#iefix') format('embedded-opentype'), url('../fonts/Vazir-Light.woff2') format('woff2'), url('../fonts/Vazir-Light.woff') format('woff'), url('../fonts/Vazir-Light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Medium.eot');
    src: url('../fonts/Vazir-Medium.eot?#iefix') format('embedded-opentype'), url('../fonts/Vazir-Medium.woff2') format('woff2'), url('../fonts/Vazir-Medium.woff') format('woff'), url('../fonts/Vazir-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Thin.eot');
    src: url('../fonts/Vazir-Thin.eot?#iefix') format('embedded-opentype'), url('../fonts/Vazir-Thin.woff2') format('woff2'), url('../fonts/Vazir-Thin.woff') format('woff'), url('../fonts/Vazir-Thin.ttf') format('truetype');
    font-weight: 100;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Black.eot');
    src: url('../fonts/Vazir-Black.eot?#iefix') format('embedded-opentype'), url('../fonts/Vazir-Black.woff2') format('woff2'), url('../fonts/Vazir-Black.woff') format('woff'), url('../fonts/Vazir-Black.ttf') format('truetype');
    font-weight: 900;
}

/*---------------------------------- End of fonts ---------------------------------- */
#backToTop {
    display: none; /* ابتدا مخفی */
    position: fixed;
    bottom: 60px;
    left: 40px;
    z-index: 1000;
    font-size: 18px;
    padding: 10px 15px;
    border: 1px solid #c278e5;
    border-radius: 5px;
    background-color: #6e4084;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: opacity 0.3s;
}

#backToTop:hover {
    background-color: #4e2b64;
}
/* ریسپانسیو موبایل */
@media (max-width: 768px) {
    #backToTop {
        bottom: 60px;
        left: 20px;
        font-size: 16px;
        padding: 8px 12px;
    }
}
/* منو */
.menufix {
    position: fixed; /* منو با اسکرول بالا ثابت میمونه */
    top: 0; /* بچسبه به بالای صفحه */
    /*    background: #f8f9fa;
*/ padding: 10px;
    z-index: 9999; /* بالاتر از کارت‌ها باشه */
    border-bottom: 1px solid #ddd;
    left: 0;
    width: 100%;
}

    /* لینک‌ها */
    .menufix a {
        margin: 0 10px;
        text-decoration: none;
        font-weight: bold;
    }


/* اسکرول نرم */
html {
    scroll-behavior: smooth;
}

.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #f7f7f7;
    border-top: 1px solid #dee2e6;
    padding: 10px;
    text-align: center;
    z-index: 1050; /* بالاتر از سایدبار و منو */
}

/* برای سایز موبایل */
@media (max-width: 768px) {
    .fixed-footer {
        padding: 15px;
    }

        .fixed-footer button {
            width: 90%; /* دکمه عریض‌تر بشه روی موبایل */
            font-size: 16px;
        }
}

/* حالت موبایل (تا 992px) */
@media (max-width: 991px) {
    .chat-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding: 0.75rem 1rem;
        z-index: 1050;
    }

    .chat-body {
        padding-bottom: 90px; /* برای اینکه متن‌ها زیر فوتر نرن */
    }
}

/* حالت دسکتاپ (از 992px به بالا) */
@media (min-width: 992px) {
    .chat-footer {
        position: sticky;
        bottom: 0;
        background-color: #fff;
        border-top: 1px solid #ddd;
        padding: 1rem;
        z-index: 900;
        width: 100%;
        /*        margin: auto;
*/
    }

    /* اگر کانتینت کنار سایدبار باشه */
    .chat-container {
        /*margin-right: 250px;*/ /* عرض سایدبار */
    }
}

body {
    font-family: 'Vazir', sans-serif !important;
}

.ltr {
    direction: ltr;
}


ul {
    padding-inline-start: 0px;
}

.dropdown-item {
    text-align: right;
}

.dropdown-footer, .dropdown-header {
    text-align: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    padding-left: .5rem;
}


/*------------------------------------ contacts-list ------------------------------------*/

.contacts-list-img {
    float: right;
}

.contacts-list-info {
    margin-right: 45px;
    margin-left: 0;
}


/* sidebar */

.sidebar {
    direction: ltr;
}

    .sidebar > div:first-child {
        direction: rtl;
    }

.control-sidebar, .control-sidebar:before {
    left: -250px;
    right: auto;
    transition: left .3s ease-in-out;
}

.control-sidebar-slide-open .control-sidebar, .control-sidebar-slide-open .control-sidebar:before {
    left: 0;
    right: auto;
}

.small-box .icon {
    right: auto;
    left: 10px;
}

.nav-sidebar .nav-link > p > .right {
    left: 1rem;
    right: auto;
}

.nav-sidebar > .nav-item .nav-icon {
    margin-right: 0;
    margin-left: .2rem;
}

@media (min-width: 992px) {
    .sidebar-mini.sidebar-collapse .content-wrapper, .sidebar-mini.sidebar-collapse .main-footer, .sidebar-mini.sidebar-collapse .main-header {
        margin-right: 4.6rem;
        margin-left: 0;
    }
}

@media (min-width: 992px) {
    .sidebar-mini.sidebar-collapse .content-wrapper, .sidebar-mini.sidebar-collapse .main-footer, .sidebar-mini.sidebar-collapse .main-header {
        margin-left: 0rem !important;
        margin-right: 4.6rem !important;
        z-index: 100;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar, .sidebar-mini.sidebar-collapse .main-sidebar:before {
        margin-right: 0;
        width: 4.6rem;
    }
}


@media (min-width: 768px) {
    .content-wrapper, .main-footer, .main-header {
        transition: margin-right .3s ease-in-out;
        margin-right: 250px;
        margin-left: 0;
        z-index: 3000;
    }
}

@media (max-width: 991.98px) {
    .main-sidebar, .main-sidebar:before {
        box-shadow: none !important;
        margin-right: -250px;
        margin-left: 0;
    }

    .content-wrapper, .content-wrapper:before, .main-footer, .main-footer:before, .main-header, .main-header:before {
        margin-right: 0;
    }

    .sidebar-open .main-sidebar, .sidebar-open .main-sidebar:before {
        margin-right: 0;
        z-index: 4000;
    }
}

.sidebar-collapse .main-sidebar, .sidebar-collapse .main-sidebar:before {
    margin-right: -250px;
}

.main-sidebar {
    left: auto;
    right: 0;
}

/* Cards */

.card-header > .card-tools {
    right: auto;
    left: 1rem;
}

.user-block img {
    float: right;
}

.attachment-block .attachment-img {
    float: right;
}

.attachment-block .attachment-pushed {
    margin-left: 0px;
    margin-right: 110px;
}

.card-comments .card-comment img, .img-lg, .img-md, .img-sm, .user-block.user-block-sm img {
    float: right;
}

.card-comments .comment-text {
    margin-right: 40px;
    margin-left: 0;
}

.card-comments .card-comment img + .img-push, .img-sm + .img-push, .user-block.user-block-sm img + .img-push {
    margin-left: 0px;
    margin-right: 40px;
}

.user-block .comment, .user-block .description, .user-block .username {
    margin-right: 50px;
    margin-left: 0px;
}

.btn-group-vertical {
    align-items: center;
}


/*------------------------- Form ----------------------------*/
.select2-container .select2-search--inline {
    float: right;
}

.select2-container--default .select2-search--inline .select2-search__field {
    text-align: right;
}

/*----------------------- Extra Page ---------------------------*/
.error-page > .headline {
    float: right;
}

.error-page > .error-content {
    margin-right: 190px;
    margin-left: 0;
}

.lockscreen-image {
    left: auto;
    right: -10px;
}

.lockscreen-credentials {
    margin-left: 0px;
    margin-right: 70px;
}

.nav {
    padding-inline-start: 0px !important;
}

/*---------------------------------- Persian Date Picker ---------------------------------- */

.datepicker-plot-area {
    font-family: 'Vazir', sans-serif;
}

.modal-confirm {
    color: #636363;
    width: 300px;
    height: 200px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -150px;
    margin-top: -150px;
}

    .modal-confirm .modal-content {
        padding: 10px;
        border-radius: 5px;
        border: none;
        text-align: center;
        font-size: 14px;
    }

    .modal-confirm .modal-header {
        border-bottom: none;
        position: relative;
    }

    .modal-confirm h4 {
        text-align: center;
        font-size: 18px;
        margin: 10px 0 -5px;
    }

    .modal-confirm .close {
        position: absolute;
        top: -5px;
        right: -2px;
    }

    .modal-confirm .modal-body {
        color: #999;
    }

    .modal-confirm .modal-footer {
        border: none;
        text-align: center;
        border-radius: 5px;
        font-size: 13px;
        padding: 10px 15px 25px;
    }

        .modal-confirm .modal-footer a {
            color: #999;
        }

    .modal-confirm .icon-box {
        width: 80px;
        height: 80px;
        margin: 0 auto;
        border-radius: 50%;
        z-index: 9;
        text-align: center;
        border: 3px solid #f15e5e;
    }

        .modal-confirm .icon-box i {
            color: #f15e5e;
            font-size: 36px;
            display: inline-block;
            margin-top: 13px;
        }

    .modal-confirm .btn, .modal-confirm .btn:active {
        color: #fff;
        border-radius: 4px;
        background: #60c7c1;
        text-decoration: none;
        transition: all 0.4s;
        line-height: normal;
        min-width: 80px;
        border: none;
        min-height: 30px;
        border-radius: 3px;
        margin: 0 5px;
    }

    .modal-confirm .btn-secondary {
        background: #c1c1c1;
    }

        .modal-confirm .btn-secondary:hover, .modal-confirm .btn-secondary:focus {
            background: #a8a8a8;
        }

    .modal-confirm .btn-danger {
        background: #f15e5e;
    }

        .modal-confirm .btn-danger:hover, .modal-confirm .btn-danger:focus {
            background: #ee3535;
        }

.trigger-btn {
    display: inline-block;
    margin: 50px auto;
}

.hr-sect {
    display: flex;
    flex-basis: 100%;
    align-items: center;
    color: rgba(0, 0, 0, 0.35);
    margin: 8px 0px;
}

    .hr-sect:before,
    .hr-sect:after {
        content: "";
        flex-grow: 1;
        background: rgba(0, 0, 0, 0.35);
        height: 1px;
        font-size: 0px;
        line-height: 0px;
        margin: 0px 8px;
    }

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance: textfield; /* Firefox */
}



.card__box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    box-shadow: 0px 10px 10px 0px rgba(120,120,120,0.50);
    background-color: white;
    padding: 25px;
    margin:10px 0px 30px 0px !important;
    border:1px solid #c8c8c8;
    background-color:white;
}

.logo__icon {
    /*width: 100px;*/
    height: 70px;
}

.card__img__img {
    width: 150px;
}

.card__box__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.card__img__box {
    width: 100%;
    height: 2px;
    margin-bottom: 3.5rem;
}

.card__img__icon {
    display: flex;
    justify-content: center;
    transform: translateY(-50%);
}

.card__text_title {
    font-size: 25px;
}

.card__text_sub {
    font-size: 15px;
    color: #999999;
    font-weight: 900;
}

.divider {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    height: 2px;
    color: #D5D5D5;
    background-color: #D5D5D5;
    margin: 10px 0px 10px 00px;
}

.card__btn {
    display: flex;
    justify-content: space-between;
}

/*.btn__card {*/
    /* استایل دکمه ها  */
    /*padding: 10px 38px;*/
    /*width: 172px;*/
    /*margin: 20px 10px 10px;*/
/*    font-size: 20px;
*/    /*border-radius: 6px;
    border: none;
    cursor: pointer;
}*/

/*.btn_pri {
    background-color: #FF9600;
    color: white;
}

.btn_sec {
    background-color: white;
    color: #FF9600;
    border: 2px solid #FF9600;
}

    .btn_sec:hover {
        background-color: #FF9600;
        color: white;
        transition: all ease-in-out 300ms;
    }
*/

.progress {
    padding: 4px;
    border-radius: 25px;
    height: 25px !important;
    height: auto;
    overflow: visible;
}

.progress-bar {
    border-radius: 25px;
    padding: 5px 0px;
    overflow: visible;
    position: relative;
    font-size: 13.5px;
    max-width: 100%;
    height: 100%;
    min-width: 0%;
}

.progress-circle {
    width: 100px;
    height: 100px;
    background: none;
    position: relative;
}
.progress-circle::after {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 6px solid #eee;
    position: absolute;
    top: 0;
    left: 0;
}
.progress-circle .progress-left {
    left: 0;
}

.progress-circle .progress-bar {
    width: 100%;
    height: 100%;
    background: none;
    border-width: 6px;
    border-style: solid;
    position: absolute;
    top: 0;
}
.progress-circle .progress-left .progress-bar {
    left: 100%;
    border-top-right-radius: 80px;
    border-bottom-right-radius: 80px;
    border-left: 0;
    -webkit-transform-origin: center left;
    transform-origin: center left;
}
.progress-circle .progress-right {
    right: 0;
}

.progress-circle .progress-right .progress-bar {
        left: -100%;
        border-top-left-radius: 80px;
        border-bottom-left-radius: 80px;
        border-right: 0;
        -webkit-transform-origin: center right;
        transform-origin: center right;
}
.progress-circle .progress-value {
    position: absolute;
    top: 0;
    left: 0;
}

.circular-progress {
    position: relative;
    height: 100px;
    width: 100px;
    border-radius: 50%;
    background: conic-gradient(#00FFFF 3.6deg, #ededed 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.circular-progress::before {
    content: "";
    position: absolute;
    height: 70px;
    width: 70px;
    border-radius: 50%;
    background-color: #fff;
}
.progress-value {
    position: relative;
    font-size: 20px;
    font-weight: 400;
    color: black;
    margin-top:10px
}
.circular-container {
  /*  width: 220px;
    padding: 50px 0;*/
    border-radius: 8px;
    background: #fff;
    row-gap: 5px;
    margin:10px 0px 0px 0px;
}



.drum {
    background: rgb(236,56,188);
    background: linear-gradient(90deg, rgba(236,56,188,1) 0%, rgba(3,0,30,1) 100%);
}

.comp {
    background: rgb(28,181,224);
    background: linear-gradient(90deg, rgba(28,181,224,1) 0%, rgba(0,0,70,1) 100%);
}

.tray {
    background: rgb(82,194,52);
    background: linear-gradient(90deg, rgba(82,194,52,1) 0%, rgba(6,23,0,1) 100%);
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.progress-tray {
    border-radius: 50px;
}

.drum_value, .tray_value, .comp_value {
    position: absolute;
    right: -12px;
    top: 130%;
    background-color: #0f172a !important;
    padding: 3px;
    border-radius: 8px;
    font-size: 14px !important;
}

    .drum_value::after, .tray_value::after, .comp_value::after {
        content: "";
        position: absolute;
        display: block;
        width: 10px;
        height: 10px;
        top: -4px;
        left: 40%;
        transform: rotate(45deg);
        background-color: #0f172a;
    }


.progress-tray {
    border-radius: 50px;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    padding-left: 0 !important;
}



.pulse {
    /*margin: 100px;*/
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
}

    .pulse.error {
        background: rgba(255, 0, 0, 1);
        box-shadow: 0 0 0 rgba(255, 0, 0, 0.4);
        animation: error-pulse 1.5s infinite ease-in;
    }

    .pulse.success {
        background: rgb(0, 255, 47);
        box-shadow: 0 0 0 rgba(0, 255, 47, 0.4);
        animation: success-pulse 1.5s infinite ease-in;
    }

@keyframes error-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.8);
    }

    50% {
        box-shadow: 0 0 0 20px rgba(255, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

@keyframes success-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 47, 0.8);
    }

    50% {
        box-shadow: 0 0 0 20px rgba(0, 255, 47, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 47, 0);
    }
}

.loading-box {
    background: #00000090;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: fixed;
    inset: 0;
    transition: .3s;
    z-index: 2000;
}

.loader {
    width: 65px;
    aspect-ratio: 1;
    position: relative;
}

    .loader:before,
    .loader:after {
        content: "";
        position: absolute;
        border-radius: 50px;
        box-shadow: 0 0 0 3px inset #fff;
        animation: l4 2.5s infinite;
    }

    .loader:after {
        animation-delay: -1.25s;
    }



.loader2 {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    position: relative;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
.loader2:before,
.loader2:after {
    content: "";
    position: absolute;
    border-radius: 50px;
    box-shadow: 0 0 0 3px inset #fff;
    animation: l4 2.5s infinite;
}

.loader2:after {
    animation-delay: -1.25s;
}


