/* _content/FireSportSystem.Web/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-w3tm0uurfx] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-header[b-w3tm0uurfx] {
    position: sticky;
    top: 0;
    z-index: 1;
}

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

.content[b-w3tm0uurfx] {
    padding-top: 1.5rem;
}

#blazor-error-ui[b-w3tm0uurfx] {
    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-w3tm0uurfx] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/FireSportSystem.Web/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar[b-bs5s6uz9s1] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.brand[b-bs5s6uz9s1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text);
    text-decoration: none;
    white-space: nowrap;
}

.brand-icon[b-bs5s6uz9s1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.4rem;
    background-color: var(--color-accent);
    font-size: 1rem;
}

.nav-links[b-bs5s6uz9s1] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

    .nav-links[b-bs5s6uz9s1]  .nav-link {
        color: var(--color-text);
        text-decoration: none;
        padding: 0.4rem 0.6rem;
        border-radius: 0.3rem;
    }

    .nav-links[b-bs5s6uz9s1]  .nav-link:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }

    .nav-links[b-bs5s6uz9s1]  .nav-link.active {
        color: var(--color-primary);
        font-weight: 600;
    }

.nav-actions[b-bs5s6uz9s1] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-login[b-bs5s6uz9s1] {
    display: inline-block;
    padding: 0.45rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 0.4rem;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

    .btn-login:hover[b-bs5s6uz9s1] {
        background-color: rgba(0, 0, 0, 0.05);
    }

.nav-user[b-bs5s6uz9s1] {
    font-weight: 500;
    color: var(--color-text);
}

.navbar-toggler[b-bs5s6uz9s1] {
    display: none;
}

@media (max-width: 640.98px) {
    .navbar[b-bs5s6uz9s1] {
        flex-wrap: wrap;
    }

    .navbar-toggler[b-bs5s6uz9s1] {
        appearance: none;
        display: block;
        margin-left: auto;
        width: 2.5rem;
        height: 2.5rem;
        border: 1px solid var(--color-border);
        border-radius: 0.3rem;
        background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2831,41,55,0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.5rem;
        cursor: pointer;
    }

    .nav-links[b-bs5s6uz9s1], .nav-actions[b-bs5s6uz9s1] {
        display: none;
        flex-basis: 100%;
    }

    .navbar-toggler:checked ~ .nav-links[b-bs5s6uz9s1],
    .navbar-toggler:checked ~ .nav-actions[b-bs5s6uz9s1] {
        display: flex;
    }
}
/* _content/FireSportSystem.Web/Components/Pages/CompetitionOverview.razor.rz.scp.css */
.overview-poster[b-6fpuhqikv3] {
    display: block;
    width: 100%;
    max-width: 16rem;
    border-radius: var(--card-radius);
    object-fit: cover;
}

.overview-poster-fallback[b-6fpuhqikv3] {
    max-width: 6rem;
    object-fit: contain;
}

.overview-header-actions[b-6fpuhqikv3] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.overview-tabs-card[b-6fpuhqikv3] {
    max-width: 58rem;
    margin: 1.5rem auto 0;
    padding: 0;
    overflow: hidden;
}

.overview-tabs-card .nav-tabs[b-6fpuhqikv3] {
    margin: 0;
    padding: 0 1.25rem;
}

.overview-tabs-card .nav-link[b-6fpuhqikv3] {
    background: none;
    cursor: pointer;
}

.overview-tab-pane[b-6fpuhqikv3] {
    padding: 1.25rem;
}

.startlist-table[b-6fpuhqikv3] {
    table-layout: fixed;
    text-align: center;
    font-size: 0.95rem;
    min-width: 44rem;
}

.startlist-table th:first-child[b-6fpuhqikv3],
.startlist-table td:first-child[b-6fpuhqikv3] {
    width: 2.5rem;
    text-align: center;
    color: var(--color-text-muted);
}

.startlist-table th:nth-child(2)[b-6fpuhqikv3],
.startlist-table td:nth-child(2)[b-6fpuhqikv3] {
    width: 9rem;
    text-align: left;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.startlist-table th:nth-child(3)[b-6fpuhqikv3],
.startlist-table td:nth-child(3)[b-6fpuhqikv3] {
    text-align: left;
}

.move-cell[b-6fpuhqikv3] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.results-category + .results-category[b-6fpuhqikv3] {
    margin-top: 1.5rem;
}

.results-category h2[b-6fpuhqikv3] {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.results-table[b-6fpuhqikv3] {
    table-layout: fixed;
    text-align: center;
    font-size: 0.9rem;
    min-width: 42rem;
}

.results-table th[b-6fpuhqikv3] {
    white-space: nowrap;
}

.results-table th:first-child[b-6fpuhqikv3],
.results-table td:first-child[b-6fpuhqikv3] {
    width: 4rem;
    color: var(--color-text-muted);
}

.results-table th:nth-child(2)[b-6fpuhqikv3],
.results-table td:nth-child(2)[b-6fpuhqikv3] {
    text-align: left;
    width: 26%;
}

/* Bootstrap paints an opaque background on every <td> (var(--bs-table-bg)), which hides any
   background-color set on the parent <tr> — row accent colors have to go through Bootstrap's own
   --bs-table-accent-bg variable (the mechanism .table-striped/.table-hover use internally) instead. */
.results-table tbody tr:nth-child(even)[b-6fpuhqikv3] {
    --bs-table-accent-bg: rgba(21, 128, 61, 0.12);
}

.results-table tbody tr.podium-gold[b-6fpuhqikv3] {
    --bs-table-accent-bg: #fef3c7;
}

.results-table tbody tr.podium-silver[b-6fpuhqikv3] {
    --bs-table-accent-bg: #f1f3f5;
}

.results-table tbody tr.podium-bronze[b-6fpuhqikv3] {
    --bs-table-accent-bg: #fbe6d4;
}

.results-table tbody tr.podium-gold td:first-child[b-6fpuhqikv3] {
    border-left: 4px solid #d4af37;
}

.results-table tbody tr.podium-silver td:first-child[b-6fpuhqikv3] {
    border-left: 4px solid #adb5bd;
}

.results-table tbody tr.podium-bronze td:first-child[b-6fpuhqikv3] {
    border-left: 4px solid #cd7f32;
}

.fastest-table[b-6fpuhqikv3] {
    min-width: 28rem;
}

.fastest-table th:first-child[b-6fpuhqikv3],
.fastest-table td:first-child[b-6fpuhqikv3] {
    text-align: center;
}

.fastest-table th:nth-child(2)[b-6fpuhqikv3],
.fastest-table td:nth-child(2)[b-6fpuhqikv3] {
    width: auto;
    text-align: left;
}

.fastest-table th:last-child[b-6fpuhqikv3],
.fastest-table td:last-child[b-6fpuhqikv3] {
    width: 6rem;
}
/* _content/FireSportSystem.Web/Components/Pages/RegistrationFlow.razor.rz.scp.css */
.competition-sidebar[b-fsx2r6y9wd] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.competition-icon[b-fsx2r6y9wd] {
    display: block;
    width: 6rem;
    height: 6rem;
    object-fit: contain;
    align-self: center;
}

.competition-sidebar h1[b-fsx2r6y9wd] {
    font-size: 1.4rem;
    margin: 0;
}

.conditions-list[b-fsx2r6y9wd] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
/* _content/FireSportSystem.Web/Components/Pages/ResultsEntry.razor.rz.scp.css */
.time-input[b-mt5lze6bsq] {
    width: 4.5rem;
    text-align: center;
    -moz-appearance: textfield;
}

.time-input[b-mt5lze6bsq]::-webkit-outer-spin-button,
.time-input[b-mt5lze6bsq]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Column widths are set via <colgroup> rather than th/td nth-child — this table's header has two
   rows (rowspan/colspan for "1. pokus"/"2. pokus"), and nth-child counts position within each
   <tr> independently, so a rule like "th:nth-child(1)" also matches the first LP header in the
   second header row, not just P.č. in the first — that caused the LP/PP headers to render with
   the wrong (sticky/narrow) column styling instead of lining up with their input cells below.
   <colgroup> defines real column widths unambiguously regardless of header structure. */
.results-table[b-mt5lze6bsq] {
    table-layout: fixed;
    text-align: center;
    font-size: 0.85rem;
    width: 57rem;
}

.col-position[b-mt5lze6bsq] {
    width: 3rem;
}

.col-team[b-mt5lze6bsq] {
    width: 14rem;
}

.col-category[b-mt5lze6bsq] {
    width: 7rem;
}

.col-time[b-mt5lze6bsq] {
    width: 4.5rem;
}

.col-final[b-mt5lze6bsq] {
    width: 5.5rem;
}

.results-table th[b-mt5lze6bsq] {
    white-space: nowrap;
}

/* P.č. + Tím are pinned while scrolling horizontally (this table has 10 columns — on mobile you
   otherwise lose track of which team's row you're editing once you scroll past them). Bootstrap
   already paints an opaque background on every <td>/<th> (var(--bs-table-bg)), so the sticky
   cells don't need their own background-color to avoid bleed-through from scrolled content.
   Targeting only td:nth-child (not th) for these two is safe — the header row for these two
   columns already carries the .col-position/.col-team classes above, and tbody rows have no
   rowspan/colspan, so nth-child there always matches the real column. */
.results-table th.col-position[b-mt5lze6bsq],
.results-table td:nth-child(1)[b-mt5lze6bsq] {
    position: sticky;
    left: 0;
    z-index: 1;
}

.results-table th.col-team[b-mt5lze6bsq],
.results-table td:nth-child(2)[b-mt5lze6bsq] {
    position: sticky;
    left: 3rem;
    z-index: 1;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.results-table td:nth-child(3)[b-mt5lze6bsq] {
    text-align: left;
}

/* Same mechanism as CompetitionOverview.razor.css's zebra striping — background-color on <tr> is
   hidden by Bootstrap's own opaque per-cell background, so this goes through its
   --bs-table-accent-bg variable instead (what .table-striped/.table-hover use internally). */
.results-table tbody tr:nth-child(even)[b-mt5lze6bsq] {
    --bs-table-accent-bg: rgba(21, 128, 61, 0.12);
}
