/* /Components/MatchServeStats.razor.rz.scp.css */
body[b-9e09etiz0o] {
    background: #eef3f8;
    font-family: Arial,sans-serif;
}

/* ---------- Upper part: centered, stacks vertically on narrow screens ---------- */
.stats-page[b-9e09etiz0o] {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center; /* centers the blocks horizontally */
    align-items: flex-start;
    gap: 24px;
    padding: 0 12px;
    box-sizing: border-box;
    text-align: center;
}

    .stats-page > div[b-9e09etiz0o] {
        flex: 0 1 auto;
        min-width: 0;
    }
.match-block[b-9e09etiz0o] {
    background: rgba(110,179,94,0.84);
}

.match-block h2[b-9e09etiz0o],
.match-block p[b-9e09etiz0o] {
    margin: 4px 0;
}

/* Tabs inside the upper part */
.tabs[b-9e09etiz0o] {
    margin: 0;
    background: transparent;
    width: 95px
}

.tab-buttons[b-9e09etiz0o] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    vertical-align: bottom;
    gap: 8px;
    /*margin-bottom: 12px;*/
}

/* Narrow screens: arrange the three blocks vertically */
@media (max-width: 900px) {
    .stats-page[b-9e09etiz0o] {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

        .stats-page > div[b-9e09etiz0o] {
            width: 100%;
            max-width: 600px;
        }
}

/* ---------- Existing card / stat styles (unchanged) ---------- */
.stats-card[b-9e09etiz0o] {
    width: 800px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.header[b-9e09etiz0o] {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    font-weight: bold;
    align-items: center;
    margin-bottom: 20px;
    color: #555;
}

    /* Title row: single centered element */
    .header.title-header[b-9e09etiz0o] {
        display: block;
        text-align: center;
    }

.mainpoints[b-9e09etiz0o] {
    text-align: center;
    font-weight: bold;
}

.subpoints[b-9e09etiz0o] {
    text-align: center;
    margin: 0px;
}

.error[b-9e09etiz0o] {
    color: red;
}

.stat[b-9e09etiz0o] {
    margin: 28px 0;
}

.stat-header[b-9e09etiz0o] {
    display: grid;
    grid-template-columns: 150px 1fr 150px;
    align-items: center;
    margin-bottom: 8px;
}

.player-value[b-9e09etiz0o] {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.stat-name[b-9e09etiz0o] {
    text-align: center;
    font-weight: 600;
    color: #444;
    letter-spacing: .4px;
}

.bars[b-9e09etiz0o] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 8px;
    align-items: center;
}

/* Background bars */
.bar[b-9e09etiz0o] {
    height: 10px;
    background: #e4e7eb;
    border-radius: 20px;
    overflow: hidden;
}

    /* LEFT BAR - grows from center toward left */
    .bar.left[b-9e09etiz0o] {
        display: flex;
        justify-content: flex-end;
    }

    /* RIGHT BAR - grows from center toward right */
    .bar.right[b-9e09etiz0o] {
        display: flex;
        justify-content: flex-start;
    }

/* Filled portion */
.fill[b-9e09etiz0o] {
    height: 100%;
    transition: width .6s ease;
}

    .fill.p1[b-9e09etiz0o] {
        background: #996E3B;
    }

    .fill.p2[b-9e09etiz0o] {
        background: #ebe319;
    }

/* Tab buttons */
.tab-btn[b-9e09etiz0o] {
    border: none;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(90deg,#ffffff,#6eb35e);
    color: #374151;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(15,23,42,0.05);
    cursor: pointer;
    transition: transform .12s ease, box-shadow .15s ease, background .12s ease;
}

    .tab-btn:hover[b-9e09etiz0o] {
        transform: translateY(-2px);
    }

    .tab-btn.active[b-9e09etiz0o] {
        background: linear-gradient(90deg,#cd8c63,#5d2c53);
        color: #fff;
        box-shadow: 0 10px 30px rgba(14,165,255,0.14);
    }

/* ---------- Lower part: tab panel, two columns on wide screens ---------- */
.tab-panel[b-9e09etiz0o] {
    background: rgba(110,179,94,0.84);
    border-radius: 10px;
    padding: 16px;
    margin: 20px auto;
    max-width: 1400px;
    box-sizing: border-box;
    box-shadow: 0 8px 22px rgba(2,6,23,0.06);
    border: 1px solid rgba(15,23,42,0.04);
}

.stat-columns[b-9e09etiz0o] {
    display: grid;
    grid-template-columns: 1fr; /* one column by default */
    column-gap: 40px;
}

.stat-column[b-9e09etiz0o] {
    min-width: 0;
}

/* Player-name header is only repeated for column 2 when columns are side by side */
.second-column .header[b-9e09etiz0o] {
    display: none;
}

@media (min-width: 901px) {
    .stat-columns[b-9e09etiz0o] {
        grid-template-columns: 1fr 1fr;
    }

    .second-column .header[b-9e09etiz0o] {
        display: grid;
    }
}

.no-data[b-9e09etiz0o] {
    text-align: center;
    color: #6b7280;
    padding: 26px 12px;
}

@media (max-width: 720px) {
    .tab-btn[b-9e09etiz0o] {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
}

/* /Components/MatchStatsFragment.razor.rz.scp.css */
body[b-fttakx1f03] {
    background: #eef3f8;
    font-family: Arial,sans-serif;
}

.stats-card[b-fttakx1f03] {
    width: 800px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.header[b-fttakx1f03] {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    font-weight: bold;
    align-items: center;
    margin-bottom: 20px;
    color: #555;
}
.error[b-fttakx1f03] {
    color:red;
}

.stat[b-fttakx1f03] {
    margin: 28px 0;
}

.stat-header[b-fttakx1f03] {
    display: grid;
    grid-template-columns: 110px 1fr 110px;
    align-items: center;
    margin-bottom: 8px;
}

.player-value[b-fttakx1f03] {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.p1-value[b-fttakx1f03] {
    text-align: right;
    font-size: 15px;
    font-weight: bold;
    /*color: #996E3B;*/
}

.p1-subvalue[b-fttakx1f03] {
    text-align: right;
    font-size: 12px;
    font-weight: normal;
    /*color: #996E3B;*/
}

.p2-value[b-fttakx1f03] {
    text-align: left;
    font-size: 15px;
    font-weight: bold;
    /*color: #ebe319;*/
}

.p2-subvalue[b-fttakx1f03] {
    text-align: left;
    font-size: 12px;
    font-weight: normal;
    /*color: #ebe319;*/
}


.stat-name[b-fttakx1f03] {
    text-align: center;
    font-weight: 600;
    color: #444;
    letter-spacing: .4px;
}
.stat-name-sub[b-fttakx1f03] {
    text-align: center;
    font-weight: 500;
    font-size: 12px;
    color: #444;
    letter-spacing: .4px;
}

.bars[b-fttakx1f03] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 8px;
    align-items: center;
}

/* Background bars */
.bar[b-fttakx1f03] {
    height: 10px;
    background: #e4e7eb;
    border-radius: 20px;
    overflow: hidden;
}

    /* LEFT BAR - grows from center toward left */
    .bar.left[b-fttakx1f03] {
        display: flex;
        justify-content: flex-end;
    }

    /* RIGHT BAR - grows from center toward right */
    .bar.right[b-fttakx1f03] {
        display: flex;
        justify-content: flex-start;
    }

/* Filled portion */
.fill[b-fttakx1f03] {
    height: 100%;
    transition: width .6s ease;
}

    /* Player 1 */
    .fill.p1[b-fttakx1f03] {
        background: #996E3B; /* linear-gradient(90deg,#42a5f5,#1565c0); */
    }

    /* Player 2 */
    .fill.p2[b-fttakx1f03] {
        background: #ebe319 /* linear-gradient(90deg,#66bb6a,#2e7d32); */
    }
/* /Components/ScoreBoard.razor.rz.scp.css */
.pointtitle[b-1y88s5yudh] {
    font-size: 8px;
}

.ball[b-1y88s5yudh] {
    width: 18px;
    height: 18px;
    margin-right: 4px;
}

.scoreboard[b-1y88s5yudh] {
    border-spacing: 0;
    background: rgba(110,179,94,0.84);
    border-radius: 12px;
    border: 1px solid rgba(20,24,36,0.06);
    margin: 0 auto;
    padding: 10px;
    border-collapse: separate;
}
.scoreboard tbody td:first-child[b-1y88s5yudh],
.scoreboard thead th:first-child[b-1y88s5yudh] {
    text-align: left;
    min-width: 200px;
}

/* Center the scoreboard horizontally and give it breathing room */
/*.scoreboard-wrapper {
    display: flex;*/
    /*justify-content: center;*/
    /*padding: 1.25rem 1rem;
}*/

/* Main table styling: fixed layout for even column spacing and a modern card look */
/*.scoreboard {
    width: 100%;
    max-width: 800px;*/ /* keeps it readable on large screens */
    /*table-layout: fixed;*/ /* allows column widths to be enforced */
    /*border-collapse: separate;
    border-spacing: 0;
    background-color: #ffffff20;
    border-radius: 12px;
    overflow: hidden;*/ /* ensure rounded corners clip the rows */
    /*box-shadow: 0 8px 20px rgba(20, 24, 36, 0.08);
    border: 1px solid rgba(20,24,36,0.06);
    margin: 0 auto;
    padding: 10px;
}*/

    /* Header row styling */
    /*.scoreboard thead th {
        background: linear-gradient(180deg, #f7fafc, #eef2f7);
        color: #111827;
        font-weight: 600;
        text-align: right;
        font-size: 0.95rem;
        padding: 0.9rem 0.75rem;
        border-bottom: 1px solid rgba(20,24,36,0.06);
    }*/

        /* Give the first column more space for player/team names */
        /*.scoreboard tbody td:first-child,
        .scoreboard thead th:first-child {
            text-align: left;
            padding-left: 1.25rem;
            width: 50%;*/ /* larger portion reserved for names */
            /*min-width: 300px;
        }*/

        /* Make remaining columns even and centered */
        /*.scoreboard tbody td:not(:first-child),
        .scoreboard thead th:not(:first-child) {
            text-align: right;
            padding: 0.85rem 0.6rem;
            width: 40px;*/ /* evenly distribute remaining space (adjust 5 to number of cols) */
        /*}*/

    /* Row styling and zebra effect */
    /*.scoreboard tbody tr {
        border-bottom: 1px solid rgba(20,24,36,0.04);
        background: #fff;
    }

        .scoreboard tbody tr:nth-child(even) {
            background: rgba(15, 23, 42, 0.02);
        }*/

    /* Cell typography */
    /*.scoreboard tbody td {
        font-size: 0.95rem;
        padding: 0.75rem 0.6rem;
        vertical-align: middle;
        color: #0f172a;
    }*/

/* Highlight the score cells slightly for better readability */
/*.scoreboard tbody td.score,
.scoreboard thead th.score {
  font-weight: 600;
  color: #0b5cff;
}*/
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-7zbev9kyui] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-7zbev9kyui] {
    flex: 1;
}

.sidebar[b-7zbev9kyui] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-7zbev9kyui] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

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

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

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

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

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

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

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

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

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

    .top-row[b-7zbev9kyui], article[b-7zbev9kyui] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-bmt72ehhcs] {
    background-color: rgba(255, 255, 255, 0.1);
}

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

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

.bi[b-bmt72ehhcs] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-bmt72ehhcs] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-bmt72ehhcs] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-bmt72ehhcs] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

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

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

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

    .nav-item[b-bmt72ehhcs]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

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

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

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

    .collapse[b-bmt72ehhcs] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-bmt72ehhcs] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Home.razor.rz.scp.css */
/* Let the page grow with its content while keeping the site's global background visible. */
.home-page[b-cr7eehjjwd] {
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100svh;
    width: 100%;
    padding: clamp(1rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #172033;
    background: transparent;
}

.home-header[b-cr7eehjjwd] {
    width: min(100%, 1080px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto clamp(2rem, 6vh, 4rem);
}

.home-brand[b-cr7eehjjwd] {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: inherit;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 750;
    letter-spacing: -.025em;
}

.home-brand img[b-cr7eehjjwd] {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
}
td[b-cr7eehjjwd] {
    vertical-align: top;
}
.qr-panel[b-cr7eehjjwd] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .8rem;
    margin-top: .25rem;
    padding: 1.1rem;
    border: 1px solid #e7ebf0;
    border-radius: 20px;
    background: #fff;
}

.qr-code[b-cr7eehjjwd] {
    display: block;
    width: clamp(190px, 48vw, 270px);
    height: auto;
    max-width: 100%;
    object-fit: contain;
    image-rendering: pixelated;
}
/* /Pages/Match.razor.rz.scp.css */
/* CSS for Match component */
.match-page[b-yqinkqi46z] {
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100svh;
    width: 100%;
    background: transparent;
}
