body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: #f5f6fa;
    overflow: auto; /* FIXED */
}

.main-wrapper {
    display: flex;
    height: 100vh;
}

/* LEFT AREA */
.left-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}


/* SEARCH BOX */
.search-box {
    padding: 12px 20px;
    background: white;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 5;
}

.search-box input {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    border-radius: 12px;
    border: 1px solid #ddd;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* HOME BUTTON */
.home-btn {
    background: linear-gradient(135deg, #ff7e00, #ff4e00);
    border: none;
    color: white;
    font-size: 20px;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.25s;
    box-shadow: 0 4px 10px rgba(255,90,0,0.3);
}

.home-btn:hover {
    transform: scale(1.05);
}

.home-btn:active {
    transform: scale(0.9);
}

/* Make input take full width */
.search-container input {
    flex: 1;
}


/* CATEGORY BAR */
.category-bar {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 12px 20px;
    background: #ffffff;
    position: relative;
    /* Smooth touch scroll */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    /* Hide scrollbar */
    scrollbar-width: none;
}

.category-bar::-webkit-scrollbar {
    display: none;
}

/* Fade shadow edges */
.category-bar::before,
.category-bar::after {
    content: "";
    position: sticky;
    top: 0;
    width: 40px;
    pointer-events: none;
    z-index: 5;
}

.category-bar::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}

.category-bar::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}

/* Category chips */
.cat {
    padding: 14px 26px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 25px;
    background: #f0f0f0;
    cursor: pointer;
    flex-shrink: 0;
    user-select: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

/* Active chip styling */
.cat.active {
    background: linear-gradient(135deg, #ff7e00, #ff4e00);
    color: white;
    box-shadow: 0 4px 10px rgba(255,90,0,0.3);
    transform: scale(1.05);
}

/* Touch feedback */
.cat:active {
    transform: scale(0.95);
}

.cat {
    position: relative;
    overflow: hidden; /* required for ripple */
}

.cat::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%) scale(1);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.cat:active::after {
    animation: ripple 0.4s ease-out;
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    100% {
        transform: translate(-50%, -50%) scale(35);
        opacity: 0;
    }
}

/* MENU GRID */
.menu {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(150px,1fr));
    gap: 12px 12px;
    padding: 12px 20px;
    overflow-y: auto;
    align-content: start;
}

/* CARD STYLE */
/* CARD STYLING */
.card {
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
    border-radius: 18px 18px 24px 24px; /* rounded bottom */
    padding: 15px;
    height: 200px; /* FIXED height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* keep price at bottom */
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
    transition: transform .25s, box-shadow .25s, opacity .2s;
}

    /* Soft glow hover */
    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(255,106,0,0.25);
    }

    /* Smooth tap fade animation */
    .card:active {
        opacity: 0.7;
    }

/* Icon */
.card-icon {
    height: 60px; /* FIXED area */
    display: flex;
    justify-content: center;
    align-items: center;
}

    .card-icon i {
        font-size: 48px;
        color: #ff6a00;
    }

/* Item Name � 2 line support */
.card-title {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    height: 36px; /* FIXED height -> prevents push */
    line-height: 20px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* MAX 2 lines */
    -webkit-box-orient: vertical;
    margin-top: 5px;
}

/* Price at bottom ALWAYS */
.card-price {
    font-size: 17px;
    font-weight: 800;
    color: #0066CC; /* blue � distinct from icon */
    margin-top: 4px;
}


/* Ripple Effect */
.card::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255,106,0,0.4);
    border-radius: 50%;
    transform: scale(1);
    opacity: 0;
    pointer-events: none;
}

.card:active::after {
    animation: cardRipple 0.4s ease-out;
}

@keyframes cardRipple {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(35);
    }
}



.veg-icon, .nonveg-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid white;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
}

.veg-icon {
    background: #0A8F08;
}

.nonveg-icon {
    background: #C70000;
}

/* CART PANEL */
.cart-panel {
    width: 400px;
    background: white;
    height: 100vh;
    display: flex;
    flex-direction: column;
    border-left: 5px solid #ff6a00;
    box-shadow: -6px 0 20px rgba(0,0,0,0.15);
}

.cart-header {
    padding: 20px;
    background: #ff6a00;
    color: white;
    font-size: 22px;
    font-weight: bold;
    position: relative; /* needed for badge absolute positioning */
}

.cart-items {
    flex: 1; /* takes all remaining space */
    overflow-y: auto;
    padding: 15px;
}

.cart-item {
    display: flex;
    align-items: center; /* vertical center */
    gap: 10px; /* space between elements */
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 12px;
    background: #f1f1f1;
}

.cart-item-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 2; /* takes majority of space */
}
.item-name {
    font-weight: 600;
    font-size: 14px;
}

.item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.item-price {
    font-size: 14px;
    color: #555;
}

.qty-box {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1; /* takes moderate space */
    justify-content: center;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: #ff6a00;
    color: white;
    border-radius: 6px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.qty-num {
    min-width: 20px;
    text-align: center;
}


.item-total {
    font-weight: 600;
    color: #ff3d00;
    flex: 1; /* amount aligned to right */
    text-align: right;
}

.remove-btn {
    flex: 0; /* only takes as much space as needed */
    margin-left: 10px;
    background: #C70000;
    border: none;
    color: white;
    padding: 2px 6px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

/* CART FOOTER */
.cart-footer {
    padding: 15px;
    border-top: 2px solid #ddd;
    flex-shrink: 0; /* prevent shrinking */
    background: white;
}

.cart-footer div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 16px;
}

.cart-footer div.grand {
    font-size: 18px;
    font-weight: 700;
    color: #ff3d00;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background: #ff5a00;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
}

/* POPUP */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.55);
    z-index: 9999;
}

.popup-box {
    width: 420px;
    background: white;
    border-radius: 16px;
    animation: show .3s ease;
}

@keyframes show {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.popup-header {
    background: #ff6a00;
    padding: 18px;
    color: white;
    display: flex;
    justify-content: space-between;
    border-radius: 16px 16px 0 0;
}

.summary-items {
    max-height: 250px;
    overflow-y: auto;
    padding: 18px;
}

.sum-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.summary-totals {
    padding: 0 20px 20px;
}

.summary-totals .row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}

.grand {
    font-size: 20px;
    font-weight: 700;
    color: #ff3d00;
}

.pay-btn {
    width: 90%;
    margin: 0 auto 15px;
    display: block;
    padding: 16px;
    background: #ff5a00;
    border: none;
    color: white;
    border-radius: 12px;
    font-size: 18px;
}

/* RESPONSIVE */
@media(max-width:1400px) {
    .menu {
        grid-template-columns: repeat(auto-fill,minmax(140px,1fr));
    }
}

@media(max-width:992px) {
    .menu {
        grid-template-columns: repeat(auto-fill,minmax(120px,1fr));
    }
}

@media(max-width:600px) {
    .menu {
        grid-template-columns: repeat(auto-fill,minmax(100px,1fr));
    }

    .card img {
        height: 80px;
    }

    .cat {
        padding: 12px 18px;
        font-size: 16px;
    }
}
/* Add to Cart bounce */
@keyframes bounce {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(0.9);
    }

    70% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.bounce {
    animation: bounce 0.4s ease;
}


.cart-count {
    position: absolute;
    top: 10px; /* distance from top of header */
    right: 20px; /* distance from right */
    display: inline-block;
    background: #FFD166; /* soft yellow-orange to match theme */
    color: #333; /* dark text for contrast */
    font-size: 14px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, background 0.3s ease;
}

/* Pulse animation for update */
.cart-count.pulse {
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}

.clear-cart-btn {
    width: 100%;
    padding: 12px;
    background: #aaa; /* gray button */
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.25s;
}

.clear-cart-btn:hover {
    background: #888;
}

/* Individual remove button inside cart item */

.remove-btn:hover {
    background: #900;
}
/* Reuse your existing popup styles */
#confirmClearPopup .popup-box {
    width: 350px;
    border-radius: 16px;
    animation: show 0.3s ease;
}

#confirmClearPopup .popup-header {
    background: #ff6a00;
    color: white;
    padding: 15px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
}

/* MOBILE CART HIDE */
@media(max-width: 768px) {
    .cart-panel {
        position: fixed;
        right: -100%; /* hide off-screen */
        top: 0;
        width: 100%; /* FULL WIDTH */
        height: 100%;
        transition: right 0.35s ease;
        z-index: 1000;
    }

    .cart-panel.open {
        right: 0; /* slide into view */
    }
}


/* Floating Cart Button */
/* Floating Cart Button - Mobile */
#mobileCartBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ff6a00;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 9999;
    cursor: pointer;
}

/* Item count badge */
#mobileCartCount {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #FFD166;
    color: #333;
    padding: 3px 7px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Amount badge */
#mobileCartAmt {
    margin-top: 4px;
    font-size: 12px;
    font-weight: bold;
    background: rgba(0,0,0,0.25);
    padding: 2px 6px;
    border-radius: 12px;
}


/* Close button inside cart panel */
.close-cart-mobile {
    display: block;
    text-align: right;
    padding: 10px 15px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
}


/* DESKTOP (hide mobile FAB) */
@media(min-width: 769px) {
    #mobileCartBtn,
    .close-cart-mobile {
        display: none;
    }
}
/* HIDE MOBILE CART BUTTON IN DESKTOP */
@media(min-width: 769px) {
    #mobileCartBtn {
        display: none !important;
    }
}
/* HIDE MOBILE CLOSE BUTTON ON DESKTOP */
@media(min-width: 769px) {
    .close-cart-mobile {
        display: none !important;
    }
}

@media (max-width:768px) {
    .card-title {
        font-size: 12px;
    }
}
/* LOGIN WRAPPER */
/*.login-wrapper {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #ff7e00, #ff4e00);
    font-family: "Poppins", sans-serif;
}*/

/* LOGIN CARD */
/*.login-card {
    width: 400px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    overflow: hidden;
    animation: fadeIn 0.4s ease;
}*/

/* HEADER */
/*.login-header {
    background: #ff6a00;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.login-header h2 {
    margin: 0;
    font-size: 26px;
}

.login-header p {
    margin-top: 6px;
    font-size: 14px;
    opacity: 0.9;
}*/

/* BODY */
/*.login-body {
    padding: 30px;
}*/

/* INPUT GROUP */
/*.input-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

.input-group input {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 15px;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: #ff6a00;
    box-shadow: 0 0 8px rgba(255,106,0,0.3);
    outline: none;
}*/

/* LOGIN BUTTON */
/*.login-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ff7e00, #ff4e00);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,90,0,0.3);
}

.login-btn:active {
    transform: scale(0.95);
}

.login-error {
    background: #ffe5e5;
    color: #c70000;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    text-align: center;
    border: 1px solid #ffb3b3;
    animation: shake 0.3s ease;
}*/




/* =========================================================
   LOGIN PAGE
========================================================= */

.login-page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    background: linear-gradient( 135deg, #ff8500 0%, #ff6500 50%, #ff4d00 100% );
    font-family: "Poppins", "Segoe UI", sans-serif;
    box-sizing: border-box;
    overflow: hidden;
}


/* =========================================================
   LEFT IMAGE
========================================================= */

.login-image-section {
    width: 52%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: transparent;
    box-sizing: border-box;
}


    /* Decorative circles */

    .login-image-section::before {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        top: -220px;
        left: -180px;
    }


    .login-image-section::after {
        content: "";
        position: absolute;
        width: 400px;
        height: 400px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.07);
        right: -150px;
        bottom: -180px;
    }


/* =========================================================
   IMAGE
========================================================= */

.image-overlay {
    width: 90%;
    max-width: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 25px;
    box-sizing: border-box;
}


.login-image {
    display: block;
    width: 100%;
    max-width: 650px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow( 0 25px 35px rgba(0, 0, 0, 0.20) );
    animation: imageFloat 4s ease-in-out infinite;
}


/* =========================================================
   RIGHT LOGIN SECTION
========================================================= */

.login-form-section {
    width: 48%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: transparent;
    box-sizing: border-box;
    position: relative;
    z-index: 3;
}


/* =========================================================
   LOGIN CARD
========================================================= */

.login-card {
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.20), 0 8px 25px rgba(0, 0, 0, 0.10);
    animation: fadeIn 0.6s ease;
}


/* =========================================================
   HEADER
========================================================= */

.login-header {
    width: 100%;
    text-align: center;
    padding: 35px 30px 20px;
    box-sizing: border-box;
    background: #ffffff;
}


    .login-header h2 {
        margin: 0;
        color: #222222;
        font-size: 28px;
        font-weight: 700;
    }


    .login-header p {
        margin: 7px 0 0;
        color: #888888;
        font-size: 14px;
    }


/* =========================================================
   BODY
========================================================= */

.login-body {
    width: 100%;
    padding: 25px 35px 30px;
    box-sizing: border-box;
}


/* =========================================================
   ERROR
========================================================= */

.login-error {
    width: 100%;
    box-sizing: border-box;
    background: #fff0f0;
    color: #c70000;
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 13px;
    text-align: center;
    border: 1px solid #ffcaca;
    animation: shake 0.3s ease;
}


/* =========================================================
   INPUT GROUP
========================================================= */

.input-group {
    width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
}


    .input-group label {
        display: block;
        width: 100%;
        margin-bottom: 8px;
        color: #333333;
        font-size: 14px;
        font-weight: 600;
        box-sizing: border-box;
    }


/* =========================================================
   INPUT WRAPPER
========================================================= */

.input-wrapper {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}


/* =========================================================
   INPUT ICON
========================================================= */

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 17px;
    opacity: 0.65;
    z-index: 2;
    pointer-events: none;
}


/* =========================================================
   INPUT
========================================================= */

.input-group input {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 52px;
    box-sizing: border-box;
    padding: 0 15px 0 45px;
    border-radius: 12px;
    border: 1px solid #e2e2e2;
    background: #fafafa;
    color: #333333;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: all 0.25s ease;
}


    .input-group input::placeholder {
        color: #aaaaaa;
    }


    .input-group input:focus {
        border-color: #ff6a00;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.10);
    }


/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-btn {
    width: 100%;
    height: 54px;
    margin-top: 8px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    border: none;
    border-radius: 13px;
    background: linear-gradient( 135deg, #ff8500, #ff4d00 );
    color: #ffffff;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(255, 90, 0, 0.28);
    transition: all 0.25s ease;
}


    .login-btn .arrow {
        font-size: 22px;
        transition: transform 0.25s ease;
    }


    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(255, 90, 0, 0.35);
    }


        .login-btn:hover .arrow {
            transform: translateX(5px);
        }


    .login-btn:active {
        transform: scale(0.98);
    }


/* =========================================================
   FOOTER
========================================================= */

.login-footer {
    width: 100%;
    padding: 18px;
    border-top: 1px solid #f1f1f1;
    text-align: center;
    color: #999999;
    font-size: 11px;
    box-sizing: border-box;
}


    .login-footer .dot {
        margin: 0 5px;
        color: #ff6a00;
    }


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes imageFloat {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


@keyframes shake {

    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .login-page {
        flex-direction: column;
        overflow-y: auto;
    }


    .login-image-section {
        width: 100%;
        min-height: 350px;
    }


    .login-form-section {
        width: 100%;
        min-height: auto;
        padding: 35px 20px;
    }


    .image-overlay {
        width: 90%;
        padding: 20px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .login-page {
        overflow-x: hidden;
        overflow-y: auto;
    }


    .login-image-section {
        min-height: 230px;
    }


    .image-overlay {
        width: 100%;
        padding: 15px;
    }


    .login-image {
        max-width: 400px;
    }


    .login-form-section {
        width: 100%;
        padding: 20px 15px 30px;
    }


    .login-card {
        width: 100%;
        border-radius: 20px;
    }


    .login-header {
        padding: 28px 20px 15px;
    }


        .login-header h2 {
            font-size: 24px;
        }


    .login-body {
        padding: 20px;
    }


    .input-group input {
        height: 50px;
    }


    .login-btn {
        height: 52px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .login-image-section {
        min-height: 210px;
    }


    .login-form-section {
        padding: 15px 10px 25px;
    }


    .login-body {
        padding: 18px;
    }


    .login-header {
        padding: 24px 15px 12px;
    }


        .login-header h2 {
            font-size: 22px;
        }
}




































/* ANIMATION */
@keyframes fadeIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* MOBILE RESPONSIVE */
@media(max-width: 500px) {
    .login-card {
        width: 90%;
    }
}

.order-msg {
    font-size: 18px;
    font-weight: 600;
    color: green;
    margin-bottom: 15px;
    text-align: center;
}

.menu-page {
    height: 100vh;
    background: linear-gradient(135deg, #ff7e00, #ff4e00);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.menu-header {
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 160px);
    gap: 20px;
}

.menu-card {
    background: white;
    border-radius: 20px;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.menu-card:hover {
    transform: translateY(-5px);
}

.menu-card span {
    margin-top: 10px;
    font-size: 16px;
}

.menu-card.logout {
    background: #333;
    color: white;
}
@media(max-width:768px) {
    #menuFab {
        bottom: 95px;
        right: 20px;
    }
}

.filter-bar {
    display: flex;
    justify-content:center;
    gap: 10px;
    margin-bottom: 15px;
    overflow-x: auto;
}

.filter-btn {
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    background: #eee;
    cursor: pointer;
    font-weight: 600;
}

.filter-btn.active {
    background: #ff6a00;
    color: white;
}


.orders-header {
    display: flex;
    align-items: center;
    gap: 10px; /* space between button & text */
    padding: 10px 15px;
}


.orders-list {
    display: flex;
    flex-direction: column;
    gap: 8px; /* 👈 space between cards */
}

.order-card {
    background: white;
    padding: 15px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    border-left: 5px solid #ff6a00;
    transition: 0.2s;
}

.order-card:hover {
    transform: translateY(-3px);
}

/* FLEX LAYOUT */
.order-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

/* LEFT SIDE */
.order-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-left .inv {
    font-size: 16px;
    font-weight: bold;
    color: #ff6a00;
}

/* RIGHT SIDE */
.order-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

/* AMOUNT */
.amount {
    font-size: 18px;
    font-weight: bold;
    color: #ff3d00;
}

/* BUTTONS */
.actions {
    display: flex;
    gap: 6px;
}

.actions button {
    background: #0066cc;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.actions a {
    text-decoration: none;
    background: #ff6a00;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
}

/* 🔥 MOBILE PERFECT FIX */
/* MOBILE - KEEP LEFT | RIGHT */
@media (max-width: 600px) {
    .order-flex {
        flex-direction: row; /* ❗ keep row */
        align-items: center;
        justify-content: space-between;
    }

    .order-left {
        flex: 1; /* take available space */
        font-size: 13px;
    }

    .order-right {
        flex: 0 0 auto;
        align-items: flex-end;
        text-align: right;
    }

    .amount {
        font-size: 16px;
    }

    .actions {
        display: flex;
        gap: 5px;
        margin-top: 5px;
    }

    .actions button,
    .actions a {
        padding: 5px 8px;
        font-size: 12px;
    }
}

/* ORDER POPUP UPGRADE */
.order-popup {
    width: 500px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

/* BODY SCROLL */
.popup-body {
    overflow-y: auto;
    padding: 15px 20px;
}

/* ORDER INFO */
.order-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.order-info span {
    color: #555;
}

/* STATUS BADGE */
.status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* ITEMS */
.popup-items {
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.popup-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
    font-size: 14px;
}

/* TOTAL */
.popup-total {
    margin-top: 12px;
}

.popup-total div {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}

.popup-total .grand {
    font-size: 18px;
    font-weight: bold;
    color: #ff3d00;
}

/* DOWNLOAD BUTTON */
.popup-download {
    margin-top: 12px;
    width: 100%;
    padding: 12px;
    border: none;
    background: linear-gradient(135deg, #ff7e00, #ff4e00);
    color: white;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
}

/* MOBILE */
@media(max-width:600px) {
    .order-popup {
        width: 95%;
    }
}

/* ORDER POPUP UPGRADE */
.order-popup {
    width: 500px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

/* BODY SCROLL */
.popup-body {
    overflow-y: auto;
    padding: 15px 20px;
}

/* ORDER INFO */
.order-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.order-info span {
    color: #555;
}

/* STATUS BADGE */
.status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* ITEMS */
.popup-items {
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.popup-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
    font-size: 14px;
}

/* TOTAL */
.popup-total {
    margin-top: 12px;
}

.popup-total div {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}

.popup-total .grand {
    font-size: 18px;
    font-weight: bold;
    color: #ff3d00;
}

/* DOWNLOAD BUTTON */
.popup-download {
    margin-top: 12px;
    width: 100%;
    padding: 12px;
    border: none;
    background: linear-gradient(135deg, #ff7e00, #ff4e00);
    color: white;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
}

/* MOBILE */
@media(max-width:600px) {
    .order-popup {
        width: 95%;
    }
}

/* PROFILE HEADER FIX */

/* PROFILE PAGE LAYOUT */
.profile-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* CENTER ONLY CONTENT (NOT HEADER) */
.profile-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}


.profile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.profile-header .home-btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
}

.header-text h2 {
    margin: 0;
    font-size: 20px;
}

.header-text p {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
}

