@import '_content/SportsTrakLib/SportsTrakLib.r6z746a4oq.bundle.scp.css';
@import '_content/TAC.Blazor/TAC.Blazor.12x7tol0dz.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-nglvrwhzi4] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-nglvrwhzi4] {
    flex: 1;
}

.sidebar[b-nglvrwhzi4] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-nglvrwhzi4] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-nglvrwhzi4]  a, .top-row[b-nglvrwhzi4]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-nglvrwhzi4]  a:hover, .top-row[b-nglvrwhzi4]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-nglvrwhzi4]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-nglvrwhzi4] {
        justify-content: space-between;
    }

    .top-row[b-nglvrwhzi4]  a, .top-row[b-nglvrwhzi4]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-nglvrwhzi4] {
        flex-direction: row;
    }

    .sidebar[b-nglvrwhzi4] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-nglvrwhzi4] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-nglvrwhzi4]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-nglvrwhzi4], article[b-nglvrwhzi4] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-nglvrwhzi4] {
    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-nglvrwhzi4] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Pages/VolleyballPlayerSwapPage.razor.rz.scp.css */
.player-swap-container[b-zpga3tfqob] {
    padding: 10px;
    background-color: #EDEEEC;
    min-height: 100%;
}

.swap-loading[b-zpga3tfqob] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

/* Section headers */
.section-header[b-zpga3tfqob] {
    font-weight: bold;
    font-size: 1.1rem;
    margin: 10px 0 5px 0;
    padding: 0 5px;
}

/* Player grid - 6 columns for volleyball */
.player-grid[b-zpga3tfqob] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

/* Base card styling */
.player-card[b-zpga3tfqob] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px;
    min-height: 90px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    gap: 4px;
    box-sizing: border-box;
    user-select: none;
}

/* Home team - green border */
.home-card[b-zpga3tfqob] {
    border-color: green;
}

.home-card.playing[b-zpga3tfqob] {
    border-width: 4px;
}

/* Opponent team - red border */
.opponent-card[b-zpga3tfqob] {
    border-color: red;
}

.opponent-card.playing[b-zpga3tfqob] {
    border-width: 4px;
}

/* Player number badge */
.player-number[b-zpga3tfqob] {
    background-color: #FEFFFF;
    color: black;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-align: center;
}

/* Opponent number badge - dark background */
.opponent-number[b-zpga3tfqob] {
    background-color: #575757;
    color: #FCFAFA;
}

/* Player name */
.player-name[b-zpga3tfqob] {
    font-size: 15px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Header buttons */
.swap-header-btn[b-zpga3tfqob] {
    padding: 6px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 8px;
}

.done-btn[b-zpga3tfqob] {
    background-color: #4CAF50;
    color: white;
}

.done-btn:disabled[b-zpga3tfqob] {
    opacity: 0.6;
    cursor: not-allowed;
}

.cancel-btn[b-zpga3tfqob] {
    background-color: #f44336;
    color: white;
}

/* Alert overlay */
.swap-alert-overlay[b-zpga3tfqob] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.swap-alert-dialog[b-zpga3tfqob] {
    background: white;
    border-radius: 8px;
    padding: 24px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.swap-alert-title[b-zpga3tfqob] {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.swap-alert-message[b-zpga3tfqob] {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #333;
}

.swap-alert-ok-btn[b-zpga3tfqob] {
    padding: 8px 32px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}
/* /Pages/VolleyballStatsPage.razor.rz.scp.css */
/* ── Page Layout ── */
.volleyball-stats-page[b-sz3riev027] {
    display: flex;
    height: 100vh;
    background-color: #5B8A5B;
    padding: 10px 0 0 0;
    overflow: hidden;
}

/* ── Sidebar ── */
.sidebar[b-sz3riev027] {
    width: 180px;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 4px;
}

.btn-back[b-sz3riev027] {
    background: none;
    border: none;
    cursor: pointer;
    align-self: flex-start;
    margin-left: 10px;
}

.btn-back img[b-sz3riev027] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.player-legend[b-sz3riev027] {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 4px;
}

.legend-home[b-sz3riev027],
.legend-visitor[b-sz3riev027] {
    width: 50px;
    font-size: 14px;
    padding: 6px 0;
    text-align: center;
    font-weight: bold;
}

.legend-home[b-sz3riev027] {
    background-color: #FCFAFA;
    color: black;
}

.legend-visitor[b-sz3riev027] {
    background-color: #575757;
    color: #FCFAFA;
}

.player-columns[b-sz3riev027] {
    flex: 1;
    display: flex;
    gap: 20px;
    justify-content: center;
    overflow-y: auto;
    min-height: 0;
}

.player-column[b-sz3riev027] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.player-btn[b-sz3riev027] {
    width: 50px;
    height: 50px;
    font-size: 24px;
    border: 2px solid green;
    cursor: pointer;
    padding: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-btn.selected[b-sz3riev027] {
    border-width: 4px;
    border-color: #00cc00;
    font-weight: bold;
}

.home-player-btn[b-sz3riev027] {
    background-color: #FCFAFA;
    color: black;
}

.opponent-player-btn[b-sz3riev027] {
    background-color: #575757;
    color: #FCFAFA;
}


.btn-swap[b-sz3riev027] {
    margin: 8px 0;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.5;
}

.btn-swap img[b-sz3riev027] {
    width: 60px;
    height: 60px;
}

/* ── Main Content ── */
.main-content[b-sz3riev027] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 0 10px 10px 0;
    min-height: 0;
}

/* ── Scoreboard ── */
.scoreboard-row[b-sz3riev027] {
    display: flex;
    align-items: stretch;
    gap: 10px;
    max-width: 90%;
    margin: 0 auto;
}

.score-panel[b-sz3riev027] {
    flex: 0.2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.score-label[b-sz3riev027] {
    font-weight: bold;
    font-size: 16px;
    color: black;
    text-align: center;
    margin-bottom: 2px;
}

.score-display[b-sz3riev027] {
    background-color: black;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.score-value[b-sz3riev027] {
    color: white;
    font-family: 'Courier New', monospace;
    font-size: clamp(20px, 4vw, 60px);
    font-weight: bold;
}

.btn-visitor-plus[b-sz3riev027] {
    margin-top: 4px;
    width: 50px;
    height: 30px;
    border: none;
    border-radius: 4px;
    background-color: #4caf50;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
}

/* ── Set Center ── */
.set-center[b-sz3riev027] {
    flex: 0.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 4px;
}

.set-indicator[b-sz3riev027] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.set-label[b-sz3riev027] {
    font-weight: bold;
    font-size: 16px;
}

.set-indicator select[b-sz3riev027] {
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: AliceBlue;
    font-size: 14px;
}

/* ── Score with Serve Icon ── */
.score-with-icon[b-sz3riev027] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.serve-icon-btn[b-sz3riev027] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 30px;
    padding: 0;
    line-height: 1;
    color: white;
    filter: grayscale(100%) brightness(2);
    transition: filter 0.15s ease, color 0.15s ease;
}

.serve-icon-btn.serving[b-sz3riev027] {
    color: #156d0e;
    filter: none;
}

.set-scores[b-sz3riev027] {
    font-weight: bold;
    font-size: 16px;
    color: black;
}

/* ── Game Actions Grid (2 columns x 4 rows) ── */
.game-actions-section[b-sz3riev027] {
    padding: 10px;
}


.game-actions-grid[b-sz3riev027] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.action-btn[b-sz3riev027] {
    min-height: 70px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding: 8px;
    word-wrap: break-word;
    border-radius: 4px;
}

.action-btn:hover[b-sz3riev027] {
    opacity: 0.85;
}

/* ── Play by Play ── */
.play-by-play-section[b-sz3riev027] {
    background-color: white;
    padding: 5px;
    display: flex;
    flex-direction: column;
}

.play-by-play-header[b-sz3riev027] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
}

.btn-undo[b-sz3riev027] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background-color: #f44336;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-by-play-title[b-sz3riev027] {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    flex: 1;
}

.play-by-play-list[b-sz3riev027] {
    overflow-y: auto;
    background-color: lightgray;
    margin: 4px 10px;
    max-height: 200px;
}

.play-item[b-sz3riev027] {
    padding: 4px 8px;
    font-size: 14px;
    color: black;
    cursor: pointer;
    height: 30px;
    display: flex;
    align-items: center;
}

.play-item.selected[b-sz3riev027] {
    background-color: #bbdefb;
}

.play-item:hover[b-sz3riev027] {
    background-color: #e0e0e0;
}

/* ── Popup Overlay ── */
.popup-overlay[b-sz3riev027] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.popup-dialog[b-sz3riev027] {
    background: white;
    border-radius: 8px;
    padding: 20px;
    min-width: 280px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popup-title[b-sz3riev027] {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.popup-btn[b-sz3riev027] {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    background-color: #e0e0e0;
}

.popup-btn:hover[b-sz3riev027] {
    opacity: 0.85;
}

.popup-btn-score[b-sz3riev027] {
    background-color: #4caf50;
    color: white;
}

.popup-btn-error[b-sz3riev027] {
    background-color: #f44336;
    color: white;
}

.popup-player-btn[b-sz3riev027] {
    background-color: #e3f2fd;
    text-align: left;
}

.alert-body[b-sz3riev027] {
    font-size: 14px;
    margin-bottom: 8px;
}

/* ── Final Chip ── */
.final-chip-container[b-sz3riev027] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
}

.btn-final[b-sz3riev027] {
    padding: 6px 16px;
    border: 2px solid transparent;
    border-radius: 20px;
    background-color: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.btn-final.finalized[b-sz3riev027] {
    background-color: #FF6212;
    border: 2px solid black;
    color: white;
    cursor: default;
}

.final-confirm-buttons[b-sz3riev027] {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* ── Set Final Toast ── */
.set-final-toast[b-sz3riev027] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 33%;
    background-color: #EAECEA;
    color: black;
    font-weight: bold;
    font-size: 20px;
    border: 2px solid black;
    padding: 30px 20px;
    text-align: center;
    z-index: 2000;
}

/* ── Busy Indicator ── */
.trak-busy-overlay[b-sz3riev027] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
