/* Conference Booking – Lunch Order page. Builds on dashboard.css (.db-*); everything here is lb- prefixed. */
.db.lb {
    padding-bottom: 40px
}

@media (min-width: 1600px) {
    .db.lb {
        width: auto;
        margin-left: 0
    }
}

/* hero status pill */
.db-pill.lb-open {
    background: rgba(34,197,94,.22);
    border-color: rgba(134,239,172,.55)
}

    .db-pill.lb-open i {
        color: #86efac
    }

.db-pill.lb-closed {
    background: rgba(245,158,11,.2);
    border-color: rgba(253,224,71,.5)
}

    .db-pill.lb-closed i {
        color: #fde68a
    }

/* layout */
.lb-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 20px;
    margin: 22px 0;
    align-items: start
}

.lb-art {
    background: linear-gradient(160deg, #ffffff, #eef1ff);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 20px 40px -28px rgba(26,31,109,.5);
    position: sticky;
    top: 90px;
}

    .lb-art img {
        width: 100%;
        max-height: 300px;
        object-fit: contain;
        display: block;
        margin: 0 auto 14px
    }

.lb-rules {
    display: grid;
    gap: 10px
}

.lb-rule {
    display: flex;
    gap: 12px;
    align-items: flex-start;
 /*   background: #fff;
    border: 1px solid #dfe6ff;
    border-radius: 14px;*/
    padding: 0px 40px;
    font-size: .64rem;
    color: #3b4266
}

    .lb-rule i {
        width: 20px;
        height: 20px;
        border-radius: 10px;
        display: grid;
        place-items: center;
        color: #fff;
        font-size: .6rem;
        flex: none;
        background: var(--conf-grad)
    }

.lb-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 20px 40px -28px rgba(26,31,109,.5)
}

    .lb-card h2 {
        font-size: 1.15rem;
        font-weight: 800;
        color: var(--navy);
        margin-bottom: 18px;
        display: flex;
        gap: 10px;
        align-items: center
    }

        .lb-card h2 i {
            width: 34px;
            height: 34px;
            border-radius: 11px;
            display: grid;
            place-items: center;
            color: #fff;
            font-size: .85rem;
            background: var(--conf-grad)
        }

.lb-alert {
    display: flex;
    gap: 12px;
    background: #fff5f5;
    border: 1.5px solid #fecaca;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 16px;
    color: #7f1d1d;
    font-size: .86rem
}

    .lb-alert > i {
        color: #ef4444;
        font-size: 1.2rem;
        margin-top: 2px
    }

    .lb-alert b {
        color: #b91c1c
    }

    .lb-alert ul {
        margin: 4px 0 0;
        padding-left: 18px
    }

/* fields */
.lb-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.lb-field {
    position: relative;
    margin-bottom: 14px
}

    .lb-field label {
        display: block;
        font-size: .78rem;
        font-weight: 700;
        color: var(--navy);
        margin-bottom: 6px
    }

        .lb-field label em {
            color: #ef4444;
            font-style: normal
        }

    .lb-field > i {
        position: absolute;
        left: 14px;
        bottom: 15px;
        color: var(--blue);
        font-size: .9rem;
        pointer-events: none;
        z-index: 2
    }

    .lb-field input[type=text], .lb-field input[type=date], .lb-field textarea {
        width: 100%;
        padding: 12px 14px 12px 40px;
        border: 1.5px solid #dfe6ff;
        border-radius: 12px;
        background: #f7f9ff;
        font: inherit;
        font-size: .92rem;
        color: var(--ink);
        outline: 0;
        transition: .2s;
    }

    .lb-field textarea {
        min-height: 84px;
        resize: vertical
    }

        .lb-field input:hover, .lb-field textarea:hover {
            border-color: #b9c6fb
        }

        .lb-field input:focus, .lb-field textarea:focus {
            border-color: var(--blue);
            background: #fff;
            box-shadow: 0 0 0 4px rgba(78,115,223,.18)
        }

        .lb-field input.err, .lb-field textarea.err {
            border-color: #ef4444;
            box-shadow: 0 0 0 4px rgba(239,68,68,.12)
        }

.lb-hint {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 6px;
    font-size: .76rem;
    color: #b45309
}

    .lb-hint.ok {
        color: #15803d
    }

/* meal cards */
.lb-meals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 4px 0 14px
}

.lb-meal {
    border: 2px solid #e6e9f5;
    border-radius: 18px;
    padding: 14px;
    background: #fff;
    transition: .2s
}

    .lb-meal:hover {
        border-color: #b9c6fb
    }

.lb-meal__head {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
    margin: 0
}

    .lb-meal__head input[type=checkbox] {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0
    }

.lb-meal__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #f1f5f9;
    flex: none
}

    .lb-meal__icon img {
        width: 24px;
        height: 24px
    }

.lb-meal__title {
    font-weight: 800;
    color: var(--ink);
    font-size: .92rem;
    line-height: 1.2;
    flex: 1
}

    .lb-meal__title small {
        display: block;
        font-weight: 500;
        color: var(--muted);
        font-size: .72rem;
        margin-top: 2px
    }

.lb-tick {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: grid;
    place-items: center;
    color: transparent;
    font-size: .65rem;
    transition: .2s;
    flex: none
}

.lb-meal__head input:focus-visible ~ .lb-tick {
    box-shadow: 0 0 0 4px rgba(78,115,223,.25)
}

.lb-meal.on.lb-meal--veg {
    border-color: #22c55e;
    background: linear-gradient(180deg, #ffffff, #f0fdf4);
    box-shadow: 0 12px 24px -16px rgba(21,128,61,.7)
}

    .lb-meal.on.lb-meal--veg .lb-meal__icon {
        background: #dcfce7
    }

    .lb-meal.on.lb-meal--veg .lb-tick {
        background: linear-gradient(135deg, #34d399, #15803d);
        border-color: transparent;
        color: #fff
    }

.lb-meal.on.lb-meal--non {
    border-color: #f43f5e;
    background: linear-gradient(180deg, #ffffff, #fff1f2);
    box-shadow: 0 12px 24px -16px rgba(159,18,57,.7)
}

    .lb-meal.on.lb-meal--non .lb-meal__icon {
        background: #ffe4e6
    }

    .lb-meal.on.lb-meal--non .lb-tick {
        background: linear-gradient(135deg, #fb7185, #be123c);
        border-color: transparent;
        color: #fff
    }

.lb-meal.on .lb-meal__title small {
    display: none
}

.lb-step {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    opacity: .45;
    pointer-events: none;
    transition: .2s
}

.lb-meal.on .lb-step {
    opacity: 1;
    pointer-events: auto
}

.lb-step__btn {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    background: var(--conf-grad);
    box-shadow: 0 8px 14px -8px rgba(26,31,109,.7);
    transition: .2s
}

    .lb-step__btn:hover {
        transform: translateY(-2px)
    }

.lb-step input {
    flex: 1;
    min-width: 0;
    height: 40px;
    text-align: center;
    font-weight: 800;
    font-size: 1.05rem;
    border: 1.5px solid #dfe6ff;
    border-radius: 12px;
    background: #f7f9ff;
    color: var(--ink);
    outline: 0;
    -moz-appearance: textfield
}

    .lb-step input::-webkit-outer-spin-button, .lb-step input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0
    }

    .lb-step input:focus {
        border-color: var(--blue);
        background: #fff;
        box-shadow: 0 0 0 4px rgba(78,115,223,.18)
    }

    .lb-step input.err {
        border-color: #ef4444
    }

.lb-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 14px;
    color: #fff;
    margin-bottom: 14px;
    background: var(--conf-grad);
    font-weight: 600
}

    .lb-total i {
        margin-right: 8px;
        color: #7de3da
    }

    .lb-total b {
        font-size: 1.4rem;
        font-weight: 800
    }

.lb-client-error {
    background: #fff5f5;
    border: 1.5px solid #fecaca;
    color: #b91c1c;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: .85rem;
    font-weight: 600
}

    .lb-client-error[hidden] {
        display: none
    }

.lb-submit {
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 15px 20px;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    background: var(--conf-grad);
    box-shadow: 0 14px 26px -12px rgba(26,31,109,.85);
    transition: .2s;
}

    .lb-submit:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 18px 30px -12px rgba(26,31,109,.9)
    }

    .lb-submit:disabled {
        opacity: .7;
        cursor: wait
    }

/* table badges */
.lb-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    font-weight: 800;
    font-size: .82rem
}

    .lb-badge img {
        width: 15px;
        height: 15px
    }

.lb-badge--veg {
    background: #dcfce7;
    color: #15803d
}

.lb-badge--non {
    background: #ffe4e6;
    color: #be123c
}

@media (max-width: 900px) {
    .lb-grid {
        grid-template-columns: 1fr
    }

    .lb-art {
        position: static
    }

        .lb-art img {
            max-height: 220px
        }
}

@media (max-width: 576px) {
    .lb-row, .lb-meals {
        grid-template-columns: 1fr
    }

    .lb-card {
        padding: 18px
    }
}

/* =====================================================================
   Mobile
   ===================================================================== */
.lb-card, .lb-art, .lb-meal {
    min-width: 0
}

.lb-field input[type=date] {
    min-height: 46px;
    -webkit-appearance: none;
    appearance: none
}

@media (max-width: 900px) {
    .lb-card {
        order: 1
    }
    /* form first, illustration below */
    .lb-art {
        order: 2;
        padding: 16px
    }

        .lb-art img {
            max-height: 200px
        }
}

@media (max-width: 768px) {
    .db.lb .db-hero {
        padding: 20px 16px
    }

    .db.lb .db-actions .db-pill {
        width: 100%;
        justify-content: center;
        text-align: center;
        font-size: .8rem;
        padding: 10px 12px
    }

    .lb-grid {
        gap: 14px;
        margin: 16px 0
    }

    .lb-card {
        border-radius: 20px;
        padding: 18px 16px
    }

        .lb-card h2 {
            font-size: 1.05rem;
            margin-bottom: 14px
        }

    /* 16px inputs stop iOS from zooming in on focus; bigger touch targets */
    .lb-field input[type=text], .lb-field input[type=date], .lb-field textarea {
        font-size: 16px;
        padding-top: 13px;
        padding-bottom: 13px
    }

    .lb-step input {
        font-size: 16px
    }

    .lb-step__btn {
        width: 46px;
        height: 46px
    }

    .lb-step input {
        height: 46px
    }

    .lb-meal__head {
        min-height: 48px
    }

    .lb-total {
        padding: 12px 14px
    }

    .lb-hint {
        align-items: flex-start;
        line-height: 1.35
    }

    /* submit stays reachable while scrolling the form */
    .lb-submit {
        position: sticky;
        bottom: 12px;
        z-index: 5;
        padding: 16px 14px;
        font-size: .95rem;
        box-shadow: 0 16px 30px -10px rgba(26,31,109,.9), 0 0 0 6px rgba(255,255,255,.85);
    }

    /* stat cards: 2 per row */
    .db.lb .db-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px
    }

    .db.lb .db-stat {
        padding: 14px
    }

    .db.lb .db-stat__num {
        font-size: 1.7rem
    }

    .db.lb .db-stat__label {
        font-size: .7rem;
        margin-bottom: 8px
    }

    .db.lb .db-chips .db-chip {
        font-size: .68rem;
        padding: 3px 8px
    }

    /* order table -> cards: badges/pills align right like the other values */
    .db.lb .db-table tbody td .lb-badge, .db.lb .db-table tbody td .db-status {
        margin-left: auto
    }

    .db.lb .db-toolbar {
        padding: 14px
    }

    .db.lb .db-sec {
        margin-top: 20px
    }
}

@media (max-width: 420px) {
    .db.lb .db-stats {
        grid-template-columns: 1fr
    }

    .lb-meal {
        padding: 12px
    }

    .lb-meal__icon {
        width: 40px;
        height: 40px
    }

    .lb-rule {
        font-size: .8rem
    }
}

/* =====================================================================
   Lunch form: theme header + themed calendar
   ===================================================================== */
.lb-card {
    border-color: #dfe6ff;
    box-shadow: 0 26px 50px -30px rgba(26,31,109,.65)
}

    .lb-card h2 {
        margin: -26px -26px 22px;
        padding: 18px 26px;
        border-radius: 23px 23px 0 0;
        color: #fff;
        font-size: 1.1rem;
        background: radial-gradient(60% 90% at 0% 100%, rgba(18,179,166,.32), transparent 65%), radial-gradient(120% 80% at 100% 0%, rgba(78,115,223,.6), transparent 60%), linear-gradient(160deg, #1a1f6d, #05003b);
    }

        .lb-card h2 i {
            background: rgba(255,255,255,.18);
            border: 1px solid rgba(255,255,255,.28);
            color: #7de3da
        }

@media (max-width: 768px) {
    .lb-card h2 {
        margin: -18px -16px 16px;
        padding: 16px;
        border-radius: 19px 19px 0 0
    }
}

.lb-field label {
    color: var(--navy);
    letter-spacing: .2px
}

.lb-field--date > i {
    top: 37px;
    bottom: auto
}

/* date button (looks like the other inputs) */
.lb-datebtn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 12px 14px 12px 40px;
    min-height: 46px;
    border: 1.5px solid #dfe6ff;
    border-radius: 12px;
    background: #f7f9ff;
    font: inherit;
    font-size: .92rem;
    font-weight: 600;
    color: var(--ink);
    transition: .2s;
}

    .lb-datebtn:hover {
        border-color: #b9c6fb
    }

    .lb-datebtn.open, .lb-datebtn:focus {
        outline: 0;
        border-color: var(--blue);
        background: #fff;
        box-shadow: 0 0 0 4px rgba(78,115,223,.18)
    }

    .lb-datebtn.err {
        border-color: #ef4444;
        box-shadow: 0 0 0 4px rgba(239,68,68,.12)
    }

.lb-datebtn__ph {
    color: #9aa6d6;
    font-weight: 500
}

.lb-datebtn__chev {
    color: var(--blue);
    font-size: .75rem;
    transition: .2s
}

.lb-datebtn.open .lb-datebtn__chev {
    transform: rotate(180deg)
}

/* calendar popover */
.lb-cal[hidden] {
    display: none !important
}

.lb-cal {
    position: absolute;
    left: 0;
    top: 76px;
    z-index: 40;
    width: 336px;
    max-width: 100%;
    background: #fff;
    border: 1.5px solid #dfe6ff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(5,0,59,.55);
    animation: lbPop .22s ease both;
}

@keyframes lbPop {
    from {
        opacity: 0;
        transform: translateY(8px) scale(.98)
    }
}

.lb-cal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    color: #fff;
    background: radial-gradient(60% 90% at 0% 100%, rgba(18,179,166,.32), transparent 65%), radial-gradient(120% 80% at 100% 0%, rgba(78,115,223,.6), transparent 60%), linear-gradient(160deg, #1a1f6d, #05003b);
}

.lb-cal__sel small {
    display: block;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .8px;
    opacity: .75
}

.lb-cal__sel b {
    font-size: 1.05rem;
    font-weight: 800
}

.lb-cal__close {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    color: #fff;
    transition: .2s
}

    .lb-cal__close:hover {
        background: rgba(255,255,255,.32);
        transform: rotate(90deg)
    }

.lb-cal__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px 4px
}

    .lb-cal__nav h4 {
        margin: 0;
        font-size: 1rem;
        font-weight: 800;
        color: var(--navy)
    }

    .lb-cal__nav button {
        width: 34px;
        height: 34px;
        border: 0;
        border-radius: 11px;
        color: #fff;
        font-size: .78rem;
        transition: .2s;
        background: radial-gradient(120% 80% at 100% 0%, rgba(78,115,223,.55), transparent 60%), linear-gradient(160deg, #1a1f6d, #05003b);
        box-shadow: 0 8px 14px -8px rgba(26,31,109,.7);
    }

        .lb-cal__nav button:hover:not(:disabled) {
            transform: translateY(-2px)
        }

        .lb-cal__nav button:disabled {
            opacity: .3;
            cursor: not-allowed
        }

.lb-cal__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    padding: 8px 14px 12px
}

.lb-cal__wd {
    text-align: center;
    font-size: .68rem;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    padding: 6px 0
}

.lb-cal__d {
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink);
    position: relative;
    transition: .15s
}

    .lb-cal__d.ok {
        background: #f3f5ff
    }

    .lb-cal__d:hover:not(:disabled):not(.sel) {
        background: #dfe6ff;
        color: var(--navy);
        transform: translateY(-1px)
    }

    .lb-cal__d:disabled {
        color: #c4c9dc;
        font-weight: 500;
        cursor: not-allowed
    }

    .lb-cal__d.today::after {
        content: "";
        position: absolute;
        bottom: 5px;
        left: 50%;
        width: 5px;
        height: 5px;
        margin-left: -2.5px;
        border-radius: 50%;
        background: var(--blue)
    }

    .lb-cal__d.sel {
        color: #fff;
        box-shadow: 0 10px 18px -8px rgba(26,31,109,.8);
        background: radial-gradient(120% 80% at 100% 0%, rgba(78,115,223,.55), transparent 60%), linear-gradient(160deg, #1a1f6d, #05003b);
    }

        .lb-cal__d.sel.today::after {
            background: #fff
        }

.lb-cal__quick {
    display: flex;
    gap: 8px;
    padding: 0 14px 14px
}

    .lb-cal__quick button {
        flex: 1;
        border: 1.5px solid #dfe6ff;
        background: #f6f8ff;
        color: var(--navy);
        border-radius: 12px;
        padding: 9px;
        font-weight: 700;
        font-size: .82rem;
        transition: .2s
    }

        .lb-cal__quick button:hover:not(:disabled) {
            background: #eef1ff;
            border-color: var(--blue)
        }

        .lb-cal__quick button:disabled {
            opacity: .4;
            cursor: not-allowed
        }

.lb-cal-backdrop {
    display: none
}

/* phones: the calendar becomes a bottom sheet */
@media (max-width: 576px) {
    .lb-cal-backdrop.open {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1090;
        background: rgba(12,16,60,.55);
        backdrop-filter: blur(4px)
    }

    .lb-cal {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        width: auto;
        max-width: none;
        z-index: 1100;
        border-radius: 24px 24px 0 0;
        border: 0;
        max-height: 92vh;
        overflow-y: auto;
        animation: lbSheet .28s ease both;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .lb-cal__d {
        height: 44px
    }

    .lb-cal__nav button, .lb-cal__close {
        width: 40px;
        height: 40px
    }
}

@keyframes lbSheet {
    from {
        transform: translateY(100%)
    }
}

/* =====================================================================
   Lunch order success popup (SweetAlert2) – theme colours
   ===================================================================== */
.swal2-popup.db-swal.lb-swal {
    padding: 0 0 1.4em;
    overflow: hidden;
    border-radius: 24px;
    border-top: 0;
    border-image: none;
    background: linear-gradient(180deg, #ffffff, #f6f8ff);
    box-shadow: 0 40px 80px -24px rgba(5,0,59,.6);
}
/* gradient banner behind the icon + title */
.swal2-popup.lb-swal::before {
    content: "";
    display: block;
    height: 96px;
    margin-bottom: -58px;
    background: radial-gradient(60% 90% at 0% 100%, rgba(18,179,166,.35), transparent 65%), radial-gradient(120% 80% at 100% 0%, rgba(78,115,223,.6), transparent 60%), linear-gradient(160deg, #1a1f6d, #05003b);
}

.swal2-popup.lb-swal .swal2-icon {
    margin-top: 0;
    background: #fff;
    box-shadow: 0 12px 24px -10px rgba(5,0,59,.5)
}

.swal2-popup.lb-swal .swal2-title {
    padding-top: .6em;
    font-size: 1.35rem
}

.swal2-popup.lb-swal .swal2-html-container {
    margin: .6em 1.2em .2em
}

.swal2-popup.lb-swal .swal2-actions {
    margin-top: 1em
}

.swal2-popup.lb-swal .swal2-styled.swal2-confirm {
    background: radial-gradient(120% 80% at 100% 0%, rgba(78,115,223,.55), transparent 60%), linear-gradient(160deg, #1a1f6d, #05003b) !important;
    padding: .75em 2.6em;
    font-size: 1rem;
}

.lb-sum {
    display: grid;
    gap: 10px;
    text-align: left
}

.lb-sum__item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #dfe6ff;
    border-radius: 14px;
    padding: 10px 12px
}

    .lb-sum__item > i {
        width: 36px;
        height: 36px;
        border-radius: 11px;
        display: grid;
        place-items: center;
        color: #fff;
        font-size: .85rem;
        flex: none;
        background: radial-gradient(120% 80% at 100% 0%, rgba(78,115,223,.55), transparent 60%), linear-gradient(160deg, #1a1f6d, #05003b);
    }

    .lb-sum__item small {
        display: block;
        font-size: .68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .5px;
        color: #6b7280
    }

    .lb-sum__item b {
        font-size: .95rem;
        color: #1a1f6d;
        word-break: break-word
    }

.lb-sum__code {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    border-radius: 999px;
    background: #eef1ff;
    color: #1a1f6d;
    font-size: .72rem;
    font-weight: 700
}

.lb-sum__meals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px
}

.lb-sum__meal {
    border-radius: 14px;
    padding: 10px 6px;
    text-align: center;
    border: 1.5px solid transparent
}

    .lb-sum__meal span {
        display: block;
        font-size: .68rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .5px
    }

    .lb-sum__meal b {
        display: block;
        font-size: 1.5rem;
        font-weight: 800;
        line-height: 1.2
    }

.lb-sum__meal--veg {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #15803d
}

.lb-sum__meal--non {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #be123c
}

.lb-sum__meal--total {
    color: #fff;
    border-color: transparent;
    background: radial-gradient(120% 80% at 100% 0%, rgba(78,115,223,.55), transparent 60%), linear-gradient(160deg, #1a1f6d, #05003b);
}

.lb-sum__mail {
    display: flex;
    gap: 12px;
    align-items: center;
    border-radius: 14px;
    padding: 11px 13px;
    font-weight: 700;
    font-size: .86rem;
    line-height: 1.35
}

    .lb-sum__mail i {
        font-size: 1.25rem
    }

    .lb-sum__mail small {
        font-weight: 500;
        opacity: .85
    }

    .lb-sum__mail.ok {
        background: #ecfdf5;
        border: 1.5px solid #a7f3d0;
        color: #047857
    }

    .lb-sum__mail.warn {
        background: #fffbeb;
        border: 1.5px solid #fde68a;
        color: #b45309
    }

/* =====================================================================
   Lunch order table – theme colours (header, pagination, search and filters come from dashboard.css)
   ===================================================================== */
.db.lb .db-panel {
    border-color: #dfe6ff;
    box-shadow: 0 26px 50px -30px rgba(26,31,109,.6)
}

.db.lb .db-toolbar {
    background: linear-gradient(180deg, #f8faff, #ffffff);
    border-bottom-color: #dfe6ff
}

/* rows: soft blue accent on the left, themed hover */
.db.lb .db-table tbody td {
    border-color: #e3e9ff
}

    .db.lb .db-table tbody td:first-child {
        border-left: 4px solid #4e73df
    }

.db.lb .db-table tbody tr:hover td {
    background: #f3f6ff;
    border-color: #c9d2ff
}

.db.lb .db-table tbody tr.is-active td {
    background: #f0fbf9;
    border-color: #a7e3dd
}

    .db.lb .db-table tbody tr.is-active td:first-child {
        border-left-color: #12b3a6
    }

.db.lb .db-table tbody tr.is-completed td:first-child {
    border-left-color: #94a3b8
}

.db.lb .db-user__name {
    color: var(--navy);
    font-weight: 800
}

.db.lb .db-user__sub {
    display: inline-block;
    margin-top: 3px;
    padding: 1px 8px;
    border-radius: 999px;
    background: #eef1ff;
    color: var(--navy);
    font-weight: 700;
    font-size: .7rem
}

/* date chip */
.lb-datechip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border-radius: 10px;
    background: #f3f5ff;
    border: 1px solid #dfe6ff;
    color: var(--navy);
    font-weight: 700;
    font-size: .82rem;
    white-space: nowrap
}

    .lb-datechip i {
        color: var(--blue)
    }

.db.lb .db-table tbody tr.is-active .lb-datechip {
    background: #e6f7f5;
    border-color: #cdf0ec;
    color: #04384f
}

    .db.lb .db-table tbody tr.is-active .lb-datechip i {
        color: #12b3a6
    }

/* total = theme gradient pill */
.lb-totalpill {
    display: inline-grid;
    place-items: center;
    min-width: 38px;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
    font-size: .9rem;
    background: radial-gradient(120% 80% at 100% 0%, rgba(78,115,223,.55), transparent 60%), linear-gradient(160deg, #1a1f6d, #05003b);
    box-shadow: 0 8px 14px -8px rgba(26,31,109,.75);
}

/* meal badges a little richer */
.db.lb .lb-badge--veg {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border: 1px solid #86efac
}

.db.lb .lb-badge--non {
    background: linear-gradient(135deg, #ffe4e6, #fecdd3);
    border: 1px solid #fda4af
}

.db.lb .db-note {
    border-color: #c9d2ff
}

@media (max-width: 768px) {
    .db.lb .db-table tbody td:first-child {
        border-left: 0 !important
    }

    .db.lb .db-table tbody tr {
        border-left: 4px solid #4e73df
    }

        .db.lb .db-table tbody tr.is-active {
            border-left-color: #12b3a6
        }

        .db.lb .db-table tbody tr.is-completed {
            border-left-color: #94a3b8
        }

    .db.lb .db-table tbody td .lb-datechip, .db.lb .db-table tbody td .lb-totalpill {
        margin-left: auto
    }
}

/* =====================================================================
   Lunch hero banner – same theme gradient as the Dashboard, plus lunch touches
   ===================================================================== */
.lb-hero {
    min-height: 128px
}

.lb-hero__mark {
    position: absolute !important;
    right: 24px;
    bottom: -34px;
    font-size: 9rem;
    color: rgba(255,255,255,.07);
    transform: rotate(-14deg);
    pointer-events: none
}

.lb-hero__title {
    display: flex;
    align-items: center;
    gap: 18px
}

.lb-hero__icon {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    flex: none;
    color: #fff;
    font-size: 1.7rem;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(125,227,218,.4);
    backdrop-filter: blur(8px);
    box-shadow: 0 16px 30px -14px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.25);
}

    .lb-hero__icon i {
        color: #7de3da;
        filter: drop-shadow(0 4px 8px rgba(0,0,0,.35))
    }

.lb-hero .db-pill i {
    color: #7de3da
}

@media (max-width: 768px) {
    .lb-hero__title {
        align-items: flex-start;
        gap: 12px
    }

    .lb-hero__icon {
        width: 52px;
        height: 52px;
        border-radius: 16px;
        font-size: 1.3rem
    }

    .lb-hero__mark {
        font-size: 6rem;
        right: 6px
    }
}

@media (max-width: 420px) {
    .lb-hero__icon {
        display: none
    }
}

/* =====================================================================
   Larger food illustration (Order food-amico.svg)
   ===================================================================== */
.lb-grid {
    grid-template-columns: 1.05fr 1fr
}

.lb-art {
    /*padding: 18px 18px 20px*/
    padding: 0px 84px 9px;
}

    .lb-art img {
        width: 100%;
        max-height: none;
        height: auto;
        min-height: 380px;
        object-fit: contain;
        margin: 0 auto 12px
    }

@media (max-width: 1100px) {
    .lb-grid {
        grid-template-columns: 1fr 1fr
    }

    .lb-art img {
        min-height: 320px
    }
}

@media (max-width: 900px) {
    .lb-grid {
        grid-template-columns: 1fr
    }

    .lb-art img {
        min-height: 0;
        max-height: none;
        width: min(100%, 520px)
    }
}

@media (max-width: 576px) {
    .lb-art {
        padding: 14px
    }

        .lb-art img {
            width: 100%
        }
}
