/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-npmw9xdcr5] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-npmw9xdcr5] {
    flex: 1;
}

.sidebar[b-npmw9xdcr5] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-npmw9xdcr5] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-npmw9xdcr5]  a, .top-row[b-npmw9xdcr5]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-npmw9xdcr5]  a:hover, .top-row[b-npmw9xdcr5]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-npmw9xdcr5]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-npmw9xdcr5] {
        justify-content: space-between;
    }

    .top-row[b-npmw9xdcr5]  a, .top-row[b-npmw9xdcr5]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-npmw9xdcr5] {
        flex-direction: row;
    }

    .sidebar[b-npmw9xdcr5] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-npmw9xdcr5] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-npmw9xdcr5]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-npmw9xdcr5], article[b-npmw9xdcr5] {
    }
}
/* /Pages/Roulette.razor.rz.scp.css */
/* =========================================================
   THEME VARIABLES (ALTIJD BOVENAAN)
========================================================= */

:root[b-fqyd7xf3u9] {
    --wheel-gold: #c9a44c;
    --wheel-border: #1a1a1a;
    --num-black: #111;
    --num-red: #b11226;
    --zero-green: #1b7a3a;
    --text-main: #111;
    --text-dim: rgba(0,0,0,.6);
    --panel-bg: #f8f9fa;
    --panel-border: rgba(0,0,0,.08);
    --table-bg: #1f7a4a;
}

.svg-vars[b-fqyd7xf3u9] {
    --wheel-gold: #c9a44c;
    --wheel-border: #1a1a1a;
    --num-black: #111;
    --num-red: #b11226;
    --zero-green: #1b7a3a;
    --text-main: #111;
    --text-dim: rgba(0,0,0,.6);
    --panel-bg: #f8f9fa;
    --panel-border: rgba(0,0,0,.08);
    --table-bg: #1f7a4a;
}

/* =========================================================
   LAYOUT
========================================================= */


.roulette-table[b-fqyd7xf3u9] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 20px;
}

    .roulette-table > :not(caption) > * > *[b-fqyd7xf3u9] {
        padding: .5rem .5rem;
        border-bottom-width: 1px;
        background-color: #f8f9fa !important;
    }

.top[b-fqyd7xf3u9] {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 16px;
}

.bottom[b-fqyd7xf3u9] {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 16px;
}

.layout[b-fqyd7xf3u9] {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 18px;
    align-items: start;
}

@media (max-width: 980px) {
    .layout[b-fqyd7xf3u9] {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   PLAYERS / TOPBAR
========================================================= */

.topbar[b-fqyd7xf3u9] {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.players[b-fqyd7xf3u9] {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}


.player[b-fqyd7xf3u9] {
    padding: 10px 14px;
    border-radius: 10px;
    background: #eee;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease;
}

    .player:hover[b-fqyd7xf3u9] {
        transform: translateY(-1px);
        box-shadow: 0 6px 14px rgba(0,0,0,.35);
    }

    .player.active[b-fqyd7xf3u9] {
        outline: 2px solid #c9a44c;
        background: #aeaeae;
    }

    .player.locked[b-fqyd7xf3u9] {
        opacity: .6;
        cursor: not-allowed;
    }

    .player .name[b-fqyd7xf3u9] {
        font-weight: 600;
    }

    .player .money[b-fqyd7xf3u9] {
        font-size: .9rem;
        opacity: .85;
    }

/* =========================================================
   ROULETTE
========================================================= */

.roulette-wrap[b-fqyd7xf3u9] {
    position: relative;
    width: 300px;
    height: 300px;
    margin: auto;
}

.roulette-wheel[b-fqyd7xf3u9],
.wheel img[b-fqyd7xf3u9] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
}

.spin-actions[b-fqyd7xf3u9] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
}


.spin-button[b-fqyd7xf3u9] {
    position: absolute;
    inset: 50%;
    transform: translate(-50%, -50%);
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #e53935, #9b1c1c);
    border: 3px solid #f2f2f2;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,.5), inset 0 2px 3px rgba(255,255,255,.2);
}

    .spin-button:disabled[b-fqyd7xf3u9] {
        opacity: .5;
        cursor: not-allowed;
    }

/* nieuwe ronde knop: rustiger, groen */
.newround-button[b-fqyd7xf3u9] {
    position: absolute;
    inset: 50%;
    transform: translate(-50%, -50%);
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #2fa36b, #1b7a3a);
    border: 3px solid #f2f2f2;
    color: white;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .5px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,.5), inset 0 2px 3px rgba(255,255,255,.2);
}
/*
    .newround-button:hover {
        transform: scale(1.05);
    }*/

.pointer[b-fqyd7xf3u9] {
    position: absolute;
    top: 99%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 26px solid #f2f2f2;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,.35));
}



/* =========================================================
   MAT & SVG
========================================================= */

.mat[b-fqyd7xf3u9] {
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 14px;
    padding: 14px;
}

.mat-wrapper[b-fqyd7xf3u9] {
    position: relative;
}

.mat-svg[b-fqyd7xf3u9] {
    width: 100%;
    display: block;
    border-radius: 14px;
}

.hs[b-fqyd7xf3u9] {
    fill: transparent;
    cursor: pointer;
}

/* =========================================================
   CHIPS
========================================================= */

.chips-overlay[b-fqyd7xf3u9] {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.chip-selector[b-fqyd7xf3u9] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chips[b-fqyd7xf3u9] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

.chip[b-fqyd7xf3u9] {
    position: absolute;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0,0,0,.45), inset 0 0 0 2px rgba(255,255,255,.35);
    transition: top 120ms ease-out, left 120ms ease-out;
}

    .chip[b-fqyd7xf3u9]::before {
        content: "";
        position: absolute;
        inset: 5px;
        border-radius: 50%;
        background: rgba(255,255,255,.25);
    }

    .chip[b-fqyd7xf3u9]::after {
        content: "";
        position: absolute;
        inset: 10px;
        border-radius: 50%;
        background: rgba(0,0,0,.15);
    }

/* chip colors */
.chip-1[b-fqyd7xf3u9] {
    background: #f2f2f2;
    color: #111;
}

.chip-5[b-fqyd7xf3u9] {
    background: #d32f2f;
    color: #fff;
}

.chip-10[b-fqyd7xf3u9] {
    background: #1976d2;
    color: #fff;
}

.chip-25[b-fqyd7xf3u9] {
    background: #2e7d32;
    color: #fff;
}

.chip-50[b-fqyd7xf3u9] {
    background: #6a1b9a;
    color: #fff;
}

.chip-100[b-fqyd7xf3u9] {
    background: #212121;
    color: #fff;
}

.chip-btn[b-fqyd7xf3u9] {
    position: relative !important;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    /*margin-right: 6px;*/
    cursor: pointer;
}

    .chip-btn:disabled[b-fqyd7xf3u9] {
        opacity: .4;
        cursor: not-allowed;
    }

    .chip-btn.selected[b-fqyd7xf3u9] {
        transform: translateY(-2px) scale(1.08);
        box-shadow: 0 0 0 2px #fff, /* witte ring */
        0 0 0 5px #000, /* zwarte ring */
        0 8px 14px rgba(0,0,0,.6);
    }

    .chip-btn:not(:disabled):hover[b-fqyd7xf3u9] {
        transform: scale(1.08);
    }





.chip-1[b-fqyd7xf3u9] {
    background: #f2f2f2;
    color: #111;
}

.chip-5[b-fqyd7xf3u9] {
    background: #d32f2f;
    color: #fff;
}

.chip-10[b-fqyd7xf3u9] {
    background: #1976d2;
    color: #fff;
}

.chip-25[b-fqyd7xf3u9] {
    background: #2e7d32;
    color: #fff;
}

.chip-50[b-fqyd7xf3u9] {
    background: #6a1b9a;
    color: #fff;
}

.chip-100[b-fqyd7xf3u9] {
    background: #212121;
    color: #fff;
}

.chip-500[b-fqyd7xf3u9],
.chip-1000[b-fqyd7xf3u9] {
    background: linear-gradient(135deg, #d4af37, #b8962e);
    color: #111;
}

/* =========================================================
   HISTORY
========================================================= */

.history-items[b-fqyd7xf3u9] {
    display: flex;
    /*flex-wrap: wrap;*/
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap; /* ⛔ nooit naar volgende lijn */
    overflow-x: hidden; /* ⛔ verberg wat buiten valt */
    overflow-y: hidden;
    white-space: nowrap; /* extra zekerheid */
    height: 50px;
    padding-left: 8px;
    justify-content: flex-start;
    mask-image: linear-gradient( to right, black 0%, black 80%, transparent 100% );
}

.history[b-fqyd7xf3u9] {
    margin-top: 14px;
    max-width: 300px;
}

.history-header[b-fqyd7xf3u9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}


.pill[b-fqyd7xf3u9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform .25s ease, opacity .25s ease;
}

    .pill.red[b-fqyd7xf3u9] {
        background:  #b11226;
        color: #fff;
    }

    .pill.black[b-fqyd7xf3u9] {
        background: #111;
        color: #fff;
    }

    .pill.green[b-fqyd7xf3u9] {
        background: #1b7a3a;
        color: #fff;
    }


    .pill.latest[b-fqyd7xf3u9] {
        transform: scale(1.35);
        margin-right: 6px;
        z-index: 2;
        /*margin-left: auto;*/
        animation: popIn 220ms ease-out;
    }




/* =========================================================
   BET PANEL
========================================================= */

.bets-panel[b-fqyd7xf3u9] {
    /*margin-top: 12px;*/
    /*padding: 12px 14px;*/
    background: #f8f9fa;
    /*border-radius: 12px;
    border: 1px solid rgba(0,0,0,.08);*/
}


.bet-row[b-fqyd7xf3u9] {
    display: grid;
    grid-template-columns: 1fr auto 28px;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-soft);
}



.bet-remove[b-fqyd7xf3u9] {
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    color: rgba(0,0,0,.6);
    cursor: pointer;
    font-size: 14px;
}

    .bet-remove:hover[b-fqyd7xf3u9] {
        color: var(--roulette-red);
    }



.bet-remove[b-fqyd7xf3u9] {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(0,0,0,.6);
}

    .bet-remove:hover[b-fqyd7xf3u9] {
        color:  #b11226;
    }

.muted[b-fqyd7xf3u9] {
    opacity: .65;
}


.bets-total[b-fqyd7xf3u9] {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px dashed rgba(0,0,0,.2);
    font-weight: 700;
}


.bets-list[b-fqyd7xf3u9] {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .bets-list li[b-fqyd7xf3u9] {
        padding: 4px 0;
        font-weight: 600;
        opacity: 0.9;
    }


.bet-name[b-fqyd7xf3u9] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bet-amount[b-fqyd7xf3u9] {
    font-variant-numeric: tabular-nums;
    min-width: 60px;
    text-align: right;
}







.toast[b-fqyd7xf3u9] {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff3cd;
    border: 1px solid #ffecb5;
}





/* - - - - - - - - - - - - -
    SVG Vars
   - - - - - - - - - - - - - */
.svg-vars[b-fqyd7xf3u9] {
    --wheel-gold: #c9a44c;
    --wheel-border: #1a1a1a;
    --num-black: #1a1a1a;

    --num-red: #b11226;

    --slot-green: #0b5d1e;
    --zero-green: #2fa36b;

    --slot-text: #f2f2f2;
    --cell-border: #f2f2f2;
    --num-text: #f2f2f2;

    --table-bg: #1f7a4a;
}
/* /Pages/RouletteOld.razor.rz.scp.css */
/*.roulette-wrap {
    position: relative;
    width: 420px;
    height: 420px;
    margin: 16px 0;
}

.wheel {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    display: grid;
    place-items: center;
}

    .wheel img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;*/ /* belangrijk */
/*user-select: none;
        pointer-events: none;
    }

.pointer {
    position: absolute;*/
/*top: -6px;*/
/*top: 99%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 26px solid #f2f2f2;
}


.ball-orbit {
    position: absolute;
    inset: 0;
    pointer-events: none;
    transform-origin: 50% 50%;
}

.ball {
    display:none;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #fff, #cfcfcf 55%, #8a8a8a);
    box-shadow: 0 2px 4px rgba(0,0,0,.45);
    transform: translate(-50%, -50%) translateY(-165px);*/ /* radius van de ring */
/*}


.history {
    margin-top: 14px;
    max-width: 520px;
}

.history-header {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 8px;
}

.history-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform .25s ease, opacity .25s ease;
}*/

/* meest recente */
/*.pill.latest {
        transform: scale(1.35);
        margin-right: 6px;
        z-index: 2;
    }*/

/* oudere worden subtiel kleiner */
/*.history-items .pill:not(.latest) {
    transform: scale(0.95);
    opacity: 0.85;
}*/

/* kleur */
/*.pill.red {
    background: #b0121b;
    color: #fff;
}

.pill.black {
    background: #111;
    color: #fff;
}

.pill.green {
    background: #1b7a3a;
    color: #fff;
}

@keyframes popIn {
    0% {
        transform: scale(0.6);
    }

    70% {
        transform: scale(1.45);
    }

    100% {
        transform: scale(1.35);
    }
}

.pill.latest {
    animation: popIn 220ms ease-out;
}*/








.topbar[b-cy58roe80g] {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.players[b-cy58roe80g] {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.player[b-cy58roe80g] {
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 12px;
    padding: 10px 12px;
    min-width: 160px;
}

    .player.active[b-cy58roe80g] {
        outline: 3px solid rgba(25,135,84,.35);
    }

    .player .name[b-cy58roe80g] {
        font-weight: 800;
    }

    .player .net[b-cy58roe80g] {
        opacity: .85;
    }

.phase[b-cy58roe80g] {
    flex: 1;
    min-width: 280px;
}

.chips[b-cy58roe80g] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

.actions[b-cy58roe80g] {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.layout[b-cy58roe80g] {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 18px;
    align-items: start;
}

@media (max-width: 980px) {
    .layout[b-cy58roe80g] {
        grid-template-columns: 1fr;
    }
}

/* roulette visuals (zoals eerder) */
.roulette-wrap[b-cy58roe80g] {
    position: relative;
    width: 420px;
    height: 420px;
    margin: 16px 0;
}

.wheel[b-cy58roe80g] {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    display: grid;
    place-items: center;
}

    .wheel img[b-cy58roe80g] {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        user-select: none;
        pointer-events: none;
    }

.pointer[b-cy58roe80g] {
    position: absolute;
    top: 99%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 26px solid #f2f2f2;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,.35));
}

.mat[b-cy58roe80g] {
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 14px;
    padding: 14px;
}

.outside[b-cy58roe80g] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0;
}

.betbtn[b-cy58roe80g] {
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 12px;
    padding: 12px 10px;
    background: #f8f9fa;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .betbtn:hover[b-cy58roe80g] {
        background: #eef2f5;
    }

.amt[b-cy58roe80g] {
    font-weight: 900;
    opacity: .75;
    margin-left: 10px;
}

.numbers[b-cy58roe80g] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .numbers .grid[b-cy58roe80g] {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 6px;
    }

.num[b-cy58roe80g] {
    border: 1px solid rgba(0,0,0,.25);
    border-radius: 10px;
    padding: 10px 6px;
    font-weight: 900;
    background: #fff;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .num.red[b-cy58roe80g] {
        background: #b0121b;
        color: #fff;
        border-color: rgba(0,0,0,.2);
    }

    .num.black[b-cy58roe80g] {
        background: #111;
        color: #fff;
        border-color: rgba(255,255,255,.12);
    }

    .num.zero[b-cy58roe80g] {
        background: #1b7a3a;
        color: #fff;
        width: 120px;
    }

.bets ul[b-cy58roe80g] {
    margin: 8px 0 0 18px;
}

.toast[b-cy58roe80g] {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff3cd;
    border: 1px solid #ffecb5;
}

/* history pills (zoals je vroeg) */
.history[b-cy58roe80g] {
    margin-top: 14px;
    max-width: 520px;
}

.history-header[b-cy58roe80g] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.history-items[b-cy58roe80g] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.pill[b-cy58roe80g] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform .25s ease, opacity .25s ease;
}

    .pill.latest[b-cy58roe80g] {
        transform: scale(1.35);
        margin-right: 6px;
        z-index: 2;
    }

.history-items .pill:not(.latest)[b-cy58roe80g] {
    transform: scale(.95);
    opacity: .85;
}

.pill.red[b-cy58roe80g] {
    background: #b0121b;
    color: #fff;
}

.pill.black[b-cy58roe80g] {
    background: #111;
    color: #fff;
}

.pill.green[b-cy58roe80g] {
    background: #1b7a3a;
    color: #fff;
}

@keyframes popIn-b-cy58roe80g {
    0% {
        transform: scale(0.6);
    }

    70% {
        transform: scale(1.45);
    }

    100% {
        transform: scale(1.35);
    }
}

.pill.latest[b-cy58roe80g] {
    animation: popIn-b-cy58roe80g 220ms ease-out;
}

.muted[b-cy58roe80g] {
    opacity: .7;
}
