@font-face {
    font-family: 'NotoSansLao';
    src: url('./../css/fonts/NotoSansLao-Regular.ttf');
}
@font-face {
    font-family: 'NotoSansLao-Bold';
    src: url('./../css/fonts/NotoSansLao-Bold.ttf');
}
.la-normal,.swal2-html-container,.swal2-default-outline,.swal2-styled{font-family: 'NotoSansLao' !important;}
.la-bold,.swal2-title{font-family: 'NotoSansLao-Bold' !important;}
.btn-block{width: 100% !important;}
.bg-orange{background-color: orange;}
.bg-grey{background-color: rgb(202, 201, 199);}
/* .bg-red{background-color: rgb(237, 105, 85); border-radius: 30px;} */
.row .menu {padding-right: calc(var(--bs-gutter-x) * 0.07);}
.row .menu {padding-left: calc(var(--bs-gutter-x) * 0.07);}
.food-img{object-fit: cover; height: 100px; border-top-right-radius: 3px; border-top-left-radius: 3px;}
.btn-add2card{border-top-left-radius: 0px; border-top-right-radius: 0px;}
.food-card {
  justify-content: space-between;
  flex-direction: column;
  height: 100vh;
  display: flex;
}
.food-card .btn-add2card {
  justify-content: center;
  display: flex;
}
.hide{display: none;}
.text-right{text-align: right !important;}
.nav-link.active{color: rgb(196, 0, 0) !important;}
.btn-icon{margin: 3px;}
.order-time{margin-top: -10px; font-style: italic; font-size: 13px;}
.btn-orange{background-color: orange;}
.btn-orange:hover{background-color: rgb(230, 151, 3);}
.btn-search{border-top-left-radius: 0px; border-bottom-left-radius: 0px;border: 1px solid #ced4da !important;}
.swal2-confirm{font-size: 'NotoSansLao' !important;}
.item-hide{display: none;}

.navbar.bg-red { /* Assuming 'bg-red' is your custom class for the green background */
    background-color: #107F4A !important; /* The deep green color */
    padding-top: 4px; /* Adjust padding if needed */
    padding-bottom: 4px; /* Adjust padding if needed */
}
.container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1) !important;
}
.navbar-nav .nav-item {
    padding: 6px; /* Small padding around each item */
    margin: 0 5px; /* Space between items */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
    border-radius: 5px; /* Slightly rounded corners for all items */
    display: flex; /* Enable flexbox for icon/text arrangement */
    flex-direction: column; /* Stack icon on top of text */
    align-items: center; /* Center horizontally */
    justify-content: center; /* Center vertically */
    min-height: 50px; /* Ensure enough height for icon and text */
}

.navbar-nav .nav-item .nav-link {
    color: #FFFFFF !important; /* White text for all links by default */
    font-weight: bold;
    font-size: 18px;
    padding: 0 !important; /* Remove default Bootstrap padding to align icon/text */
    text-align: center; /* Center the text */
    display: flex; /* Enable flexbox on the link itself */
    flex-direction: column; /* Stack icon on top of text */
    align-items: center; /* Center horizontally */
    justify-content: center; /* Center vertically */
    line-height: 1.2; /* Adjust line height for better spacing */
}

/* Material Icons within the nav links */
.navbar-nav .nav-item .nav-link .material-icons {
    font-size: 28px; /* Larger icon size */
    margin-bottom: 3px; /* Space between icon and text */
    color: #FFFFFF !important; /* Ensure icons are white */
    line-height: 1; /* Reset line-height to prevent extra space */
}

/* 3. Hover Effect */
.navbar-nav .nav-item:hover:not(.active) { /* Apply hover effect only if not active */
    background-color: rgba(255, 255, 255, 0.2); /* Light transparent white background on hover */
    cursor: pointer; /* Indicate clickable */
    border-radius: 0px;
}

/* 4. Active State (The orange, prominent style) */
.navbar-nav .nav-item.active {
    background-color: #FF8C00 !important; /* Orange background */
    border-radius: 0px; /* More rounded corners for the active item */
    transform: scale(1.05); /* Slightly larger */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    position: relative; /* For potential future additions, like a subtle outline */
    z-index: 1; /* Bring to front in case of overlap */
}

/* Ensure active link text and icon also remain white */
.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-item.active .nav-link .material-icons {
    color: #FFFFFF !important;
}
.navbar-nav .nav-item.dropdown .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Style the dropdown menu itself to be dark or match theme */
.navbar-nav .dropdown-menu {
    background-color: #777777; /* A darker green for dropdowns */
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    min-width: 180px; /* Adjust dropdown width */
}

.navbar-nav .dropdown-menu li a.dropdown-item {
    color: #FFFFFF; /* White text for dropdown items */
    padding: 10px 15px;
    font-size: 15px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar-nav .dropdown-menu li a.dropdown-item:hover,
.navbar-nav .dropdown-menu li a.dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.1); /* Light hover for dropdown items */
    color: #FFFFFF;
}

/* Ensure dropdown toggle arrow is visible and white */
.navbar-nav .nav-item.dropdown .nav-link.dropdown-toggle::after {
    color: #FFFFFF;
    margin-left: 0; /* Remove default margin */
    margin-top: 5px; /* Place arrow below text if desired, or beside if not stacking */
    display: none; 
}

.d-flex .btn:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Light hover for buttons */
}

.d-flex .btn .material-icons {
    font-size: 24px; /* Ensure icon size for these buttons */
    line-height: 1; /* Remove extra space */
}

/* Responsive adjustments for smaller screens if needed */
@media (max-width: 991.98px) { /* For Bootstrap's 'lg' breakpoint */
    .navbar-nav {
        flex-direction: column; /* Stack nav items vertically in collapsed menu */
        align-items: flex-start; /* Align to the left */
        margin-top: 10px;
    }
    .navbar-nav .nav-item {
        margin: 0;
        width: 100%; /* Full width for collapsed items */
        padding: 8px 15px; /* Adjust padding */
        border-radius: 0; /* No special rounding in collapsed state */
        flex-direction: row; /* Icon and text side-by-side in collapsed menu */
        justify-content: flex-start;
    }
    .navbar-nav .nav-item .nav-link {
        flex-direction: row;
        text-align: left;
    }
    .navbar-nav .nav-item .nav-link .material-icons {
        margin-right: 10px; 
        margin-bottom: 0;
    }
    .navbar-nav .nav-item.active {
        background-color: rgba(255, 255, 255, 0.15) !important;
        transform: none;
        box-shadow: none;
        border-radius: 0;
    }
    .d-flex {
        width: 100%;
        justify-content: flex-end;
        padding-right: 15px; 
    }
}