﻿.tooltip {
    --bs-tooltip-zindex: 10800;
}
.action-icon-button {
    cursor: pointer;
    opacity: 1;
}

    .action-icon-button:hover {
        opacity: .9;
    }

.hidden-input-file {
    visibility: hidden;
    width: 0;
    height: 0;
}

input[type=text].form-control:not(.login-input)::placeholder, select.form-control option[value=""], select.form-control option[default] {
    color: #bbbbbb !important;
}
.table-key-value th{
    font-weight: bold;
}
.choices {
    margin-bottom: 0 !important;
}
.leaflet-container {
    z-index: 0;
}
.ticket-file {
    position: relative;
    border: none !important;
    box-shadow: none !important;
}
.ticket-file:hover,
.ticket-file:focus,
.ticket-file:active {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}
.ticket-file input {
    width: 0 !important;
    height: 0 !important;
    visibility: hidden
}
.ticket-file-status {
    width: 10px;
    height: 10px;
    background: #f34e4e;
    position: absolute;
    border-radius: 100%;
    left: -2px;
    top: -2px;
    display: none;
}
.search-box label{
    color: gray;
    margin-left: 10px;
}
.search-box input[type=radio]{
    position: relative;
    top: 3px;
}
.main-content {
    min-height: 100vh;
}
.main-content .page-content{
    min-height: 100vh;
}
.btn-no-focus:focus,.btn-no-focus:active {
    outline: none;
    box-shadow: none !important;
}
label.btn[class^=btn-outline]:focus {
    background-color: transparent;
    outline: none !important;
    box-shadow: none !important;
}

body[data-sidebar-size=sm] #sidebar-menu ul li.mm-active .mm-show li.mm-active > a.active {
    color: #383c40!important;
}
body[data-sidebar=brand] #sidebar-menu ul li.mm-active {
    color: #383c40 !important;
}

.choices:has(.form-control-sm) .choices__inner  {
    min-height: calc(1.5em + 0.5rem + 2px) !important;
    padding: 0.25rem 0.5rem !important;
    font-size: 0.7875rem !important;
    border-radius: 0.2rem !important;
}
.choices:has(.form-control-sm) .choices__list--single, .choices[data-type^="select-multiple"]:has(.form-control-sm) .choices__input {
    padding: 0 !important;
    font-size: 0.7875rem !important;
}
[data-toggle='ajax-modal'] {
    cursor: pointer;
}
.select2-container--open {
    z-index: 99999999;
}
.select2-container--bootstrap-5.select2-container--focus .select2-selection, .select2-container--bootstrap-5.select2-container--open .select2-selection {
    border: 1px solid #ced4da !important;
    box-shadow: unset !important;
}
.select2-container--bootstrap-5 .select2-dropdown {
    border-color: #ced4da !important;
}
.bg-orange {
    --bs-bg-opacity: 1;
    background-color: var(--bs-orange) !important;
}

.right-bar.right-bar-sm {
    width: 280px;
    left: -290px;
}

.right-bar.right-bar-md {
    width: 500px;
    left: -510px;
}

.right-bar.right-bar-lg {
    max-width: 750px;
    width: 100%;
    left: calc(-100% + 10px);
}
.modal {
    backdrop-filter: blur(5px)!important;
}
.fade {
    -webkit-transition: opacity 0.1s linear;
    transition: opacity 0.1s linear;
}
.modal.fade .modal-dialog {
    -webkit-transition: -webkit-transform 0.1s ease-out !important;
    transition: -webkit-transform 0.1s ease-out !important;
    transition: transform 0.1s ease-out !important;
    transition: transform 0.1s ease-out, -webkit-transform 0.1s ease-out !important;
    -webkit-transform: scale(0.9) !important;
    transform: scale(0.9) !important;
}
.modal.show .modal-dialog { transform: scale(1) !important; }

.right-bar.open {
    left: 0 !important;
}
.rightbar-overlay {
    z-index: 1006 !important;
    backdrop-filter: blur(5px)!important;
}
.swal2-backdrop-show {
    backdrop-filter: blur(5px)!important;
}
.rightbar-overlay.show {
    display: block;
}
.right-bar {
    z-index: 1007 !important;
    overflow-y: auto;
}
.verti-timeline.order-cycle-items .timeline-item .timeline-box {
    margin: 10px 0 !important;
    margin-right: 30px !important;
}
.verti-timeline.order-cycle-items .timeline-box::before {
    right: -30px;
}
.verti-timeline.order-cycle-items .timeline-box .card-body {
    padding: .8rem !important;
}
.timeline-item.timeline-item-success .timeline-box::before {
    background: var(--bs-success) !important;
}
.timeline-item.timeline-item-success .timeline-box::after {
    border-left-color: var(--bs-success) !important;
}
.timeline-item.timeline-item-success .timeline-box {
    border-color: var(--bs-success) !important;
}
.timeline-item.timeline-item-danger .timeline-box::before {
    background: var(--bs-danger) !important;
}
.timeline-item.timeline-item-danger .timeline-box::after {
    border-left-color: var(--bs-danger) !important;
}
.timeline-item.timeline-item-danger .timeline-box {
    border-color: var(--bs-danger) !important;
}
.timeline-item.timeline-item-secondary .timeline-box::before {
    background: var(--bs-secondary) !important;
}
.timeline-item.timeline-item-secondary .timeline-box::after {
    border-left-color: var(--bs-secondary) !important;
}
.timeline-item.timeline-item-secondary .timeline-box {
    border-color: var(--bs-secondary) !important;
}
.timeline-item.timeline-item-info .timeline-box::before {
    background: var(--bs-info) !important;
}
.timeline-item.timeline-item-info .timeline-box::after {
    border-left-color: var(--bs-info) !important;
}
.timeline-item.timeline-item-info .timeline-box {
    border-color: var(--bs-info) !important;
}
.timeline-item.timeline-item-primary .timeline-box::before {
    background: var(--bs-primary) !important;
}
.timeline-item.timeline-item-primary .timeline-box::after {
    border-left-color: var(--bs-primary) !important;
}
.timeline-item.timeline-item-primary .timeline-box {
    border-color: var(--bs-primary) !important;
}
.timeline-item.timeline-item-warning .timeline-box::before {
    background: var(--bs-warning) !important;
}
.timeline-item.timeline-item-warning .timeline-box::after {
    border-left-color: var(--bs-warning) !important;
}
.timeline-item.timeline-item-warning .timeline-box {
    border-color: var(--bs-warning) !important;
}
.fa, .fab, .fad, .fal, .far, .fas {
    top: 2px;
    position: relative;
}
.order-detail-card {
    background: #FAFAFA;
    border-radius: 8px;
    padding: 10px;
    height: 100%;
}
.order-detail-card .order-detail-card-header {
    border-bottom: 1px solid #0000001F;
    padding: 10px;
}

.order-detail-card .order-detail-card-body {
    padding: 10px;
}
.order-detail-list-style {
    list-style-type: "#";
    list-style-position: outside;
}
.order-detail-list-style li {
    line-height: 2.2;
    margin-bottom: 2px;
}
.order-detail-list-style li::marker {
    content: ' #   ';
}
.order-detail-card .order-detail-card-body p {
    line-height: 2.2;
    margin-bottom: 2px;
}
.nav-link {
    cursor: pointer;
}

/* CSS switch-three-Three-State */
input[switch-three] {
    display: none;
}
input[switch-three] + label {
    font-size: 1em;
    line-height: 1;
    width: 56px;
    height: 24px;
    background-color: #e2e5e8;
    background-image: none;
    border-radius: 2rem;
    padding: 0.16667rem;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    position: relative;
    font-weight: 500;
    -webkit-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}
input[switch-three] + label:before {
    color: #343a40;
    content: attr(data-off-label);
    display: block;
    font-family: inherit;
    font-weight: 500;
    font-size: 12px;
    line-height: 21px;
    position: absolute;
    left: 1px;
    margin: 3px;
    top: -2px;
    text-align: center;
    min-width: 1.66667rem;
    overflow: hidden;
    -webkit-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}
input[switch-three] + label:after {
    content: "";
    position: absolute;
    right: 3px;
    background-color: #f5f6f8;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 2rem;
    height: 20px;
    width: 20px;
    top: 2px;
    -webkit-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}
input[switch-three]:checked + label {
    background-color: #038edc;
}

input[switch-three]:checked + label {
    background-color: #038edc;
}
input[switch-three]:checked + label:before {
    color: #fff;
    content: attr(data-on-label);
    left: auto;
    right: 3px;
}
input[switch-three]:checked + label:after {
    right: 33px;
    background-color: #f5f6f8;
}
input[switch-three][data-indeterminate=true] + label:after {
    display: none !important;
}
input[switch-three][data-indeterminate=true] + label:after {
    content: attr(data-indeterminate-label) !important;
}
input[switch-three=bool] + label {
    background-color: #f34e4e;
}

input[switch-three=bool] + label:before, input[switch-three=bool]:checked + label:before,
input[switch-three=default]:checked + label:before {
    color: #fff;
}

input[switch-three=bool]:checked + label {
    background-color: #51d28c;
}

input[switch-three=default]:checked + label {
    background-color: #a2a2a2;
}

input[switch-three=primary]:checked + label {
    background-color: #038edc;
}

input[switch-three=success]:checked + label {
    background-color: #51d28c;
}

input[switch-three=info]:checked + label {
    background-color: #5fd0f3;
}

input[switch-three=warning]:checked + label {
    background-color: #f7cc53;
}

input[switch-three=danger]:checked + label {
    background-color: #f34e4e;
}

input[switch-three=dark]:checked + label {
    background-color: #343a40;
}

.square-switch-three {
    margin-left: 7px;
}
.square-switch-three input[switch-three] + label, .square-switch-three input[switch-three] + label:after {
    border-radius: 4px;
}
.letter-spacing-1 {
    letter-spacing: 1px;
}

.MotorPlate_normalReadOnly__eWRQP {
    background-image: url(images/motor-plate-read-only.svg)
}


.MotorPlate_motorPlate__wrapper__GE9n0 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 71%;
    height: 100%;
    padding: 0 4px;
    direction: ltr
}

.MotorPlate_motorPlate__wrapper__GE9n0 input {
    all: unset;
    border-radius: 5px;
    direction: ltr;
    color: #424242;
    background: #fff;
    text-align: center;
    height: 26px;
    font-size: 18px!important
}

.MotorPlate_motorPlate__wrapper__GE9n0 input:-moz-read-only {
    background: #f5f5f5;
    cursor: auto;
    color: #424242
}

.MotorPlate_motorPlate__wrapper__GE9n0 input:read-only {
    background: #f5f5f5;
    cursor: auto;
    color: #424242
}

.MotorPlate_motorPlate__wrapper__GE9n0 input::placeholder {
    color: #bdbdbd
}

.MotorPlate_motorPlate__wrapper__GE9n0 input:first-of-type {
    width: 50px
}

.MotorPlate_motorPlate__wrapper__GE9n0 input:last-of-type {
    width: 100%;
    margin-left: 11px
}

.MotorPlate_readOnlyValues__nyrOf {
    padding-left: 79px
}

.MotorPlate_readOnlyValues__nyrOf span:first-of-type,.MotorPlate_readOnlyValues__nyrOf span:last-of-type {
    margin: 0
}

.MotorPlate_readOnlyValues__nyrOf span:first-of-type {
    min-width: 56px
}

.MotorPlate_readOnlyValues__nyrOf span:last-of-type {
    width: 100%
}

.CarPlate_normalReadOnly__Dgtd8 input {
    font-size: 18px!important
}

.CarPlate_normalReadOnlyWithOwnerInfo__Z8XxR {
    background-image: url(images/car-plate-read-only.svg);
    display: flex;
    flex-direction: column
}

.CarPlate_readOnlyValues__2SgXX {
    display: flex;
    align-items: center;
    direction: ltr;
    min-height: 28px;
    padding-left: 33px
}

.CarPlate_readOnlyValues__2SgXX span {
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.56;
    letter-spacing: normal;
    text-align: center;
    color: #424242;
    margin-right: 15px
}

.CarPlate_readOnlyValues__2SgXX span:last-of-type {
    margin: 0 0 0 25px
}

.CarPlate_nickname__KnNYA {
    font-size: 11px;
    font-weight: 400;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.55;
    letter-spacing: normal;
    text-align: right;
    color: #757575;
    margin-right: 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.CarPlate_isSelected___wX2L {
    border: 2px solid #008fff!important
}

.CarPlate_licensePlate__input__lHORr {
    border: none;
    outline: none;
    font-size: 14px!important;
    border-radius: 5px;
    max-height: 38px;
    text-align: center;
    padding: 6px 5px!important;
    direction: ltr;
    color: #424242;
    letter-spacing: 1.5px
}

.CarPlate_licensePlate__input__lHORr:-moz-read-only {
    background: #f5f5f5;
    cursor: auto;
    color: #424242
}

.CarPlate_licensePlate__input__lHORr:read-only {
    background: #f5f5f5;
    cursor: auto;
    color: #424242
}

.CarPlate_licensePlate__input__lHORr::placeholder {
    color: #bdbdbd
}

.CarPlate_hasError__BbQc2 {
    border-radius: 5px;
    border: 1px solid #df1d17!important
}

.CarPlate_isSelectable__0IrJL {
    cursor: pointer;
    border: 2px solid transparent;
    box-sizing: border-box!important;
    background-size: cover!important
}

.CarPlate_isSelectable__0IrJL:hover {
    border-color: #040a1f
}


.CarPlate_licensePlate__wrapper__InzxT {
    display: flex;
    width: 90%;
    height: 100%;
    direction: ltr
}

.CarPlate_licensePlate__left__zte5P {
    padding: 4px 4px 4px 3px;
    width: 74.056%
}

.CarPlate_licensePlate__Mr5Wg input {
    font-size: 16px!important
}

.CarPlate_licensePlate__Mr5Wg input::placeholder {
    color: #dfdfdf!important;
    opacity: 1
}

.CarPlate_licensePlate__right__Ax4WT .MuiInputBase-root {
    color: #424242!important
}

.CarPlate_licensePlate__leftInputsWrapper__MLOHK {
    display: flex;
    width: 100%;
    height: 100%
}

.CarPlate_licensePlate__left__zte5P .MuiInputBase-root {
    color: #424242!important
}

.CarPlate_licensePlate__inputWrapper__uh5ip:nth-child(3) {
    flex: 1 1 36%;
    max-width: 36%
}

.CarPlate_licensePlate__inputWrapper__uh5ip:nth-child(2) {
    margin: 0 4px
}

.CarPlate_licensePlate__Mr5Wg input {
    width: 100%;
    border-radius: 5px;
    height: 100%;
    text-align: center;
    padding: 8px 4px!important;
    direction: ltr;
    color: #424242;
    letter-spacing: 1.5px
}

.CarPlate_licensePlate__Mr5Wg input:-moz-read-only {
    background: #f5f5f5;
    cursor: auto;
    color: #424242
}

.CarPlate_licensePlate__Mr5Wg input:read-only {
    background: #f5f5f5;
    cursor: auto;
    color: #424242
}

.CarPlate_licensePlate__Mr5Wg input::placeholder {
    color: #bdbdbd
}

.CarPlate_licensePlate__right__Ax4WT {
    padding: 12px 4px 4px;
    width: 25.94%
}

.CarPlate_licensePlate__Mr5Wg .MuiFormControl-root.MuiTextField-root,.CarPlate_licensePlate__Mr5Wg .MuiInputBase-root.MuiInputBase-formControl {
    height: 100%
}

.CarPlate_twoDigitPlateNumber__UZBVT input {
    min-width: 33px;
    height: 39px;
    margin: 0;
    padding: 4px;
    border-radius: 5px
}

.CarPlate_threeDigitPlateNumber__C8r8j input {
    min-width: 50px;
    height: 39px;
    margin: 0;
    padding: 4px;
    border-radius: 5px
}

.CarPlate_plateCharacter__gYeG4 {
    display: flex;
    margin: 0 4px;
    min-width: 57px
}

.CarPlate_plateCharacter__gYeG4>div>div {
    margin-top: 0;
    margin-bottom: 0
}

.CarPlate_plateCharacter__gYeG4>div>div>div {
    padding: 0!important
}

.CarPlate_plateCharacter__gYeG4>div>div>div input {
    height: auto;
    position: relative;
    flex-grow: 0;
    width: 70%
}

.CarPlate_plateCharacter__gYeG4>div>div>div>div {
    width: 15px
}

.CarPlate_plateCharacter__gYeG4>div>div fieldset {
    border: none
}

.CarPlate_normalReadOnly__Dgtd8 {
    background-image: url(../images/car-plate-read-only.svg)
}

.CarPlate_normalReadOnly__Dgtd8 .CarPlate_plateCharacter__gYeG4 {
    pointer-events: none;
    min-width: 50px
}

.CarPlate_normalReadOnly__Dgtd8 .CarPlate_plateCharacter__gYeG4>div>div>div {
    background: none
}

.CarPlate_normalReadOnly__Dgtd8 .CarPlate_plateCharacter__gYeG4>div>div>div input {
    flex-grow: 1;
    position: relative;
    top: -2px
}

.CarPlate_normalReadOnly__Dgtd8 .CarPlate_plateCharacter__gYeG4>div>div>div>div {
    visibility: hidden
}

.CarPlate_normalReadOnly__Dgtd8 input {
    font-size: 19px!important
}

.CarPlate_licensePlate__Mr5Wg{
    width: 230px;
    height: 45px;
}

.CarPlate_licensePlate__Mr5Wg input {
    border: 0;
    height: 40px !important;
}
.CarPlate_licensePlate__Mr5Wg input[name="serialNumber"] {
    height: 30px !important;
}


.car-plate {
    width: 181px;
    height: 35px;
    background-image: url(../images/car-plate-read-only.svg);
    display: inline-flex;
    direction: ltr;
    gap: 0.78rem !important;
    padding-left: 30px;
    font-size: 23px;
    background-size: 100% auto;
}
.car-plate span{
    position: relative;
    top: -4px;
}
.motor-plate {
    width: 230px;
    height: 45px;
    background-image: url(../images/motor-plate-read-only.svg);
    display: inline-flex;
    direction: ltr;
    gap: 1.6rem !important;
    padding-left: 80px;
    font-size: 23px;
}

@media (min-width: 992px) {
    .chat-conversation {
        height: calc(100vh - 400px) !important;
    }
}
.chat-leftsidebar {
    height: calc(100vh - 180px);
}
#ticket-content {
    position: relative;
}
.summary-text {
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    white-space: normal !important;
}
.dropdown.phone-container {
    position: static !important;
}
.dropdown.phone-container:hover > .dropdown-menu {
    display: block;
}
/* از caret پیش‌فرض بوت‌استرپ استفاده می‌کنیم */
.collapse-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

/* شبیه .dropdown-toggle */
.collapse-toggle::after {
    display: inline-block;
    margin-right: .5em;
    vertical-align: .255em;
    content: "";
    border-top: .5em solid;
    border-right: .5em solid transparent;
    border-bottom: 0;
    border-left: .5em solid transparent;
    transition: transform .25s ease;
}

/* وقتی باز میشه، caret بچرخه */
.collapse-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}
/*

.flatpickr-calendar .dayContainer, .flatpickr-weekdaycontainer
{
flex-direction: row-reverse;
}

.flatpickr-calendar .flatpickr-months .flatpickr-month {
height: 32px;
}

.flatpickr-calendar .flatpickr-months .flatpickr-prev-month {
left: unset;
right: 0;
transform: scaleX(-1);
}

.flatpickr-calendar .flatpickr-months .flatpickr-next-month {
right: unset;
left: 0;
transform: scaleX(-1);
}
.flatpickr-day.selected.startRange, .flatpickr-day.startRange.startRange, .flatpickr-day.endRange.startRange {
border-radius: 0 50px 50px 0;
}

.flatpickr-day.selected.endRange, .flatpickr-day.startRange.endRange, .flatpickr-day.endRange.endRange {
border-radius: 50px 0 0 50px;
}

.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)), .flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)), .flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
box-shadow: 10px 0 0 #569ff7;
}*/