/* /Components/Layout/AuthLayout.razor.rz.scp.css */
/* The signed-out screen. Colours come from tokens.css, never from here. */

.auth-page[b-3yn8y15yf6] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-card[b-3yn8y15yf6] {
    width: 100%;
    max-width: 360px;
    padding: 28px;
    background: var(--bg-panel);
    border: 1px solid var(--border);
}

.auth-brand[b-3yn8y15yf6] {
    font-size: var(--fs-page-title);
    font-weight: 700;
    color: var(--text);
}

.auth-tagline[b-3yn8y15yf6] {
    font-size: var(--fs-micro);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-faint);
    margin-bottom: 24px;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.main[b-vq5vppnr55] {
    flex-grow: 1;
    min-width: 0;
    overflow-x: auto;
    padding: 12px 32px 48px;
}

#blazor-error-ui[b-vq5vppnr55] {
    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-vq5vppnr55] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.sidebar[b-r36obzzepc] {
    width: var(--sidebar-w);
    flex-shrink: 0;
    padding: 12px 16px;
    border-right: 1px solid var(--border);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.brand[b-r36obzzepc] {
    display: block;
    text-decoration: none;
    margin-bottom: 2px;
}
.brand:hover[b-r36obzzepc] { text-decoration: none; }

.brand-name[b-r36obzzepc] {
    font-size: var(--fs-page-title);
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text);
}
.brand:hover .brand-name[b-r36obzzepc] { color: var(--accent); }

.brand-sub[b-r36obzzepc] {
    font-size: var(--fs-small);
    color: var(--text-muted);
    margin-bottom: 28px;
}

.nav-section[b-r36obzzepc] { margin-bottom: 24px; }

.nav-label[b-r36obzzepc] {
    font-size: var(--fs-micro);
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

/* NavLink is a component, so it never receives this component's scope attribute.
   ::deep moves the scope onto .nav-section, which does. */
.nav-section[b-r36obzzepc]  .nav-item {
    display: block;
    padding: 3px 0;
    color: var(--text);
    text-decoration: none;
}
.nav-section[b-r36obzzepc]  .nav-item:hover {
    color: var(--accent);
    text-decoration: none;
}

/* Full-bleed inverted bar, pulled out over the sidebar padding */
.nav-section[b-r36obzzepc]  .nav-item.active {
    background: var(--text);
    color: var(--bg);
    padding: 3px 16px;
    margin: 0 -16px;
}
.nav-section[b-r36obzzepc]  .nav-item.active:hover { color: var(--bg); }

.sidebar-footer[b-r36obzzepc] {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px dashed var(--border);
}

/* ===== Theme switch ===== */

.theme-toggle[b-r36obzzepc] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: none;
    background: none;
    font-family: inherit;
    font-size: var(--fs-small);
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}
.theme-toggle:hover[b-r36obzzepc] { color: var(--text); }

.theme-switch[b-r36obzzepc] {
    position: relative;
    width: 32px;
    height: 16px;
    flex-shrink: 0;
    background: var(--bg-hover);
    border: 1px solid var(--border);
}
.theme-switch[b-r36obzzepc]::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 1px;
    width: 12px;
    height: 12px;
    background: var(--text);
    transition: transform 0.15s ease, background 0.15s ease;
}
[data-bs-theme="dark"] .theme-switch[b-r36obzzepc]::before {
    transform: translateX(16px);
    background: var(--accent);
}

.theme-label[b-r36obzzepc] { font-size: var(--fs-small); }

/* The active side of the switch is the emphasised one */
.theme-label-dark[b-r36obzzepc] { color: var(--text-faint); }
.theme-label-light[b-r36obzzepc] { color: var(--text); font-weight: 600; }
[data-bs-theme="dark"] .theme-label-light[b-r36obzzepc] { color: var(--text-faint); font-weight: 400; }
[data-bs-theme="dark"] .theme-label-dark[b-r36obzzepc] { color: var(--text); font-weight: 600; }

/* ===== Signed-in user ===== */

.sidebar-user[b-r36obzzepc] {
    margin-bottom: 12px;
}

.sidebar-user-name[b-r36obzzepc] {
    display: block;
    font-size: var(--fs-small);
    color: var(--text-muted);
    margin-bottom: 6px;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.sidebar-user-name:hover[b-r36obzzepc],
.sidebar-user-name:focus-visible[b-r36obzzepc] {
    color: var(--text);
    text-decoration: underline;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-446y3opz5j],
.components-reconnect-repeated-attempt-visible[b-446y3opz5j],
.components-reconnect-failed-visible[b-446y3opz5j],
.components-pause-visible[b-446y3opz5j],
.components-resume-failed-visible[b-446y3opz5j],
.components-rejoining-animation[b-446y3opz5j] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-446y3opz5j],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-446y3opz5j],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-446y3opz5j],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-446y3opz5j],
#components-reconnect-modal.components-reconnect-retrying[b-446y3opz5j],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-446y3opz5j],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-446y3opz5j],
#components-reconnect-modal.components-reconnect-failed[b-446y3opz5j],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-446y3opz5j] {
    display: block;
}


#components-reconnect-modal[b-446y3opz5j] {
    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-446y3opz5j 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-446y3opz5j 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-446y3opz5j 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-446y3opz5j]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-446y3opz5j 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-446y3opz5j {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-446y3opz5j {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-446y3opz5j {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-446y3opz5j] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-446y3opz5j] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-446y3opz5j] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-446y3opz5j] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-446y3opz5j] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-446y3opz5j] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-446y3opz5j] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-446y3opz5j 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-446y3opz5j] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-446y3opz5j {
    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/Home.razor.rz.scp.css */
.home-section[b-2ljjjxr7bc] {
    font-size: var(--fs-micro);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-faint);
    margin: 28px 0 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border);
}
/* /Components/Pages/TimeSheet.razor.rz.scp.css */
/* Week stepper inside the filter bar: arrows, the range, and a jump to this week */
.week-picker[b-r4tgn9nhkk] {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
/* /Components/Pages/UiKit.razor.rz.scp.css */
.kit-section[b-qdv7u0tb73] {
    font-size: var(--fs-micro);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-faint);
    margin: 32px 0 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border);
}

.kit-block[b-qdv7u0tb73] {
    padding: 14px;
    border: 1px solid var(--border);
    background: var(--bg-panel);
    margin-bottom: 14px;
}

.kit-row[b-qdv7u0tb73] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

/* ===== Colour swatches ===== */

.swatches[b-qdv7u0tb73] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.swatch[b-qdv7u0tb73] {
    border: 1px solid var(--border);
    background: var(--bg-panel);
    padding: 8px;
}

/* Checkerboard shows through anything that is not fully opaque */
.swatch-chip[b-qdv7u0tb73] {
    height: 34px;
    margin-bottom: 6px;
    border: 1px solid var(--border);
}

.swatch-name[b-qdv7u0tb73] {
    font-size: var(--fs-small);
    font-weight: 600;
}

.swatch-note[b-qdv7u0tb73] {
    font-size: var(--fs-micro);
    color: var(--text-muted);
}

/* ===== Form demo ===== */

.form-demo[b-qdv7u0tb73] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}
/* /Components/Shared/FilterBar.razor.rz.scp.css */
.filter-bar[b-rp89k68lqt] {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 14px;
    padding: 12px 14px;
    margin-bottom: 14px;
    border: 1px solid var(--border);
    background: var(--bg-panel);
}

.filter-fields[b-rp89k68lqt] {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 14px;
    flex: 1 1 auto;
    min-width: 0;
}

/* Full-size buttons, not .btn-sm: they sit on the baseline of the field row and
   .btn-sm is 5px shorter than .form-control-sm, which leaves a visible step. */
.filter-actions[b-rp89k68lqt] {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}
/* /Components/Shared/FilterField.razor.rz.scp.css */
.filter-field[b-7lajxvve6j] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Fixed widths on purpose - filter values are short and should not stretch */
.filter-field--sm[b-7lajxvve6j] { flex: 0 0 110px; width: 110px; }
.filter-field--md[b-7lajxvve6j] { flex: 0 0 160px; width: 160px; }
.filter-field--lg[b-7lajxvve6j] { flex: 0 0 220px; width: 220px; }
.filter-field--xl[b-7lajxvve6j] { flex: 0 0 320px; width: 320px; }
.filter-field--auto[b-7lajxvve6j] { flex: 0 0 auto; width: auto; }

/* Fields without a label still line up with the ones that have one */
.filter-field:not(:has(> label))[b-7lajxvve6j] { justify-content: flex-end; }
/* /Components/Shared/PageHeader.razor.rz.scp.css */
.page-header[b-vx28wwim0q] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.page-meta[b-vx28wwim0q] {
    font-size: var(--fs-small);
    color: var(--text-muted);
    margin-top: 2px;
}

.page-actions[b-vx28wwim0q] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
/* /Components/Shared/Pager.razor.rz.scp.css */
.pager[b-0ab2v8i99g] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pager-position[b-0ab2v8i99g] {
    font-size: var(--fs-small);
    color: var(--text-muted);
}
/* /Components/Shared/StatTile.razor.rz.scp.css */
.stat-tile[b-hmu0cemrba] {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    background: var(--bg-panel);
    color: var(--text);
    text-decoration: none;
}

.stat-tile:hover[b-hmu0cemrba] {
    background: var(--bg-hover);
    border-color: var(--border-strong);
}

.stat-tile:focus-visible[b-hmu0cemrba] {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}

.stat-tile-label[b-hmu0cemrba] {
    font-size: var(--fs-micro);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-faint);
}

.stat-tile-value[b-hmu0cemrba] {
    font-size: var(--fs-page-title);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 6px;
}

.stat-tile-note[b-hmu0cemrba] {
    font-size: var(--fs-small);
    color: var(--text-muted);
    margin-top: 4px;
}

/* Wants attention. The label and note say the same thing in words. */
.stat-tile--alert[b-hmu0cemrba] {
    border-left: 3px solid var(--negative);
}

.stat-tile--alert .stat-tile-value[b-hmu0cemrba] {
    color: var(--negative);
}
