
:root {
    --body-bg-rgb: 246, 246, 251;
    --primary-rgb: 28, 63, 170;
    --secondary-rgb: 244, 110, 244;
}

.dropzone {
    min-height: 150px;
    border: 2px dashed rgba(0, 0, 0, .3) !important;
    background: #fff !important;
    padding: 50px 20px !important;
    margin: 20px 0;
    text-align: center;
}

.img-dropzone {
    width: 150px;
    filter: opacity(0.5);
}

.card-img-top-file {
    height: 150px !important;
}

.form-check-input {
    width: 1.2rem !important;
    height: 1.2rem !important;
    margin: -2px 5px !important;
}

.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
    height: 36px !important;
}

.box-image {
    max-height: 180px;
    height: 170px;
    object-fit: contain;
}

.box-image img {
    height: 170px;
    object-fit: contain;
}

.dataTables_filter input {
    width: 300px !important;
    border: 1px solid #aaa !important;
    border-radius: 5px !important;
    padding: 10px !important;
    margin-bottom: 15px !important;
}

.box-radio {
    border: 1px solid #dee7f1;
    padding: 7px 0px;
    border-radius: 5px;
}

.file-item-img {
    height: 134px;
    object-fit: contain;
}

[dir="rtl"] .select2-container .select2-search--inline .select2-search__field {
    font-family: inherit;
}

.select-notes {
    height: 43px !important;
}

.text-justify, .text-justify p {
    text-align: justify !important;
}

.text_nowrap {
    text-wrap-mode: nowrap !important;
}

#calendar {
    max-width: 100% !important;
}

.fc-h-event .fc-event-main, .fc-list-table .fc-list-event {
    color: #000 !important;
    font-size: 12px !important;
}

.fc-h-event {
    background-color: #7961f55e !important;
}

.btn-secondary {
    background-color: rgb(187 187 187) !important;
    border-color: rgb(189 189 189) !important;
    color: #fff !important;
}

input[type="color"] {
    height: 37px !important;
}

.relative-box-custom {
    background: #f1f1f1;
    padding: 10px;
    margin-bottom: 30px !important;
    border-radius: 5px;
}

.request-activities-schedule-status {
    top: -13px;
    left: 5px;
}

.modal-body p span {
    font-weight: bold !important;
    margin: 0 3px !important;
}

[data-header-styles="light"] {
    --header-bg: #1c3faa !important;
    --header-border-color: #1c3faa !important;
    --header-prime-color: #ffffff !important;
}

[data-menu-styles="light"] {
    --menu-bg: #1c3faa !important;
    --menu-prime-color: #ffffff !important;
    --menu-border-color: #1c3faa !important;
}

.animated-arrow span, .animated-arrow span:before, .animated-arrow span:after {
    background-color: #ffffff !important;
}

.app-sidebar .side-menu__item.active, .app-sidebar .slide-menu.child1 .side-menu__item:hover,
.app-sidebar .side-menu__item:hover, .app-sidebar .side-menu__item:hover .side-menu__icon,
.app-sidebar .side-menu__item:hover .side-menu__label,
.app-sidebar .side-menu__item:hover .side-menu__angle,
.app-sidebar .side-menu__item.active .side-menu__label, .app-sidebar .side-menu__item.active .side-menu__angle,
[data-menu-styles="light"] .app-sidebar .side-menu__item.active .side-menu__icon {
    color: #26eaff !important; /*#3dbdcb*/
}

.app-header {
    border-radius: 0 0 0 30px !important;
}

.main-header-dropdown.dropdown-menu.dropdown-menu-end.show {
    left: -10px !important;
    width: 250px !important;
}

@media (max-width: 768px) {
    .main-header-dropdown.dropdown-menu.dropdown-menu-end.show {
        width: 100% !important;
        left: 0 !important;
    }
}

.main-header-container .header-link-icon {
    width: fit-content !important;
    height: 1.7rem !important;
}

.blog-content p {
    line-height: 32px !important;
}

.fixed-card-body {
    max-height: 400px;
    /*height: 400px;*/
    overflow-y: auto;
}

.role_managements_label {
    font-size: 12px !important;
}

.fc-h-event .fc-event-main, .fc-list-table .fc-list-event {
    overflow: hidden;
}


.modal-backdrop.show:nth-of-type(2) {
    z-index: 1060 !important;
}

#modalMap {
    z-index: 1070 !important;
}

#editAddressModal {
    z-index: 1050 !important;
}

.list-group-item {
    cursor: pointer;
    transition: background 0.2s;
}

.list-group-item:hover {
    background-color: #f0f0f0;
}

.form-check-input {
    margin-left: 10px;
}

.dataTables_scrollBody {
    max-height: 350px !important;
    overflow-y: auto;
}

.data_scrollBody {
    max-height: 480px !important;
    overflow-y: auto;
}

.dropdown-divider {
    width: 85%;
    height: 1px;
    background-color: #5c7de3;
    margin: auto !important;
}

.w-30 {
    width: 30% !important;
}

.li-a-invoice-status {
    font-size: 12px !important;
}

.row-invoice-sale-item {
    background-color: #eeeeee8f;
    padding: 7px;
    border-radius: 5px;
}

/* step section css*/

.steps-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* max-width: 800px;*/
    position: relative;
    padding: 0;
}

.steps-horizontal::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.step-horizontal {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 20px;
    color: #6c757d;
    transition: all 0.3s ease;
}

.step-title {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 5px;
}

.step-description {
    font-size: 12px;
    color: #adb5bd;
    max-width: 150px;
    margin: 0 auto;
}

.step-horizontal.active .step-icon {
    background: #4361ee;
    border-color: #4361ee;
    color: white;
    box-shadow: 0 0 0 5px rgba(67, 97, 238, 0.2);
}

.step-horizontal.complete .step-icon {
    background: #2ecc71;
    border-color: #2ecc71;
    color: white;
}

/* step section css*/
.step-horizontal.returned .step-icon {
    background: #cc2e2e;
    border-color: #cc2e2e;
    color: white;
}

.swiper-pagination-bullet-active {
    background: var(--swiper-pagination-color, var(--swiper-theme-color)) !important;
    opacity: var(--swiper-pagination-bullet-opacity, 1) !important;
}

.swiper-pagination-bullet {
    background: var(--swiper-pagination-bullet-inactive-color, #000) !important;
}

.swiper {
    direction: rtl !important;
}

/* استایل فلش‌ها */
.swiper-button-next,
.swiper-button-prev {
    color: #007bff;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #007bff;
    color: #fff;
}

.swiper-button-next:hover svg,
.swiper-button-prev:hover svg {
    background: transparent;
    color: #fff;
}

.swiper-button-next svg, .swiper-button-prev svg {
    background: transparent;
    color: #000;
    border-radius: 2px;
    width: 20px;
    height: 20px;
}

.swiper-button-next, .swiper-button-prev {
    width: 35px !important;
    height: 35px !important;
    border-radius: 5px !important;
}
