body {
    background-color: #f8f9fa;
    font-family: "Times New Roman", Times, serif;
}
/* Back Button Styling */
.nav-back a {
    font-size: 24px; /* Increase icon size */
    color: white;
    text-decoration: none;
}
label{
    color: #105c5b;
}
.navbar-brand {
    font-size: 24px;
    font-weight: bold;
}
.menu-container {
    width: 75%;
    margin: auto; /* Centers the div */
    background: #cdf2f2;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
.cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #097c7a;
    color: white;
    padding: 10px 15px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    display: none;
}
.back-color{
    background: #097c7a;
}
/* Category Header */
.category {
    background: #097c7a;
    color: white;
    padding: 12px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.button-back{
    font-weight: bold;
    background: #097c7a;
    color: #FFFFFF;
}
.button-back-opp{
    font-weight: bold;
    background: #fcfaf8;
    color: #097c7a;
}
.dropdown-button {
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
}
/* Hidden Categories */
.hidden {
    display: none;
}
/* Grid Layout for Menu Items */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Responsive Grid */
    gap: 15px;
    margin-top: 10px;
}
/* Individual Menu Card */
.menu-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.menu-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}
/* Card Header */
.menu-card-header {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
}
/* Veg & Non-Veg Icons */
.veg-icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: green;
    border-radius: 50%; /* Solid Green Circle */
    margin-right: 5px;
}
.non-veg-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 12px solid red; /* Solid Red Triangle */
    margin-right: 5px;
}
/* Price & Checkbox */
.menu-card-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
.price {
    font-weight: bold;
    color: #097c7a;
}
/* Default Checkbox Styling */
input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #097c7a; /* Sets checkbox color in supported browsers */
}
/* For better compatibility, use this approach */
input[type="checkbox"]:checked {
    background-color: #097c7a;
    border: 2px solid #097c7a;
}
/* Optional: Add a red border when checked */
input[type="checkbox"]:checked::before {
    content: "✔";
    color: white;
    font-size: 14px;
    text-align: center;
    display: block;
}
.item-symbol {
    font-size: 16px;
    margin-right: 5px;
}

.veg .item-symbol {
    color: green;
}

.non-veg .item-symbol {
    color: red;
}
.error-message { 
    color: red; font-size: 14px; 
}
.shadow-lg {
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1) !important;
}
.input-group-text {
    background: #f8f9fa;
    border-right: none;
}
.form-control {
    border-left: none;
}
.position-absolute {
    bottom: -18px;
    left: 5px;
}
#loader {
    display: none !important;  /* Ensure it's hidden initially */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.spinner-border {
    width: 4rem;
    height: 4rem;
}
small {
    font-size: 60%;
    font-weight: 100;
}
.data-card {
    background: #cdf2f2;
    padding: 2%;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    /* max-width: 600px; */
    width: 75%;
    margin: auto;
}

.card h3 {
    margin-bottom: 15px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    display: block;
}

.info {
    font-size: 100%;
    font-weight: 600;
    color: #333;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.info div {
    margin: 5px 10px;
}

.info span {
    color: #097c7a;
}
#menuPdf{
    color: #097c7a;
}
.nav-back {
  padding-left: 2%;
}
/* Responsive Design */
@media screen and (max-width: 600px) {
    .menu-grid {
        grid-template-columns: 1fr; /* Full Width on Smaller Screens */
    }
    .menu-container {
        width: 90%;
    }
    .navbar {
        padding: 2%;
    }
    #menu_cat_nav {
        width: 40%;
        font-weight: bold;
    }
}
/* General Navbar Styling */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-image: linear-gradient(to right, #097c7a, #cdf2f2);    padding: 10px 15px;
    padding: 10px 20px;
    width: 100%;
}

/* Back Button Styling */
.nav-back a {
    font-size: 24px; /* Adjust icon size */
    color: white;
    text-decoration: none;
}

/* Center Title and Ensure It Stays Visible */
#menu_cat_nav {
    font-size: 24px;
    font-weight: bold;
    color: #097c7a;
    text-align: center;
    flex-grow: 1; /* Allow it to expand */
    white-space: nowrap; /* Prevent text from wrapping */
    overflow: hidden; /* Avoid content overflow */
    text-overflow: ellipsis; /* Show "..." if cut */
    text-align: right;
}

/* Desktop Fix (Make Sure Heading Stays Centered) */
@media (min-width: 1024px) {
    .navbar {
        display: flex;
        justify-content: space-between; /* Ensures proper centering */
    }

    #menu_cat_nav {
        max-width: 15%; /* Prevents excessive stretching */
    }
}