@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.olwso25aue.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-3glbrjir2q] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
}

main[b-3glbrjir2q] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.sidebar[b-3glbrjir2q] {
    background-image: linear-gradient(180deg, #0b1f4d 0%, #0f2f6e 55%, #1b3f87 100%);
}

.top-row[b-3glbrjir2q] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: space-between;
    gap: 0.75rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

    .top-row .role-select[b-3glbrjir2q] {
        width: auto;
        min-width: 120px;
    }

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

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

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

    /* Notification badge uses absolute positioning and must not be clipped. */
    .top-row .top-row-actions[b-3glbrjir2q]  a.notifications-link {
        overflow: visible;
        text-decoration: none;
    }

    .top-row .top-row-actions[b-3glbrjir2q]  a.notifications-link:hover,
    .top-row .top-row-actions[b-3glbrjir2q]  a.notifications-link:hover .notifications-icon-wrap,
    .top-row .top-row-actions[b-3glbrjir2q]  a.notifications-link:hover .layout-icon {
        text-decoration: none;
    }

    .top-row .top-row-actions[b-3glbrjir2q]  .notifications-icon-wrap {
        overflow: visible;
    }

    .top-row .top-row-actions[b-3glbrjir2q]  .layout-icon {
        font-size: 1.25rem;
        width: 1.25rem;
        height: 1.25rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        flex-shrink: 0;
    }

    .top-row .top-row-actions[b-3glbrjir2q]  .notifications-badge-scale {
        display: inline-flex;
        transform: scale(0.66);
        transform-origin: top right;
    }

    .top-row .permissions-label[b-3glbrjir2q] {
        font-weight: 500;
    }

    .top-row .top-row-actions[b-3glbrjir2q] {
        display: flex;
        align-items: center;
    }

    .top-row .top-row-actions[b-3glbrjir2q]  .top-link-icon {
        display: none;
        font-size: 1.2rem;
        line-height: 1;
    }

    .top-row .top-row-actions[b-3glbrjir2q]  form.top-link {
        display: inline-flex;
        align-items: center;
        margin: 0 0 0 1.5rem;
    }

    .top-row .top-row-actions[b-3glbrjir2q]  form.top-link .top-link-btn {
        margin-left: 0;
    }

    .top-row .top-row-actions[b-3glbrjir2q]  a,
    .top-row .top-row-actions[b-3glbrjir2q]  .btn-link {
        margin-left: 1.5rem;
    }

    /* Keep logout (POST button) visually consistent with link items */
    .top-row .top-row-actions[b-3glbrjir2q]  .top-link,
    .top-row .top-row-actions[b-3glbrjir2q]  .top-link-btn {
        color: var(--bs-link-color);
        display: inline-flex;
        align-items: center;
        text-decoration: none;
        padding: 0;
        border: 0;
        background: none;
        border-radius: 0.375rem;
    }

    /* Keep logout (POST button) visually consistent with link items */
    .top-row .top-row-actions[b-3glbrjir2q]  .top-link:hover,
    .top-row .top-row-actions[b-3glbrjir2q]  .top-link-btn:hover {
        color: var(--bs-link-hover-color);
        text-decoration: underline;
    }

    .top-row .top-row-actions[b-3glbrjir2q]  .top-link:focus-visible,
    .top-row .top-row-actions[b-3glbrjir2q]  .top-link-btn:focus-visible {
        outline: 2px solid rgba(var(--bs-primary-rgb), 0.45);
        outline-offset: 4px;
        text-decoration: none;
    }

@media (max-width: 640.98px) {
    .top-row[b-3glbrjir2q] {
        justify-content: space-between;
        gap: 0.4rem;
        flex-wrap: nowrap;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .top-row .role-label[b-3glbrjir2q] {
        min-width: 0;
        flex: 1 1 auto;
    }

    .top-row .role-label > span[b-3glbrjir2q] {
        flex: 0 0 auto;
    }

    .top-row .role-select[b-3glbrjir2q] {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
        max-width: none;
        padding-left: 0.4rem;
        padding-right: 1.6rem;
    }

    .top-row .top-row-actions[b-3glbrjir2q] {
        flex: 0 0 auto;
    }

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

    .top-row .top-row-actions[b-3glbrjir2q] {
        flex-wrap: nowrap;
        gap: 0.55rem;
    }

    .top-row .top-row-actions[b-3glbrjir2q]  form.top-link {
        margin-left: 0;
    }

    .top-row .top-row-actions[b-3glbrjir2q]  .top-link,
    .top-row .top-row-actions[b-3glbrjir2q]  .top-link-btn {
        min-width: 1.4rem;
        min-height: 1.4rem;
        justify-content: center;
    }

    .top-row .top-row-actions[b-3glbrjir2q]  .top-link-text {
        display: none;
    }

    .top-row .top-row-actions[b-3glbrjir2q]  .top-link-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

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

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

    .top-row[b-3glbrjir2q] {
        position: sticky;
        top: 0;
        z-index: 10;
        flex-shrink: 0;
    }

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

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

main article.content[b-3glbrjir2q] {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

/* Club/team entity routes: keep title + tabs fixed; scroll only the tab body (status + content). */
main article.content:has(.entity-page-shell)[b-3glbrjir2q] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

main article.content:has(.entity-page-shell) > .entity-page-shell[b-3glbrjir2q] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

main article.content:has(.entity-page-shell) > :not(.entity-page-shell)[b-3glbrjir2q] {
    flex: 0 0 auto;
}

#blazor-error-ui[b-3glbrjir2q] {
    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-3glbrjir2q] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.hero img[b-3glbrjir2q] {
    max-height: 320px;
    object-fit: cover;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* https://mattfrear.com/2024/02/27/customize-blazors-navmenu/ */
/* https://icons.getbootstrap.com/ */

.navbar-toggler[b-tq877glilg] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-tq877glilg] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-tq877glilg] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-tq877glilg] {
    font-size: 1.1rem;
}

.nav-item[b-tq877glilg] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-tq877glilg] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-tq877glilg] {
        padding-bottom: 1rem;
    }

    .nav-item[b-tq877glilg]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        line-height: normal;
        width: 100%;
    }

    .nav-item[b-tq877glilg]  .nav-menu-icon {
        font-size: 1.25rem;
        width: 1.25rem;
        height: 1.25rem;
        min-width: 1.25rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

.nav-item[b-tq877glilg]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-tq877glilg]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-tq877glilg] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-tq877glilg] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-tq877glilg] {
        display: none;
    }

    .nav-scrollable[b-tq877glilg] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Shared/CompetitionCategoryEditorModal.razor.rz.scp.css */
.competition-category-editor-layout[b-qja8wfsaf7] {
    display: grid;
    gap: 0.75rem;
}

.competition-category-editor-name[b-qja8wfsaf7] {
    min-width: 0;
}

.competition-category-editor-name[b-qja8wfsaf7]  input,
.competition-category-editor-name[b-qja8wfsaf7]  .form-control {
    width: 100% !important;
    min-width: 0;
}

.competition-category-editor-details[b-qja8wfsaf7] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
}

.competition-category-editor-BirthSex[b-qja8wfsaf7],
.competition-category-editor-age[b-qja8wfsaf7],
.competition-category-editor-min[b-qja8wfsaf7],
.competition-category-editor-max[b-qja8wfsaf7] {
    min-width: 0;
}

.competition-category-editor-age-grid[b-qja8wfsaf7] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.75rem;
}

.competition-category-BirthSex-select[b-qja8wfsaf7] {
    width: 100%;
}

.competition-category-BirthSex-select[b-qja8wfsaf7]  select,
.competition-category-BirthSex-select[b-qja8wfsaf7]  .form-select,
.competition-category-BirthSex-select[b-qja8wfsaf7]  button.dropdown-toggle {
    width: 100% !important;
    min-width: 0;
}

.competition-category-BirthSex-select[b-qja8wfsaf7]  .validation-message {
    display: none;
}

.competition-category-editor-BirthSex small[b-qja8wfsaf7] {
    white-space: nowrap;
    margin-top: 0.35rem;
}

.competition-category-editor-min[b-qja8wfsaf7]  input,
.competition-category-editor-min[b-qja8wfsaf7]  .form-control,
.competition-category-editor-max[b-qja8wfsaf7]  input,
.competition-category-editor-max[b-qja8wfsaf7]  .form-control {
    width: 100% !important;
    min-width: 0;
}

.competition-category-age-help[b-qja8wfsaf7] {
    margin-top: 0.35rem;
}

@media (max-width: 767.98px) {
    .competition-category-editor-details[b-qja8wfsaf7] {
        grid-template-columns: 1fr;
    }

    .competition-category-editor-BirthSex small[b-qja8wfsaf7] {
        white-space: normal;
    }
}
/* /Components/Shared/EntityPageShell.razor.rz.scp.css */
.entity-page-shell[b-yd5a9n37b2] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.entity-page-shell-header[b-yd5a9n37b2] {
    flex-shrink: 0;
    z-index: 5;
    padding-top: 0;
    padding-bottom: 0;
    background: var(--bs-body-bg);
}

/* Typography: h1.page-title-entity-shell (app.css). Keep layout only here. */
.entity-page-shell-header h1[b-yd5a9n37b2] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* TitleContent may render child components; ::deep applies to nested markup. */
[b-yd5a9n37b2] .entity-page-shell-breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 0.35rem;
    row-gap: 0.15rem;
}

[b-yd5a9n37b2] .entity-page-shell-breadcrumb-link {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

[b-yd5a9n37b2] .entity-page-shell-breadcrumb-sep {
    color: var(--bs-secondary-color);
    font-weight: 400;
    user-select: none;
}

.entity-page-shell-tabs[b-yd5a9n37b2] {
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding-bottom: 0.1rem;
}

.entity-page-shell-tabs .nav-link[b-yd5a9n37b2] {
    display: inline-flex;
    align-items: center;
}

@media (max-width: 640.98px) {
    .entity-page-shell-tabs[b-yd5a9n37b2] {
        overflow: visible;
        flex-wrap: wrap;
        white-space: normal;
        row-gap: 0.25rem;
    }

    .entity-page-shell-tabs .nav-link[b-yd5a9n37b2] {
        min-width: 2.75rem;
        min-height: 2.4rem;
        justify-content: center;
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }

    .entity-page-shell-tabs .nav-link .bi[b-yd5a9n37b2] {
        margin-right: 0 !important;
        font-size: 1.1rem;
        line-height: 1;
    }

    .entity-page-shell-tab-label[b-yd5a9n37b2] {
        display: none;
    }
}

.entity-page-shell-body[b-yd5a9n37b2] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-top: 0.75rem;
}

.entity-page-shell-status[b-yd5a9n37b2] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.entity-page-shell-status .alert:last-child[b-yd5a9n37b2] {
    margin-bottom: 0;
}
