body {
    direction: rtl;
    text-align: right; /* Ensure text is aligned to the right */
}
.card-title, .card-text, .list-group-item, .order-total, h2, label, .btn {
    direction: rtl;
    text-align: right;
    font-size: medium;
}
@font-face {
    font-family: Vazirmatn;
    src: url('fonts/Vazirmatn-Regular.eot');
    src: url('fonts/Vazirmatn-Regular.eot?#iefix') format('embedded-opentype'),
         url('fonts/Vazirmatn-Regular.woff2') format('woff2'),
         url('fonts/Vazirmatn-Regular.woff') format('woff'),
         url('fonts/Vazirmatn-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: Vazirmatn;
    src: url('fonts/Vazirmatn-Bold.eot');
    src: url('fonts/Vazirmatn-Bold.eot?#iefix') format('embedded-opentype'),
         url('fonts/Vazirmatn-Bold.woff2') format('woff2'),
         url('fonts/Vazirmatn-Bold.woff') format('woff'),
         url('fonts/Vazirmatn-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: Vazirmatn;
    src: url('fonts/Vazirmatn-Black.eot');
    src: url('fonts/Vazirmatn-Black.eot?#iefix') format('embedded-opentype'),
         url('fonts/Vazirmatn-Black.woff2') format('woff2'),
 url('fonts/Vazirmatn-Black.woff') format('woff'),
 url('fonts/Vazirmatn-Black.ttf') format('truetype');
font-weight: 900;
font-style: normal;
}

@font-face {
font-family: Vazirmatn;
src: url('fonts/Vazirmatn-Medium.eot');
src: url('fonts/Vazirmatn-Medium.eot?#iefix') format('embedded-opentype'),
 url('fonts/Vazirmatn-Medium.woff2') format('woff2'),
 url('fonts/Vazirmatn-Medium.woff') format('woff'),
 url('fonts/Vazirmatn-Medium.ttf') format('truetype');
font-weight: 500;
font-style: normal;
}

@font-face {
font-family: Vazirmatn;
src: url('fonts/Vazirmatn-Light.eot');
src: url('fonts/Vazirmatn-Light.eot?#iefix') format('embedded-opentype'),
 url('fonts/Vazirmatn-Light.woff2') format('woff2'),
 url('fonts/Vazirmatn-Light.woff') format('woff'),
 url('fonts/Vazirmatn-Light.ttf') format('truetype');
font-weight: 300;
font-style: normal;
}

@font-face {
font-family: Vazirmatn;
src: url('fonts/Vazirmatn-Thin.eot');
src: url('fonts/Vazirmatn-Thin.eot?#iefix') format('embedded-opentype'),
 url('fonts/Vazirmatn-Thin.woff2') format('woff2'),
 url('fonts/Vazirmatn-Thin.woff') format('woff'),
 url('fonts/Vazirmatn-Thin.ttf') format('truetype');
font-weight: 100;
font-style: normal;
}

@font-face {
font-family: 'Font Awesome 5 Brands';
font-style: normal;
font-weight: 400;
font-display: block;
src: url('fonts/fa-brands-400.woff2') format("woff2"),
url('fonts/fa-brands-400.woff') format("woff"),
url('fonts/fa-brands-400.ttf') format("truetype");
}

@font-face {
font-family: 'Font Awesome 5 Free';
font-style: normal;
font-weight: 900;
font-display: block;
src: url('fonts/fa-solid-900.woff2') format("woff2"),
url('fonts/fa-solid-900.woff') format("woff"),
url('fonts/fa-solid-900.ttf') format("truetype");
}

@font-face {
font-family: 'Font Awesome 5 Free';
font-style: normal;
font-weight: 400;
font-display: block;
src: url('fonts/fa-regular-400.woff2') format("woff2"),
url('fonts/fa-regular-400.woff') format("woff"),
url('fonts/fa-regular-400.ttf') format("truetype");
}

* {
font-family: Vazirmatn, Tahoma, sans-serif !important;
}
/* Add your styles here, consider reusing admin-style.css */

.menu-item-card {
    display: flex;
    align-items: center;
}

.menu-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    margin-left: 15px; /* Add some spacing between the image and text */
}

.menu-item-details {
    flex: 1;
}
/* Style for Select2 to match Bootstrap */
.select2-container--bootstrap-5 .select2-selection {
    min-height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    text-align: right; /* Ensure text aligns right */
}
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    padding-right: 0.75rem; /* Adjust padding for RTL */
    padding-left: 2.25rem;
}
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
    left: 0.5rem; /* Position arrow correctly for RTL */
    right: auto;
}
.select2-dropdown {
     text-align: right; /* Ensure dropdown text aligns right */
     direction: rtl;
}