@font-face {
    font-family: "IRANYekan";
    src: url('fonts/iranyekan/ttf/iranyekanwebregular(fanum).ttf') format('truetype'),
    url('fonts/iranyekan/woff/iranyekanwebregular(fanum).woff') format('woff');

}

@font-face {
    font-family: 'yekan';
    src: url(fonts/yekan/Yekan.eot);
    src: url(fonts/yekan/Yekan.eot?#iefix) format("embedded-opentype"), url(fonts/yekan/Yekan.woff) format("woff"), url(fonts/yekan/Yekan.ttf) format("truetype"), url(fonts/yekan/Yekan.svg#BYekan) format("svg");
    font-weight: normal;
    font-style: normal
}

* {
    font-family: "IRANYekan";
}

.aside-menu .menu-nav > .menu-item > .menu-heading .menu-text, .aside-menu .menu-nav > .menu-item > .menu-link .menu-text {
    font-size: 16px !important;
}

th {
    font-weight: 900 !important;
}

.select2-selection--single {
    background: #f3f6f9 !important;
    border-color: #f3f6f9 !important;
}

td {
    padding-top: 0px !important;
    padding-bottom: 0px !important;

}

li.menu-item-submenu:hover i {
    color: #3699FF !important;
}

li.menu-item-submenu i {
    color: #3F4254 !important;
}

li.menu-item-active i {
    color: #3699FF !important;
}

.menu-nav {
    padding-top: 0px !important;
}

.aside-menu {
    margin-top: 0px !important;
}

.label-inline {
    height: auto !important;
    padding: 2px !important;
}

.editable-input {
    border: 1px solid #ced4da;
    padding: 5px;
    background-color: white;
    color: #495057;
}

/* Readonly Input Style */
.readonly-input {
    border: none;
    background-color: #f8f9fa;
    padding: 5px;
    color: #6c757d;
}

.top-bar-notification-count {
    border-radius: 100% !important;
    margin-left: -10px !important;
    margin-bottom: 30px !important;
}

.font-size-h7 {
    font-size: 1rem !important;
}

.crm-calendar {
    border: 1px solid #bfbfbf !important;
    background: #f6f6f6 !important;
    border-radius: 10px !important;
}

.crm-calendar-bordered {
    border: 2px solid #3699FF !important;
}

@media (max-width: 767.98px) {
    .crm-calendar {
        overflow-x: hidden;
        padding: 0.35rem;
    }

    /* هدر روزهای هفته در موبایل لازم نیست — هر روز یک ردیف کامل است */
    .crm-calendar > .row.col-12.px-0.mx-0:first-of-type {
        display: none !important;
    }

    /* هر هفته به‌جای ۷ ستون، لیست عمودی */
    .crm-calendar > .row.col-12.px-0.mx-0 {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        width: 100%;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* سلول‌های خالی ابتدا/انتهای ماه */
    .crm-calendar > .row.col-12.px-0.mx-0 > .col.px-1.mx-0:not(.row) {
        display: none !important;
    }

    /* هر روز تمام‌عرض */
    .crm-calendar > .row.col-12.px-0.mx-0 > .row.col.px-1.mx-0 {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
        margin-bottom: 0.4rem;
    }

    .crm-calendar > .row.col-12.px-0.mx-0 > .row.col.px-1.mx-0 > [class*="bg-light-"] {
        margin-bottom: 0 !important;
    }

    .crm-calendar .font-size-h3 {
        font-size: 1.35rem !important;
    }
}

div.purple_level {
    background: #584da0 !important;
}

div.green_level {
    background: #229c90 !important
}

td.grey {
    background: grey !important;
}

.label-block {
    width: 100% !important;
    display: block !important;
    border-radius: 5px !important;
    text-align: center;
}

@media (min-width: 1400px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        max-width: 2340px !important;
    }
}

.table.table-separate th:first-child, .table.table-separate td:first-child {
    padding-left: 2px !important;
    padding-right: 2px !important;
    text-align: center !important;
}

.table.table-separate th:last-child, .table.table-separate td:last-child {
    padding-left: 1rem !important;
}
