/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Tailwind handles all layout styling */

.top-row[b-8vc4to5y65] {
    background-color: var(--color-bg-primary);
    border-bottom: 1px solid var(--color-border-default);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

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

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

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

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

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

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

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

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

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

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

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

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


#components-reconnect-modal[b-vc7y2bygtr] {
    background-color: var(--color-bg-primary);
    color: var(--color-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-vc7y2bygtr 0.5s both;

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-vc7y2bygtr {
    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/Shared/DevThemePaletteSelector.razor.rz.scp.css */
/* Dev-only palette selector pill in the header */

.dev-palette-selector[b-fcgwrd37xy] {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.06);
    border: 1px dashed rgba(0, 0, 0, 0.25);
}

[data-theme='dark'] .dev-palette-selector[b-fcgwrd37xy] {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

.dev-palette-label[b-fcgwrd37xy] {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.4);
    user-select: none;
    line-height: 1;
    white-space: nowrap;
}

[data-theme='dark'] .dev-palette-label[b-fcgwrd37xy] {
    color: rgba(255, 255, 255, 0.4);
}

.dev-palette-swatches[b-fcgwrd37xy] {
    display: flex;
    align-items: center;
    gap: 3px;
}

.dev-swatch[b-fcgwrd37xy] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    outline: none;
    flex-shrink: 0;
    padding: 0;
}

.dev-swatch:hover[b-fcgwrd37xy] {
    transform: scale(1.25);
}

.dev-swatch:focus-visible[b-fcgwrd37xy] {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Hide on mobile — not needed on compact screens */
@media (max-width: 767px) {
    .dev-palette-selector[b-fcgwrd37xy] {
        display: none;
    }
}

/* Swatch background colours match each palette's light-mode accent */
.dev-swatch[data-palette-id='warmivory'][b-fcgwrd37xy] {
    background-color: #b8860b;
}

.dev-swatch[data-palette-id='linen'][b-fcgwrd37xy] {
    background-color: #a07c18;
}

.dev-swatch[data-palette-id='antique'][b-fcgwrd37xy] {
    background-color: #8a6010;
}

.dev-swatch[data-palette-id='saffron'][b-fcgwrd37xy] {
    background-color: #cc8800;
}

.dev-swatch[data-palette-id='signaturegold'][b-fcgwrd37xy] {
    background-color: #8A6812;
}
/* /Components/Shared/SiteHeader.razor.rz.scp.css */
.site-logo-link[b-ehamn97cqn] {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    outline-offset: 4px;
}

.site-logo-link:focus-visible[b-ehamn97cqn] {
    outline: 2px solid var(--color-accent);
    border-radius: 4px;
}

.site-logo[b-ehamn97cqn] {
    height: 60px;
    width: auto;
    max-width: none;
    display: block;
}

/* Slightly smaller on narrow mobile */
@media (max-width: 380px) {
    .site-logo[b-ehamn97cqn] {
        height: 48px;
    }
}

/* Opt the logo out of the global dark-mode brightness filter so it renders as designed */
:global([data-theme='dark']) .site-logo[b-ehamn97cqn] {
    filter: none;
}
/* /Components/Shared/ThemeToggle.razor.rz.scp.css */
/* ==========================================================================
   Theme Toggle Component Styles
   ========================================================================== */

.theme-toggle-container[b-0sar0s8mn4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle[b-0sar0s8mn4] {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    cursor: pointer;
    user-select: none;
}

.theme-toggle-checkbox[b-0sar0s8mn4] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.theme-toggle-slider[b-0sar0s8mn4] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-toggle-track);
    border-radius: 30px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
}

.theme-toggle:hover .theme-toggle-slider[b-0sar0s8mn4] {
    background-color: var(--color-accent);
}

.theme-toggle-checkbox:checked+.theme-toggle-slider[b-0sar0s8mn4] {
    background-color: var(--color-accent);
}

.theme-toggle-checkbox:focus-visible+.theme-toggle-slider[b-0sar0s8mn4] {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Toggle ball */
.theme-toggle-ball[b-0sar0s8mn4] {
    position: absolute;
    top: 3px;
    left: 4px;
    width: 24px;
    height: 24px;
    background-color: var(--color-toggle-ball);
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px var(--color-shadow);
}

.theme-toggle-checkbox:checked+.theme-toggle-slider .theme-toggle-ball[b-0sar0s8mn4] {
    transform: translateX(30px);
}

/* Icons */
.theme-toggle-icon[b-0sar0s8mn4] {
    width: 16px;
    height: 16px;
    position: relative;
    z-index: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-toggle-icon-sun[b-0sar0s8mn4] {
    color: #f59e0b;
    /* amber-500 - sun color */
    opacity: 1;
}

.theme-toggle-icon-moon[b-0sar0s8mn4] {
    color: #fbbf24;
    /* amber-400 - moon color */
    opacity: 0;
}

.theme-toggle-checkbox:checked+.theme-toggle-slider .theme-toggle-icon-sun[b-0sar0s8mn4] {
    opacity: 0;
    transform: rotate(180deg);
}

.theme-toggle-checkbox:checked+.theme-toggle-slider .theme-toggle-icon-moon[b-0sar0s8mn4] {
    opacity: 1;
    transform: rotate(0deg);
}

/* Accessibility: High contrast mode support */
@media (prefers-contrast: high) {
    .theme-toggle-slider[b-0sar0s8mn4] {
        border: 2px solid currentColor;
    }
}

/* Mobile optimization - slightly larger touch target */
@media (max-width: 640px) {
    .theme-toggle[b-0sar0s8mn4] {
        width: 56px;
        height: 28px;
    }

    .theme-toggle-ball[b-0sar0s8mn4] {
        width: 22px;
        height: 22px;
        top: 3px;
    }

    .theme-toggle-checkbox:checked+.theme-toggle-slider .theme-toggle-ball[b-0sar0s8mn4] {
        transform: translateX(28px);
    }

    .theme-toggle-icon[b-0sar0s8mn4] {
        width: 14px;
        height: 14px;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    .theme-toggle-slider[b-0sar0s8mn4],
    .theme-toggle-ball[b-0sar0s8mn4],
    .theme-toggle-icon[b-0sar0s8mn4] {
        transition: none;
    }
}
