/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-zj4r46ia19] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

#blazor-error-ui[b-zj4r46ia19] {
    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-zj4r46ia19] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* The admin navigation is a horizontal top bar; its styles live in wwwroot/app.css
   (under .admin-topbar) because the menu links are rendered by the NavLink child
   component and scoped CSS can't reach into child components. */
/* /Components/Pages/Gift.razor.rz.scp.css */
/* Booth gift desk. Sized to be read at arm's length across a counter, by someone who is holding a
   phone in one hand and a bag in the other, with a queue behind them. Everything here is bigger
   than an admin screen would normally justify — that is the point. */

.gift-offline[b-kknog4w46l] {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #b02a37;
    color: #fff;
    font-weight: 700;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.gift-head[b-kknog4w46l] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.gift-count[b-kknog4w46l] {
    text-align: right;
    min-width: 8rem;
}

.gift-count-value[b-kknog4w46l] {
    font-size: clamp(2rem, 7vw, 3rem);
    font-weight: 800;
    line-height: 1;
}

.gift-count-label[b-kknog4w46l] {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c757d;
}

/* ------------------------------------------------------------------ the answer ------------- */

.gift-verdict[b-kknog4w46l] {
    border-radius: 16px;
    padding: clamp(1rem, 3vw, 1.75rem);
    margin-bottom: 1rem;
    text-align: center;
    color: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

/* Colour is the first thing read from a distance, so each answer owns one and never shares it. */
.gift-go[b-kknog4w46l] { background: #157347; }
.gift-no[b-kknog4w46l] { background: #b02a37; }
.gift-warn[b-kknog4w46l] { background: #8a6100; }
.gift-trouble[b-kknog4w46l] { background: #495057; }

.gift-verdict-word[b-kknog4w46l] {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.02em;
}

.gift-verdict-name[b-kknog4w46l] {
    font-size: clamp(1.35rem, 5vw, 2.25rem);
    font-weight: 700;
    margin-top: 0.5rem;
    word-break: break-word;
}

.gift-verdict-line[b-kknog4w46l] {
    font-size: clamp(1rem, 3vw, 1.3rem);
    margin-top: 0.2rem;
    word-break: break-word;
}

.gift-strong[b-kknog4w46l] { font-weight: 700; }

.gift-verdict-small[b-kknog4w46l] {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    opacity: 0.85;
    word-break: break-all;
}


.gift-verdict-actions[b-kknog4w46l] {
    margin-top: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

/* Non-members can join on the spot: hand them the phone, they scan this. */
.gift-signup[b-kknog4w46l] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.9rem;
    padding: 0.7rem;
    background: #fff;
    border-radius: 12px;
}

.gift-signup-qr[b-kknog4w46l] {
    width: 132px;
    height: 132px;
    flex: none;
}

/* The QR arrives as a raw SVG string, so it carries no scope attribute of its own. */
.gift-signup-qr[b-kknog4w46l]  svg {
    width: 100%;
    height: 100%;
    display: block;
}

.gift-signup-url[b-kknog4w46l] {
    color: #212529;
    font-weight: 700;
    font-size: 1.05rem;
    word-break: break-all;
}

/* ------------------------------------------------------------------ camera ----------------- */

.gift-video-wrap[b-kknog4w46l] {
    position: relative;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.gift-video-wrap video[b-kknog4w46l] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gift-video-off video[b-kknog4w46l] { opacity: 0; }

.gift-video-placeholder[b-kknog4w46l] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 1.1rem;
}

/* ------------------------------------------------------------------ lookup ----------------- */

.gift-matches[b-kknog4w46l] {
    max-height: 26rem;
    overflow-y: auto;
}

.min-w-0[b-kknog4w46l] { min-width: 0; }
