@import '_content/Havit.Blazor.Components.Web.Bootstrap/Havit.Blazor.Components.Web.Bootstrap.5b1cao7wtc.bundle.scp.css';

/* /Components/Pages/Manage/Tournament/AddExistingPlayer.razor.rz.scp.css */
/* fixed height so the dialog does not jump while the search narrows the list */
.player-list[b-zbhbdfr1ni] {
    height: min(400px, 60vh);
    overflow-y: auto;
}
/* /Components/Pages/Manage/Tournament/EditTournamentRound.razor.rz.scp.css */
/*
 * One editable pairing: index, white, result, black, remove. A grid rather than a
 * flex row so the same five slots can be re-arranged for a narrow screen without
 * touching the markup.
 */
.pairing-edit-row[b-l9sabsr4xu] {
    display: grid;
    grid-template-columns: 1.875rem minmax(0, 1fr) auto minmax(0, 1fr) 3.125rem;
    align-items: center;
    gap: .5rem;
}

.pairing-edit-index[b-l9sabsr4xu],
.pairing-edit-result[b-l9sabsr4xu],
.pairing-edit-remove[b-l9sabsr4xu] {
    display: flex;
    align-items: center;
    justify-content: center;
}

/*
 * Below md the three fields cannot sit next to each other without falling below
 * their own minimum width, so they stack: white over result over black, with the
 * index and the bin holding the two outer rails.
 */
@media (max-width: 767.98px) {
    .pairing-edit-row[b-l9sabsr4xu] {
        grid-template-columns: 1.875rem minmax(0, 1fr) 3.125rem;
        grid-template-areas:
            "index white  remove"
            "index result remove"
            "index black  remove";
        row-gap: .375rem;
        padding-bottom: .75rem;
        border-bottom: 1px solid var(--cf-muted);
    }

    .pairing-edit-index[b-l9sabsr4xu] {
        grid-area: index;
    }

    .pairing-edit-white[b-l9sabsr4xu] {
        grid-area: white;
    }

    .pairing-edit-result[b-l9sabsr4xu] {
        grid-area: result;
    }

    .pairing-edit-black[b-l9sabsr4xu] {
        grid-area: black;
    }

    .pairing-edit-remove[b-l9sabsr4xu] {
        grid-area: remove;
    }
}
/* /Components/Pages/Public/Tournaments/GameDisplay.razor.rz.scp.css */
.wrapper[b-8ro25s7q4x] {
    padding: 0;
    gap: 1.5rem;
    display: grid;
    grid-template-columns: 50px 1fr auto 1fr;
    max-width: 500px;
    font-size: 1.25rem;
    border-bottom: var(--cf-border);
}

.tisch[b-8ro25s7q4x] {
    font-size: 1rem;
    color: var(--cf-ink);
    font-family: var(--cf-font-head);
    font-weight: 600;
    text-align: right;
}

@media (max-width: 500px) {
    .wrapper[b-8ro25s7q4x] {
        /*padding: 6px;*/
        gap: 1rem;
        display: grid;
        grid-template-columns: 33px 1fr auto 1fr;
        max-width: 500px;
        font-size: 1rem;
    }

    .tisch[b-8ro25s7q4x] {
        padding: 0;
        font-size: 1rem;
        background-color: unset;
        border-radius: 0;
        color: var(--cf-ink);
    }
}
/* /Components/Pages/Public/Tournaments/PublicTournamentRound.razor.rz.scp.css */
.row.no-wrap[b-cbrrash9xw] {
    display: flex;
    flex-wrap: nowrap; /* Prevents row breaking */
}

.col-fixed[b-cbrrash9xw] {
    width: 30px;
    flex: 0 0 30px; /* Prevents resizing */
}

.col-flex[b-cbrrash9xw] {
    flex: 1; /* Takes remaining space */
}

.grid-layout[b-cbrrash9xw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 4rem;
    row-gap: 0.75rem;
    justify-content: center;
}

@media (max-width: 1024px) {
    .grid-layout[b-cbrrash9xw] {
        grid-template-columns: 1fr;
    }
}
