:root {
    --primary-color: #3674d9;
    --secondary-color: #5c6ac4;
    --danger-color: #e55c57;
    --success-color: #50b83c;
    --warning-color: #eec200;
    --teal-color: #46bdbb;
    --gray-100: #f7fafc;
    --gray-200: #edf2f7;
    --border-color: #eaeaea;
    --border-color-2: #b6b6b6;
    --secondary-text: #b7b7b7;
    --header-color: #2f3447;
    --custom-red: #eb5757;
    --default-background: #f4f5fa;
    --custom-black-1: #212b36;
    --custom-black-2: #454f5b;
    --custom-gray-1: #637381;
    --white-2: #f4f6f8;
    --white-1: #f9fafb;
    --shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

body,
html {
    font-family: "IKEA";
}

.fst-italic {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.bg-primary-soft {
    background-color: rgb(190 207 232 / 25%);
}

.app {
    background-color: var(--default-background);
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.def-bg {
    background-color: var(--default-background);
}

.app-header {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    background-color: #fff;
}

.form-control {
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.75rem;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--border-color);
}

.form-control::placeholder {
    color: var(--secondary-text);
    font-style: italic;
}

.text-secondary {
    color: var(--secondary-text);
}

.text-border {
    color: var(--border-color);
}

.border-0 {
    border: none;
}

.border-1 {
    border: 1px solid var(--border-color);
}

.border-left-1 {
    border-left: 1px solid var(--border-color);
}

.border-right-1 {
    border-right: 1px solid var(--border-color);
}

.border-top-1 {
    border-top: 1px solid var(--border-color);
}

.border-bottom-1 {
    border-bottom: 1px solid var(--border-color);
}

.font-sm {
    font-size: 0.9rem;
}

.font-xs {
    font-size: 0.8rem;
}

.font-lg {
    font-size: 1.2rem;
}

.bg-primary {
    background-color: var(--primary-color)!important;
}

.bg-gray {
    background-color: var(--gray-100);
}

.bg-red {
    background-color: #ffd3d3;
}

.sidebar-container {
    width: 0vw;
    overflow: hidden;
    opacity: 0;
    transition: all ease 0.2s;
    height: 100%;
    position: fixed;
    top: 0;
    background-color: var(--white-1);
    border-right: 1px solid var(--border-color);
    z-index: 1022;
}

.sidebar-container.open {
    width: 25vw;
    opacity: 1;
    transition: all ease 0.2s;
    z-index: 1075;
}

.sidebar-menu {
    padding: 1rem;
}

.sidebar-menu .menu-item {
    padding: 0.75rem 0;
}

.sidebar-menu .menu-item a {
    color: var(--custom-black-1);
    text-decoration: none;
    width: 100%;
    display: block;
}

.sidebar-menu .menu-item i {
    width: 24px;
}

.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgb(0 0 0 / 50%);
    z-index: 1072;
    transition: all ease 0.2s;
    backdrop-filter: blur(3px);
}

.product {
    border-radius: 12px;
    overflow: hidden;
}

.product .product-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    position: relative;
}

.product .product-image .badge-qty {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 0 0 0 12px;
}

.product .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Select2 */
.select2-container--default .select2-selection--single {
    border: 1px solid var(--border-color);
    height: 42px;
    background: transparent;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 42px;
    background-color: transparent !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid var(--border-color);
}

.select2-dropdown {
    border: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow);
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow::after {
    content: "\f107";
    font-family: 'Font Awesome 6 Pro';
    display: block;
    position: absolute;
    right: 10px;
    top: 10px;
}

.select2:focus-visible {
    outline: none;
}

:focus-visible {
    outline: none;
}

.order-type .select2-container--default .select2-selection--single {
    border: 0px;
}

.order-type .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-style: italic !important;
    font-weight: 600;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.order-type .select2-container--default .select2-selection--single .select2-selection__arrow::after {
    color: var(--primary-color);
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus-visible {
    outline: none;
}

.select2-results__option {
    padding: 8px 6px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primary-color);
}

.rounded-lg {
    border-radius: 12px;
}

.rounded-md {
    border-radius: 8px;
}

.rounded-sm {
    border-radius: 4px;
}

.bg-secondary {
    background-color: var(--secondary-color);
}

.bg-border {
    background-color: var(--border-color) !important;
}

.bg-white-2 {
    background-color: var(--white-2);
}

.bg-white-1 {
    background-color: var(--white-1);
}

.bg-border {
    background-color: var(--border-color);
}

.opacity-1\/2 {
    opacity: 0.5;
}

.opacity-1\/4 {
    opacity: 0.25;
}

.modal-content {
    border-radius: 0px !important;
}

.modal {
    backdrop-filter: blur(3px);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.payment-option.selected {
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.default-payment-amount.selected {
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color);
    font-weight: 600;
}

.modal-backdrop {
    backdrop-filter: blur(1px);
}

.disabled {
    pointer-events: none;
}

.pin-code {
    padding: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.pin-code input {
    border: none;
    text-align: center;
    width: 48px;
    height: 48px;
    font-size: 36px;
    background-color: #f3f3f3;
    margin-right: 5px;
}

.pin-code input:focus {
    border: 0px;
    outline: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.keyboard {
    width: 400px;
    margin-top: 40px;
}

.keyboard .number {
    width: 100%;
    font-size: 0;
    text-align: center;
}

.keyboard .number.aling-right {
    text-align: right;
    width: 100%;
}

.keyboard .number span {
    font-size: 24px;
    display: inline-block;
    width: 33%;
    text-align: center;
    margin-bottom: 25px;
}

.keyboard .number span i {
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: white;
    cursor: pointer;
    border-radius: 100%;
    transition: 250ms;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-box-shadow: 8px 8px 24px 0px rgba(132, 132, 132, 0.09);
    -moz-box-shadow: 8px 8px 24px 0px rgba(132, 132, 132, 0.09);
    box-shadow: 8px 8px 24px 0px rgba(132, 132, 132, 0.09);
}

.keyboard .number span i.delete {
    background: transparent;
    box-shadow: 0 0 0 0;
    -webkit-box-shadow: 0 0 0 0;
    -moz-box-shadow: 0 0 0 0;
    -ms-box-shadow: 0 0 0 0;
}

.keyboard .number span i.delete img {
    display: inline-block;
    vertical-align: middle;
}

.keyboard .number span:hover i {
    color: black;
}

.keyboard .number span:active i {
    transform: translateY(1px);
    -webkit-box-shadow: 5px 5px 24px 0px rgba(132, 132, 132, 0.18);
    -moz-box-shadow: 5px 5px 16px 0px rgba(132, 132, 132, 0.18);
    box-shadow: 5px 5px 16px 0px rgba(132, 132, 132, 0.18);
}

.keyboard .number span:active i.delete {
    box-shadow: 0 0 0 0;
    -webkit-box-shadow: 0 0 0 0;
    -moz-box-shadow: 0 0 0 0;
    -ms-box-shadow: 0 0 0 0;
    transform: translateY(0px);
}

.keyboard .number span:active i.delete img {
    transtiion: 250ms;
}

.keyboard .number span:active i.delete:active img {
    transform: translateY(2px);
}

.hide {
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
}

div:where(.swal2-container) div:where(.swal2-popup) {
    border-radius: 0px !important;
}

.hide {
    display: none;
}

.table .table-gap {
    border: 0px !important;
    border-top: 1px solid #b6b6b6b6 !important;
    background-color: #fff !important;
}

.table.table-bordered {
    border-collapse: separate;
    /* border-width: 1px;
     */
    border-spacing: 0px;
}

.table.table-bordered th {
    background-color: #ddd;
    text-align: center;
    border: 0px;
    border-right: 1px solid #b6b6b6;
    border-bottom: 1px solid #b6b6b6;
    border-top: 1px solid #b6b6b6;
}

.table.table-bordered th:first-child {
    border-left: 1px solid #b6b6b6;
}

.table.table-bordered th:last-child {
    /* border-right: 0px;
     */
}

.table.table-bordered:has(thead) tbody tr:first-child td {
    border-top: 0px;
}

.table.table-bordered td {
    border: 0px;
    border-top: 1px solid #b6b6b6;
    border-right: 1px solid #b6b6b6;
    background-color: transparent;
}

.table.table-bordered td:first-child {
    border-left: 1px solid #b6b6b6;
}

.table.table-bordered td:last-child {
    border-right: 1px solid #b6b6b6;
}

.table.table-bordered tr:last-child td {
    border-bottom: 1px solid #b6b6b6;
}

/* Loader */
/* HTML: <div class="loader"></div> */
.loader {
    width: 60px;
    aspect-ratio: 4;
    --_g: no-repeat radial-gradient(circle closest-side, var(--primary-color) 90%, #0000);
    background: var(--_g) 0% 50%, var(--_g) 50% 50%, var(--_g) 100% 50%;
    background-size: calc(100% / 3) 100%;
    animation: l7 1s infinite linear;
}

@keyframes l7 {
    33% {
        background-size: calc(100% / 3) 0%, calc(100% / 3) 100%, calc(100% / 3) 100%;
    }

    50% {
        background-size: calc(100% / 3) 100%, calc(100% / 3) 0%, calc(100% / 3) 100%;
    }

    66% {
        background-size: calc(100% / 3) 100%, calc(100% / 3) 100%, calc(100% / 3) 0%;
    }
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    background-image: var(--bs-gradient) !important;
    min-width: 100px;
    padding: 8px !important;
    border-radius: 8px !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel {
    background-color: var(--custom-gray-1) !important;
    border-color: var(--custom-gray-1) !important;
    background-image: var(--bs-gradient) !important;
    min-width: 100px;
    padding: 8px !important;
    border-radius: 8px !important;
}

.check-rounded {
    border-radius: 50% !important;
    width: 1.4em;
    height: 1.4em;
    margin-top: 0px;
    position: relative;
}

.form-check-input:checked {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.check-rounded:checked::after {
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
}

.overflow-scroll {
    border-bottom: 1px solid var(--border-color);
}

.scrollbar::-webkit-scrollbar {
    width: 0px;
    display: none;
}

.scrollbar::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.scrollbar::-webkit-scrollbar-track {
    background-color: var(--gray-100);
}

.btn-light {
    background: var(--border-color);
}

.btn-success {
    background: #9ecb42;
    border-width: 0px;
    color: #000;
}

.form-control[disabled] {
    background-color: var(--border-color)
}

.bg-green {
    background-color: #dff2bf !important;
}

.bg-warning {
    background-color: rgb(255 241 200) !important;
}

.transition {
    transition: all 0.3s ease-in-out;
}

.custom-check label {
    background-color: var(--border-color) !important;
    border: 0px !important;
}

.custom-check input:checked+label {
    border-color: var(--primary-color) !important;
    background-color: var(--primary-color) !important;
}

.custom-check.text-white input:checked+label {
    color: #fff !important;
}

.pulse {
    animation: pulse-animation 2s infinite;
}

.pulse-green-fast {
    animation: pulse-animation-green 1.5s infinite;
}

.pulse-red-fast {
    animation: pulse-animation-red 1.5s infinite;
}

.pulse-size {
    animation: pulse-size 1.5s infinite;
}

.img-thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    padding: 0px;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.1);
    }

    100% {
        box-shadow: 0 0 0 16px rgba(0, 0, 0, 0);
    }
}

@keyframes pulse-animation-red {
    0% {
        box-shadow: 0 0 0 0px rgba(229, 92, 87, 1);
        transform: scale(.9);
    }

    70% {
        box-shadow: 0 0 0 16px rgba(229, 92, 87, 0);
        transform: scale(1);
    }

    100% {
        box-shadow: 0 0 0 16px rgba(229, 92, 87, 0);
        transform: scale(.9);
    }
}

@keyframes pulse-animation-green {
    0% {
        box-shadow: 0 0 0 0px rgba(223, 242, 191, 1);
        transform: scale(.9);
    }

    70% {
        box-shadow: 0 0 0 16px rgba(223, 242, 191, 0);
        transform: scale(1);
    }

    100% {
        box-shadow: 0 0 0 16px rgba(223, 242, 191, 0);
        transform: scale(.9);
    }
}

@keyframes pulse-size {
    0% {
        transform: scale(.9);
        font-size: 0.9rem;
    }

    50% {
        transform: scale(1);
        font-size: 1rem;
    }

    100% {
        transform: scale(.9);
        font-size: 0.9rem;
    }
}

.modal-header {
    background: #ddd;
    border-radius: 0px !important;
}

.bg-striped {
    background-image: linear-gradient(45deg, #b6b6b6 25%, #ffffff 25%, #ffffff 50%, #b6b6b6 50%, #b6b6b6 75%, #ffffff 75%, #ffffff 100%);
    background-size: 28.28px 28.28px;
}

.text-underline {
    text-decoration: underline;
}

.introjs-button {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    font-family: "IKEA";
    text-shadow: none;
    border-radius: 6px;
    min-width: 60px;
    text-align: center;
}

.introjs-prevbutton {
    background-color: var(--border-color);
    border-color: var(--border-color);
    color: #000;
}

.introjs-disabled {
    background-color: var(--border-color);
    border-color: var(--border-color);
    color: #000;
    opacity: .5;
}

.introjs-button:hover,
.introjs-button:focus,
.introjs-button:active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: none;
}

.introjs-prevbutton:hover,
.introjs-prevbutton:focus,
.introjs-prevbutton:active {
    background-color: var(--border-color);
    border-color: var(--border-color);
    color: #000;
    box-shadow: none;
}

.introjs-tooltipReferenceLayer {
    font-family: "IKEA";
}

.introjs-tooltipReferenceLayer * {
    font-family: "IKEA";
}

.introjs-tooltip {
    border-radius: 8px;
}

.div:where(.swal2-container) {
    backdrop-filter: blur(3px);
}

.select2-container--default .select2-results>.select2-results__options {
    max-height: 300px !important;
}

.select2-container--default .select2-results__group {
    cursor: default;
    display: block;
    padding: 6px;
    font-size: 12px;
    font-weight: 400;
    color: var(--border-color-2);
}

.blink {
    animation: blinker .75s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.checkbox-wrapper-39{
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-wrapper-39 *,
.checkbox-wrapper-39 *::before,
.checkbox-wrapper-39 *::after {
    box-sizing: border-box;
}

.checkbox-wrapper-39 label {
    display: block;
    width: 32px;
    height: 32px;
    cursor: pointer;
}

.checkbox-wrapper-39 input {
    visibility: hidden;
    display: none;
}

.checkbox-wrapper-39 input:checked~.checkbox {
    transform: rotate(45deg);
    width: 14px;
    margin-left: 12px;
    border-color: var(--primary-color);
    border-top-color: transparent;
    border-left-color: transparent;
    border-radius: 0;
    border-width: 3px;
}

.checkbox-wrapper-39 .checkbox {
    display: block;
    width: inherit;
    height: inherit;
    border: 2px solid #b6b6b6;
    border-radius: 6px;
    transition: all 0.375s;
}