﻿/* =========================================
   IRANSansWeb - Normal
   ========================================= */
@font-face {
    font-family: 'IRANSansWeb';
    src: url('/fonts/IRANSansWeb(FaNum).ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* =========================================
   IRANSansWeb - Bold
   ========================================= */
@font-face {
    font-family: 'IRANSansWeb';
    src: url('/fonts/IRANSansWeb(FaNum)_Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* کلاس عمومی برای استفاده از فونت */
.iran-sans {
    font-family: 'IRANSansWeb', sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
p, span, div, a, li, button, input, textarea, select, label {
    font-family: 'IRANSansWeb', sans-serif !important;
}

.bg-body-secondary {
    background-color: #242745 !important;
    color: #c9c8ce !important;
}

.sidebar-wrapper .nav-treeview > .nav-item > .nav-link.active {
    color: var(--lte-sidebar-submenu-active-color);
    background: linear-gradient(72.47deg, rgba(115, 103, 240, 0.7) 22.16%, #7367f0 76.47%) !important;
}

.d-ltr {
    direction: ltr !important;
}
/*//-------------------------------------------------------------*/

.form-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.validation-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}



.spinner {
    display: none;
    margin-right: 10px;
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


.card-header {
    padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x) !important;
}

/* برای هدرها */
.k-grid th.k-header {
    text-align: center !important;
    vertical-align: middle !important;
}

.k-pager-numbers .k-selected {
    border-radius: 8px !important;
}
/*-------------------------*/


.btn {
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-primary {
    background: #7367f0 !important;
    border-color: #7367f0 !important;
    color: #fff !important;
}

    .btn-primary:hover {
        background: white !important;
        border-color: #4338CA !important;
        color: #4338CA !important;
    }

    .btn-primary:focus,
    .btn-primary:active {
        background: #4338CA !important;
        border-color: #4338CA !important;
        color: #fff !important;
    }

.btn-outline-primary {
    color: #7367f0 !important;
    border-color: #7367f0 !important;
    background: transparent !important;
}

    .btn-outline-primary:hover {
        background: #7367f0 !important;
        border-color: #7367f0 !important;
        color: #fff !important;
    }
/*    //-------------------------------------------------------*/

.k-window-titlebar {
    height: 40px !important;
}

th, td {
    text-align: center !important;
}

.btn-action-menu {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

    .btn-action-menu i {
        font-size: 15px !important;
        line-height: 1 !important;
    }
/*----------------------------*/

/*.k-input-label {
    font-size: 14px !important;
}*/
/*.k-floating-label-container {
    width: 100% !important;
}

.k-floating-label {
    right: 10px !important;
}*/
/*-------------------------------------------------------------*/
.k-window-titlebar {
    background: #2E3152;
    color: #fff;
}

.k-window-title {
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
}

.k-window-actions .k-button {
    color: white !important;
}

    .k-window-actions .k-button:hover {
        background: rgba(255,255,255,.15);
    }

.app-wrapper {
    background: #ebebeb;
}


/*-------------------------------------------*/
.k-loading-image {
    color: #7367f0 !important;
}

.k-menu-vertical > .k-separator {
    margin-block: 0 !important;
}

.k-menu .k-item,
.k-menu .k-link {
    outline: none !important;
    box-shadow: none !important;
}

    .k-menu .k-item.k-focus,
    .k-menu .k-link.k-focus,
    .k-menu .k-state-focused {
        outline: none !important;
        box-shadow: none !important;
        border-color: transparent !important;
    }

.btn i,
.btn .bi,
.btn .fa,
.btn .k-icon {
    padding-top: 3px !important;
}

.dropdown-divider {
    height: 5px !important;
    margin: 0 !important;
}

.swal2-container {
    z-index: 999999 !important;
}

.k-switch-on .k-switch-track {
    border-color: #7367f0 !important;
    color: unset;
    background-color: #7367f0 !important;
}

/** {
    font-size: 14px !important
}
*/
.k-window-content {
    background-color: #f7f7f7 !important;
}

.k-grid .k-cell-inner {
    justify-content: center !important;
}

.bg-warning {
    color: #000 !important;
}

/*//-------------------------------------------------------------------------------------*/

.datepicker-container * {
    font-family: IRANSansWeb !important;
}

.datetime-picker.pwt-datepicker-input-element {
    min-width: 200px;
}

.datepicker-plot-area .datepicker-year-view .year-item,
.datepicker-plot-area .datepicker-month-view .month-item {
    background-color: #acdff638;
    box-shadow: 0 3px 7px rgb(0 0 0 / 5%);
    color: #343a40;
    border: 1px solid #ccc;
    border-radius: 3px;
    text-shadow: 0px 0px 1px #959595;
    margin: 1px;
    width: 32.20%
}


.datepicker-plot-area .datepicker-month-view,
.datepicker-plot-area .datepicker-year-view {
    padding-right: 0px;
}

.datepicker-plot-area .toolbox .pwt-btn-submit,
.datepicker-plot-area .toolbox .pwt-btn-today {
    border: 1px solid #ccc;
    border-radius: 4px;
}

.datepicker-plot-area .toolbox .pwt-btn-submit {
    background-color: #28a745;
    color: #fff;
    font-weight: 100;
    border-color: #198754
}


    .datepicker-plot-area .toolbox .pwt-btn-submit:hover {
        background-color: #21993d;
        border-color: #328960;
    }

    .datepicker-plot-area .toolbox .pwt-btn-submit:active {
        color: #fff;
        background-color: #146c43;
        border-color: #13653f;
    }

.datepicker-plot-area .toolbox .pwt-btn-today:hover {
    background-color: #e9ecef !important;
}

.datepicker-plot-area .toolbox .pwt-btn-today:active {
    background-color: #cfcfcf !important;
}


.datepicker-plot-area .datepicker-navigator .pwt-btn-next,
.datepicker-plot-area .datepicker-navigator .pwt-btn-switch,
.datepicker-plot-area .datepicker-navigator .pwt-btn-prev {
    background-color: #acdff6;
    border-radius: 3px;
}

    .datepicker-plot-area .datepicker-navigator .pwt-btn-next:hover,
    .datepicker-plot-area .datepicker-navigator .pwt-btn-prev:hover,
    .datepicker-plot-area .datepicker-navigator .pwt-btn-switch:hover {
        background-color: #007be6;
        color: #fff;
    }


.datepicker-plot-area .datepicker-day-view .month-grid-box {
    border: 1px solid #ccc;
}

    .datepicker-plot-area .datepicker-day-view .month-grid-box .header .header-row {
        background-color: #f9ecc6;
        border-bottom: 1px solid #ccc;
    }


.datepicker-plot-area .toolbox {
    margin-top: -4px;
    margin-bottom: 1px;
}

.datepicker-plot-area .datepicker-day-view,
.datepicker-plot-area .datepicker-month-view,
.datepicker-plot-area .datepicker-year-view {
    margin-top: -4px;
}

.datepicker-plot-area .datepicker-day-view,
.datepicker-plot-area .datepicker-month-view,
.datepicker-plot-area .datepicker-year-view {
    margin-top: -4px;
}



    .datepicker-plot-area .datepicker-year-view .year-item-disable,
    .datepicker-plot-area .datepicker-month-view .month-item-disable {
        color: #b8babb !important;
        text-shadow: none !important;
        cursor: default !important;
    }

    .datepicker-plot-area .datepicker-year-view .year-item.year-item-disable:hover,
    .datepicker-plot-area .datepicker-month-view .month-item.month-item-disable:hover {
        border: 1px solid #ccc;
        border-radius: 3px;
        color: #b8babb !important;
        background-color: #acdff638 !important;
    }


.k-table-td {
    text-align: center !important;
}

/*//-------------------------------------------------------------------------------------*/
/*.f-15 {
    font-size: 15px !important;
}
.f-14 {
    font-size: 14px !important;
}

.f-12 {
    font-size: 12px !important;
}*/
.f-10 {
    font-size: 0.625rem !important;
}
/* 10px */
.f-11 {
    font-size: 0.6875rem !important;
}
/* 11px */
.f-12 {
    font-size: 0.75rem !important;
}
/* 12px */
.f-13 {
    font-size: 0.8125rem !important;
}
/* 13px */
.f-14 {
    font-size: 0.875rem !important;
}
/* 14px */
.f-15 {
    font-size: 0.9375rem !important;
}
/* 15px */
.f-16 {
    font-size: 1rem !important;
}
.f-16-b {
    font-size: 1.05rem;
    font-weight: 600 !important;
}

/* 16px */
.f-17 {
    font-size: 1.0625rem !important;
}
/* 17px */
.f-18 {
    font-size: 1.125rem !important;
}
/* 18px */
.f-20 {
    font-size: 1.25rem !important;
}
/* 20px */
.f-22 {
    font-size: 1.375rem !important;
}
/* 22px */
.f-24 {
    font-size: 1.5rem !important;
}
/* 24px */
.f-28 {
    font-size: 1.75rem !important;
}
/* 28px */
.f-32 {
    font-size: 2rem !important;
}
/* 32px */
.k-input-label, .k-input-inner {
    font-size: 15px !important;
    /*color: #343a40 !important;*/
}
/* برای ولیدیشن فیلدها */
.field-validation-error {
    display: block;
    margin-top: 0px;
    font-size: 13px !important;
    color: #dc3545;
}

.input-validation-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 .15rem rgba(220,53,69,.15);
}
/*-------------------------*/


/*//-------------------------------------------------------------------------------------*/
.swal2-icon-show {
    font-size: 12px !important;
}

.swal2-title {
    font-size: 24px !important;
}

.swal2-html-container {
    font-size: 16px !important;
}
/*//-------------------------------------------------------------------------------------*/
.divider {
    height: 1px;
    background: #e0e0e0;
    margin: 0px;
}

.d-ltr {
    direction: ltr !important;
}
.dashboard-link {
    text-decoration: none;
}

.k-sprite {
    font-size: 16px!important;
}

/*// Truck PlateNumber -------------------------------------------------------------------------------------*/

.k-filter-menu.k-popup, .k-grid-filter-popup.k-popup {
    height: 350px;
    overflow-y: scroll;
}

.orange-alert {
    background: #ffc107;
    /* color: #fff; */
}

.carNumberCartable {
    margin-left: auto;
    margin-right: auto;
    width: 130px;
    background: #f7c81f;
    position: relative;
    height: 30px;
    display: block;
    border-radius: 3px;
    border: solid 1px #000;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    color: black !important;
}

.carNumberIranCartable {
    width: 30px;
    height: 15px;
    background: #f7c81f;
    margin-top: auto;
    font-weight: bold;
    border-radius: 0 3px 3px 0;
    position: absolute;
    color: #000;
    font-size: 10px;
    border-left: solid 1px #000;
    text-align: center;
    vertical-align: top;
    right: 0;
    top: 0;
    line-height: 1.5;
    color: black !important;
}

.carNumberIranRightCartable {
    width: 30px;
    height: 15px;
    background: #f7c81f;
    font-weight: bold;
    border-radius: 0 3px 3px 0;
    position: absolute;
    color: #000;
    font-size: 13px;
    border-left: solid 1px #000;
    text-align: center;
    vertical-align: top;
    right: 0;
    bottom: 0;
    color: black !important;
}

.carNumberImageCartable {
    width: 20px;
    height: 100%;
    border-radius: 3px 0 0 3px;
    position: absolute;
    left: 0;
    top: 0;
}

.ContentCarNumberCartable {
    position: absolute;
    right: 39px;
    top: 5px;
    font-size: 15px;
    color: black !important;
}

.k-checkbox:checked {
    border-color: #3f51b5;
    /* color: #fafafa; */
    background-color: #3f51b5;
}

.btnGetInformation {
    margin-right: 20px;
    margin-top: 30px;
}

/*//-------------------------------------------------------------------------------------*/
.site-border {
    border: 1px solid #e8e5f2 !important;
}

/* override کردن استایل‌های مزاحم */
.k-multicolumncombobox .k-popup {
    width: 600px !important; /* عرض دلخواه */
    max-width: none !important;
}


.text-primary {
    color: #7367f0 !important;
}


/* =========================================
       Chip - شبیه MUI
       ========================================= */
.chip-primary {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: .75rem;
    font-weight: 500;
    background-color: #e8e0ff;
    color: #7654d6;
    border: 1px solid transparent;
    transition: all .2s ease;
    cursor: default;
}

    .chip-primary:hover {
        background-color: #ddd2ff;
        box-shadow: 0 2px 6px rgba(118, 84, 214, .2);
    }

/* دکمه بستن */
.chip-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: rgba(118, 84, 214, .15);
    margin-inline-start: 4px;
    cursor: pointer;
    font-size: .65rem;
    transition: background-color .2s ease;
}

    .chip-close:hover {
        background-color: rgba(118, 84, 214, .3);
    }

/* =========================================
       رنگ‌های مختلف Chip
       ========================================= */
.chip-success {
    background-color: #e8f7f0;
    color: #18a878;
}

    .chip-success .chip-close {
        background-color: rgba(24, 168, 120, .15);
    }

.chip-danger {
    background-color: #fdeef2;
    color: #e85d75;
}

    .chip-danger .chip-close {
        background-color: rgba(232, 93, 117, .15);
    }

.chip-warning {
    background-color: #fff4e5;
    color: #f3a51a;
}

    .chip-warning .chip-close {
        background-color: rgba(243, 165, 26, .15);
    }

.chip-info {
    background-color: #eef4ff;
    color: #4d7cff;
}

    .chip-info .chip-close {
        background-color: rgba(77, 124, 255, .15);
    }

.chip-secondary {
    background-color: #f0edf6;
    color: #6b6885;
}

    .chip-secondary .chip-close {
        background-color: rgba(107, 104, 133, .15);
    }
/* =========================================
       Chip - شبیه MUI
       ========================================= */


/* =========================================
   Container-Fluid - Mobile Full Width
   ========================================= */

@media only screen and (max-width: 767.98px) {
/*    html body .container-fluid {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }*/

    html body .card-body {
        padding: 0 !important;
    }

    .p-0-mobile {
        padding: 0 !important;
    }

    .mt-2-mobile {
        margin-top: 0.5rem !important;  مقدار mt-2 در Bootstrap 
    }
    .m-2-mobile {
        margin: 0.5rem !important; /* مقدار m-2 در Bootstrap = 0.5rem */
    }
}


