

:root {
    /*--color-primary: #00b089;    */
    --color-primary: #0069b0;      /* رنگ اصلی */
    --color-primary-light: #0274c0;      /* رنگ لایت */
    --color-secondary: #6c757d;    /* رنگ ثانویه */
    --color-success: #28a745;      /* موفقیت */
    --color-danger: #dc3545;       /* خطا */
    --color-warning: #ffc107;      /* هشدار */
    --color-info: #17a2b8;         /* اطلاعات */

    --color-dark: #2c3e50;         /* منوی بالا */
    --color-sidebar: #34495e;      /* سایدبار */
    --color-light: #f5f6fa;        /* پس‌زمینه */

    --text-light: #ffffff;
    --text-dark: #333333;
}
body {
    background-color: #f5f5f5;
}
.dashboard-container {
    background-color: #f1f1f1 !important;
}
.text-center {
    text-align: center;
}
.action-btn {
    display: flex;
    padding: 4px;
    font-size: 14px;
    font-weight: bold;
    margin: 0 6px;
    border-radius: 6px;
    transition: 0.2s;
    border: 1px dashed rgba(255, 0, 0, 0);
    background-color: #f7f7f7;
}
.action-btn i {
    transition: 0.3s;
    color: #798196;
}
.action-btn i:hover {
    transition: 0.3s;
    color: var(--color-primary-light);
}
.w-100 {
    width: 100%;
}

/* کانتینر توست‌ها */
.toast-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
}

/* استایل توست */
.toast {
    background: #4e9fff;
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 10px;
    font-size: 14px;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.success { background: #4caf50; }
.toast.error { background: #f44336; }
.toast.warning { background: #ff9800; }

/* پس‌زمینه تار */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;

    /* مهم برای وسط‌چین کردن */
    align-items: center;      /* عمودی */
    justify-content: center;  /* افقی */

    z-index: 10000;
}
.text-tilt {
    color: #33b898;
}
.text-setting {
    color: #9e24ca;
}
.text-light-blue {
    color: #28a6ba;
}

/* وسط‌چین کردن مودال بدون flex */
.modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* حرکت منفی نصف عرض و ارتفاع */
    background: #f5f5f5;
    padding: 20px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}


.modal.show {
    transform: scale(1);
}

.modal-header {
    font-weight: bold;
    margin-bottom: 10px;
}

.modal-footer {
    text-align: right;
    margin-top: 15px;
}

.modal-footer button {
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-close {
    background: #ccc;
}

.btn-primary {
    background: #4e9fff;
    color: #fff;
}
.top-30{
    position: relative;
    top: 30px;
}


@font-face {
    font-family: "IRANSansWeb";
    src : url("../fonts/IRANSansWeb.woff2") format("woff2"); /* Safari, Android, iOS */
    font-weight: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "IRANSansWeb";
}
.text-purple2 {
    color: #422ee7;
}

h1, h2, h3 {
    font-family: "IRANSansWeb" !important;
}
a{
    text-decoration: none;
}
/* Typography Utility Classes */
.fs-12 { font-size: 12px; }
.fs-13 { font-size: 13px; }
.fs-14 { font-size: 14px; }
.fs-16 { font-size: 16px; }
.fs-18 { font-size: 18px; }
.fs-20 { font-size: 20px; }
.fs-24 { font-size: 24px; }
.gold-text {
    color: #debb00;
}
jdp-container .jdp-day-name.selected, jdp-container .jdp-day.selected {
    background-color: #ffdbab !important;
    color: #e96b21 !important;
    opacity: 1 !important;
}
/* Buttons */
.btn {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    position: relative;
    transition: 0.2s;
}
.btn:hover {

    border-radius: 2px;

}
.btn-primary {
    background: #007bff;
    color: white;
}
.btn-secondary {
    background: #efefef;
    color: #3e3e3e;
}
.mw-250 {
    min-width: 250px;
}

/* Layout */
body {
    font-family:"IRANSansWeb";
    background: #f5f6fa;
}
a, span, li , p , button, input, textarea {
    font-family:"IRANSansWeb" !important;
    font-size: 16px;
}
i{
    font-size: 16px;
}
.d-flex {
    display: flex;
    flex-wrap: wrap;
}
.align-items-center {
    align-items: center;
}
.bi {
    line-height: 0;
}
.d-flex-c {
    display: flex;
    justify-content: center;
    align-items: center;
}
.flex-column {
    flex-direction: column;
}

.d-inline-block {
    display: inline-block;
}
.d-inline {
    display: inline;
}
.d-block {
    display: block;
}
/* Margin */
.m-0   { margin: 0 !important; }
.m-1   { margin: 4px !important; }
.m-2   { margin: 8px !important; }
.m-3   { margin: 16px !important; }
.m-4   { margin: 24px !important; }
.m-5   { margin: 32px !important; }

/* Margin Top */
.mt-0  { margin-top: 0 !important; }
.mt-1  { margin-top: 4px !important; }
.mt-2  { margin-top: 8px !important; }
.mt-3  { margin-top: 16px !important; }
.mt-4  { margin-top: 24px !important; }
.mt-5  { margin-top: 32px !important; }

/* Margin Bottom */
.mb-0  { margin-bottom: 0 !important; }
.mb-1  { margin-bottom: 4px !important; }
.mb-2  { margin-bottom: 8px !important; }
.mb-3  { margin-bottom: 16px !important; }
.mb-4  { margin-bottom: 24px !important; }
.mb-5  { margin-bottom: 32px !important; }

/* Margin Left */
.ml-0  { margin-left: 0 !important; }
.ml-1  { margin-left: 4px !important; }
.ml-2  { margin-left: 8px !important; }
.ml-3  { margin-left: 16px !important; }
.ml-4  { margin-left: 24px !important; }
.ml-5  { margin-left: 32px !important; }

/* Margin Right */
.mr-0  { margin-right: 0 !important; }
.mr-1  { margin-right: 4px !important; }
.mr-2  { margin-right: 8px !important; }
.mr-3  { margin-right: 16px !important; }
.mr-4  { margin-right: 24px !important; }
.mr-5  { margin-right: 32px !important; }
.mr-auto {margin-right: auto}

/* Padding */
.p-0   { padding: 0 !important; }
.p-1   { padding: 4px !important; }
.p-2   { padding: 8px !important; }
.p-3   { padding: 16px !important; }
.p-4   { padding: 24px !important; }
.p-5   { padding: 32px !important; }

/* Padding Top */
.pt-0  { padding-top: 0 !important; }
.pt-1  { padding-top: 4px !important; }
.pt-2  { padding-top: 8px !important; }
.pt-3  { padding-top: 16px !important; }
.pt-4  { padding-top: 24px !important; }
.pt-5  { padding-top: 32px !important; }

/* Padding Bottom */
.pb-0  { padding-bottom: 0 !important; }
.pb-1  { padding-bottom: 4px !important; }
.pb-2  { padding-bottom: 8px !important; }
.pb-3  { padding-bottom: 16px !important; }
.pb-4  { padding-bottom: 24px !important; }
.pb-5  { padding-bottom: 32px !important; }

/* Padding Left */
.pl-0  { padding-left: 0 !important; }
.pl-1  { padding-left: 4px !important; }
.pl-2  { padding-left: 8px !important; }
.pl-3  { padding-left: 16px !important; }
.pl-4  { padding-left: 24px !important; }
.pl-5  { padding-left: 32px !important; }

/* Padding Right */
.pr-0  { padding-right: 0 !important; }
.pr-1  { padding-right: 4px !important; }
.pr-2  { padding-right: 8px !important; }
.pr-3  { padding-right: 16px !important; }
.pr-4  { padding-right: 24px !important; }
.pr-5  { padding-right: 32px !important; }

/* Border Radius */
.br-0   { border-radius: 0 !important; }
.br-1   { border-radius: 4px !important; }
.br-2   { border-radius: 8px !important; }
.br-3   { border-radius: 12px !important; }
.br-4   { border-radius: 16px !important; }
.br-5   { border-radius: 24px !important; }
.br-50  { border-radius: 50% !important; } /* برای دایره */
.text-green {
    color: #3fb73f;
}
.text-purple {
    color: purple;
}
.text-yellow {
    color: #d4ad20;
}
.text-blue {
    color: #1767d0;
}
.text-orange {
    color: #e56c2b;
}
.text-red {
    color: #CB5454;
}
.text-muted {
    color: #535a6d;
}
.transparent-bg {
    background-color: rgb(255 255 255 / 14%);
}
.input-group {
    margin-bottom: 32px;
}
.sep-link {
    background: #eeeeee;
    border-bottom: 1px dashed #949494;
}
.sep-link a {
    color: var(--color-primary);

}
a{
    text-decoration: none !important;
}
.error-message {
    color: #f02c2c;
    font-size: 12px;
    background: #ffeeee;
    padding: 5px;
    border-radius: 8px;
}

.top-menu {
    background: var(--color-primary);
    color: white;
    padding: 5px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.top-menu-item {
    background: var(--color-primary-light);
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.top-menu .logo {
    font-weight: bold;
}
div.dt-container .dt-paging .dt-paging-button.current, div.dt-container .dt-paging .dt-paging-button.current:hover {
    color: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.3);
    background-color: #4242e1;
    background: linear-gradient(to bottom, rgb(69 112 235) 0%, rgb(93 125 216) 100%);
}

.top-menu .top-nav a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
}

.dashboard-container {
    display: flex;
    min-height: 100vh;

}
.name_employee {
    display: inline-block;
    padding: 3px 6px;
    background: #f3f3f3;
    border-radius: 4px;
    color: #636c72;
}
.sidebar span {
    color: #626d8a;
    font-size: 14px;
}
.bi.bi-plus-square {
    font-size: 16px !important;
}
/* Sidebar */
.sidebar {
    background: #ffffff;
    width: 232px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #e9e9e9;
}
.sidebar .bi {
    line-height: 1 !important;
    font-size: 20px;
}
.sidebar i {
    line-height: 1 !important;
    font-size: 20px;
}
.sidebar a {
    color: #424242;
    padding: 10px 20px;
    text-decoration: none;
    transition: 0.3s;
    border-radius: 5px;
}
.sidebar a:hover {
    background-color: #f7f7f7;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 20px;
    background-color: #fff;
    margin: 20px;
    border-radius: 12px;
}
.ki-outline.ki-profile-circle.text-yellow {
    font-size: 21px;
}


/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}
.col-4 {
    width: 33.3333%;
    padding: 10px;
}
.card {
    background: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.avatars {
    width: 35px;
    border-radius: 5px;
}
.submenu {
    display: none;
    background-color: #fcfcfc;
    border-right: 1px solid #0069b0;
    border-radius: 2px;
}
/* ریست اولیه */


/* استایل فیلدهای متنی و textarea */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #F9F9F9;
    border-radius: 10px;
    outline: none;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #F9F9F9;
    color: #4B5675;
}
.select2 {
    width: 100% !important;
}
.select2-container--default .select2-selection--multiple {
    background-color: #f9f9f9;
    border: 1px solid #f9f9f9;
    border-radius: 4px;
    cursor: text;
    padding-bottom: 5px;
    padding-right: 5px;
    position: relative;
}
.select2-dropdown.select2-dropdown--open.select2-dropdown--below {
transform: translateY(0px) !important;
}
input::placeholder, textarea::placeholder {
    color: #d3d3d3;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: none !important;
}
.select2-container--open .select2-dropdown--below {
    border: 1px solid #e7e7e7;
    padding: 12px;
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--color-primary);
    color: white;
}
.select2-search__field {
    position: relative;
    top: -1px;
    padding-bottom: 6px !important;
    min-height: 22px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #0069b0;
    border: 1px solid #0069b0;
}
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__display {
    color: white;
}
.select2-selection__choice__remove span {
    color: white;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover, .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus {
    background-color: #ffffff17;
}
.select2-selection__choice__remove:hover span{
    color: #efefef;
}
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__clear {
     display: none;
}
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{
    border-left: unset;
}

input:focus,
textarea:focus {
    background: #f3f3f3;
    border-radius: 3px;
}

/* برچسب‌ها */
label {
    display: block;
    font-weight: 400;
    color: #4d4d4d;
    font-size: 16px;
    margin-right: 12px;
    margin-bottom: 3px;
}
.required:after {
    content: "*";
    position: relative;
    font-size: 10px;
    color: orangered;
    padding-right: 0.25rem;
    font-weight: 600;
    top: -5px;
}

/* استایل چک‌باکس iOS */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 34px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 0.3s;
}

.slider:before {
    content: "";
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

.switch input:checked + .slider {
    background-color: var(--color-primary-light);
}

.switch input:checked + .slider:before {
    transform: translateX(22px);
}

/* استایل رادیوباتن مدرن */
.radio-group {
    display: flex;
    gap: 16px;
}

.radio-group input[type="radio"] {
    display: none;
}

.radio-group label {
    position: relative;
    padding-left: 26px;
    cursor: pointer;
}

.radio-group label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-primary-light);
    border-radius: 50%;
    background: #fff;
}

.radio-group input[type="radio"]:checked + label:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--color-primary-light);
    border-radius: 50%;
}
.new-trip {
    padding: 3px 12px;
    background: white;
    color: #454545;
    border-radius: 4px;
}
.new-trip span {
    color: #454545;
}
.new-trip i {

    color: #6b6b6b;

}

/* کانتینر برای اسکرول افقی در موبایل */
.table-wrapper {
    overflow-x: auto;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
}

/* استایل جدول */
table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Segoe UI", sans-serif;
    min-width: 600px;
}

/* هدر جدول */
thead {
    background: #fbfbfb;
    position: sticky;
    top: 0;
    z-index: 1;
}

thead th {
    padding: 14px 12px;
    text-align: right;
    font-weight: 600;
    color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    background-color: #4570eb;
    font-size: 16px;
}

/* بدنه جدول */
tbody tr {
    border-bottom: 1px solid #eee;
    transition: background 0.2s ease;
}

tbody tr:hover {
    background: #f9fbff;
}
tbody tr:nth-child(odd) {
    background-color: #ffffff; /* ردیف‌های فرد */
}

tbody tr:nth-child(even) {
    background-color: #ffffff; /* ردیف‌های زوج */
}

tbody td {
    padding: 12px;
    color: #555;
    font-size: 14px;
}

/* گوشه‌های گرد در اولین و آخرین سلول */
thead th:first-child {
    border-top-right-radius: 12px;
}
thead th:last-child {
    border-top-left-radius: 12px;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    table {
        min-width: unset;
        font-size: 13px;
    }
    thead {
        display: none; /* حذف هدر و نمایش داده‌ها به شکل کارت */
    }
    tbody tr {
        display: block;
        margin-bottom: 12px;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }
    tbody td {
        display: flex;
        justify-content: space-between;
        padding: 10px 14px;
        border-bottom: 1px solid #f1f1f1;
    }
    tbody td:last-child {
        border-bottom: none;
    }
    tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #333;
    }
}


.top-content {
    border-bottom: 1px solid #e3e3e3;
    padding-bottom: 8px;
    border-radius: 3px;
}
.login-container {
    display: flex;
    height: 100vh;
}

/* ستون تصویر سمت راست */
.login-image {
    flex: 1;
    background: url("https://via.placeholder.com/800x1200.png?text=تصویر+سمت+راست") no-repeat center center;
    background-size: cover;
}

/* ستون فرم سمت چپ */
.login-form-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: #f7f7f7;
}

/* تصویر بالای فرم */
.form-logo img {
    max-width: 120px;
    margin-bottom: 5px;
}

/* فرم ورود */
.login-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
}

.login-form input {
    border: 1px solid #036ab1;
}
.select2-container--default .select2-selection--single {
    background-color: #f9f9f9;
    border: 1px solid #f9f9f9;
    border-radius: 6px;
}
.select2-container .select2-selection--single {
    height: 40px;
}
.select2-selection__rendered {
    position: relative;
    top: 5px;
}
jdp-container .jdp-day:not(.disabled-day) {
    border-radius: 4px;
    cursor: pointer;
    transition: .1s linear;
    font-size: 15px !important;
}
jdp-container .jdp-day-name {
    background-color: rgba(0, 0, 0, .1);
    border-radius: 0;
    cursor: default;
    font-size: 69% !important;
    font-weight: 900;
}
jdp-container .jdp-day, jdp-container .jdp-day-name {
    font-size: 16px !important;
}
jdp-container .jdp-month, jdp-container .jdp-month input, jdp-container .jdp-month select, jdp-container .jdp-time, jdp-container .jdp-time input, jdp-container .jdp-time select, jdp-container .jdp-year, jdp-container .jdp-year input, jdp-container .jdp-year select {
    font-size: 21px ;
}
jdp-container .jdp-day-name.today, jdp-container .jdp-day.today {
    border-color: rgb(0 105 176);
    background: #0069b0;
    color: white;
}
jdp-container .jdp-day-name {
    background-color: rgb(0 105 176);
    border-radius: 0;
    color: white !important;
    cursor: default;
    font-size: 69% !important;
    font-weight: 900;
}
jdp-container .jdp-btn-close, jdp-container .jdp-btn-empty, jdp-container .jdp-btn-today {
    background: #569ff7;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 65% !important;
    font-weight: 400;
    padding: .3em .6em;
    text-align: center;
}
jdp-container {
    right: 300px;
    left: unset !important;
}
.jdp-time-container {
    margin-top: 16px;
}
.jdp-time-container select {
    font-size: 18px !important;
}
#add_driver, #add_trip , .half-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; /* فاصله بین آیتم‌ها */
}

#add_driver .input-group, #add_trip .input-group , .half-form .input-group{
    flex: 1 1 calc(50% - 1rem); /* هر کدام نصف عرض */
    min-width: 200px; /* حداقل عرض برای ریسپانسیو */
}

#add_driver .input-group input, #add_trip .input-group input .half-form input {
    width: 100%;
    box-sizing: border-box;
}
.text-so-muted {
    display: inline !important;
    font-size: 14px;
    color: #a1a1a1;
    cursor: pointer;
    margin-right: 0px;
}
label.text-blue {
    display: inline;
    font-size: 14px;
    cursor: pointer;
    margin-right: 0px;

}
input#profit:checked ~ label[for="profit"] {
    color: blue;
}

.top-content h1 {
    padding: 6px 12px;
    background: #f1f1f1;
    border-radius: 6px;
    color: #0069b0;
    font-size: 16px;
    border-right: 2px solid #0069b0;
}
.action-btn i {
    font-size: 22px;
}
.internal {
    padding: 6px;
    background: #f3f7ff;
    border-radius: 6px;
    font-size: 12px;
    color: #4570eb;
    font-weight: bold;
    align-items: center;
    justify-content: space-around;
}
.wrapper-gold-text {
    margin-right: 12px;
    background: #f6f6f6;
    padding: 3px;
    border-radius: 6px;
}
.external {
    padding: 6px;
    background: #f6fff3;
    border-radius: 6px;
    font-size: 12px;
    color: #1c9e36;
    font-weight: bold;
}
.driver_snap {
    font-size: 12px;
    background: #f7f7f7;
    color: #7c7c7c;
}
.filter-form i {
    margin-left: 6px;
    position: relative;
    top: 3px;
}
.filter-form button {
    position: relative;
    right: 12px;
    top: 8px;
}
/* Customize the label (the container) */
.container-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    top: 17px;
}

/* Hide the browser's default checkbox */
.container-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    right: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}
.mr-35 {
    margin-right: 35px;
}

/* On mouse-over, add a grey background color */
.container-checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container-checkbox input:checked ~ .checkmark {
    background-color: #007bff;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container-checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.result-show {
    padding: 8px 18px;
    background: #ecffee;
    border-radius: 5px;
    border: 1px solid #118c11;
    color: #118c11;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    top: -12px;
    gap: 10px;
    opacity: 0; /* در حالت اولیه مخفی */
    transform: translateY(10px); /* کمی جابجایی برای انیمیشن */
    transition: opacity 0.3s ease, transform 0.3s ease; /* انیمیشن نرم */
    pointer-events: none; /* جلوگیری از تعامل در حالت مخفی */
}
.result-show.visible {
    opacity: 1; /* نمایش با انیمیشن */
    transform: translateY(0);
    pointer-events: auto;
}
.boxes-container {
    display: flex;
    flex-wrap: wrap; /* ردیف‌بندی خودکار */
    gap: 16px; /* فاصله 16px بین باکس‌ها */
    justify-content: space-between; /* توزیع باکس‌ها در عرض کانتینر */
    margin: 0 -8px; /* جبران فاصله‌های منفی برای حاشیه‌ها */
}

.box {
    flex: 1 1 calc(33.333% - 16px); /* عرض هر باکس: یک‌سوم عرض کانتینر منهای فاصله‌ها */
    min-width: 250px; /* حداقل عرض برای ریسپانسیو بودن */
    background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #efefef;
    transition: 0.3s;
    margin-bottom: 16px; /* فاصله عمودی بین ردیف‌ها */
}
.box:hover {
    flex: 1 1 calc(33.333% - 16px); /* عرض هر باکس: یک‌سوم عرض کانتینر منهای فاصله‌ها */
    min-width: 250px; /* حداقل عرض برای ریسپانسیو بودن */
    background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #216fe5;
    transition: 0.3s;
    margin-bottom: 16px; /* فاصله عمودی بین ردیف‌ها */
}
.wrapper_img {
    padding: 12px;
    background: #F9F9F9;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    border-radius: 9px;
    height: 48px;
}
.justify-content-between {
    justify-content: space-between;
}
.badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 3px;
}
.badge-primary {
    background: #f8f8ff;
    color: #1a49e2;
}
.badge-success {
    background: #f2ffde;
    color: #21ba10;
}
.w-100 {
    width: 100%;
}
.text-semi-muted {
    color: #203366;
}
.text-gold {
    color: #d0b839;
}
.badge-secondary {
    background: #f8f8f8;
    color: #db9e08;
}
.box-statics {
    min-width: 205px;
    padding: 3px 12px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px dashed #d4d4d4;
    margin-left: 20px;
    position: relative;
    margin-top: 16px;
}
.w-50 {
    width: 50%;
}
.box h3 {
    margin-bottom: 12px;

}
.text-danger {
    color: #ab4343;
}
.badge-danger {
    background: #f8f8f8;
    color: #e76a2e;
}
.text-orange {
    color: #e76a2e;
}
.borer-bottom {
    border-bottom: 1px dashed #bdbdbd;
    padding-bottom: 16px;
}
.position-absolute {
    position: absolute;
}
.top-left {
    top: 6px;
    left: 6px;
}
jdp-container .jdp-day.today:not(.disabled-day):hover {
    background: rgb(0 0 0 / 77%) !important;
    transform: scale(1.15);
    z-index: 1;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    top: 70% !important;
}
*[dir=rtl] table.dataTable th.dt-type-numeric, *[dir=rtl] table.dataTable th.dt-type-date, *[dir=rtl] table.dataTable td.dt-type-numeric, *[dir=rtl] table.dataTable td.dt-type-date {
    text-align: right !important;
}
/* ریسپانسیو */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    .login-image {
        height: 40vh;
    }
}
/* Responsive */
@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
    }
    .sidebar {
        min-width: 100%;
    }
    .col-4 {
        width: 100%;
    }
}
