/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-dse2hw9ruq] {
    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-dse2hw9ruq] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/SubComponents/Ticketing/EventLogoView.razor.rz.scp.css */
:root[b-ffonrojbbh] {
    /* Subtle tokens */
    --caption-color: #111;
    --shadow-1: 0 1px 3px rgba(0,0,0,.12);
    --radius-md: 5px; /* matches RoundRectangle CornerRadius=5 */
}

/* Outer wrapper mirrors ContentView with a VerticalStackLayout */
.logo_card[b-ffonrojbbh] {
    display: grid;
    justify-items: center;   
}

/* Frame that holds the logo + pill */
.logo_frame[b-ffonrojbbh] {
    position: relative;
    height: calc(var(--frame-h, 110) * 1px); /* bind from style */
    width: 100%;
    background: var(--bg, transparent); /* bind from style */
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
}

/* Logo image mirrors HeightRequest + square width in MAUI */
.logo_img[b-ffonrojbbh] {
    max-height: calc(var(--img-h, 60) * 1px); /* bind from style */
    max-width: calc(var(--img-h, 60) * 1px);
    object-fit: contain;
    user-select: none;
    pointer-events: none;
}

/* HOME / AWAY pill (WidthRequest ~50, Font 9) -> responsive via clamp */
.logo_pill[b-ffonrojbbh] {
    top: .35rem;
    left: .35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.1rem; /* ~50px */
    padding: .15rem .35rem;
    border-radius: 5px;
    line-height: 1;
    font-weight: 700;
    font-size: clamp(.56rem, .35vw + .45rem, .7rem); /* ~9-11px */
}

/* Visual parity with MAUI: black HOME, light gray AWAY */
.pill_home[b-ffonrojbbh] {
    background: #000;
    color: #fff;
    border: 1px solid #000;
}

.pill_away[b-ffonrojbbh] {
    background: lightgray;
    color: #000;
    border: 1px solid lightgray;
}

/* School name (FontSize=12 -> responsive) */
.logo_caption[b-ffonrojbbh] {
    font-weight: 600;
    color: var(--caption-color);
    text-align: center;
    font-size: clamp(0.875rem, 0.6vw + 0.6rem, 1rem); /* ~14-16px range */
    max-width: 22ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


