/* Foodnati order details — full screen styles */

iframe[title="Order details"] { display:block; position:fixed; inset:0; width:100%; height:100dvh; border:0; z-index:2147483002; }

/* cancelled */


html.fod-screen-cancelled * {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}


html.fod-screen-cancelled body {
    margin: 0;
    padding: 0;
    min-height: 100dvh;
    background: #f5f5f5;
    font-family: Arial, sans-serif;
}


/* ==========================
   CANCELLED TOP NAVIGATION
========================== */

html.fod-screen-cancelled .orderCancelledHeader {
    position: sticky;
    top: 0;
    z-index: 100;

    width: 100%;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 48px 12px 8px;

    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
}


/* Back & Help Buttons */

html.fod-screen-cancelled .orderCancelledBack, html.fod-screen-cancelled .orderCancelledHelp {
    width: 26px;
    height: 30px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: none;
    outline: none;

    color: #181818;
    font-size: 18px;

    padding: 0;
    margin: 0;
    cursor: pointer;
}


/* Order Details */

html.fod-screen-cancelled .orderCancelledHeaderDetails {
    flex: 1;
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 2px;
}


html.fod-screen-cancelled .orderCancelledId {
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    color: #181818;
}


html.fod-screen-cancelled .orderCancelledStatus {
    font-size: 11px;
    font-weight: 500;
    line-height: 14px;
    color: #dc2626;
}


/* ==========================
   LOCATION SECTION
========================== */

html.fod-screen-cancelled .orderCancelledLocationSection {
    width: 100%;
    padding: 22px 16px 16px;
    background: #ffffff;
}


html.fod-screen-cancelled .orderCancelledLocationRow {
    width: 100%;

    display: flex;
    align-items: center;
    gap: 14px;
}


/* ==========================
   BOLD BLACK LOCATION ICON
========================== */

html.fod-screen-cancelled .orderCancelledLocationIcon {
    width: 22px;
    min-width: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #181818;
    background: transparent;

    flex-shrink: 0;
}


html.fod-screen-cancelled .orderCancelledLocationIcon svg {
    width: 18px;
    height: 18px;

    fill: none;
    stroke: currentColor;

    /* Increased Outline Thickness */
    stroke-width: 2.8;

    stroke-linecap: round;
    stroke-linejoin: round;

    display: block;
}


/* ==========================
   RESTAURANT DETAILS
========================== */

html.fod-screen-cancelled .orderCancelledLocationDetails {
    flex: 1;
    min-width: 0;
}


html.fod-screen-cancelled .orderCancelledRestaurantName {
    font-size: 14px;
    font-weight: 600;
    line-height: 19px;
    color: #15803d;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    margin-bottom: 4px;
}


html.fod-screen-cancelled .orderCancelledRestaurantAddress {
    font-size: 12px;
    font-weight: 400;
    line-height: 17px;
    color: #555960;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ==========================
   CANCELLED DELIVERY ROUTE
========================== */

html.fod-screen-cancelled .orderCancelledRoute {
    width: 22px;
    height: 30px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


html.fod-screen-cancelled .orderCancelledRouteLine {
    height: 14px;
    border-left: 1.5px dashed #aaaaaa;
}


html.fod-screen-cancelled .orderCancelledRouteCross {
    font-size: 15px;
    line-height: 15px;
    color: #dc6672;
}


/* ==========================
   CUSTOMER DETAILS
========================== */

html.fod-screen-cancelled .orderCancelledCustomerName {
    font-size: 14px;
    font-weight: 600;
    line-height: 19px;
    color: #353840;

    margin-bottom: 4px;
}


html.fod-screen-cancelled .orderCancelledCustomerAddress {
    font-size: 12px;
    font-weight: 400;
    line-height: 17px;
    color: #555960;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* Address Bottom Divider */

html.fod-screen-cancelled .orderCancelledAddressDivider {
    height: 1px;
    background: #dddddd;
    margin: 10px 0 0 36px;
}


/* ==========================
   CANCELLED DATE & TIME
========================== */

html.fod-screen-cancelled .orderCancelledDateRow {
    width: 100%;

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 24px 0 4px;
}


html.fod-screen-cancelled .orderCancelledDateIcon {
    width: 22px;
    min-width: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #dc6672;
    font-size: 17px;
}


html.fod-screen-cancelled .orderCancelledDateText {
    flex: 1;
    min-width: 0;

    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    color: #555960;
}

html.fod-screen-cancelled .orderCancelledBillHeading {
    width: 100%;
    padding: 16px 16px 12px;

    font-size: 10px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 1.5px;

    color: #777777;
    text-align: left;
    text-transform: uppercase;

    background: transparent;
    border: none;
}


/* Bill details */
html.fod-screen-cancelled .orderCancelledBillCard { background:#fff; padding:16px; width:100%; }

html.fod-screen-cancelled .orderCancelledBillRow { display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:13px; line-height:19px; color:#555960; }

html.fod-screen-cancelled .orderCancelledBillItem { display:flex; align-items:center; gap:9px; min-width:0; }

html.fod-screen-cancelled .orderCancelledFoodMark { width:12px; height:12px; border:1px solid currentColor; border-radius:2px; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }

html.fod-screen-cancelled .orderCancelledFoodMark::after { content:""; width:6px; height:6px; border-radius:50%; background:currentColor; }

html.fod-screen-cancelled .orderCancelledFoodMark.veg { color:#15803d; }

html.fod-screen-cancelled .orderCancelledFoodMark.nonveg { color:#dc2626; }

html.fod-screen-cancelled .orderCancelledBillItems { display:grid; gap:12px; padding-bottom:15px; border-bottom:1px dotted #aaa; }

html.fod-screen-cancelled .orderCancelledBillBreakdown { display:grid; gap:10px; padding:12px 0; }

html.fod-screen-cancelled .orderCancelledBillPrices { display:flex; align-items:center; gap:10px; white-space:nowrap; }

html.fod-screen-cancelled .orderCancelledBillOld { color:#b9b9b9; text-decoration:line-through; }

html.fod-screen-cancelled .orderCancelledBillCurrent { color:#181818; font-weight:500; }

html.fod-screen-cancelled .orderCancelledBillGreen { color:#15803d; }

html.fod-screen-cancelled .orderCancelledBillTotal { border-top:1px solid #e8e8e8; padding-top:15px; }

html.fod-screen-cancelled .orderCancelledBillTotal strong { color:#252830; font-size:14px; white-space:nowrap; }



/* Fixed reorder footer */
html.fod-screen-cancelled body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }

html.fod-screen-cancelled .orderCancelledReorderFooter {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 110;
    background: #ffffff;
    padding: 10px 12px calc(16px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #eeeeee;
}

html.fod-screen-cancelled .orderCancelledReorderButton {
    width: 100%;
    height: 40px;
    border: 1px solid #d1d5db;
    border-radius: 30px;
    background: #ffffff;
    color: #15803d;
    font: 600 12px Arial, sans-serif;
    cursor: pointer;
}

html.fod-screen-cancelled .orderCancelledReorderButton:active { opacity: .85; }



html.fod-screen-cancelled {height:100%;overflow:hidden;}
html.fod-screen-cancelled body {height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding-bottom:0;}
html.fod-screen-cancelled .orderCancelledHeader {flex-shrink:0;position:relative;z-index:2000;}
html.fod-screen-cancelled .orderCancelledScroll {flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}
html.fod-screen-cancelled .orderCancelledReorderFooter {position:relative;flex-shrink:0;}
/* delivered */
html.fod-screen-delivered * {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
html.fod-screen-delivered body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    font-family: Arial, sans-serif;
}
/* ==========================
   DARK GREEN SECTION
========================== */
html.fod-screen-delivered .orderDeliveredGreenSection {
    --delivered-green: #15803d;
    --delivered-light-green: #22c55e;

    position: relative;
    isolation: isolate;
    width: 100%;

    background: var(--delivered-green);

    margin: 0;
    padding: 0;
    border: none;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
}
/* ==========================
   HEADER
========================== */
html.fod-screen-delivered .orderDeliveredHeader {
    position: relative;
    z-index: 5;
    width: 100%;
    background: transparent;
    color: #ffffff;
}
html.fod-screen-delivered .orderDeliveredTopBar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 48px 16px 8px;
}
html.fod-screen-delivered .orderDeliveredBack, html.fod-screen-delivered .orderDeliveredHelp {
    width: 36px;
    height: 36px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 21px;
    cursor: pointer;
    padding: 0;
}
/* Restaurant Name */
html.fod-screen-delivered .orderDeliveredRestaurantName {
    flex: 1;
    min-width: 0;
    max-width: 190px;
    margin: 0 auto;

    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 21px;
    color: #ffffff;

    overflow-wrap: anywhere;
    text-wrap: balance;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Time & Items */
html.fod-screen-delivered .orderDeliveredMeta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 2px 12px 14px;

    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    color: #ffffff;
    white-space: nowrap;
}
html.fod-screen-delivered .orderDeliveredDot {
    width: 4px;
    height: 4px;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 50%;
}
/* ==========================
   HERO BACKGROUND
========================== */
html.fod-screen-delivered .orderDeliveredHero {
    position: relative;
    z-index: 1;
    isolation: isolate;
}
/* Background Shapes */
html.fod-screen-delivered .orderDeliveredRays {
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 0;
    pointer-events: none;
    overflow: hidden;

    --image-edge: max(
        16px,
        calc(50% - 65px)
    );
}
html.fod-screen-delivered .orderDeliveredRay {
    position: absolute;
    inset: 0;

    background: rgba(0, 55, 15, 0.09);
}
/* Left Shapes */
html.fod-screen-delivered .orderDeliveredRay:nth-child(1) {
    clip-path: polygon(
        0 0,
        10% 0,
        var(--image-edge) 47%
    );
}
html.fod-screen-delivered .orderDeliveredRay:nth-child(2) {
    clip-path: polygon(
        0 22%,
        0 35%,
        var(--image-edge) 55%
    );
}
html.fod-screen-delivered .orderDeliveredRay:nth-child(3) {
    clip-path: polygon(
        0 51%,
        0 65%,
        var(--image-edge) 65%
    );
}
html.fod-screen-delivered .orderDeliveredRay:nth-child(4) {
    clip-path: polygon(
        0 82%,
        0 94%,
        var(--image-edge) 78%
    );
}
/* Right Shapes */
html.fod-screen-delivered .orderDeliveredRay:nth-child(5) {
    clip-path: polygon(
        90% 0,
        100% 0,
        calc(100% - var(--image-edge)) 47%
    );
}
html.fod-screen-delivered .orderDeliveredRay:nth-child(6) {
    clip-path: polygon(
        100% 22%,
        100% 35%,
        calc(100% - var(--image-edge)) 55%
    );
}
html.fod-screen-delivered .orderDeliveredRay:nth-child(7) {
    clip-path: polygon(
        100% 51%,
        100% 65%,
        calc(100% - var(--image-edge)) 65%
    );
}
html.fod-screen-delivered .orderDeliveredRay:nth-child(8) {
    clip-path: polygon(
        100% 82%,
        100% 94%,
        calc(100% - var(--image-edge)) 78%
    );
}
/* Background Fade */
html.fod-screen-delivered .orderDeliveredRays::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        var(--delivered-green) 0%,
        transparent 10%,
        transparent 80%,
        var(--delivered-green) 100%
    );
}
/* ==========================
   DELIVERED IMAGE
========================== */
html.fod-screen-delivered .orderDeliveredImageSection {
    position: relative;
    z-index: 3;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    padding: 0 16px;
    margin: 0;

    border: none;
    box-shadow: none;
    overflow: visible;
}
/* Same Image Zoom */
html.fod-screen-delivered .orderDeliveredImage {
    position: relative;
    z-index: 1;

    width: 260px;
    height: 260px;
    max-width: 100%;

    object-fit: contain;
    object-position: center;

    display: block;
    background: transparent;
    border: none;
    margin: 0 auto;
    padding: 0;

    flex-shrink: 0;
}
/* ==========================
   STRONGER LIGHT GREEN FADE
========================== */
html.fod-screen-delivered .orderDeliveredImageSection::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 150px;

    z-index: 2;
    pointer-events: none;

    background: linear-gradient(
        to bottom,

        rgba(34, 197, 94, 0) 0%,

        rgba(34, 197, 94, 0.15) 20%,

        rgba(34, 197, 94, 0.40) 40%,

        rgba(34, 197, 94, 0.80) 65%,

        rgba(34, 197, 94, 0.95) 80%,

        var(--delivered-green) 100%
    );
}
/* ==========================
   DELIVERED STATUS
========================== */
html.fod-screen-delivered .orderDeliveredStatusRow {
    position: relative;
    z-index: 30;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-top: -120px;
    padding: 0 0 14px;

    background: transparent;
}
/* White Tick Circle */
html.fod-screen-delivered .orderDeliveredStatusTick {
    width: 23px;
    height: 23px;
    min-width: 23px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    color: var(--delivered-green);

    border-radius: 50%;
    border: none;
    flex-shrink: 0;
}
/* Bold Green FA Tick */
html.fod-screen-delivered .orderDeliveredStatusTick i {
    font-size: 15px;
    font-weight: 900;
    line-height: 1;

    -webkit-text-stroke: 0.6px currentColor;
}
/* Reduced Delivered Text Size */
html.fod-screen-delivered .orderDeliveredStatusText {
    font-size: 21px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: -0.4px;

    color: #ffffff;
    margin: 0;
    padding: 0;
}
/* ==========================
   RATING BOX
========================== */
html.fod-screen-delivered .orderDeliveredRatingSection {
    position: relative;
    z-index: 40;
    width: 100%;

    margin-top: 0;
    padding: 0 8px 10px;

    background: transparent;
}
html.fod-screen-delivered .orderDeliveredRatingBox {
    position: relative;
    width: 100%;

    /* Little Extra Top Padding */

    padding: 18px 14px 8px;

    background: #ffffff;
    border-radius: 24px;
    border: none;
    box-shadow: none;
}
/* Rating Heading */
html.fod-screen-delivered .orderDeliveredRatingTitle {
    font-size: clamp(15px, 4.5vw, 21px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;

    color: #181818;
    text-align: left;

    margin: 0 0 3px;
}
/* Delivery Partner Subtitle */
html.fod-screen-delivered .orderDeliveredRatingSubtitle {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: #777777;

    text-align: left;
    margin: 0;
}
/* ==========================
   RATING STARS
========================== */
html.fod-screen-delivered .orderDeliveredRatingStars {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: clamp(10px, 4vw, 20px);
    margin: 12px 0 10px;
}
html.fod-screen-delivered .orderDeliveredStar {
    width: 38px;
    height: 40px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    border: none;
    background: transparent;

    color: #dedee2;
    font-size: 34px;
    cursor: pointer;

    transition:
        color 0.18s ease,
        transform 0.18s ease;
}
/* Selected Pink Stars */
html.fod-screen-delivered .orderDeliveredStar.isSelected {
    color: #FF007F;
}
/* Star Animation */
html.fod-screen-delivered .orderDeliveredStar:active {
    transform: scale(0.88);
}
html.fod-screen-delivered .orderDeliveredStar.isAnimating {
    animation: orderDeliveredStarPop 0.28s ease;
}
@keyframes orderDeliveredStarPop {

    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.18);
    }

    100% {
        transform: scale(1);
    }

}
/* Rating Divider */
html.fod-screen-delivered .orderDeliveredRatingDivider {
    width: 100%;
    height: 1px;
    background: #eeeeee;
    margin: 0;
    padding: 0;
}
/* ==========================
   CALL DELIVERY PARTNER
========================== */
html.fod-screen-delivered .orderDeliveredCallRow {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 8px;
    padding: 7px 0 3px;
    margin: 0;
}
html.fod-screen-delivered .orderDeliveredCallText {
    flex: 1;
    min-width: 0;

    font-size: 12px;
    font-weight: 500;
    line-height: 17px;
    color: #666666;

    text-align: left;
    margin: 0;
    padding: 0;
}
/* Small Call Button */
html.fod-screen-delivered .orderDeliveredCallButton {
    position: relative;

    width: 30px;
    height: 30px;
    min-width: 30px;
    flex-shrink: 0;

    border: none;
    border-radius: 50%;

    background: #e4f6e9;
    color: #07852d;
    font-size: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    text-decoration: none;
    padding: 0;
    margin: 0;

    transition: transform 0.18s ease;
}
/* Extended Tap Area */
html.fod-screen-delivered .orderDeliveredCallButton::before {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 50%;
}
html.fod-screen-delivered .orderDeliveredCallButton i {
    font-size: 14px;
    line-height: 1;
}
html.fod-screen-delivered .orderDeliveredCallButton:active {
    transform: scale(0.92);
}
/* ==========================
   SMALL MOBILE DEVICES
========================== */
@media (max-width: 340px) {


    
html.fod-screen-delivered .orderDeliveredRatingBox {
        padding: 16px 12px 8px;
    }


    
html.fod-screen-delivered .orderDeliveredRatingStars {
        gap: 10px;
        margin: 10px 0 8px;
    }


    
html.fod-screen-delivered .orderDeliveredStar {
        width: 32px;
        font-size: 29px;
    }


    
html.fod-screen-delivered .orderDeliveredCallText {
        font-size: 11px;
    }


    
html.fod-screen-delivered .orderDeliveredStatusText {
        font-size: 20px;
    }



}
/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {


    
html.fod-screen-delivered .orderDeliveredStar, html.fod-screen-delivered .orderDeliveredCallButton {
        transition: none;
    }


    
html.fod-screen-delivered .orderDeliveredStar.isAnimating {
        animation: none;
    }



}
html.fod-screen-delivered .orderDeliveredSummaryHeading {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 16px 16px;
    background: #ffffff;
}
html.fod-screen-delivered .orderDeliveredSummaryHeading span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #777777;
    text-align: center;
    text-transform: uppercase;
}
html.fod-screen-delivered .orderDeliveredSummaryHeading::before, html.fod-screen-delivered .orderDeliveredSummaryHeading::after {
    display: none;
    content: none;
}
html.fod-screen-delivered .orderSummaryRestaurantSection {
    width: 100%;
    padding: 0 8px 12px;
    background: #ffffff;
}
html.fod-screen-delivered .orderSummaryRestaurantBox {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
}
/* Restaurant Circle Image */
html.fod-screen-delivered .orderSummaryRestaurantImage {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 50%;
    object-fit: cover;
    background: #f5f5f5;
    display: block;
    flex-shrink: 0;
}
/* Restaurant Details */
html.fod-screen-delivered .orderSummaryRestaurantDetails {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
/* Restaurant Name */
html.fod-screen-delivered .orderSummaryRestaurantName {
    font-size: 14px;
    font-weight: 600;
    line-height: 19px;
    color: #181818;

    white-space: normal;
    overflow-wrap: anywhere;
    text-overflow: clip;
}
/* Restaurant Address */
html.fod-screen-delivered .orderSummaryRestaurantAddress {
    font-size: 11px;
    font-weight: 400;
    line-height: 16px;
    color: #888888;

    white-space: normal;
    overflow-wrap: anywhere;
    text-overflow: clip;
}
/* Green Call Button */
html.fod-screen-delivered .orderSummaryRestaurantCall {
    width: 36px;
    height: 36px;
    min-width: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: #e4f6e9;
    color: #15803d;

    font-size: 15px;
    padding: 0;
    margin: 0;

    cursor: pointer;
    flex-shrink: 0;

    transition: transform 0.18s ease;

    -webkit-tap-highlight-color: transparent;
}
html.fod-screen-delivered .orderSummaryRestaurantCall i {
    font-size: 15px;
    line-height: 1;
}
html.fod-screen-delivered .orderSummaryRestaurantCall:active {
    transform: scale(0.90);
}
html.fod-screen-delivered .orderSummaryItemsSection {
    width: 100%;
    padding: 0 8px 12px;
    background: #ffffff;
}
html.fod-screen-delivered .orderSummaryItemsBox {
    width: 100%;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
}
/* Items Heading */
html.fod-screen-delivered .orderSummaryItemsHeading {
    font-size: 14px;
    font-weight: 700;
    color: #181818;
    margin-bottom: 12px;
}
/* Items List */
html.fod-screen-delivered #orderSummaryItemsList {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
/* Individual Item Row */
html.fod-screen-delivered .orderSummaryItemRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
/* Item Name */
html.fod-screen-delivered .orderSummaryItemDetails {
    flex: 1;
    min-width: 0;

    font-size: 13px;
    line-height: 19px;
    font-weight: 500;
    color: #252525;

    overflow-wrap: anywhere;
}
/* Item Quantity */
html.fod-screen-delivered .orderSummaryItemQty {
    font-size: 12px;
    font-weight: 400;
    color: #888888;

    margin-left: 5px;
    white-space: nowrap;
}
/* Item Price */
html.fod-screen-delivered .orderSummaryItemPrice {
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #181818;

    white-space: nowrap;
    flex-shrink: 0;
    text-align: right;
}
/* ==========================
   BILL DIVIDER
========================== */
html.fod-screen-delivered .orderSummaryBillDivider {
    width: 100%;
    height: 1px;

    background: #eeeeee;

    margin: 14px 0;
}
/* ==========================
   BILL DETAILS
========================== */
html.fod-screen-delivered .orderSummaryBillDetails {
    display: flex;
    flex-direction: column;
    gap: 11px;
}
/* Individual Bill Row */
html.fod-screen-delivered .orderSummaryBillRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: #777777;
}
/* Right Side Amount */
html.fod-screen-delivered .orderSummaryBillRow span:last-child {
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #252525;

    white-space: nowrap;
    flex-shrink: 0;
    text-align: right;
}
/* ==========================
   TOTAL PAID
========================== */
html.fod-screen-delivered .orderSummaryFinalTotal {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    font-size: 15px;
    font-weight: 700;
    line-height: 22px;
    color: #181818;

    padding: 0 0 2px;
}
html.fod-screen-delivered #orderSummaryTotalPaid {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}
/* Unified summary card: equal left and right spacing */
html.fod-screen-delivered .orderSummaryItemsSection { padding: 0 8px 12px; }
html.fod-screen-delivered .orderSummaryItemsBox { padding: 14px; }
html.fod-screen-delivered .orderSummaryItemsBox .orderSummaryRestaurantBox {
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
}
html.fod-screen-delivered .orderSummaryInvoiceRow {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-top: 12px;
}
html.fod-screen-delivered .orderSummaryInvoiceButton {
    font: 600 13px/18px Arial, sans-serif;
    color: #15803d;
    background: transparent;
    border: none;
    box-shadow: none;
    text-decoration: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
html.fod-screen-delivered .orderSummaryInvoiceButton:active { opacity: .7; }
html.fod-screen-delivered .orderSummaryFoodRatingTitle {font-size:15px;font-weight:700;color:#181818;margin:0 0 10px;}
html.fod-screen-delivered .orderSummaryFoodStars {display:flex;align-items:center;gap:clamp(8px,4vw,18px);}
html.fod-screen-delivered .orderSummaryFoodStar {width:34px;height:36px;display:flex;align-items:center;justify-content:center;border:0;background:transparent;padding:0;color:#dedee2;font-size:30px;cursor:pointer;transition:color .18s,transform .18s;}
html.fod-screen-delivered .orderSummaryFoodStar.isSelected {color:#FF007F;}
html.fod-screen-delivered .orderSummaryFoodStar:active {transform:scale(.88);}
html.fod-screen-delivered {height:100%;overflow:hidden;}
html.fod-screen-delivered body {height:100%;overflow-y:auto;overscroll-behavior:contain;}
html.fod-screen-delivered .orderDeliveredHeader {position:sticky;top:0;z-index:2000;flex-shrink:0;}
html.fod-screen-delivered .orderDeliveredHeader {background:#15803d;}

/* active */
html.fod-screen-active * {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
html.fod-screen-active body {
    margin: 0;
    background: #ffffff;
    font-family: Arial, sans-serif;
}
/* Sticky Green Header */
html.fod-screen-active .orderPlacedHeader {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: #16a34a;
    color: #ffffff;
}
html.fod-screen-active .orderPlacedTopBar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 48px 16px 4px;
}
html.fod-screen-active .orderPlacedBack, html.fod-screen-active .orderPlacedHelp {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 21px;
    cursor: pointer;
    padding: 0;
}
html.fod-screen-active .orderPlacedRestaurantName {
    flex: 1;
    min-width: 0;
    max-width: 190px;
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 21px;
    color: #ffffff;
    overflow-wrap: anywhere;
    text-wrap: balance;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
html.fod-screen-active .orderPlacedStatus {
    width: 100%;
    padding: 0 12px 12px;
    text-align: center;
    white-space: nowrap;
    font-family: Arial, sans-serif;
    font-size: clamp(9px, calc(6vw - 3px), 25px);
    font-weight: 800;
    line-height: 1.4;
    color: #ffffff;
}
/* ==============================
   NEW MESSAGE NOTIFICATION
================================ */
html.fod-screen-active .orderPlacedMessageBar {
    display: none;
    width: 100%;
    background: #ffffff;
    color: #171717;
    border-bottom: 1px solid #eeeeee;
}
html.fod-screen-active .orderPlacedMessageBar.isVisible {
    display: block;
    animation: orderPlacedMessageSlide 0.25s ease;
}
html.fod-screen-active .orderPlacedMessageInner {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
}
/* Black FA Chat Icon */
html.fod-screen-active .orderPlacedMessageIcon {
    font-size: 22px;
    color: #171717;
    flex-shrink: 0;
}
/* Two Line Message Text */
html.fod-screen-active .orderPlacedMessageInfo {
    flex: 1;
    min-width: 0;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 17px;
    color: #171717;
}
html.fod-screen-active .orderPlacedMessageLine {
    display: block;
    white-space: nowrap;
}
/* Chat Now - Only Text */
html.fod-screen-active .orderPlacedMessageChatNow {
    flex-shrink: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    color: #ef4444;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}
/* Close X */
html.fod-screen-active .orderPlacedMessageClose {
    width: 22px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: none;
    color: #777777;
    font-size: 15px;
    cursor: pointer;
}
@keyframes orderPlacedMessageSlide {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Map */
html.fod-screen-active .orderPlacedMapWrapper {
    position: relative;
    width: 100%;
    background: #ffffff;
    isolation: isolate;
}
html.fod-screen-active #orderPlacedMap {
    width: 100%;
    height: 55vh;
    height: 55dvh;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: #e9ede5;
    z-index: 1;
    transition: height 0.35s ease;
}
html.fod-screen-active .orderPlacedMapWrapper.isExpanded #orderPlacedMap {
    height: 80vh;
    height: 80dvh;
}
html.fod-screen-active .orderPlacedMapExpand {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #17243B;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
html.fod-screen-active .orderPlacedMapFade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 45%;
    z-index: 2;
    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.15) 20%,
        rgba(255,255,255,0.45) 45%,
        rgba(255,255,255,0.85) 75%,
        #ffffff 100%
    );
}
html.fod-screen-active #orderPlacedMap .leaflet-bottom {
    bottom: 110px;
}
/* Main Content Box */
html.fod-screen-active .orderPlacedContentBox {
    position: relative;
    z-index: 10;
    width: calc(100% - 24px);
    min-height: 200px;
    margin: -90px auto 16px;
    padding: 18px 16px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 3px 18px rgba(0,0,0,0.10);
}
/* Delivery Partner */
html.fod-screen-active .orderPlacedPartnerSection {
    display: none;
    width: 100%;
}
html.fod-screen-active .orderPlacedPartnerSection.isVisible {
    display: block;
    animation: orderPlacedPartnerFade 0.3s ease;
}
@keyframes orderPlacedPartnerFade {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
html.fod-screen-active .orderPlacedPartnerRow {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}
html.fod-screen-active .orderPlacedPartnerImage {
    width: 45px;
    height: 45px;
    min-width: 45px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    background: #f3f4f6;
    display: block;
}
html.fod-screen-active .orderPlacedPartnerInfo {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
html.fod-screen-active .orderPlacedPartnerName {
    display: block;
    width: 100%;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 19px;
    color: #17243B;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}
html.fod-screen-active .orderPlacedPartnerStatus {
    width: 100%;
    font-size: 12px;
    font-weight: 500;
    line-height: 17px;
    color: #16a34a;
    white-space: nowrap;
}
html.fod-screen-active .orderPlacedPartnerActions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-shrink: 0;
}
html.fod-screen-active .orderPlacedPartnerChat, html.fod-screen-active .orderPlacedPartnerCall {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: #f5f5f5;
    color: #16a34a;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    transition: transform 0.15s ease;
}
html.fod-screen-active .orderPlacedPartnerChat:active, html.fod-screen-active .orderPlacedPartnerCall:active {
    transform: scale(0.92);
}
html.fod-screen-active .orderPlacedPartnerDivider {
    width: 100%;
    height: 1px;
    background: #e8e8e8;
    margin: 16px 0;
}
/* Restaurant Details */
html.fod-screen-active .orderPlacedRestaurantRow {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
}
html.fod-screen-active .orderPlacedRestaurantImage {
    width: 45px;
    height: 45px;
    min-width: 45px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    background: #f3f4f6;
    display: block;
}
html.fod-screen-active .orderPlacedRestaurantInfo {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
html.fod-screen-active .orderPlacedInfoName {
    width: 100%;
    font-size: 15px;
    font-weight: 700;
    line-height: 19px;
    color: #17243B;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}
html.fod-screen-active .orderPlacedInfoAddress {
    width: 100%;
    font-size: 12px;
    font-weight: 400;
    line-height: 17px;
    color: #777777;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}
html.fod-screen-active .orderPlacedRestaurantCall {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: #f5f5f5;
    color: #ef4444;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.15s ease;
}
html.fod-screen-active .orderPlacedRestaurantCall:active {
    transform: scale(0.92);
}
/* Divider Lines */
html.fod-screen-active .orderPlacedDivider {
    width: 100%;
    height: 1px;
    background: #e8e8e8;
    margin: 16px 0 0;
}
html.fod-screen-active .orderPlacedSecondDivider {
    width: 100%;
    height: 1px;
    background: #e8e8e8;
    margin: 0;
}
/* Order Receipt */
html.fod-screen-active .orderPlacedReceiptRow {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 2px 16px 10px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: Arial, sans-serif;
}
html.fod-screen-active .orderPlacedReceiptIcon {
    width: 21px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 19px;
    color: #17243B;
}
html.fod-screen-active .orderPlacedReceiptInfo {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
html.fod-screen-active .orderPlacedReceiptNumber {
    font-size: 15px;
    font-weight: 600;
    line-height: 19px;
    color: #17243B;
    white-space: nowrap;
    overflow: hidden;
}
html.fod-screen-active .orderPlacedItemsCount {
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: #16a34a;
    white-space: nowrap;
}
html.fod-screen-active .orderPlacedReceiptArrow {
    align-self: center;
    flex-shrink: 0;
    font-size: 15px;
    color: #17243B;
    transition: transform 0.3s ease;
}
html.fod-screen-active .orderPlacedReceiptRow.isOpen
.orderPlacedReceiptArrow {
    transform: rotate(180deg);
}
/* Smooth Dropdown */
html.fod-screen-active .orderPlacedOrderDropdown {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;

    transition:
        grid-template-rows 0.35s ease,
        opacity 0.25s ease,
        visibility 0.35s;
}
html.fod-screen-active .orderPlacedOrderDropdown.isOpen {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
}
html.fod-screen-active .orderPlacedDropdownInner {
    min-height: 0;
    overflow: hidden;
}
html.fod-screen-active .orderPlacedDropdownContent {
    padding: 0 4px 16px 10px;
}
/* Order Date & Time */
html.fod-screen-active .orderPlacedDateTime {
    width: 100%;
    font-size: 11px;
    font-weight: 400;
    line-height: 17px;
    color: #777777;
    padding: 0 0 14px;
    margin-bottom: 12px;
    border-bottom: 1px dashed #e0e0e0;
}
/* Ordered Items */
html.fod-screen-active .orderPlacedOrderItems {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 4px 0 16px;
}
html.fod-screen-active .orderPlacedOrderItem {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
html.fod-screen-active .orderPlacedOrderItemLeft {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #17243B;
    overflow-wrap: anywhere;
}
html.fod-screen-active .orderPlacedOrderItemQty {
    font-size: 13px;
    font-weight: 400;
    color: #777777;
    margin-left: 5px;
    white-space: nowrap;
}
html.fod-screen-active .orderPlacedOrderItemPrice {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #17243B;
    white-space: nowrap;
}
/* Normal Rupee Symbol */
html.fod-screen-active .orderPlacedRupee {
    font-family: Arial, sans-serif;
    font-weight: 400;
}
/* Bill Details */
html.fod-screen-active .orderPlacedBillDetails {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 15px 0;
    border-top: 1px dashed #dddddd;
}
html.fod-screen-active .orderPlacedBillRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
html.fod-screen-active .orderPlacedBillLabel {
    font-size: 13px;
    font-weight: 400;
    color: #777777;
}
html.fod-screen-active .orderPlacedBillAmount {
    font-size: 13px;
    font-weight: 500;
    color: #17243B;
    white-space: nowrap;
}
html.fod-screen-active .orderPlacedFinalTotal {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 0 2px;
    border-top: 1px dashed #dddddd;
}
html.fod-screen-active .orderPlacedFinalTotalLabel {
    font-size: 15px;
    font-weight: 700;
    color: #17243B;
}
html.fod-screen-active .orderPlacedFinalTotalPrice {
    font-size: 17px;
    font-weight: 700;
    color: #17243B;
    white-space: nowrap;
}
/* Help & Support */
html.fod-screen-active .orderPlacedSupportRow {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 2px 4px 2px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: Arial, sans-serif;
}
html.fod-screen-active .orderPlacedSupportImage {
    width: 36px;
    height: 36px;
    min-width: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    background: #f3f4f6;
    display: block;
}
html.fod-screen-active .orderPlacedSupportInfo {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
html.fod-screen-active .orderPlacedSupportTitle {
    width: 100%;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 19px;
    color: #17243B;
    overflow-wrap: break-word;
}
html.fod-screen-active .orderPlacedSupportSubtitle {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #777777;
}
html.fod-screen-active .orderPlacedSupportArrow {
    flex-shrink: 0;
    font-size: 15px;
    color: #17243B;
}
/* Payment Section */
html.fod-screen-active .orderPlacedPaymentSection {
    width: 100%;
    padding: 16px 2px 2px;
    margin-top: 16px;
    border-top: 1px solid #e8e8e8;
}
html.fod-screen-active .orderPlacedPaymentSection[hidden] {
    display: none;
}
html.fod-screen-active .orderPlacedPaymentRow {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
html.fod-screen-active .orderPlacedPaymentLabel {
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
    color: #17243B;
}
html.fod-screen-active .orderPlacedPaymentAmount {
    font-size: 17px;
    font-weight: 700;
    line-height: 22px;
    color: #17243B;
    white-space: nowrap;
}
html.fod-screen-active .orderPlacedPaymentSubtitle {
    width: 100%;
    margin-top: 7px;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: #777777;
}
/* Cancel Order Button */
html.fod-screen-active .orderPlacedCancelSection {
    width: 100%;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e8e8e8;
}
html.fod-screen-active .orderPlacedCancelSection[hidden] {
    display: none;
}
html.fod-screen-active .orderPlacedCancelButton {
    width: 100%;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #ef4444;
    border-radius: 10px;
    color: #ef4444;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.15s ease;
}
html.fod-screen-active .orderPlacedCancelButton:active {
    background: #fff1f1;
    transform: scale(0.98);
}
html.fod-screen-active .orderPlacedCancelButton:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
html.fod-screen-active .orderPlacedCancelButton.isLoading {
    opacity: 1;
    pointer-events: none;
}
/* Cancel Confirmation Popup */
html.fod-screen-active .orderPlacedCancelOverlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}
html.fod-screen-active .orderPlacedCancelOverlay.isOpen {
    opacity: 1;
    visibility: visible;
}
html.fod-screen-active .orderPlacedCancelPopup {
    width: 100%;
    max-width: 340px;
    padding: 24px 20px 20px;
    background: #ffffff;
    border-radius: 20px;
    text-align: center;
    transform: translateY(12px) scale(0.96);
    transition: transform 0.25s ease;
}
html.fod-screen-active .orderPlacedCancelOverlay.isOpen
.orderPlacedCancelPopup {
    transform: translateY(0) scale(1);
}
html.fod-screen-active .orderPlacedCancelTitle {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    color: #17243B;
}
html.fod-screen-active .orderPlacedCancelSubtitle {
    margin-top: 9px;
    font-size: 13px;
    font-weight: 400;
    line-height: 19px;
    color: #777777;
}
html.fod-screen-active .orderPlacedCancelActions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
}
/* No & Yes Buttons */
html.fod-screen-active .orderPlacedCancelNo, html.fod-screen-active .orderPlacedCancelYes {
    flex: 1;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}
html.fod-screen-active .orderPlacedCancelNo {
    background: #ffffff;
    border: 1px solid #dddddd;
    color: #17243B;
}
html.fod-screen-active .orderPlacedCancelYes {
    background: #ef4444;
    border: 1px solid #ef4444;
    color: #ffffff;
}
html.fod-screen-active .orderPlacedCancelYes[hidden] {
    display: none;
}
html.fod-screen-active .orderPlacedCancelYes:disabled, html.fod-screen-active .orderPlacedCancelNo:disabled {
    cursor: not-allowed;
}
html.fod-screen-active .orderPlacedCancelMessage {
    font-size: 12px;
    line-height: 18px;
    color: #ef4444;
    margin-top: 10px;
}
html.fod-screen-active .orderPlacedCancelMessage:empty {
    display: none;
}
/* Small Loading Spinner */
html.fod-screen-active .orderPlacedCancelSpinner {
    display: inline-block;
    width: 15px;
    height: 15px;
    min-width: 15px;
    flex-shrink: 0;
    border: 2px solid rgba(239,68,68,0.20);
    border-top-color: #ef4444;
    border-radius: 50%;
    animation: orderPlacedCancelSpin 0.65s linear infinite;
}
html.fod-screen-active .orderPlacedCancelYes .orderPlacedCancelSpinner {
    border-color: rgba(255,255,255,0.30);
    border-top-color: #ffffff;
}
@keyframes orderPlacedCancelSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
/* Small Mobile Devices */
@media (max-width: 360px) {


    
html.fod-screen-active .orderPlacedPartnerRow {
        gap: 6px;
    }


    
html.fod-screen-active .orderPlacedPartnerActions {
        gap: 4px;
    }


    
html.fod-screen-active .orderPlacedPartnerChat, html.fod-screen-active .orderPlacedPartnerCall {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }


    
html.fod-screen-active .orderPlacedMessageInner {
        gap: 7px;
        padding: 10px 9px;
    }


    
html.fod-screen-active .orderPlacedMessageIcon {
        font-size: 19px;
    }


    
html.fod-screen-active .orderPlacedMessageChatNow {
        font-size: 11px;
    }


    
html.fod-screen-active .orderPlacedMessageClose {
        width: 18px;
    }



}
@media (prefers-reduced-motion: reduce) {


    
html.fod-screen-active .orderPlacedOrderDropdown, html.fod-screen-active .orderPlacedReceiptArrow, html.fod-screen-active .orderPlacedCancelOverlay, html.fod-screen-active .orderPlacedCancelPopup {
        transition: none;
    }


    
html.fod-screen-active .orderPlacedMessageBar.isVisible {
        animation: none;
    }



}
html.fod-screen-active {height:100%;overflow:hidden;}
html.fod-screen-active body {height:100%;overflow-y:auto;overscroll-behavior:contain;}
html.fod-screen-active .orderPlacedHeader {position:sticky;top:0;z-index:2000;flex-shrink:0;}
html.fod-screen-active .orderPlacedCancelSection[hidden]{display:none;}


      html.fod-screen-active body .fod-chat-shade{position:absolute;inset:0;background:rgba(15,20,30,.35);z-index:45;opacity:0;pointer-events:none;transition:opacity .24s ease}
      html.fod-screen-active body .fod-chat-panel{position:absolute;left:20px;right:20px;top:50px;bottom:20px;height:auto;border-radius:20px;background:#fff;z-index:46;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 12px 40px rgba(0,0,0,.19);transform:translateY(35px) scale(.98);opacity:0;visibility:hidden;transition:transform .34s cubic-bezier(.2,.8,.2,1),opacity .34s ease,visibility 0s linear .34s;font-family:Poppins,Arial,sans-serif}
      html.fod-screen-active body.fod-chat-open .fod-chat-shade{opacity:1;pointer-events:auto}
      html.fod-screen-active body.fod-chat-open .fod-chat-panel{transform:translateY(0) scale(1);opacity:1;visibility:visible;transition:transform .34s cubic-bezier(.2,.8,.2,1),opacity .34s ease,visibility 0s}
      html.fod-screen-active body .fod-chat-header{display:flex;align-items:center;gap:12px;flex-shrink:0;padding:12px 14px;background:#fff;border-bottom:1px solid #f0f0f0;min-height:67px;box-sizing:border-box}
      html.fod-screen-active body .fod-chat-back{background:none;border:0;color:#222;padding:8px;display:grid;place-items:center;font-size:18px;cursor:pointer}
      html.fod-screen-active body .fod-chat-avatar{width:37px;height:37px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#ec4386;font-size:17px;flex-shrink:0;overflow:hidden}
      html.fod-screen-active body .fod-chat-avatar img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}
      html.fod-screen-active body .fod-chat-respect{flex-shrink:0;padding:9px 13px;text-align:center;background:#fff8fb;border-bottom:1px solid #f9e6ed;color:#80616d;font-size:clamp(7px,2.25vw,10.5px);line-height:1.5;white-space:nowrap;overflow:hidden;letter-spacing:-.12px}
      html.fod-screen-active body .fod-chat-contact{min-width:0;flex:1}
      html.fod-screen-active body .fod-chat-name{font-size:14px;font-weight:700;color:#222;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
      html.fod-screen-active body .fod-chat-mobile{font-size:11px;color:#777;margin-top:2px}
      html.fod-screen-active body .fod-chat-messages{flex:1;min-height:0;overflow-y:auto;padding:16px 13px 20px;display:flex;flex-direction:column;gap:11px;overscroll-behavior:contain;background:#fafafa;-webkit-overflow-scrolling:touch}
      html.fod-screen-active body .fod-chat-empty{text-align:center;color:#999;font-size:12px;margin:auto;line-height:1.7}
      html.fod-screen-active body .fod-chat-bubble{max-width:82%;padding:10px 12px 7px;border-radius:15px;word-break:break-word;white-space:pre-wrap;font-size:12.5px;line-height:1.5;box-shadow:0 1px 2px rgba(0,0,0,.04)}
      html.fod-screen-active body .fod-chat-bubble.partner{align-self:flex-start;background:#fff;border:1px solid #ececec;border-bottom-left-radius:4px;color:#242424}
      html.fod-screen-active body .fod-chat-bubble.customer{align-self:flex-end;background:#fce1ec;border-bottom-right-radius:4px;color:#292029}
      html.fod-screen-active body .fod-chat-time{display:block;text-align:right;margin-top:4px;font-size:9px;color:#8a7b83}
      html.fod-screen-active body .fod-chat-form{display:flex;align-items:center;gap:9px;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #f1f1f1;flex-shrink:0}
      html.fod-screen-active body .fod-chat-input{flex:1;min-width:0;border:1px solid #ededed;border-radius:22px;padding:12px 14px;outline:none;background:#f7f7f7;color:#222;font:12px Poppins,Arial,sans-serif}
      html.fod-screen-active body .fod-chat-input:focus{border-color:#f5a0c0;background:#fff}
      html.fod-screen-active body .fod-chat-send{border:0;border-radius:50%;background:#f65391;color:#fff;width:41px;height:41px;flex:0 0 41px;display:grid;place-items:center;cursor:pointer;font-size:15px}
      html.fod-screen-active body .fod-chat-send:disabled{opacity:.45;cursor:default}
      html.fod-screen-active body .fod-chat-error{font-size:10px;color:#c33838;padding:0 14px 5px;display:none;background:#fff}
      @media(prefers-reduced-motion:reduce){html.fod-screen-active body .fod-chat-panel,html.fod-screen-active body .fod-chat-shade{transition:none}}
    
html.fod-screen-active body .fod-chat-panel{position:fixed;z-index:3000} html.fod-screen-active body .fod-chat-shade{position:fixed;z-index:2999}

.fod-invoice-spinner{display:inline-block;width:16px;height:16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:fodInvoiceSpin .7s linear infinite}@keyframes fodInvoiceSpin{to{transform:rotate(360deg)}}

/* Compact individual item ratings — delivered only */
html.fod-screen-delivered .orderSummaryItemStars {display:flex;align-items:center;gap:5px;margin:0 0 8px;padding:0;}
html.fod-screen-delivered .orderSummaryItemStars button {display:inline-flex;align-items:center;justify-content:center;width:24px;height:25px;padding:0;border:0;background:transparent;color:#dedee2;font-size:15px;cursor:pointer;}
html.fod-screen-delivered .orderSummaryItemStars button.isSelected {color:#FF007F;}
html.fod-screen-delivered .orderSummaryItemStars button:disabled, html.fod-screen-delivered .orderDeliveredStar:disabled, html.fod-screen-delivered .orderSummaryFoodStar:disabled {opacity:1;cursor:default;}

/* Delivered summary heading — left aligned */
html.fod-screen-delivered .orderDeliveredSummaryHeading {justify-content:flex-start;text-align:left;}
html.fod-screen-delivered .orderDeliveredSummaryHeading span {text-align:left;}

/* V13: keep the route connector visible above the cancellation cross. */
html.fod-screen-cancelled .orderCancelledRouteLine { flex: 0 0 14px; width: 2px; min-height: 14px; border: 0; background: repeating-linear-gradient(to bottom, #999 0 3px, transparent 3px 5px); display: block; }
html.fod-screen-cancelled .orderCancelledRouteCross { flex-shrink: 0; }

/* Bill delivery discount */
html.fod-screen-active .fodBillOld, html.fod-screen-delivered .fodBillOld {color:#999;text-decoration:line-through;margin-right:5px;}
html.fod-screen-active .fodBillFree, html.fod-screen-delivered .fodBillFree {color:#15803d;font-weight:600;}

html.fod-screen-delivered .orderSummaryOrderId { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:10px; font-size:12px; color:#777; }
html.fod-screen-delivered #orderSummaryOrderIdValue { color:#17243b; overflow-wrap:anywhere; text-align:right; }

/* FREE delivery label */
html.fod-screen-active .fodBillFree,
html.fod-screen-delivered .fodBillFree,
html.fod-screen-cancelled #ocDelivery {
    font-family: Arial, sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #15803D;
}

/* Delivered delivery fee: override generic bill amount styling. */
html.fod-screen-delivered #orderSummaryDeliveryFee .fodBillFree {
    color: #15803D;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
}
html.fod-screen-delivered #orderSummaryDeliveryFee .fodBillOld {
    color: #999;
    text-decoration: line-through;
}

.fodTryAgainNotice{position:fixed;left:50%;bottom:calc(90px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:99999;background:#263238;color:#fff;padding:9px 18px;border-radius:20px;font:500 13px Arial,sans-serif;pointer-events:none;box-shadow:0 2px 8px #0002;}

/* Keep order navigation pinned during scrolling, including iOS WebView. */
html.fod-screen-delivered .orderDeliveredGreenSection {
    overflow: visible;
    isolation: auto;
}
html.fod-screen-delivered .orderDeliveredHero {
    overflow: hidden;
}
html.fod-screen-delivered .orderDeliveredHeader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
}
html.fod-screen-delivered .orderDeliveredGreenSection {
    padding-top: 126px;
}
html.fod-screen-active body,
html.fod-screen-delivered body,
html.fod-screen-cancelled .orderCancelledScroll {
    overscroll-behavior-y: none;
}
html.fod-screen-active .orderPlacedHeader {
    position: sticky;
    top: 0;
    z-index: 2000;
}
