/* ========================================
   MOTHER'S KITCHEN - OPTIMIZED STYLES
   ======================================== */
:root {
    /* ... existing colors ... */
    --turmeric: #F4A518;
    --maroon: #8B2635;
    --coconut: #FAF9F6;
    --green: #4A7C59;
    --earth: #B8956A;
    --gold: #D4AF37;
    --orange: #FF7F3F;
    --charcoal: #2D2D2D;
    --gray: #F5F5F5;
    --cream: #FFF8F0;
    /* ADD THESE Z-INDEX LAYERS */
    --z-back: -1;
    /* Background patterns */
    --z-normal: 1;
    /* Standard content */
    --z-nav: 1000;
    /* Navbar */
    --z-badge: 1100;
    /* Floating badges/chatbots */
    --z-modal: 2000;
    /* Cart Modal/Location Widget */
    --z-toast: 3000;
    /* Toast Notifications (Top priority) */
}


/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Hind', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--charcoal);
    background: var(--coconut);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    z-index: var(--z-nav);
    padding: 12px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.7);
    /* More transparent */
    backdrop-filter: blur(20px) saturate(180%);
    /* Stronger blur */
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar.scrolled {
    background: rgba(250, 249, 246, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: var(--maroon);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.odia-text {
    font-size: 1rem;
    color: var(--green);
    display: block;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: var(--maroon);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--maroon);
}

.nav-links a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-actions {
    display: flex;
    gap: 12px;
}

.icon-btn {
    background: rgba(45, 45, 45, 0.06);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background: var(--turmeric);
    transform: scale(1.05);
}

.icon-btn:active {
    transform: scale(0.95);
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--maroon);
    color: white;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--maroon);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, var(--cream), var(--coconut));
    overflow: hidden;
    padding: 140px 20px 60px;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 1px 1px, rgba(139, 38, 53, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.trust-badges {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    animation: fadeIn 0.6s ease 0.4s backwards;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 10px 20px;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, var(--turmeric), var(--orange));
    color: white;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeIn 0.6s ease 0.5s backwards;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--maroon), var(--turmeric));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--green);
    margin-bottom: 28px;
    font-weight: 500;
}

.live-order-notification {
    background: white;
    padding: 14px 24px;
    border-radius: 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin: 28px auto;
    max-width: 90%;
    animation: slideUp 0.6s ease 0.6s backwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 32px 0;
    flex-wrap: wrap;
    animation: fadeIn 0.6s ease 0.7s backwards;
}

.btn {
    padding: 14px 32px;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--maroon), var(--turmeric));
    color: white;
    box-shadow: 0 6px 20px rgba(139, 38, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(139, 38, 53, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: white;
    color: var(--maroon);
    border: 2px solid rgba(139, 38, 53, 0.2);
}

.btn-secondary:hover {
    background: var(--maroon);
    color: white;
    border-color: var(--maroon);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.hero-features {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
    animation: fadeIn 0.6s ease 0.8s backwards;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.95rem;
}

.feature-icon {
    font-size: 1.5rem;
}

/* ========================================
   SECTIONS
   ======================================== */

section {
    padding: clamp(60px, 10vw, 100px) 0;
    position: relative;
}

.section-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background-image: radial-gradient(circle, var(--turmeric) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.03;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(139, 38, 53, 0.08);
    color: var(--maroon);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--earth);
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.lead {
    font-size: 1.25rem;
    color: var(--maroon);
    font-weight: 500;
    margin-bottom: 24px;
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 20px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.value-item {
    padding: 24px;
    background: var(--cream);
    border-radius: 16px;
    border-left: 4px solid var(--turmeric);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-item:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.value-item h4 {
    margin-bottom: 10px;
    color: var(--maroon);
    font-size: 1.05rem;
}

/* REMOVE the background-image lines */
.image-frame {
    width: 100%;
    height: 500px;
    object-fit: cover;
    /* Adds this to ensure image behaves like background-size: cover */
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.image-frame:hover {
    transform: scale(1.02);
}

/* ========================================
   MENU SECTION
   ======================================== */

.menu {
    background: var(--gray);
}

.menu-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.menu-intro h3 {
    font-size: 1.75rem;
    color: var(--maroon);
    margin-bottom: 12px;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 16px 24px;
    background: white;
    border: 2px solid rgba(139, 38, 53, 0.1);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 160px;
}

.tab-icon {
    font-size: 2rem;
}

.tab-text {
    font-weight: 600;
    color: var(--charcoal);
}

.tab-desc {
    font-size: 0.75rem;
    color: var(--earth);
}

.tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.tab-btn.active {
    background: var(--maroon);
    border-color: var(--maroon);
}

.tab-btn.active .tab-text,
.tab-btn.active .tab-desc {
    color: white;
}

.menu-content {
    display: none;
}

.menu-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.subscription-section {
    background: white;
    padding: 60px 40px;
    border-radius: 24px;
    margin: 60px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.subscription-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 8px;
}

.plans-subtitle {
    text-align: center;
    color: var(--earth);
    margin-bottom: 40px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.price-card {
    background: white;
    padding: 40px 32px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.price-card.featured {
    border-color: var(--turmeric);
    transform: scale(1.05);
}

.price-card.featured:hover {
    transform: scale(1.08) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--turmeric), var(--orange));
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(244, 165, 24, 0.4);
}

.plan-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.price-display {
    margin: 24px 0;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
    color: var(--earth);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--maroon);
    letter-spacing: -1px;
}

.period {
    font-size: 1rem;
    color: var(--earth);
}

.amount-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--maroon);
}

.plan-features {
    list-style: none;
    text-align: left;
    margin: 28px 0;
}

.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-savings,
.per-meal {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    padding: 10px;
    border-radius: 10px;
    font-weight: 600;
    margin: 20px 0;
    font-size: 0.9rem;
}

.plan-savings.best,
.per-meal.best {
    background: linear-gradient(135deg, var(--turmeric), var(--orange));
    color: white;
}

.plan-duration {
    display: block;
    color: var(--earth);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.corporate-header {
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, var(--maroon), var(--green));
    color: white;
    border-radius: 24px;
    margin-bottom: 50px;
}

.corporate-header h3 {
    font-size: 2.25rem;
    margin-bottom: 12px;
}

.corporate-features {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 24px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.corporate-menu-grid,
.special-dishes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.dish-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dish-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.dish-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.dish-card h4 {
    font-size: 1.5rem;
    color: var(--maroon);
    margin-bottom: 12px;
}

.dish-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--cream);
    color: var(--green);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 16px;
}

.corporate-delivery-info {
    background: var(--cream);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin: 40px 0;
}

.delivery-locations {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.location-badge {
    background: white;
    padding: 10px 20px;
    border-radius: 24px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.menu-notes {
    background: var(--cream);
    padding: 32px;
    border-radius: 20px;
    border-left: 4px solid var(--turmeric);
}

.menu-notes h4 {
    color: var(--maroon);
    margin-bottom: 20px;
}

.menu-notes ul {
    list-style: none;
}

.menu-notes li {
    padding: 10px 0;
    line-height: 1.6;
}

/* ========================================
   CONTACT
   ======================================== */

.contact {
    background: var(--gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.contact-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.contact-card h3 {
    color: var(--maroon);
    margin-bottom: 12px;
}

.contact-card a {
    color: var(--green);
    text-decoration: none;
    font-weight: 600;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--turmeric);
    box-shadow: 0 0 0 4px rgba(244, 165, 24, 0.1);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--charcoal);
    color: white;
    padding: 60px 0 24px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    color: var(--turmeric);
    margin-bottom: 8px;
}

.footer h4 {
    color: var(--turmeric);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--turmeric);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--turmeric);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   MOBILE BOTTOM NAV & CHATBOT
   ======================================== */

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0 max(8px, env(safe-area-inset-bottom));
    z-index: var(--z-nav);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-bottom-nav button {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--charcoal);
    cursor: pointer;
    padding: 8px 12px;
    transition: all 0.2s;
    position: relative;
}

.mobile-bottom-nav button.active {
    color: var(--maroon);
}

.mobile-bottom-nav button span:first-child {
    font-size: 1.5rem;
}

.mobile-bottom-nav button span:last-child {
    font-size: 0.7rem;
    font-weight: 600;
}

.mobile-bottom-nav .nav-cart-count {
    position: absolute;
    top: 4px;
    right: 8px;
    background: var(--maroon);
    color: white;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.chatbot-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: var(--z-badge);
}

.chatbot-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--maroon), var(--turmeric));
    color: white;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(139, 38, 53, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-window {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 340px;
    max-width: calc(100vw - 40px);
    height: 480px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    overflow: hidden;
    z-index: var(--z-badge);
}

.chatbot-window.active {
    display: flex;
    animation: slideUp 0.3s ease;
}

.chatbot-header {
    background: var(--maroon);
    color: white;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.chatbot-header button {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.bot-message {
    background: var(--gray);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.quick-replies {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.quick-replies button {
    background: white;
    border: 2px solid var(--maroon);
    color: var(--maroon);
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.quick-replies button:hover {
    background: var(--maroon);
    color: white;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    .navbar {
        padding: 10px 0;
    }

    .announcement-bar {
        top: 63px;
    }

    .hero {
        padding: 120px 15px 40px;
        min-height: auto;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-links.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        gap: 16px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .price-card.featured {
        transform: scale(1);
    }

    .chatbot-widget {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .subscription-section {
        padding: 40px 20px;
    }
}

/* Desktop - Hide bottom nav */
@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none !important;
    }

    body {
        padding-bottom: 0;
    }

    .chatbot-widget {
        display: block !important;
    }
}

/* ========================================
   INTERACTIVE LOCATION WIDGET
   ======================================== */

/* Widget Container */
.location-widget {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 380px;
    max-width: calc(100vw - 40px);
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    z-index: var(--z-modal);
    overflow: hidden;
    transform: translateX(450px) scale(0.9);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-widget.active {
    transform: translateX(0) scale(1);
    opacity: 1;
}

/* Widget Header */
.widget-header {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--turmeric) 100%);
    color: white;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.widget-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.widget-title {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.widget-emoji {
    font-size: 1.8rem;
    animation: locationBounce 2s ease-in-out infinite;
}

@keyframes locationBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.widget-title h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.widget-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.widget-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Widget Body */
.widget-body {
    padding: 24px;
    max-height: 500px;
    overflow-y: auto;
}

.widget-body::-webkit-scrollbar {
    width: 6px;
}

.widget-body::-webkit-scrollbar-track {
    background: var(--gray);
}

.widget-body::-webkit-scrollbar-thumb {
    background: var(--turmeric);
    border-radius: 10px;
}

.widget-section {
    margin-bottom: 24px;
}

.widget-label {
    display: block;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

/* Location Grid */
.location-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.location-chip {
    background: var(--gray);
    border: 2px solid transparent;
    padding: 14px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.location-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--turmeric), var(--orange));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.location-chip:hover {
    border-color: var(--turmeric);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(244, 165, 24, 0.2);
}

.location-chip:hover::before {
    opacity: 0.1;
}

.location-chip.selected {
    background: linear-gradient(135deg, var(--turmeric), var(--orange));
    border-color: var(--turmeric);
    color: white;
    transform: scale(1.02);
}

.location-chip.selected .chip-content strong,
.location-chip.selected .chip-pincode {
    color: white;
}

.chip-icon {
    font-size: 1.6rem;
    position: relative;
    z-index: 1;
}

.chip-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.chip-content strong {
    font-size: 0.95rem;
    color: var(--charcoal);
    transition: color 0.3s ease;
}

.chip-pincode {
    font-size: 0.8rem;
    color: var(--earth);
    transition: color 0.3s ease;
}

.chip-check {
    font-size: 1.2rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 1;
}

.location-chip.selected .chip-check {
    opacity: 1;
    transform: scale(1);
}

/* Divider */
.widget-divider {
    text-align: center;
    position: relative;
    margin: 20px 0;
    color: var(--earth);
    font-size: 0.9rem;
    font-weight: 500;
}

.widget-divider::before,
.widget-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gray), transparent);
}

.widget-divider::before {
    left: 0;
}

.widget-divider::after {
    right: 0;
}

.widget-divider span {
    background: white;
    padding: 0 12px;
    position: relative;
}

/* Pincode Input Group */
.pincode-input-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.widget-input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid var(--gray);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.widget-input:focus {
    outline: none;
    border-color: var(--turmeric);
    box-shadow: 0 0 0 4px rgba(244, 165, 24, 0.1);
}

.widget-search-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--maroon), var(--turmeric));
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(139, 38, 53, 0.3);
}

.widget-search-btn:active {
    transform: scale(0.95);
}

.search-icon {
    font-size: 1.4rem;
}

/* Result Display */
.widget-result {
    padding: 16px;
    border-radius: 12px;
    font-weight: 500;
    margin-top: 16px;
    display: none;
    animation: resultSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes resultSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.widget-result.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
    color: #059669;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-left: 4px solid #059669;
}

.widget-result.success .result-icon {
    font-size: 2rem;
    margin-bottom: 4px;
}

.widget-result.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
    color: #dc2626;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-left: 4px solid #dc2626;
}

.widget-result.error .result-icon {
    font-size: 2rem;
    margin-bottom: 4px;
}

/* Widget Info */
.widget-info {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray);
}

.info-badge {
    flex: 1;
    background: var(--cream);
    padding: 10px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal);
}

.badge-icon {
    font-size: 1.3rem;
}

/* Widget CTA */
.widget-cta {
    animation: ctaFadeIn 0.4s ease;
}

@keyframes ctaFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   FLOATING TRIGGER BUTTON
   ======================================== */

.location-widget-trigger {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: linear-gradient(135deg, var(--maroon), var(--turmeric));
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(139, 38, 53, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: var(--z-modal);
    animation: triggerPulse 3s ease-in-out infinite;
}

@keyframes triggerPulse {

    0%,
    100% {
        box-shadow: 0 8px 24px rgba(139, 38, 53, 0.4);
    }

    50% {
        box-shadow: 0 8px 24px rgba(139, 38, 53, 0.4), 0 0 0 8px rgba(139, 38, 53, 0.1);
    }
}

.location-widget-trigger:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(139, 38, 53, 0.5);
    animation: none;
}

.location-widget-trigger:active {
    transform: translateY(-1px) scale(1);
}

.location-widget-trigger.hidden {
    transform: translateX(200px);
    opacity: 0;
    pointer-events: none;
}

.trigger-icon {
    font-size: 1.4rem;
}

.trigger-text {
    white-space: nowrap;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .location-widget {
        width: calc(100vw - 20px);
        right: 10px;
        bottom: 80px;
    }

    .location-widget-trigger {
        right: 10px;
        bottom: 80px;
        padding: 14px 20px;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .widget-info {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .widget-header {
        padding: 16px 20px;
    }

    .widget-body {
        padding: 20px;
    }

    .trigger-text {
        display: none;
    }

    .location-widget-trigger {
        width: 56px;
        height: 56px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }
}

/* ========================================
   ROTATING BADGE NOTIFICATION (TOP RIGHT)
   ======================================== */

.notification-badge {
    position: fixed;
    top: 90px;
    right: 20px;
    background: linear-gradient(135deg, var(--turmeric), var(--orange));
    color: white;
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(244, 165, 24, 0.4);
    z-index: var(--z-badge);
    max-width: 320px;
    transform: translateX(400px);
    opacity: 0;
    animation: badgeSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 2s forwards;
}

@keyframes badgeSlideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.badge-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.badge-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge-icon {
    font-size: 2rem;
    animation: iconSpin 3s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes iconSpin {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(-15deg) scale(1.1);
    }

    50% {
        transform: rotate(0deg) scale(1);
    }

    75% {
        transform: rotate(15deg) scale(1.1);
    }
}

.badge-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.badge-text strong {
    font-size: 1rem;
    font-weight: 700;
}

.badge-text span {
    font-size: 0.85rem;
    opacity: 0.95;
    line-height: 1.4;
}

/* Pulse effect on hover */
.notification-badge:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 32px rgba(244, 165, 24, 0.5);
}

/* ========================================
   FLOATING CORNER BANNER (TOP LEFT)
   ======================================== */

.corner-banner {
    position: fixed;
    top: 100px;
    left: 20px;
    width: 220px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    padding: 28px 20px 24px;
    text-align: center;
    z-index: 998;
    transform: translateX(-280px) scale(0.9);
    opacity: 0;
    animation: cornerSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 3.5s forwards;
    border: 2px solid var(--cream);
}

@keyframes cornerSlideIn {
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* Ribbon Badge */
.corner-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--maroon), var(--turmeric));
    color: white;
    padding: 6px 20px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(139, 38, 53, 0.4);
    animation: ribbonFloat 3s ease-in-out infinite;
}

@keyframes ribbonFloat {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-3px);
    }
}

.corner-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
    animation: giftBounce 2s ease-in-out infinite;
}

@keyframes giftBounce {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    25% {
        transform: scale(1.1) rotate(-5deg);
    }

    75% {
        transform: scale(1.1) rotate(5deg);
    }
}

.corner-content h4 {
    font-size: 1.1rem;
    color: var(--maroon);
    margin-bottom: 8px;
    font-weight: 700;
}

.corner-content p {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--turmeric), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.corner-code {
    display: inline-block;
    background: var(--gray);
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    color: var(--maroon);
    border: 2px dashed var(--turmeric);
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.corner-code:hover {
    background: var(--cream);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(244, 165, 24, 0.2);
}

/* CTA Button */
.corner-cta {
    width: 100%;
    background: linear-gradient(135deg, var(--maroon), var(--turmeric));
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(139, 38, 53, 0.3);
}

.corner-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 38, 53, 0.4);
}

.corner-cta:active {
    transform: translateY(0);
}

/* Close Button */
.corner-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--gray);
    border: none;
    color: var(--charcoal);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.corner-close:hover {
    background: var(--maroon);
    color: white;
    transform: rotate(90deg);
}

/* Hover effect on banner */
.corner-banner:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* ========================================
   COORDINATED ANIMATIONS
   ======================================== */

/* Subtle shine effect on corner banner */
.corner-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transform: rotate(45deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .notification-badge {
        top: 70px;
        right: 10px;
        max-width: calc(100vw - 250px);
        padding: 14px 16px;
    }

    .badge-text span {
        font-size: 0.8rem;
    }

    .corner-banner {
        top: 70px;
        left: 10px;
        width: 180px;
        padding: 24px 16px 20px;
    }

    .corner-content h4 {
        font-size: 1rem;
    }

    .corner-content p {
        font-size: 1.6rem;
    }

    .corner-emoji {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {

    /* Stack vertically on very small screens */
    .notification-badge {
        top: 70px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .corner-banner {
        top: auto;
        bottom: 100px;
        left: 10px;
        width: calc(100vw - 20px);
        animation: cornerSlideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 4s forwards;
        transform: translateY(300px) scale(0.9);
    }

    @keyframes cornerSlideUp {
        to {
            transform: translateY(0) scale(1);
            opacity: 1;
        }
    }
}

/* Hide animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

    .notification-badge,
    .corner-banner {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .badge-icon,
    .corner-emoji,
    .corner-ribbon {
        animation: none;
    }
}

/* ========================================
   DYNAMIC MENU CARD STYLES (MOVED FROM JS)
   ======================================== */

.menu-card {
    background: white;
    padding: 28px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.menu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.menu-day-title {
    color: var(--maroon);
    font-size: 1.5rem;
    font-weight: 700;
}

.tag-special {
    background: linear-gradient(135deg, var(--turmeric), var(--orange));
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.menu-details {
    margin-bottom: 16px;
}

.menu-row {
    margin-bottom: 8px;
    line-height: 1.6;
}

.label-lunch {
    color: var(--green);
    font-weight: 700;
}

.label-dinner {
    color: var(--maroon);
    font-weight: 700;
}

.menu-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.menu-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--maroon);
}

/* Corporate Cards */
.corporate-card {
    background: white;
    padding: 28px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.corporate-card.friday-special {
    border-color: var(--turmeric);
}

.corporate-card:hover {
    transform: translateY(-4px);
}

.corporate-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.corporate-day {
    color: var(--maroon);
    font-size: 1.3rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.corporate-text {
    color: var(--charcoal);
    line-height: 1.6;
}

/* Cart Modal Styles (In case they were inline) */
.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 16px;
    background: var(--gray);
    border-radius: 12px;
    margin-bottom: 12px;
    align-items: center;
}

.cart-item-price-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.cart-item-price {
    font-weight: 700;
}

.btn-remove {
    background: #ef4444;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: opacity 0.2s;
}

.btn-remove:hover {
    opacity: 0.9;
}

.cart-total-container {
    border-top: 2px solid var(--gray);
    padding-top: 20px;
    margin: 20px 0;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--maroon);
}

/* ========================================
   PHASE 2: NEW FEATURES STYLES
   ======================================== */

/* 1. Kitchen Status Widget */
.kitchen-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--charcoal);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.8s ease backwards;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--turmeric);
    box-shadow: 0 0 0 2px rgba(244, 165, 24, 0.3);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(244, 165, 24, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(244, 165, 24, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(244, 165, 24, 0);
    }
}

/* 3. Meal Time Highlighting */
.meal-row {
    padding: 4px 8px;
    border-radius: 8px;
    transition: background 0.3s;
}

.meal-row.active-meal {
    background: rgba(74, 124, 89, 0.1);
    /* Light Green background */
    border-left: 3px solid var(--green);
}

.meal-row.active-meal .meal-label {
    color: var(--green);
    text-decoration: underline;
}

/* ========================================
   PREMIUM CARD DESIGN (Phase 3 Fixes)
   ======================================== */

.weekly-menu-container {
    display: grid;
    /* This creates responsive columns */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 20px 0;
    /* ADD THIS: Centers the cards if there are fewer than a full row */
    justify-content: center;
    width: 100%;
}

.day-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    /* Keeps content inside rounded corners */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    position: relative;
}

.day-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* Header Area */
.card-header {
    padding: 24px 24px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.day-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: -0.5px;
}

/* Veg/Non-Veg Dot Indicator */
.diet-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diet-icon::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
}

.diet-veg {
    color: #10B981;
    border-color: #10B981;
}

.diet-nonveg {
    color: #EF4444;
    border-color: #EF4444;
}

/* Content Area */
.meal-info {
    padding: 20px 24px;
    flex-grow: 1;
}

.meal-row {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #555;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

/* NEW: Much Cleaner Highlight Effect */
.meal-row.active-meal {
    background: #ECFDF5;
    /* Very light mint green */
    border-color: #10B981;
    /* Green border */
    color: #065F46;
    /* Dark green text */
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.meal-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    color: #999;
    font-weight: 700;
}

.active-meal .meal-label {
    color: #10B981;
}

/* Footer Area (Price + Button) */
.card-footer {
    background: #FAFAFA;
    /* Light grey bottom area */
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.price-tag {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--maroon);
}

.day-card .btn {
    padding: 12px 24px;
    border-radius: 14px;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(139, 38, 53, 0.2);
}

/* Fix the floating location button size */
.location-widget-trigger {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    overflow: hidden;
    transition: width 0.3s ease;
}

.location-widget-trigger .trigger-text {
    display: none;
    margin-left: 8px;
    white-space: nowrap;
}

.location-widget-trigger:hover {
    width: 180px;
    padding: 0 20px;
    border-radius: 30px;
}

.location-widget-trigger:hover .trigger-text {
    display: block;
}

/* Update #globalModal styles */
#globalModal {
    /* Existing styles... */
    background: rgba(0, 0, 0, 0.4);
    /* Darker overlay */
    backdrop-filter: blur(8px);
    /* The "Glass" effect */
    -webkit-backdrop-filter: blur(8px);
    transition: opacity 0.3s ease;
}

#globalModal>div {
    /* The modal content box */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: modalPopUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPopUp {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Add padding to the body so the bottom nav doesn't cover the footer */
@media (max-width: 768px) {
    body {
        padding-bottom: 80px;
        /* Space for the bottom nav */
    }

    .mobile-bottom-nav {
        padding-bottom: env(safe-area-inset-bottom);
        /* Fix for iPhone X+ home bar */
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    }
}

/* ========================================
   AUTH & DASHBOARD STYLES
   ======================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
    display: flex;
    /* Always display flex */
    visibility: hidden;
    /* Hide visually */
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.modal-overlay.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: white;
    border-radius: 24px;
    width: 100%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateY(20px);
    animation: slideUp 0.3s forwards;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.open .modal-container {
    transform: scale(1);
}

/* Auth Forms */
.auth-container {
    padding: 40px;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h3 {
    font-size: 1.8rem;
    color: var(--maroon);
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--earth);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray);
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: var(--turmeric);
    outline: none;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.auth-switch a {
    color: var(--maroon);
    font-weight: 600;
    text-decoration: none;
}

/* Dashboard Styles */
.dashboard-container {
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.dashboard-header {
    background: linear-gradient(135deg, var(--maroon), var(--turmeric));
    padding: 30px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.dashboard-header h2 {
    margin: 0 0 8px 0;
    font-size: 1.5rem;
}

.plan-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px;
    margin-top: -30px;
}

.stat-card {
    background: white;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--earth);
    margin-bottom: 4px;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--maroon);
}

.history-section {
    padding: 0 20px 20px;
    flex: 1;
    overflow-y: auto;
}

.history-section h3 {
    margin-bottom: 16px;
    font-size: 1.1rem;
    color: var(--charcoal);
}

/* History List Items */
.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--gray);
}

.history-date {
    font-weight: 600;
    color: var(--charcoal);
}

.history-status {
    display: flex;
    gap: 8px;
}

.status-tag {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-taken {
    background: #ECFDF5;
    color: #059669;
}

/* Green */
.status-skipped {
    background: #FEF2F2;
    color: #DC2626;
}

/* Red */
.status-dinner-only {
    background: #FFFBEB;
    color: #D97706;
}

/* Yellow */

.dashboard-actions {
    padding: 20px;
    border-top: 1px solid var(--gray);
}

/* ========================================
   TOAST NOTIFICATION STYLES (New Fix)
   ======================================== */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 16px 24px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 250px;
    transform: translateY(100px);
    opacity: 0;
    animation: toastSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.toast-success {
    background: linear-gradient(135deg, #10b981, #059669);
    border: 1px solid #34d399;
}

.toast-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: 1px solid #f87171;
}

@keyframes toastSlideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========================================
   CART MODAL STYLES
   ======================================== */
.cart-container {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
}

.cart-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.cart-item {
    background: var(--gray);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s;
}

.cart-item-info h4 {
    color: var(--charcoal);
    margin-bottom: 4px;
    font-size: 1rem;
}

.cart-item-info p {
    color: var(--maroon);
    font-weight: 700;
    font-size: 0.9rem;
}

.remove-btn {
    background: #fee2e2;
    color: #dc2626;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.remove-btn:hover {
    background: #fecaca;
}

.cart-footer {
    padding: 20px;
    border-top: 2px solid var(--gray);
    background: white;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--maroon);
}

.empty-cart-msg {
    text-align: center;
    padding: 40px 0;
    color: var(--earth);
}

/* ========================================
   NEW USER PROFILE & TRACKER STYLES
   ======================================== */

/* Navbar User Button */
.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

.user-btn:hover {
    background: var(--cream);
    border-color: var(--maroon);
}

.user-icon {
    font-size: 1.1rem;
    background: var(--gray);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--charcoal);
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Logged In State */
.user-btn.logged-in {
    background: #ECFDF5;
    /* Light Green */
    border-color: #10B981;
}

.user-btn.logged-in .user-icon {
    background: #10B981;
    color: white;
}

.user-btn.logged-in .user-name {
    color: #064E3B;
}

/* Dashboard Tracker Grid */
.tracker-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 20px;
    background: var(--gray);
    margin-bottom: 20px;
}

.track-card {
    background: white;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.track-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.track-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Specific Colors for Stats */
.track-card.total .track-num {
    color: var(--maroon);
}

.track-card.lunch .track-num {
    color: var(--turmeric);
}

.track-card.dinner .track-num {
    color: var(--charcoal);
}

.track-card.skip .track-num {
    color: #EF4444;
}

/* Dashboard Header Tweaks */
.plan-status-row {
    margin-top: 8px;
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 0.9rem;
}

.expiry-text {
    opacity: 0.9;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.live-indicator {
    font-size: 0.75rem;
    color: #10B981;
    font-weight: 600;
    animation: blink 2s infinite;
}

@keyframes blink {
    50% {
        opacity: 0.5;
    }
}

.logout-btn {
    background: #FEF2F2;
    color: #DC2626;
    border: 1px solid #FECACA;
}

.logout-btn:hover {
    background: #DC2626;
    color: white;
}

/* ========================================
   ADMIN RESPONSIVE FIXES
   ======================================== */

.user-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
    margin-bottom: 15px;
    flex-wrap: wrap;
    /* Allows content to stack on small screens */
    gap: 20px;
    transition: box-shadow 0.2s;
}

.user-list-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #d1d5db;
}

.user-info {
    flex: 1 1 300px;
    /* Grow, Shrink, Min-width */
    min-width: 200px;
    /* Prevents text from getting squashed */
}

.user-info h4 {
    margin: 0;
    color: #1f2937;
    font-size: 1.05rem;
}

.user-meta {
    margin: 6px 0 0;
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
}

.user-stats {
    margin: 4px 0 0;
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.user-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 0 1 auto;
    /* Only take necessary space */
}

/* Mobile Layout (Stack Columns) */
@media (max-width: 768px) {
    .user-list-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .user-info {
        width: 100%;
        margin-bottom: 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid #eee;
    }

    .user-actions {
        width: 100%;
        justify-content: grid;
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* 2 buttons per row */
    }

    .action-btn {
        justify-content: center;
        text-align: center;
        padding: 10px !important;
    }
}

/* Toggle Switch Styles */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #10B981;
    /* Green when active */
}

input:checked+.slider:before {
    transform: translateX(24px);
}

@media (max-width: 768px) {
    .chatbot-widget {
        display: none !important;
        /* This was preventing the mobile button from working */
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    /* ... other existing mobile styles ... */

    /* FIX 1: HIDE THE FLOATING CHAT BUBBLE ON MOBILE */
    .chatbot-toggle {
        display: none !important;
    }

    /* FIX 2: Ensure the widget container is hidden initially */
    .chatbot-widget {
        display: none !important;
    }

    /* FIX 3: Move the Location Button UP so it doesn't touch the Bottom Nav */
    .location-widget-trigger {
        bottom: 100px !important;
        /* Increased from 80px */
        right: 15px;
    }

    /* FIX 4: Adjust Chat Window position for mobile */
    .chatbot-window {
        bottom: 80px;
        right: 50%;
        transform: translateX(50%);
        /* Center it */
        width: 90%;
        max-width: 350px;
    }
}

/* ========================================
   ADMIN HISTORY MODAL STYLES (FIX)
   ======================================== */

/* 1. The White Box Container */
.modal-content {
    background: white;
    width: 90%;
    max-width: 650px;
    /* Looks good on desktop */
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    /* Prevents it from going off-screen on small laptops */
    position: relative;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

/* 2. Header (Maroon Bar) */
.modal-header {
    background: var(--maroon);
    color: white;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

/* 3. Close Button (X) */
.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding-bottom: 4px;
    /* Optical adjustment for X centering */
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* 4. Table Container (Enables scroll on mobile) */
.table-container {
    padding: 0;
    overflow-y: auto;
    /* Scroll vertically if list is long */
    overflow-x: auto;
    /* Scroll horizontally if table is wide */
    flex: 1;
}

/* 5. The Table Itself */
.history-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
    /* Forces scroll on mobile so columns don't squish */
}

.history-table th {
    background: #f9fafb;
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--charcoal);
    border-bottom: 2px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1;
}

.history-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
    color: #4b5563;
    font-size: 0.95rem;
}

.history-table tr:last-child td {
    border-bottom: none;
}

/* 6. Badges (Lunch/Dinner/Skipped) */
/* These match the classes generated in admin.js */
.badge-lunch {
    background-color: #ECFDF5;
    color: #059669;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.badge-dinner {
    background-color: #FFFBEB;
    color: #D97706;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.badge-skipped {
    background-color: #FEF2F2;
    color: #DC2626;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

/* 7. Delete Button inside Table */
.btn-delete-log {
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-delete-log:hover {
    background: #FEF2F2;
    color: #DC2626;
}

/* 8. Mobile Responsiveness Adjustments */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 80vh;
    }

    .history-table th,
    .history-table td {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

/* ========================
   MODERN TOGGLE SWITCH
   ======================== */
.kitchen-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 10px 0;
}

.status-info h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    transition: color 0.3s;
}

.status-info p {
    margin: 4px 0 0;
    font-size: 0.85rem;
    color: #6b7280;
}

/* Switch Container */
.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    /* Standard width */
    height: 30px;
    /* Standard height */
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The Track */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5e7eb;
    /* Light Gray */
    transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 30px;
    border: 1px solid #d1d5db;
    /* Subtle border */
}

/* The Circle Knob */
.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Checked State (Green) */
input:checked+.slider {
    background-color: #10B981;
    border-color: #10B981;
}

/* Checked Knob Position */
input:checked+.slider:before {
    transform: translateX(22px);
}

/* Skeleton Animation */
@keyframes skeleton-loading {
    0% {
        background-color: #f3f4f6;
    }

    50% {
        background-color: #e5e7eb;
    }

    100% {
        background-color: #f3f4f6;
    }
}

.skeleton {
    animation: skeleton-loading 1.5s infinite ease-in-out;
    border-radius: 12px;
}

.skeleton-text {
    height: 20px;
    margin-bottom: 10px;
    width: 80%;
}

.skeleton-card {
    height: 200px;
    width: 100%;
}

button,
a {
    touch-action: manipulation;
}

/* ========================================
   MOBILE UI FIXES (Button Stacking)
   ======================================== */
@media (max-width: 768px) {

    /* 1. Lift the Chatbot above the Bottom Nav */
    .chatbot-widget {
        bottom: 85px !important;
        /* Clears the nav bar */
        right: 15px !important;
        z-index: 1050;
    }

    /* 2. Lift the Location Trigger above the Chatbot */
    .location-widget-trigger {
        bottom: 155px !important;
        /* Stacks above chatbot */
        right: 15px !important;
        width: 50px !important;
        /* Make it a circle to save space */
        height: 50px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        justify-content: center !important;
    }

    /* Hide the text label "Check Location" on mobile to save space */
    .location-widget-trigger .trigger-text {
        display: none !important;
    }

    /* 3. Ensure Bottom Nav is the top-most layer */
    .mobile-bottom-nav {
        z-index: 1100;
        padding-bottom: env(safe-area-inset-bottom);
        /* Fix for iPhone Home bar */
    }

    /* 4. Fix Toast Notification position on mobile */
    .toast-notification {
        bottom: 80px;
        /* Show above nav */
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        justify-content: center;
    }
}

.toggle-switch {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    background: white;
    padding: 8px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.toggle-switch input {
    display: none;
}

.toggle-slider {
    width: 40px;
    height: 22px;
    background: #ccc;
    border-radius: 20px;
    position: relative;
    transition: 0.3s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: 0.3s;
}

input:checked+.toggle-slider {
    background: #10B981;
}

input:checked+.toggle-slider::before {
    transform: translateX(18px);
}

.toggle-label {
    font-weight: 600;
    color: #555;
}