html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}


/* Full-page overlay */
#loaderoverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it is above all other elements */
}

/* Centered loader */
#loader {
    width: 3rem;
    height: 3rem;
}


html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

label {
    margin-bottom: 0 !important;
}

.modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

.custom-modal-width {
    max-width: 500px; /* Adjust the width as needed */
}

.receipt {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.receipt-header {
    text-align: center;
    margin-bottom: 20px;
}

.receipt-footer {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.item {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

    .item:last-child {
        border-bottom: none;
    }


@page {
    /*   size: 2.8in 11in;*/
    margin-top: 0cm;
    margin-left: 0cm;
    margin-right: 0cm;
    size: auto;
    margin: 0mm;
}

/* Remove padding and margin from the Select2 container */
.select2-container {
    margin: 0 !important;
    padding: 0 !important;
}

/* Optional: Reduce spacing inside the Select2 dropdown */
.select2-selection {
    min-height: 1.5rem; /* Adjust this value if needed */
    padding: 0 !important;
    margin: 0 !important;
}
/* Remove extra spacing between form controls */
.form-control {
    margin-bottom: 0 !important;
}

/* Remove border-radius from the select control inside Select2 */
.select2-container .select2-selection--single {
    border-radius: 0 !important;
}

/* Remove border-radius from the actual form control */
.form-control {
    border-radius: 0 !important;
}

/*.small-image img {
    width: 16px;
    height: 8px;
}*/


.btn-custom-small {
    font-size: 12px;
    padding: 4px 8px;
}


.alert-sm {
    font-size: 0.875rem; /* Smaller text */
    padding: 0.5rem 0.75rem; /* Less padding */
    border-radius: 0.25rem; /* Optional: slightly rounded */
}


#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it is above all other elements */
}

#loader {
    width: 3rem;
    height: 3rem;
}

.btn-default {
    border-radius: 0;
}


.btn {
    border-radius: 0; /* Removes the corner radius */
}

/*.select2-container {
    z-index: 1055 !important;*/ /* Higher than Bootstrap modal */
/*}*/


.offcanvas {
    background-color: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
    margin: 20px;
}

    .offcanvas:hover {
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
        transform: translateY(-5px);
    }


hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}