/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* MudBlazor handles structural layout — only Blazor error UI kept here */

#blazor-error-ui[b-krnk8avqr1] {
    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-krnk8avqr1] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-uwxs9innwb],
.components-reconnect-repeated-attempt-visible[b-uwxs9innwb],
.components-reconnect-failed-visible[b-uwxs9innwb],
.components-pause-visible[b-uwxs9innwb],
.components-resume-failed-visible[b-uwxs9innwb],
.components-rejoining-animation[b-uwxs9innwb] {
    display: none;
}

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


#components-reconnect-modal[b-uwxs9innwb] {
    background-color: var(--wpc-surface-raised);
    color: var(--wpc-text-primary);
    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-uwxs9innwb 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

#components-reconnect-modal button[b-uwxs9innwb] {
    border: 0;
    background-color: var(--wpc-primary);
    color: var(--wpc-primary-contrast);
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-uwxs9innwb] {
        background-color: var(--wpc-primary-hover);
    }

    #components-reconnect-modal button:active[b-uwxs9innwb] {
        background-color: var(--wpc-primary);
    }

/* Autofocus viewfinder bracket animation */
.components-rejoining-animation[b-uwxs9innwb] {
    position: relative;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.af-frame[b-uwxs9innwb] {
    position: absolute;
    inset: 0;
    animation: af-hunt-b-uwxs9innwb 2.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.af-corner[b-uwxs9innwb] {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: var(--wpc-primary);
    border-style: solid;
}

.af-tl[b-uwxs9innwb] { top: 0; left: 0; border-width: 2px 0 0 2px; }
.af-tr[b-uwxs9innwb] { top: 0; right: 0; border-width: 2px 2px 0 0; }
.af-bl[b-uwxs9innwb] { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.af-br[b-uwxs9innwb] { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.af-dot[b-uwxs9innwb] {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--wpc-primary);
    animation: af-dot-pulse-b-uwxs9innwb 2.2s ease-in-out infinite;
}

@keyframes af-hunt-b-uwxs9innwb {
    0%, 18%       { transform: scale(1);    opacity: 0.5; }
    52%, 68%      { transform: scale(0.65); opacity: 1;   }
    88%, 100%     { transform: scale(1);    opacity: 0.5; }
}

@keyframes af-dot-pulse-b-uwxs9innwb {
    0%, 18%, 88%, 100% { transform: scale(1);   opacity: 0.3; }
    52%, 68%           { transform: scale(2.5); opacity: 1;   }
}
/* /Components/Shared/ThemePicker.razor.rz.scp.css */
/* Sizes are custom properties so the compact variant is a handful of overrides
   rather than a second copy of the whole block — the two pages that owned this
   differed in 22 pixel values and nothing else. */
.wpc-tp-grid[b-hveo4gbgdu] {
    --tp-card-w:      220px;
    --tp-preview-h:   130px;
    --tp-nav-h:       28px;
    --tp-nav-pad:     8px;
    --tp-nav-gap:     6px;
    --tp-logo:        18px;
    --tp-logo-radius: 3px;
    --tp-pill-gap:    4px;
    --tp-pill-w:      28px;
    --tp-pill-h:      8px;
    --tp-pill-radius: 4px;
    --tp-body-pad:    8px;
    --tp-body-gap:    6px;
    --tp-inner-h:     24px;
    --tp-inner-radius:6px;
    --tp-btn-w:       50px;
    --tp-btn-h:       12px;
    --tp-btn-radius:  6px;
    --tp-btn-mt:      2px;
    --tp-label-pad:   10px 14px;
    --tp-label-size:  0.9rem;

    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.wpc-tp-grid--compact[b-hveo4gbgdu] {
    --tp-card-w:      160px;
    --tp-preview-h:   100px;
    --tp-nav-h:       22px;
    --tp-nav-pad:     6px;
    --tp-nav-gap:     5px;
    --tp-logo:        14px;
    --tp-logo-radius: 2px;
    --tp-pill-gap:    3px;
    --tp-pill-w:      22px;
    --tp-pill-h:      6px;
    --tp-pill-radius: 3px;
    --tp-body-pad:    6px;
    --tp-body-gap:    5px;
    --tp-inner-h:     18px;
    --tp-inner-radius:4px;
    --tp-btn-w:       36px;
    --tp-btn-h:       9px;
    --tp-btn-radius:  4px;
    --tp-btn-mt:      1px;
    --tp-label-pad:   8px 10px;
    --tp-label-size:  0.85rem;
}

.wpc-tp-card[b-hveo4gbgdu] {
    width: var(--tp-card-w);
    border-radius: var(--mud-default-borderradius);
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.wpc-tp-card:hover[b-hveo4gbgdu] {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.wpc-tp-card--active[b-hveo4gbgdu] {
    border-color: var(--wpc-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--wpc-primary) 25%, transparent);
}

.wpc-tp-preview[b-hveo4gbgdu] {
    width: 100%;
    height: var(--tp-preview-h);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.wpc-tp-nav[b-hveo4gbgdu] {
    height: var(--tp-nav-h);
    display: flex;
    align-items: center;
    padding: 0 var(--tp-nav-pad);
    gap: var(--tp-nav-gap);
    flex-shrink: 0;
}

.wpc-tp-logo[b-hveo4gbgdu] {
    width: var(--tp-logo);
    height: var(--tp-logo);
    border-radius: var(--tp-logo-radius);
    flex-shrink: 0;
}

.wpc-tp-pills[b-hveo4gbgdu] {
    display: flex;
    gap: var(--tp-pill-gap);
    align-items: center;
}

.wpc-tp-pill[b-hveo4gbgdu] {
    width: var(--tp-pill-w);
    height: var(--tp-pill-h);
    border-radius: var(--tp-pill-radius);
}

.wpc-tp-body[b-hveo4gbgdu] {
    flex: 1;
    padding: var(--tp-body-pad);
    display: flex;
    flex-direction: column;
    gap: var(--tp-body-gap);
}

.wpc-tp-inner[b-hveo4gbgdu] {
    height: var(--tp-inner-h);
    border-radius: var(--tp-inner-radius);
    opacity: 0.9;
}

.wpc-tp-btn[b-hveo4gbgdu] {
    width: var(--tp-btn-w);
    height: var(--tp-btn-h);
    border-radius: var(--tp-btn-radius);
    margin-top: var(--tp-btn-mt);
    opacity: 0.85;
}

.wpc-tp-label[b-hveo4gbgdu] {
    display: flex;
    align-items: center;
    padding: var(--tp-label-pad);
    font-weight: 600;
    font-size: var(--tp-label-size);
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
}
