
        body {background:#2c2c2c; font-family: 'Poppins', sans-serif; color: #fff; transition:background 0.3s ease;}
        .text-danger {color: #00c8ff !important; transition: color 0.3s ease, transform 0.3s ease;}
        .text-danger:hover {color: #00c8ff !important; transform: scale(1.05);}
        input, textarea {font-size: 16px; outline: none; -webkit-appearance: none; transition:border 0.3s ease;}
        input:focus, textarea:focus {border:1px solid #00c8ff;}
        *:focus {zoom: 1 !important;}
        html, body {-webkit-text-size-adjust: none; touch-action: manipulation;}
        .most_popular .list-card {background: #565656; border-radius: 12px; overflow: hidden; position: relative; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); transition: transform 0.3s ease, box-shadow 0.3s ease; opacity: 0; animation: fadeIn 0.5s ease forwards;}
        .most_popular .list-card:hover {transform: translateY(-8px); box-shadow: 0 12px 30px rgba(0, 200, 255, 0.2);}
        .most_popular .list-card-image {position: relative; height: 110px; overflow: hidden;}
        .most_popular .list-card-image img {height: 100%; width: 100%; object-fit: cover; transition: transform 0.3s ease, opacity 0.3s ease; opacity: 0.9;}
        .most_popular .list-card-image img.loaded {opacity: 1;}
        .most_popular .list-card:hover .list-card-image img {transform: scale(1.08);}
        .most_popular .list-card-body {padding: 12px; height: 80px; position: relative;}
        .most_popular .list-card-body h6 {font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 6px; overflow-wrap: break-word; white-space: normal; max-height: 36px; line-height: 1.2; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);}
        .most_popular .list-card-body p {font-size: 0.8rem; color: #d0d0d0; margin-bottom: 0; margin-top: 4px; display: flex; flex-wrap: wrap;}
        .most_popular .list-card-badge {position: absolute; top: 10px; right: 10px;}
        .most_popular .list-card-badge span {background: #00c8ff; padding: 4px 8px; border-radius: 12px; font-size: 0.75rem; color: #fff; font-weight: 600;}
        .most_popular .list-card-badge span:where(.closed) {
    background: #ff3b30; /* Red for closed */
}
        .all {padding-bottom: 100px;}
        .search-dropdown {position: absolute; top: 100%; left: 0; width: 100%; background: #161616; border: 1px solid #ddd; border-radius: 0 0 5px 5px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); max-height: 200px; overflow-y: auto; display: none; z-index: 1000;}
        .search-dropdown div {padding: 10px; cursor: pointer; transition: background 0.2s ease;}
        .search-dropdown div:hover {background: #000000;}
        .offline-notice {display: none; text-align: center; padding: 20px; color: #fff; background: #ff3b30; border-radius: 10px; margin: 20px; opacity: 0; transition: opacity 0.5s ease;}
        body.offline .offline-notice {display: block; opacity: 1;}
        .time span, .fee span {background: #4a4a4a; color: #fff; padding: 4px 10px; border-radius: 10px; font-size: 0.75rem; font-weight: 500; margin-right: 8px;}
        .list-card {background: #565656; border-radius: 12px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; opacity: 0; animation: fadeIn 0.5s ease forwards;}
        .list-card:hover {transform: translateY(-8px); box-shadow: 0 12px 30px rgba(0, 200, 255, 0.2);}
        .list-card-image {height: 140px; position: relative;}
        .list-card-image img {height: 100%; width: 100%; object-fit: cover;}
        .list-card-body {height: 80px; padding: 12px; text-align: left;}
        .list-card-body h6 {font-size: 1.5rem; font-weight: 700; color: #fff; line-height: 1.2; max-height: 36px;}
        .bg-darker {background: #565656 !important;}
        .bg-darks {background: #1a1a1a !important;}
        @keyframes fadeIn {from {opacity: 0; transform: translateY(10px);} to {opacity: 1; transform: translateY(0);}}
        .list-card a, .list-card h6 {color: inherit; overflow: hidden; white-space: nowrap; font-size: 13px; text-overflow: ellipsis;}
        .promo-messages {position: relative; width: 95%; max-width: 800px; height: 100px; overflow: hidden; margin: 0 auto 10px; user-select: none; border-radius: 40px; display: flex; justify-content: center; align-items: center; opacity: 0; animation: fadeIn 0.5s ease forwards;}
        .promo-messages.hidden {display: none;}
        .promo-messages .message {position: absolute; top: 0; left: 100%; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.1); border-radius: 40px; transition: left 0.8s ease-in-out;}
        .promo-messages .message.active {left: 0;}
        .promo-messages .message.exit {left: -100%;}
        .promo-messages .message h4 {color: #fff; font-weight: 700; font-size: 1.5rem; text-align: center; padding: 0 20px; margin: 0; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);}
        .footer-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1px;
    border-radius: 10px;
    transition: background 0.3s ease, transform 0.2s ease;
}
.footer-item.selected {
    background: rgba(0, 200, 255, 0.2); /* Matches your #00c8ff theme color */
    transform: scale(1.05);
}
.footer-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-item:hover {
    background: rgba(255, 255, 255, 0.1);
}
.footer-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1px;
    border-radius: 10px;
    transition: background 0.3s ease, transform 0.2s ease;
}
.footer-item.selected {
    background: #00566d; /* Matches your #00c8ff theme color */
    transform: scale(1.05);
}
.footer-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-item:hover {
    background: rgba(255, 255, 255, 0.1);
}
/* Hide Scrollbar for PWA */
html, body {
    overflow-y: scroll; /* Ensures scrolling is still possible */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}
body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}
html, body {
    height: 100%;
    min-height: -webkit-fill-available;
    overscroll-behavior-y: none;
    scroll-behavior: smooth;
    margin: 0;
    touch-action: pan-x pan-y;
    -webkit-user-scalable: no;
    -ms-user-scalable: no;
    user-scalable: no;
}
html {
        height: 100%;
        min-height: -webkit-fill-available;
        overscroll-behavior-y: none;
        scroll-behavior: smooth;
        margin: 0;
    }
    body {
        background: #2c2c2c;
        font-family: 'Poppins', sans-serif;
        color: #fff;
        margin: 0;
        padding: 0;
        height: 100%;
        min-height: -webkit-fill-available;
        overflow-x: hidden;
        overscroll-behavior-y: none;
        -webkit-overflow-scrolling: touch;
        display: flex;
        flex-direction: column;
        padding-bottom: 70px; /* Matches footer height to prevent overlap */
    }
    #all-restaurants .list-card {
    background: #565656;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 1;
    transform: scale(1);
}
#all-restaurants .list-card-image img {
    height: 110px;
    object-fit: cover;
    width: 100%;
    border-radius: 10px 10px 0 0;
}
#all-restaurants .list-card-body {
    padding: 8px;
    height: 60px;
    text-align: left;
}
#all-restaurants .list-card-body h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}
#all-restaurants .time span {
    background: #4a4a4a;
    color: #fff;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
}

    .skeleton-card {
    background: #565656;
    border-radius: 10px;
    overflow: hidden;
    opacity: 1;
    height: 170px; /* Matches list-card height */
}
.skeleton-image {
    height: 110px;
    background: #4a4a4a;
    position: relative;
    overflow: hidden;
}
.skeleton-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 1.5s infinite;
}
.skeleton-body {
    padding: 8px;
    height: 60px;
}
.skeleton-text {
    background: #4a4a4a;
    height: 16px;
    border-radius: 4px;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}
.skeleton-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 1.5s infinite;
}
.skeleton-text.short {
    width: 60%;
    height: 12px;
}
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}
   /* Ensure the badge container has position: relative */
.list-card-image {
    position: relative;
    overflow: hidden;
}

/* Badge styles */
.status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    left: auto;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    z-index: 5;
    white-space: nowrap;
}

/* Color styles */
.open-badge {
    background-color: #28a745; /* green */
    color: white;
}

.closed-badge {
    background-color: #dc3545; /* red */
    color: white;
}

.discount-badge {
    position: absolute;
    bottom: 8px;   /* push it to the bottom */
    right: 8px;    /* align to the right */
    background: #00c8ff;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 6px;
    z-index: 5;
}
.custom-badge {
  display: inline-block;
  background-color: #007bff; /* blue */
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  margin-top: 5px;
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 5;
    white-space: nowrap;
}
