/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-ac1gsue7j2] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-ac1gsue7j2] {
    flex: 1;
}

.sidebar[b-ac1gsue7j2] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-ac1gsue7j2] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-ac1gsue7j2]  a, .top-row[b-ac1gsue7j2]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-ac1gsue7j2]  a:hover, .top-row[b-ac1gsue7j2]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-ac1gsue7j2]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-ac1gsue7j2] {
        justify-content: space-between;
    }

    .top-row[b-ac1gsue7j2]  a, .top-row[b-ac1gsue7j2]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-ac1gsue7j2] {
        flex-direction: row;
    }

    .sidebar[b-ac1gsue7j2] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ac1gsue7j2] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-ac1gsue7j2]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-ac1gsue7j2], article[b-ac1gsue7j2] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-ac1gsue7j2] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-ac1gsue7j2] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-8nyhudom8p] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-8nyhudom8p] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-8nyhudom8p] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-8nyhudom8p] {
    font-size: 1.1rem;
}

.bi[b-8nyhudom8p] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-8nyhudom8p] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-8nyhudom8p] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-8nyhudom8p] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-8nyhudom8p] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-8nyhudom8p] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-8nyhudom8p] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-8nyhudom8p] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-8nyhudom8p] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-8nyhudom8p] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-8nyhudom8p] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-8nyhudom8p] {
        padding-bottom: 1rem;
    }

    .nav-item[b-8nyhudom8p]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-8nyhudom8p]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-8nyhudom8p]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-8nyhudom8p] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-8nyhudom8p] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-8nyhudom8p] {
        display: none;
    }

    .nav-scrollable[b-8nyhudom8p] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-kgjep72rr3],
.components-reconnect-repeated-attempt-visible[b-kgjep72rr3],
.components-reconnect-failed-visible[b-kgjep72rr3],
.components-pause-visible[b-kgjep72rr3],
.components-resume-failed-visible[b-kgjep72rr3],
.components-rejoining-animation[b-kgjep72rr3] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-kgjep72rr3],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-kgjep72rr3],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-kgjep72rr3],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-kgjep72rr3],
#components-reconnect-modal.components-reconnect-retrying[b-kgjep72rr3],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-kgjep72rr3],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-kgjep72rr3],
#components-reconnect-modal.components-reconnect-failed[b-kgjep72rr3],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-kgjep72rr3] {
    display: block;
}


#components-reconnect-modal[b-kgjep72rr3] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-kgjep72rr3 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-kgjep72rr3 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-kgjep72rr3 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-kgjep72rr3]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-kgjep72rr3 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-kgjep72rr3 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

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

@keyframes components-reconnect-modal-fadeInOpacity-b-kgjep72rr3 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-kgjep72rr3 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-kgjep72rr3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-kgjep72rr3] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-kgjep72rr3] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-kgjep72rr3] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-kgjep72rr3] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-kgjep72rr3] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-kgjep72rr3] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-kgjep72rr3 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-kgjep72rr3] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-kgjep72rr3 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/FoodDetails.razor.rz.scp.css */
/* Scoped CSS for FoodDetails.razor. Selectors are prefixed with ::deep so styles
   reach descendant elements that may be rendered by extracted sub-components
   (ParsedIngredientRow, AuditResolveModal, IngredientFlagModal, etc.). */

/* ── Ingredient table base ── */
[b-hzu79ffmrs] .ingredient-table { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
[b-hzu79ffmrs] .ingredient-table thead th {
    background: #f9fafb; padding: 8px 14px; text-align: left;
    font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.06em; color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
    position: sticky; top: 0; z-index: 10;
    box-shadow: 0 2px 4px -1px rgba(0,0,0,0.08);
}
[b-hzu79ffmrs] .ingredient-table tbody td {
    padding: 7px 14px; color: #374151;
    border-bottom: 1px solid #f3f4f6; vertical-align: middle;
}
[b-hzu79ffmrs] .ingredient-table tbody tr:last-child td { border-bottom: none; }
[b-hzu79ffmrs] .ingredient-table tbody tr { transition: background 0.12s; cursor: pointer; }
[b-hzu79ffmrs] .ingredient-table tbody tr:hover { background: #f9fafb; }

/* ── Parsed ingredients collapsible panel ── */
[b-hzu79ffmrs] .parsed-panel {
    max-height: 0; overflow: clip; opacity: 0;
    transition: max-height 0.32s cubic-bezier(0.4,0,0.2,1),
                opacity 0.22s ease;
}
[b-hzu79ffmrs] .parsed-panel.open {
    max-height: 9000px; opacity: 1;
    transition: max-height 0.32s cubic-bezier(0.4,0,0.2,1),
                opacity 0.22s ease 0.04s;
}
/* `.fully-open` is added by attachPanelOverflowToggle (FoodDetails.razor.js) on
   transitionend so the .ingred-flag-popup tooltip can escape the panel. The class
   is stripped on transitionrun (and thus on close) so overflow:clip is back in
   effect during the shrink animation — otherwise table rows leak below the
   panel as max-height animates to 0. */
[b-hzu79ffmrs] .parsed-panel.open.fully-open { overflow: visible; }

[b-hzu79ffmrs] .parser-table-scroll { overflow-x: clip; }
[b-hzu79ffmrs] #parser-table td:nth-child(3) { white-space: nowrap; }

/* ── Tree depth padding ──
   Depth comes through as the --tree-depth CSS variable on each <tr>. Padding follows
   14px @ depth 1, then 20/28/36/… at +8px per level. Depth 1 is special-cased because
   the formula (4px + depth * 8px) gives 12px there. */
[b-hzu79ffmrs] .tree-cell { padding-left: 14px; }
[b-hzu79ffmrs] #parser-table .tree-cell { padding-left: 14px !important; }
[b-hzu79ffmrs] #parser-table tr[data-depth] .tree-cell {
    padding-left: calc(4px + var(--tree-depth, 1) * 8px) !important;
}
[b-hzu79ffmrs] #parser-table tr[data-depth="1"] .tree-cell { padding-left: 14px !important; }

/* ── Tree name styles ── */
[b-hzu79ffmrs] .tree-name-root { font-weight: 600; color: #111827; text-transform: capitalize; }
[b-hzu79ffmrs] .tree-name-child { padding-left: 16px; position: relative; color: #374151; text-transform: capitalize; }
[b-hzu79ffmrs] .tree-name-child::before {
    content: ''; position: absolute; left: 4px; top: 50%;
    width: 8px; height: 1px; background: #d1d5db;
}
[b-hzu79ffmrs] #parser-table .tree-name-child { color: #374151; }
[b-hzu79ffmrs] #parser-table tr[data-depth="25"] .tree-name-child { color: #6366f1; font-weight: 600; }
[b-hzu79ffmrs] #parser-table tr[data-depth="25"] .tree-name-child::before { background: #6366f1; width: 12px; }

/* ── Depth-based row tinting ──
   Background lightness steps down with depth, capped so deep nodes don't go pitch.
   Depth 25 is the special "leaf overflow" indigo accent. */
[b-hzu79ffmrs] #parser-table tr[data-depth] {
    background: hsl(220 14% calc(99% - min(var(--tree-depth, 0), 10) * 0.55%));
}
[b-hzu79ffmrs] #parser-table tr[data-depth="25"] {
    background: #eef2ff;
    border-left: 3px solid #6366f1;
}
[b-hzu79ffmrs] #parser-table tr[data-depth]:hover { background: #e8eaf2 !important; }
[b-hzu79ffmrs] #parser-table tr[data-depth="25"]:hover { background: #e0e7ff !important; }

/* Selection highlight wins over the depth-tinted base. The base rule above
   (`#parser-table tr[data-depth]`) has higher specificity than a bare
   `.bg-indigo-50` Tailwind utility, so the indigo class on a selected row gets
   overridden to a near-white tint and looks unselected. Re-asserting the indigo
   here, scoped + with the same attribute selector, takes precedence. */
[b-hzu79ffmrs] #parser-table tr[data-depth].bg-indigo-50,
[b-hzu79ffmrs] #parser-table tr[data-depth].bg-indigo-50:hover { background: #eef2ff !important; }

/* ── Match badges ── */
[b-hzu79ffmrs] .match-cell { display: inline-flex; align-items: center; gap: 5px; }
[b-hzu79ffmrs] .code-interp-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.68rem; font-weight: 600; }
[b-hzu79ffmrs] .code-badge-green { background: #dcfce7; color: #166534; }
[b-hzu79ffmrs] .code-badge-yellow { background: #fef3c7; color: #92400e; }
[b-hzu79ffmrs] .code-badge-red { background: #fee2e2; color: #991b1b; }
[b-hzu79ffmrs] .code-badge-gray { background: #f3f4f6; color: #374151; }
[b-hzu79ffmrs] .code-badge-audited { background: #ede9fe; color: #5b21b6; }
[b-hzu79ffmrs] .audited-badge { display: inline-flex; align-items: center; gap: 2px; font-size: 0.6rem; font-weight: 700; background: #dbeafe; color: #1e3a8a; border-radius: 4px; padding: 1px 5px; margin-left: 4px; vertical-align: middle; }
[b-hzu79ffmrs] .audit-resolve-btn { background: #1e3a8a !important; color: #fff !important; border-color: #1e3a8a !important; }
[b-hzu79ffmrs] .audit-resolve-btn:hover { background: #1e40af !important; }
[b-hzu79ffmrs] .audit-banner { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.75rem 0; padding: 0.5rem 0.75rem; background: #eff6ff; color: #1e3a8a; border: 1px solid #bfdbfe; border-radius: 0.5rem; font-size: 0.75rem; }

/* ── Row action buttons (shown on hover) ── */
[b-hzu79ffmrs] .row-confirm-btn { border: 1.5px solid; border-radius: 999px; padding: 2px 9px; font-size: 0.68rem; font-weight: 700; cursor: pointer; background: none; transition: background 0.12s, border-color 0.12s; line-height: 1.4; margin-left: 5px; display: inline-flex; align-items: center; gap: 3px; }
[b-hzu79ffmrs] .row-confirm-fuzzy { background: #6366f1; color: #fff; border-color: #6366f1; }
[b-hzu79ffmrs] .row-confirm-fuzzy:hover { background: #4f46e5; border-color: #4f46e5; }
[b-hzu79ffmrs] .row-confirm-nomatch { border-color: #6366f1; color: #4338ca; background: #eef2ff; }
[b-hzu79ffmrs] .row-confirm-nomatch:hover { background: #e0e7ff; }

[b-hzu79ffmrs] .ingred-flag-btn {
    background: none; border: none; padding: 2px 3px; cursor: pointer;
    font-size: 0.8rem !important; color: #d1d5db; line-height: 1;
    transition: color 0.12s; vertical-align: middle; margin-left: 4px;
}
[b-hzu79ffmrs] .ingred-flag-btn:hover { color: #ef4444; }
[b-hzu79ffmrs] .ingred-flag-btn.flagged { color: #ef4444; }
[b-hzu79ffmrs] .ingred-flag-btn .material-icons { font-size: 0.8rem !important; }

/* HTML popup for flag notes (replaces native title=) */
[b-hzu79ffmrs] .ingred-flag-hover {
    position: relative;
    display: inline-flex;
    align-items: center;
}
[b-hzu79ffmrs] .ingred-flag-readonly {
    display: inline-flex;
    align-items: center;
    color: #ef4444;
    margin-left: 4px;
    padding: 2px 3px;
}
[b-hzu79ffmrs] .ingred-flag-readonly .material-icons { font-size: 0.8rem !important; }
[b-hzu79ffmrs] .ingred-flag-popup {
    position: absolute;
    bottom: calc(100% + 6px);
    right: 0;
    z-index: 50;
    width: 280px;
    padding: 10px 12px;
    background: #fff;
    border: 1.5px solid #4f46e5;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    text-align: left;
    white-space: normal;
    font-weight: 400;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #1f2937;
    visibility: hidden;
    opacity: 0;
    /* Hide is instant; show is delayed 1s and then fades in over 0.15s. */
    transition: visibility 0s linear 0s, opacity 0.15s ease 0s;
}
[b-hzu79ffmrs] .ingred-flag-hover:hover .ingred-flag-popup,
[b-hzu79ffmrs] .ingred-flag-hover:focus-within .ingred-flag-popup {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s linear 1s, opacity 0.15s ease 1s;
}
[b-hzu79ffmrs] .ingred-flag-hover.popup-suppressed .ingred-flag-popup {
    visibility: hidden !important;
    opacity: 0 !important;
    transition: none !important;
}
[b-hzu79ffmrs] .ingred-flag-popup-header {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6366f1;
    margin-bottom: 4px;
}
[b-hzu79ffmrs] .ingred-flag-popup-body { white-space: pre-wrap; }

/* Owl icon next to ingredient names */
[b-hzu79ffmrs] .owl-icon-inline { display: inline-flex; align-items: center; margin-left: 4px; vertical-align: middle; opacity: 0.6; }
[b-hzu79ffmrs] .owl-icon-inline:hover { opacity: 1; }

/* ── Review stepper active row ── */
[b-hzu79ffmrs] #parser-table tbody tr.review-active { background: #eef2ff !important; outline: 2px solid #6366f1; outline-offset: -1px; }

/* (.confirm-diff* + .confirm-attest-note moved to FoodAttestationModal.razor.css —
   modal contents render in their own scope, unreachable from this file via ::deep.) */

/* (.conv-* moved to ResolveConversationPanel.razor.css; .ai-lookup-* moved to
   IngredientLookupPanel.razor.css — those panels render in their own scopes,
   unreachable from this file via ::deep.) */

/* Tooltip */
[b-hzu79ffmrs] .tooltip-wrap { position: relative; display: inline-flex; }
[b-hzu79ffmrs] .tooltip-wrap .tooltip-text {
    display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    margin-top: 0.5rem; padding: 0.5rem 0.75rem; background-color: #1e1b2e; color: white;
    font-size: 0.75rem; font-style: normal; line-height: 1.4; border-radius: 0.375rem;
    white-space: normal; width: max-content; max-width: 20rem; z-index: 50;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
[b-hzu79ffmrs] .tooltip-wrap:hover .tooltip-text { display: block; }

/* ── Header pill hover effects ── */
[b-hzu79ffmrs] .review-fuzzy-pill:hover { background: #fde68a !important; }
[b-hzu79ffmrs] .review-unmatched-pill:hover { background: #fecaca !important; }
[b-hzu79ffmrs] .confirm-all-pill:hover { background: #bbf7d0 !important; border-color: #4ade80 !important; }

/* ── Hero Banner ── */
[b-hzu79ffmrs] .food-hero-outer {
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem; position: relative; z-index: 0;
}
[b-hzu79ffmrs] .food-card-image {
    width: 100%; aspect-ratio: 3 / 1; min-height: 220px;
    background: #1a1a2e; overflow: hidden; position: relative;
}
@media (min-width: 1024px) { [b-hzu79ffmrs] .food-card-image { aspect-ratio: 4 / 1; min-height: 240px; } }
[b-hzu79ffmrs] #food-product-img { width: 100%; height: 100%; object-fit: cover; display: block; }
[b-hzu79ffmrs] .food-card-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 56px calc(220px + 32px) 20px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.5) 55%, transparent 100%);
}
@media (min-width: 1024px) { [b-hzu79ffmrs] .food-card-overlay { padding-right: calc(300px + 32px); } }
[b-hzu79ffmrs] .food-card-name {
    font-size: 1.6rem; font-weight: 900; color: #fff;
    letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.2;
    margin-bottom: 6px; text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
[b-hzu79ffmrs] .food-card-brand {
    font-size: 0.95rem; font-weight: 500; color: rgba(255,255,255,0.85);
    text-shadow: 0 1px 6px rgba(0,0,0,0.5); letter-spacing: 0.02em;
}
[b-hzu79ffmrs] .hero-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
[b-hzu79ffmrs] .hero-pill {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 9px 3px 7px; border-radius: 999px;
    font-size: 0.68rem; font-weight: 600; line-height: 1.3;
    letter-spacing: 0.01em; backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px); white-space: nowrap;
}
[b-hzu79ffmrs] .hero-pill .material-icons { font-size: 0.82rem; }
[b-hzu79ffmrs] .hero-pill-indigo-dark { background: rgba(67,56,202,0.88); color: #fff; }

/* ── UPC chip inside hero ── */
[b-hzu79ffmrs] .food-card-upc {
    position: absolute; bottom: 14px; right: 16px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
    padding: 8px 14px 12px; z-index: 2;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18); min-width: 220px;
}
@media (min-width: 1024px) { [b-hzu79ffmrs] .food-card-upc { width: 300px; } }

/* ── Quick tip cards hover ── */
[b-hzu79ffmrs] .quick-tip-card:hover { background: #eef2ff !important; border-color: #c7d2fe !important; }
[b-hzu79ffmrs] .quick-tip-wiseparser:hover { background: #D8D7FF !important; border-color: #A4AAFF !important; }

/* ── Mobile hero adjustments ── */
@media (max-width: 639px) {
    [b-hzu79ffmrs] .food-card-overlay { padding: 40px 20px 16px 20px; }
    [b-hzu79ffmrs] .food-card-name { font-size: 1.1rem; }
    [b-hzu79ffmrs] .food-card-brand { font-size: 0.88rem; }
    [b-hzu79ffmrs] .food-card-upc { position: relative; bottom: auto; right: auto; width: 100%; margin-top: -1px; border-radius: 0 0 10px 10px; min-width: auto; }
}
/* /Components/Pages/IsFoodUpf.razor.rz.scp.css */
/* ── Page layout ── */
.ftt-page[b-gv37puy7l3] {
    background: white;
    width: 100%;
    max-width: 36rem;
    margin: 0 auto;
}

.ftt-main[b-gv37puy7l3] {
    display: flex;
    flex-direction: column;
}

.ftt-header[b-gv37puy7l3] {
    padding: 0 32px 8px;
}

.ftt-body[b-gv37puy7l3] {
    padding: 0 32px 0;
}

/* ── Page title — Noto Serif ── */
.ftt-title[b-gv37puy7l3] {
    font-family: 'Noto Serif', Georgia, serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.15;
    color: #111827;
    margin: 0 0 16px;
}

.ftt-subtitle[b-gv37puy7l3] {
    font-family: 'Figtree', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    margin: 0 0 28px;
}

.ftt-subtitle-accent[b-gv37puy7l3] {
    color: #1B19B5;
}

.ftt-subtitle-muted[b-gv37puy7l3] {
    color: #6b7280;
}

/* ── Step panel fade-in ── */
.step-panel[b-gv37puy7l3] {
    animation: stepFadeIn-b-gv37puy7l3 0.28s ease-out;
}

@keyframes stepFadeIn-b-gv37puy7l3 {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0);    }
}

/* ── Body text ── */
.ftt-body p[b-gv37puy7l3] {
    font-size: 18px;
    line-height: 1.6;
}

/* ── Field instruction (bold label above textarea) ── */
.ftt-field-instruction[b-gv37puy7l3] {
    font-size: 14px !important;
    font-weight: 600;
    color: #111827;
    margin: 0 0 12px;
}

/* ── Static field label ── */
.ftt-field-label[b-gv37puy7l3] {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
    letter-spacing: 0;
}

/* ── Underline inputs ── */
.ftt-input[b-gv37puy7l3] {
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #d1d5db;
    border-radius: 0;
    padding: 10px 0 8px;
    font-size: 0.95rem;
    color: #111827;
    background: transparent;
    outline: none;
    font-family: 'Figtree', sans-serif;
    box-sizing: border-box;
}

.ftt-input[b-gv37puy7l3]::placeholder {
    color: #9ca3af;
}

.ftt-input:focus[b-gv37puy7l3] {
    border-bottom-width: 1px;
    border-bottom-color: #2b2830;
    outline: none;
}

/* ── Category dropdown (custom, supports icons) ── */
.ftt-dropdown-wrapper[b-gv37puy7l3] {
    position: relative;
    cursor: pointer;
    border-bottom: 1px solid #d1d5db;
    transition: border-color 0.15s;
}

.ftt-dropdown-wrapper:hover[b-gv37puy7l3] {
    border-bottom-color: #9ca3af;
}

.ftt-dropdown-wrapper:focus[b-gv37puy7l3] {
    outline: none;
    border-bottom-color: #2b2830;
}

.ftt-dropdown-wrapper:focus-visible[b-gv37puy7l3] {
    outline: none;
    border-bottom-color: #1B19B5;
    box-shadow: 0 1px 0 0 #1B19B5;
}

.ftt-dropdown-display[b-gv37puy7l3] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0 8px;
    font-size: 0.95rem;
    color: #111827;
    font-family: 'Figtree', sans-serif;
    min-height: 1.4em;
}

.ftt-dropdown-placeholder[b-gv37puy7l3] {
    color: #9ca3af;
}

.ftt-dropdown-icon[b-gv37puy7l3] {
    font-size: 16px;
    color: #9ca3af;
    vertical-align: middle;
    flex-shrink: 0;
}

.ftt-dropdown-backdrop[b-gv37puy7l3] {
    position: fixed;
    inset: 0;
    z-index: 59;
}

.ftt-dropdown-menu[b-gv37puy7l3] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    z-index: 60;
    max-height: 260px;
    overflow-y: auto;
    margin-top: 4px;
    padding: 4px;
    animation: stepFadeIn-b-gv37puy7l3 0.15s ease-out;
}

.ftt-dropdown-option[b-gv37puy7l3] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    font-size: 0.9rem;
    color: #374151;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.12s;
}

.ftt-dropdown-option:hover[b-gv37puy7l3],
.ftt-dropdown-option.highlighted[b-gv37puy7l3] {
    background-color: #f3f4f6;
}

.ftt-dropdown-option.selected[b-gv37puy7l3] {
    background-color: #f0f0ff;
    color: #1B19B5;
    font-weight: 500;
}

.ftt-dropdown-option.selected .ftt-dropdown-icon[b-gv37puy7l3] {
    color: #1B19B5;
}

/* ── Textarea ── */
.ftt-textarea[b-gv37puy7l3] {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-family: 'Figtree', sans-serif;
    color: #111827;
    background: white;
    outline: none;
    resize: none;
    box-sizing: border-box;
    transition: border-color 0.15s;
    line-height: 1.6;
    height: 174px;
}

.ftt-textarea:focus[b-gv37puy7l3] {
    border-color: #9ca3af;
}

/* ── Error banner ── */
.ftt-err-banner[b-gv37puy7l3] {
    padding: 10px 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    font-size: 13px;
    color: #b91c1c;
    margin-bottom: 16px;
}

/* ── Sticky CTA bar ── */
.ftt-cta-bar[b-gv37puy7l3] {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 16px 32px max(20px, env(safe-area-inset-bottom));
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* ── Primary button ── */
.ftt-btn-primary[b-gv37puy7l3] {
    background-color: #1B19B5;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    padding: 0 16px;
    height: 44px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 6px;
    box-shadow: none;
    transition: background-color 0.2s ease;
    color: white;
    border: none;
    cursor: pointer;
    font-family: 'Figtree', sans-serif;
}

.ftt-btn-primary:hover:not(:disabled)[b-gv37puy7l3] {
    background-color: #1510a8;
}

.ftt-btn-primary:active:not(:disabled)[b-gv37puy7l3] {
    background-color: #100d9a;
}

.ftt-btn-primary.disabled[b-gv37puy7l3],
.ftt-btn-primary:disabled[b-gv37puy7l3] {
    background-color: #2b2830;
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── Secondary button ── */
.ftt-btn-secondary[b-gv37puy7l3] {
    background-color: transparent;
    border: none;
    color: #9ca3af;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    padding: 10px 0;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 6px;
    cursor: pointer;
    font-family: 'Figtree', sans-serif;
    transition: color 0.2s ease;
}

.ftt-btn-secondary:hover[b-gv37puy7l3] {
    color: #374151;
}

/* ── Loading / processing state ── */
.ftt-loading[b-gv37puy7l3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 56px 0;
    gap: 16px;
}

.ftt-loading p[b-gv37puy7l3] {
    font-size: 0.95rem !important;
    font-weight: 500;
    color: #374151;
    margin: 0;
}

.ftt-spin[b-gv37puy7l3] {
    font-size: 44px;
    color: #2b2830;
    animation: fttSpin-b-gv37puy7l3 0.9s linear infinite;
    display: inline-block;
}

@keyframes fttSpin-b-gv37puy7l3 {
    to { transform: rotate(360deg); }
}

/* ── Service error state ── */
.ftt-service-error[b-gv37puy7l3] {
    text-align: center;
    padding: 2rem 0;
}

.ftt-service-error .material-icons[b-gv37puy7l3] {
    font-size: 3.5rem;
    color: #9ca3af;
    display: block;
    margin-bottom: 1rem;
}

.ftt-service-error h2[b-gv37puy7l3] {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 0.75rem;
}

.ftt-service-error p[b-gv37puy7l3] {
    color: #6b7280;
    margin: 0 0 1.5rem;
}

.ftt-dismiss-btn[b-gv37puy7l3] {
    background: #4f46e5;
    color: white;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: 'Figtree', sans-serif;
    font-size: 0.875rem;
}

.ftt-dismiss-btn:hover[b-gv37puy7l3] {
    background: #4338ca;
}

/* ── Result badges ── */
.ftt-result-badge[b-gv37puy7l3] {
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 28px;
    text-align: center;
}

.ftt-result-badge-title[b-gv37puy7l3] {
    font-size: 0.95rem !important;
    font-weight: 600;
    margin: 0 0 5px;
}

.ftt-result-badge-desc[b-gv37puy7l3] {
    font-size: 0.82rem !important;
    margin: 0;
    line-height: 1.55;
}

.ftt-result-green[b-gv37puy7l3] {
    border: 1.5px solid #6ee7b7;
    background: #f0fdf4;
}
.ftt-result-green .ftt-result-badge-title[b-gv37puy7l3] { color: #15803d; }
.ftt-result-green .ftt-result-badge-desc[b-gv37puy7l3]  { color: #166534; }

.ftt-result-red[b-gv37puy7l3] {
    border: 1.5px solid #fca5a5;
    background: #fff1f2;
}
.ftt-result-red .ftt-result-badge-title[b-gv37puy7l3] { color: #b91c1c; }
.ftt-result-red .ftt-result-badge-desc[b-gv37puy7l3]  { color: #991b1b; }

.ftt-result-amber[b-gv37puy7l3] {
    border: 1.5px solid #fcd34d;
    background: #fffbeb;
}
.ftt-result-amber .ftt-result-badge-title[b-gv37puy7l3] { color: #b45309; }
.ftt-result-amber .ftt-result-badge-desc[b-gv37puy7l3]  { color: #92400e; }

.ftt-result-body[b-gv37puy7l3] {
    color: #374151;
    line-height: 1.7;
    margin: 0;
}

/* ── Mobile responsive ── */
@media (max-width: 600px) {
    .ftt-header[b-gv37puy7l3] {
        padding: 0 20px 8px;
    }
    .ftt-body[b-gv37puy7l3] {
        padding: 0 20px 0 !important;
    }
    .ftt-cta-bar[b-gv37puy7l3] {
        padding: 16px 20px max(20px, env(safe-area-inset-bottom));
    }
}
/* /Components/Shared/FoodAttestationModal.razor.rz.scp.css */
/* Modal-rendered descendants — selectors apply directly without ::deep because the
   .confirm-diff and .confirm-attest-note elements live in FoodAttestationModal's own
   render tree (FoodDetails.razor.css can't reach across this component boundary). */

.confirm-diff[b-qn80toffqj] {
    background: #f9fafb;
    border-radius: 10px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.confirm-diff-row[b-qn80toffqj] {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.8rem;
}

.confirm-diff-label[b-qn80toffqj] {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    width: 40px;
    flex-shrink: 0;
}

.confirm-diff-val[b-qn80toffqj] {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 600;
}

.confirm-diff-from[b-qn80toffqj] {
    background: #fee2e2;
    color: #991b1b;
    text-decoration: line-through;
}

.confirm-diff-to[b-qn80toffqj] {
    background: #dcfce7;
    color: #166534;
}

.confirm-attest-note[b-qn80toffqj] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    border-radius: 0 8px 8px 0;
    padding: 16px;
    font-size: 0.8rem;
    color: #78350f;
    line-height: 1.5;
}

.confirm-attest-note .material-icons[b-qn80toffqj] {
    font-size: 1rem;
    color: #d97706;
    flex-shrink: 0;
    margin-top: 1px;
}
/* /Components/Shared/IngredientLookupPanel.razor.rz.scp.css */
/* Panel-rendered descendants — selectors apply directly without ::deep because the
   panel renders these elements in its own scope (FoodDetails.razor.css can't reach
   across this component boundary since the panel is position:fixed and lives outside
   FoodDetails' DOM subtree). */

.ai-lookup-result-card[b-djna5i84qm] {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 13px 16px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, transform 0.15s, box-shadow 0.15s;
    background: #fff;
}

.ai-lookup-result-card:hover[b-djna5i84qm] {
    border-color: #6366f1;
    background: #f5f3ff;
    box-shadow: 0 3px 10px rgba(99, 102, 241, 0.13);
    transform: translateY(-1px);
}

.ai-lookup-result-card.ai-lookup-current[b-djna5i84qm] {
    border-color: #059669;
    background: #f0fdf4;
    box-shadow: 0 0 0 1px #059669;
}

.ai-lookup-score-bar[b-djna5i84qm] {
    height: 3px;
    border-radius: 999px;
    background: #f3f4f6;
    overflow: hidden;
    margin-top: 8px;
}

.ai-lookup-score-fill[b-djna5i84qm] {
    height: 100%;
    border-radius: 999px;
    transition: width 0.55s cubic-bezier(.4, 0, .2, 1);
}

/* "Thinking" animation orb. */
.ai-lookup-orb[b-djna5i84qm] {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #818cf8 50%, #a5b4fc 100%);
    animation: aiOrbPulse-b-djna5i84qm 1.5s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.ai-lookup-orb[b-djna5i84qm]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.85) 50%, transparent 100%);
    animation: aiScanLine-b-djna5i84qm 1.8s linear infinite;
}

@keyframes aiOrbPulse-b-djna5i84qm {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.3); }
    50% { transform: scale(1.06); box-shadow: 0 0 20px 6px rgba(99, 102, 241, 0.15); }
}

@keyframes aiScanLine-b-djna5i84qm {
    0% { transform: translateY(-6px); }
    100% { transform: translateY(60px); }
}

/* Bouncing-dots indicator now lives in ThinkingDots.razor — kept the orb +
   scan-line animation here because it's specific to this panel's layout. */
/* /Components/Shared/ResolveConversationPanel.razor.rz.scp.css */
/* Conversation-flow styles for the No-Match Resolve panel. Same scoping rationale as
   the other extracted modals/panels: this component is position:fixed and lives outside
   FoodDetails' DOM subtree, so its scope is unreachable from FoodDetails.razor.css. */

.conv-choices[b-4j7mbjatxj] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.conv-choice-btn[b-4j7mbjatxj] {
    border: 1.5px solid #c7d2fe;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.73rem;
    font-weight: 600;
    color: #4338ca;
    background: #fff;
    cursor: pointer;
    transition: background 0.12s, border-color 0.12s;
}

.conv-choice-btn:hover[b-4j7mbjatxj] {
    background: #eef2ff;
    border-color: #6366f1;
}

/* Chat thinking-dots indicator now lives in ThinkingDots.razor. */
/* /Components/Shared/ThinkingDots.razor.rz.scp.css */
/* Three-dot "thinking" indicator for chat-styled drawers. */
.thinking-dots[b-t2tx7t5k4d] {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.thinking-dots span[b-t2tx7t5k4d] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #a5b4fc;
    animation: thinkingDotsBounce-b-t2tx7t5k4d 1.2s infinite;
}

.thinking-dots span:nth-child(2)[b-t2tx7t5k4d] { animation-delay: 0.2s; }
.thinking-dots span:nth-child(3)[b-t2tx7t5k4d] { animation-delay: 0.4s; }

@keyframes thinkingDotsBounce-b-t2tx7t5k4d {
    0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
    30% { opacity: 1; transform: scale(1.2); }
}
