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

.yquiz-header[b-5jhk7mjtx4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #081016;
    border-bottom: 2px solid #1a2936;
}

.user-info[b-5jhk7mjtx4] {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-family: 'Nunito', sans-serif;
}

.btn-logout[b-5jhk7mjtx4] {
    background-color: #ff4b4b;
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}

.btn-logout:hover[b-5jhk7mjtx4] {
    background-color: #d63d3d;
}

.login-container[b-5jhk7mjtx4] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #081016;
    color: white;
    font-family: 'Nunito', sans-serif;
}

.login-box[b-5jhk7mjtx4] {
    background: #131f2d;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: popIn-b-5jhk7mjtx4 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn-b-5jhk7mjtx4 {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.login-icon[b-5jhk7mjtx4] {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.login-box h1[b-5jhk7mjtx4] {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #58cc02;
}

.login-box p[b-5jhk7mjtx4] {
    color: #a0a0b5;
    margin-bottom: 2rem;
}

.input-group input[b-5jhk7mjtx4] {
    width: 100%;
    padding: 15px;
    border-radius: 16px;
    border: 2px solid #2a3a4a;
    background: #081016;
    color: white;
    font-size: 1.1rem;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.input-group input:focus[b-5jhk7mjtx4] {
    border-color: #58cc02;
}

.btn-play[b-5jhk7mjtx4] {
    margin-top: 1.5rem;
    width: 100%;
    padding: 15px;
    border-radius: 16px;
    background: #58cc02;
    color: white;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.1s, background-color 0.2s;
}

.btn-play:hover:not(:disabled)[b-5jhk7mjtx4] {
    background: #4caf00;
    transform: translateY(-2px);
}

.btn-play:disabled[b-5jhk7mjtx4] {
    background: #2a3a4a;
    color: #5a6a7a;
    cursor: not-allowed;
    transform: none;
}

.bubble[b-5jhk7mjtx4] {
    display: inline-block;
    background-color: #58cc02;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-family: 'Nunito', sans-serif;
    font-size: 1.2em;
    text-decoration: none;
}

.header-left[b-5jhk7mjtx4] {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-nav[b-5jhk7mjtx4] {
    display: flex;
    gap: 15px;
}

.top-nav .nav-item[b-5jhk7mjtx4] {
    color: #a0a0b5;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Nunito', sans-serif;
    transition: color 0.2s;
    font-size: 1rem;
}

.top-nav .nav-item:hover[b-5jhk7mjtx4] {
    color: white;
}

.main-content[b-5jhk7mjtx4] {
    flex: 1;
    background: #081016;
    color: #f8fafc;
    padding: 0;
    overflow: hidden;
}



#blazor-error-ui[b-5jhk7mjtx4] {
    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-5jhk7mjtx4] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-6queqelbv6],
.components-reconnect-repeated-attempt-visible[b-6queqelbv6],
.components-reconnect-failed-visible[b-6queqelbv6],
.components-pause-visible[b-6queqelbv6],
.components-resume-failed-visible[b-6queqelbv6],
.components-rejoining-animation[b-6queqelbv6] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-6queqelbv6],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-6queqelbv6],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-6queqelbv6],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-6queqelbv6],
#components-reconnect-modal.components-reconnect-retrying[b-6queqelbv6],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-6queqelbv6],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-6queqelbv6],
#components-reconnect-modal.components-reconnect-failed[b-6queqelbv6],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-6queqelbv6] {
    display: block;
}


#components-reconnect-modal[b-6queqelbv6] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-6queqelbv6 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-6queqelbv6 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-6queqelbv6 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-6queqelbv6]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-6queqelbv6 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-6queqelbv6 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-6queqelbv6 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-6queqelbv6 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-6queqelbv6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-6queqelbv6] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-6queqelbv6] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-6queqelbv6] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-6queqelbv6] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-6queqelbv6] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-6queqelbv6] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-6queqelbv6 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-6queqelbv6] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-6queqelbv6 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Lobby.razor.rz.scp.css */
.lobby-container[b-0zgu8gzass] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 480px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.lobby-card[b-0zgu8gzass] {
    background: #0d1b2a;
    border: 1px solid #1a2a3a;
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lobby-card h4[b-0zgu8gzass] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #d0e0f0;
}

.code-input[b-0zgu8gzass] {
    background: #060e16;
    border: 2px solid #1a2a3a;
    border-radius: 10px;
    padding: 0.7rem 1rem;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-align: center;
    transition: border-color 0.2s;
    width: 100%;
}

.code-input:focus[b-0zgu8gzass] {
    outline: none;
    border-color: #58cc02;
}

.error-msg[b-0zgu8gzass] {
    color: #ff4b4b;
    font-size: 0.88rem;
    font-weight: 600;
}

/* ── Salle d'attente ── */
.waiting-room[b-0zgu8gzass] {
    max-width: 480px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}

.room-code-box[b-0zgu8gzass] {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #0d1b2a;
    border: 2px solid #58cc02;
    border-radius: 16px;
    padding: 1.25rem 2.5rem;
    gap: 0.25rem;
}

.room-code-box .label[b-0zgu8gzass] {
    font-size: 0.8rem;
    color: #6080a0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.room-code-box .code[b-0zgu8gzass] {
    font-size: 2.2rem;
    font-weight: 900;
    color: #58cc02;
    letter-spacing: 0.2em;
}

.host-label[b-0zgu8gzass] {
    color: #a0b0c0;
    font-size: 0.9rem;
    margin: 0;
}

.players-section[b-0zgu8gzass] {
    width: 100%;
    background: #0d1b2a;
    border: 1px solid #1a2a3a;
    border-radius: 14px;
    padding: 1rem 1.25rem;
}

.players-section h4[b-0zgu8gzass] {
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #6080a0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.players-list[b-0zgu8gzass] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.player-item[b-0zgu8gzass] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #d0e0f0;
    padding: 0.4rem 0;
}

.player-item.me[b-0zgu8gzass] { color: #58cc02; }

.player-dot[b-0zgu8gzass] {
    width: 8px;
    height: 8px;
    background: #4060a0;
    border-radius: 50%;
    flex-shrink: 0;
}

.player-item.me .player-dot[b-0zgu8gzass] { background: #58cc02; }

.host-badge[b-0zgu8gzass] {
    margin-left: auto;
    font-size: 0.72rem;
    background: rgba(88, 204, 2, 0.15);
    color: #58cc02;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
}

.hint[b-0zgu8gzass] {
    font-size: 0.85rem;
    color: #6080a0;
    margin: 0;
}

.waiting-text[b-0zgu8gzass] {
    color: #6080a0;
    font-size: 0.9rem;
    animation: pulse-b-0zgu8gzass 2s infinite;
}

/* ── Boutons ── */
.btn-lobby[b-0zgu8gzass] {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.15s ease;
    width: 100%;
}

.btn-lobby.primary[b-0zgu8gzass] { background: #1cb0f6; color: #fff; }
.btn-lobby.primary:hover[b-0zgu8gzass] { background: #0a9fe0; }

.btn-lobby.success[b-0zgu8gzass] { background: #58cc02; color: #fff; }
.btn-lobby.success:hover[b-0zgu8gzass] { background: #4ab500; }

.btn-lobby.danger[b-0zgu8gzass] { background: #ff4b4b; color: #fff; }
.btn-lobby.danger:hover:not(:disabled)[b-0zgu8gzass] { background: #e03030; }
.btn-lobby.danger:disabled[b-0zgu8gzass] { background: #3a1a1a; color: #6a3030; cursor: not-allowed; }

.btn-lobby.outline[b-0zgu8gzass] {
    background: transparent;
    border: 2px solid #2a3a4a;
    color: #6080a0;
}
.btn-lobby.outline:hover[b-0zgu8gzass] { border-color: #ff4b4b; color: #ff4b4b; }

@keyframes pulse-b-0zgu8gzass {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.5; }
}
/* /Components/Pages/MultiplayerGame.razor.rz.scp.css */
/* ── Layout utilitaire ── */
.mp-center[b-xe52u8d3u5] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    color: #a0b0c0;
}

/* ════════════════════════════════════════
   PHASE VOTE
════════════════════════════════════════ */
.vote-container[b-xe52u8d3u5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    min-height: calc(100vh - 80px);
}

.vote-header[b-xe52u8d3u5] {
    text-align: center;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 600px;
}

.vote-header h1[b-xe52u8d3u5] {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.vote-progress-bar[b-xe52u8d3u5] {
    height: 8px;
    background: #1a2a3a;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.vote-fill[b-xe52u8d3u5] {
    height: 100%;
    background: #58cc02;
    border-radius: 4px;
    transition: width 0.4s ease;
}

.vote-count-text[b-xe52u8d3u5] {
    font-size: 0.9rem;
    color: #6080a0;
}

.themes-grid[b-xe52u8d3u5] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    width: 100%;
    max-width: 560px;
    margin: 1rem 0 2rem;
}

.theme-card[b-xe52u8d3u5] {
    background: #0d1b2a;
    border: 2px solid #1a2a3a;
    border-radius: 16px;
    padding: 2rem 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #d0e0f0;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
}

.theme-card:hover:not(:disabled)[b-xe52u8d3u5] {
    border-color: #58cc02;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(88, 204, 2, 0.2);
}

.theme-card.voted[b-xe52u8d3u5] {
    border-color: #58cc02;
    background: rgba(88, 204, 2, 0.12);
    color: #fff;
}

.theme-card.not-voted[b-xe52u8d3u5] {
    opacity: 0.45;
    cursor: not-allowed;
}

.theme-card:disabled[b-xe52u8d3u5] {
    cursor: not-allowed;
}

.theme-icon[b-xe52u8d3u5] { font-size: 2.5rem; }

.theme-label[b-xe52u8d3u5] { font-size: 1.05rem; }

.theme-votes[b-xe52u8d3u5] {
    margin-top: 0.25rem;
    font-size: 0.8rem;
    background: rgba(88, 204, 2, 0.2);
    color: #58cc02;
    padding: 2px 10px;
    border-radius: 12px;
}

.loading-text[b-xe52u8d3u5], .waiting-text[b-xe52u8d3u5] {
    color: #6080a0;
    font-size: 0.95rem;
    margin-top: 1rem;
    animation: pulse-b-xe52u8d3u5 2s infinite;
}

/* ════════════════════════════════════════
   PHASE PLAYING — layout global
════════════════════════════════════════ */
.mp-game-layout[b-xe52u8d3u5] {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 80px);
}

/* ── Scoreboard live ── */
.live-scoreboard[b-xe52u8d3u5] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    background: #060e16;
    border-bottom: 2px solid #1a2a3a;
    overflow-x: auto;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.scoreboard-title[b-xe52u8d3u5] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #4060a0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    margin-right: 0.5rem;
}

.score-entry[b-xe52u8d3u5] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    background: #0d1b2a;
    border: 1px solid #1a2a3a;
    font-size: 0.82rem;
    color: #a0b0c0;
    white-space: nowrap;
    transition: border-color 0.3s;
}

.score-entry.me[b-xe52u8d3u5] {
    background: rgba(88, 204, 2, 0.1);
    border-color: #58cc02;
    color: #fff;
}

.score-entry.done[b-xe52u8d3u5] {
    opacity: 0.7;
}

.p-name[b-xe52u8d3u5] {
    font-weight: 700;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.p-score[b-xe52u8d3u5] {
    color: #58cc02;
    font-weight: 700;
}

.p-prog[b-xe52u8d3u5] {
    font-size: 0.72rem;
    color: #4060a0;
}

.p-done[b-xe52u8d3u5] { color: #58cc02; }

/* ── Attente fin de partie ── */
.waiting-others[b-xe52u8d3u5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
    padding: 2rem;
    color: #d0e0f0;
}

.waiting-icon[b-xe52u8d3u5] {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse-b-xe52u8d3u5 2s infinite;
}

.score-highlight[b-xe52u8d3u5] {
    color: #58cc02;
    font-size: 1.3rem;
}

.sub-text[b-xe52u8d3u5] {
    color: #6080a0;
    margin-top: 0.5rem;
}

/* ── Zone quiz ── */
.quiz-area[b-xe52u8d3u5] {
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}

.quiz-header[b-xe52u8d3u5] {
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #060e16;
}

.progress-bar-container[b-xe52u8d3u5] {
    flex: 1;
    height: 12px;
    background: #1a2a3a;
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill[b-xe52u8d3u5] {
    height: 100%;
    background: #58cc02;
    border-radius: 6px;
    transition: width 0.4s ease;
    position: relative;
    overflow: hidden;
}

.progress-highlight[b-xe52u8d3u5] {
    position: absolute;
    top: 2px;
    left: 8px;
    right: 8px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.question-counter[b-xe52u8d3u5] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #6080a0;
    white-space: nowrap;
}

.quiz-main[b-xe52u8d3u5] {
    flex: 1;
    padding: 1.5rem 1.5rem 160px;
    overflow-y: auto;
}

.question-section h1[b-xe52u8d3u5] {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
}

.options-grid[b-xe52u8d3u5] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 720px;
    margin: 0 auto;
}

.option-card[b-xe52u8d3u5] {
    background: #0d1b2a;
    border: 2px solid #1a2a3a;
    border-radius: 14px;
    padding: 1.1rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #d0e0f0;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
    transition: all 0.15s ease;
}

.option-card:hover:not(:disabled)[b-xe52u8d3u5] {
    border-color: #84d8ff;
    background: rgba(132, 216, 255, 0.08);
}

.option-number[b-xe52u8d3u5] {
    width: 28px;
    height: 28px;
    background: #1a2a3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
    color: #6080a0;
}

.option-card.option-selected[b-xe52u8d3u5] {
    border-color: #84d8ff;
    background: rgba(132, 216, 255, 0.12);
    color: #fff;
}

.option-card.option-selected .option-number[b-xe52u8d3u5] {
    background: #84d8ff;
    color: #060e16;
}

.option-card.option-correct[b-xe52u8d3u5] {
    border-color: #58cc02;
    background: rgba(88, 204, 2, 0.12);
    color: #fff;
}

.option-card.option-correct .option-number[b-xe52u8d3u5] {
    background: #58cc02;
    color: #060e16;
}

.option-card.option-incorrect[b-xe52u8d3u5] {
    border-color: #ff4b4b;
    background: rgba(255, 75, 75, 0.12);
    color: #fff;
}

.option-card.option-incorrect .option-number[b-xe52u8d3u5] {
    background: #ff4b4b;
    color: #fff;
}

.option-card.option-disabled[b-xe52u8d3u5] {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ── Footer quiz ── */
.quiz-footer[b-xe52u8d3u5] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0d1b2a;
    border-top: 2px solid #1a2a3a;
    padding: 1rem 1.5rem;
    z-index: 100;
    transition: background 0.3s, border-color 0.3s;
}

.quiz-footer.footer-correct[b-xe52u8d3u5] {
    background: rgba(88, 204, 2, 0.15);
    border-top-color: #58cc02;
}

.quiz-footer.footer-incorrect[b-xe52u8d3u5] {
    background: rgba(255, 75, 75, 0.15);
    border-top-color: #ff4b4b;
}

.footer-content[b-xe52u8d3u5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 720px;
    margin: 0 auto;
    gap: 1rem;
}

.footer-message h3[b-xe52u8d3u5] {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
}

.footer-message p[b-xe52u8d3u5] {
    margin: 0.2rem 0 0;
    font-size: 0.85rem;
    color: #a0b0c0;
}

.message-correct h3[b-xe52u8d3u5] { color: #58cc02; }
.message-incorrect h3[b-xe52u8d3u5] { color: #ff4b4b; }

.action-button[b-xe52u8d3u5] {
    padding: 0.75rem 2rem;
    border-radius: 14px;
    border: none;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.action-button.btn-disabled[b-xe52u8d3u5] {
    background: #1a2a3a;
    color: #4060a0;
    cursor: not-allowed;
}

.action-button.btn-active[b-xe52u8d3u5] {
    background: #1cb0f6;
    color: #fff;
}

.action-button.btn-active:hover[b-xe52u8d3u5] { background: #0a9fe0; }

.action-button.btn-correct[b-xe52u8d3u5] {
    background: #58cc02;
    color: #fff;
}

.action-button.btn-correct:hover[b-xe52u8d3u5] { background: #4ab500; }

.action-button.btn-incorrect[b-xe52u8d3u5] {
    background: #ff4b4b;
    color: #fff;
}

.action-button.btn-incorrect:hover[b-xe52u8d3u5] { background: #e03030; }

/* ════════════════════════════════════════
   PHASE FINISHED — résultats
════════════════════════════════════════ */
.results-container[b-xe52u8d3u5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    min-height: calc(100vh - 80px);
}

.results-header[b-xe52u8d3u5] {
    text-align: center;
    margin-bottom: 2rem;
}

.trophy[b-xe52u8d3u5] { font-size: 3.5rem; }

.results-header h1[b-xe52u8d3u5] {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0.5rem 0 0.25rem;
}

.theme-played[b-xe52u8d3u5] {
    color: #6080a0;
    font-size: 0.95rem;
}

.theme-played strong[b-xe52u8d3u5] { color: #a0c0e0; }

.podium[b-xe52u8d3u5] {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.result-row[b-xe52u8d3u5] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    background: #0d1b2a;
    border: 1px solid #1a2a3a;
    color: #d0e0f0;
    transition: transform 0.2s;
}

.result-row:hover[b-xe52u8d3u5] { transform: translateX(4px); }

.result-row.rank-1[b-xe52u8d3u5] { background: rgba(255, 215, 0, 0.1); border-color: gold; }
.result-row.rank-2[b-xe52u8d3u5] { background: rgba(192, 192, 192, 0.1); border-color: #aaa; }
.result-row.rank-3[b-xe52u8d3u5] { background: rgba(205, 127, 50, 0.1); border-color: #cd7f32; }

.result-row.me .result-name[b-xe52u8d3u5] { color: #58cc02; }

.rank-badge[b-xe52u8d3u5] {
    font-size: 1.4rem;
    min-width: 36px;
    text-align: center;
}

.result-name[b-xe52u8d3u5] {
    flex: 1;
    font-weight: 700;
    font-size: 1rem;
}

.result-score[b-xe52u8d3u5] {
    font-weight: 800;
    font-size: 1.05rem;
    color: #58cc02;
}

.btn-back[b-xe52u8d3u5] {
    padding: 0.8rem 2.5rem;
    background: #1cb0f6;
    color: #fff;
    border: none;
    border-radius: 14px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-back:hover[b-xe52u8d3u5] { background: #0a9fe0; }

/* ── Animations ── */
@keyframes pulse-b-xe52u8d3u5 {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.5; }
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .themes-grid[b-xe52u8d3u5] { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .options-grid[b-xe52u8d3u5] { grid-template-columns: 1fr; }
    .footer-content[b-xe52u8d3u5] { flex-direction: column; align-items: stretch; }
    .live-scoreboard[b-xe52u8d3u5] { gap: 0.5rem; padding: 0.5rem 0.75rem; }
    .score-entry[b-xe52u8d3u5] { padding: 0.3rem 0.5rem; font-size: 0.76rem; }
}
/* /Components/Pages/Quiz.razor.rz.scp.css */
.quiz-container[b-12m07lwk9s] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: #0b1724;
    color: #ffffff;
    font-family: 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-bottom: 140px;
    overflow: hidden;
}

.quiz-header[b-12m07lwk9s] {
    display: flex;
    align-items: center;
    padding: 2rem 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    gap: 1.5rem;
}

.score-badge[b-12m07lwk9s] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(30, 144, 255, 0.15);
    border: 1px solid rgba(30, 144, 255, 0.4);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: #84d8ff;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.3s, background 0.3s;
}

.score-badge .score-label[b-12m07lwk9s] {
    color: #4f8fab;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.score-badge .score-value[b-12m07lwk9s] {
    color: #84d8ff;
    font-size: 1.05rem;
}

.close-btn[b-12m07lwk9s] {
    background: none;
    border: none;
    color: #4f646f;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0.5rem;
}

.close-btn:hover[b-12m07lwk9s] {
    color: #ffffff;
}

.progress-bar-container[b-12m07lwk9s] {
    flex-grow: 1;
    height: 16px;
    background-color: #37464f;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.progress-fill[b-12m07lwk9s] {
    height: 100%;
    background-color: #58cc02;
    border-radius: 8px;
    transition: width 0.3s ease-out;
    position: relative;
}

.progress-highlight[b-12m07lwk9s] {
    position: absolute;
    top: 3px;
    left: 8px;
    right: 8px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.quiz-main[b-12m07lwk9s] {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    padding: 1rem 1.5rem;
}

.question-section[b-12m07lwk9s] {
    width: 100%;
    margin-bottom: 3rem;
    margin-top: 2rem;
}

.question-section h1[b-12m07lwk9s] {
    font-size: 1.8rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 800;
}

.options-grid[b-12m07lwk9s] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    width: 100%;
}

.option-card[b-12m07lwk9s] {
    background-color: #07101b;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1.75rem;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.1s ease;
    text-align: left;
    color: #ffffff;
    box-shadow: 0 24px 60px rgba(0,0,0,0.22);
}

.option-card:hover:not(:disabled)[b-12m07lwk9s] {
    background-color: #0a1420;
}

.option-card:active:not(:disabled)[b-12m07lwk9s] {
    transform: translateY(2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.22);
}

.option-number[b-12m07lwk9s] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    font-weight: bold;
    color: #afc0c8;
}

.option-text[b-12m07lwk9s] {
    font-size: 1.15rem;
    font-weight: 600;
}

/* States */
.option-selected[b-12m07lwk9s] {
    border-color: #84d8ff;
    background-color: rgba(132, 216, 255, 0.1);
    box-shadow: 0 4px 0 #84d8ff;
}

.option-selected .option-number[b-12m07lwk9s] {
    border-color: #84d8ff;
    color: #84d8ff;
}

.option-correct[b-12m07lwk9s] {
    border-color: #58cc02;
    background-color: rgba(88, 204, 2, 0.1);
    box-shadow: 0 4px 0 #58cc02;
}

.option-correct .option-number[b-12m07lwk9s] {
    border-color: #58cc02;
    color: #58cc02;
}

.option-incorrect[b-12m07lwk9s] {
    border-color: #ff4b4b;
    background-color: rgba(255, 75, 75, 0.1);
    box-shadow: 0 4px 0 #ff4b4b;
    opacity: 0.6;
}

.option-disabled[b-12m07lwk9s] {
    opacity: 0.5;
    cursor: default;
}

.quiz-footer[b-12m07lwk9s] {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem;
    background-color: #0b1724;
    transition: background-color 0.2s, border-color 0.2s;
    z-index: 100;
}

.footer-correct[b-12m07lwk9s] {
    background-color: #203117;
    border-top-color: #203117;
}

.footer-incorrect[b-12m07lwk9s] {
    background-color: #3f1a1a;
    border-top-color: #3f1a1a;
}

.footer-content[b-12m07lwk9s] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-message[b-12m07lwk9s] {
    flex-grow: 1;
}

.message-correct h3[b-12m07lwk9s] {
    color: #58cc02;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 800;
}

.message-incorrect h3[b-12m07lwk9s] {
    color: #ff4b4b;
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    font-weight: 800;
}

.message-incorrect p[b-12m07lwk9s] {
    color: #ffc8c8;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.action-button[b-12m07lwk9s] {
    font-size: 1.1rem;
    font-weight: 800;
    padding: 1rem 3rem;
    border-radius: 16px;
    border: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter 0.1s;
}

.btn-disabled[b-12m07lwk9s] {
    background-color: #37464f;
    color: #52656d;
    cursor: default;
}

.btn-active[b-12m07lwk9s] {
    background-color: #58cc02;
    color: #0b1724;
    box-shadow: 0 4px 0 #58a700;
}

.btn-active:active[b-12m07lwk9s] {
    transform: translateY(4px);
    box-shadow: 0 0 0 transparent;
}

.btn-correct[b-12m07lwk9s] {
    background-color: #58cc02;
    color: #0b1724;
    box-shadow: 0 4px 0 #58a700;
}

.btn-incorrect[b-12m07lwk9s] {
    background-color: #ff4b4b;
    color: #fff;
    box-shadow: 0 4px 0 #ea2b2b;
}

.action-button.primary[b-12m07lwk9s] {
    background-color: #58cc02;
    color: #0b1724;
    box-shadow: 0 4px 0 #58a700;
    margin-top: 2rem;
}

.result-screen[b-12m07lwk9s], .loading-screen[b-12m07lwk9s] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #0b1724;
    color: #fff;
}

.result-content[b-12m07lwk9s] {
    text-align: center;
}

.result-icon[b-12m07lwk9s] {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.result-content h2[b-12m07lwk9s] {
    font-size: 2.5rem;
    color: #ffc800;
    margin: 0 0 1rem;
}

.result-content p[b-12m07lwk9s] {
    font-size: 1.25rem;
    color: #afc0c8;
}

@media (max-width: 768px) {
    .options-grid[b-12m07lwk9s] {
        grid-template-columns: 1fr;
    }
    
    .footer-content[b-12m07lwk9s] {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .action-button[b-12m07lwk9s] {
        width: 100%;
    }
}
/* /Components/Pages/Scoreboard.razor.rz.scp.css */
.scoreboard-container[b-sgn8eawqnj] {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #1a1a2e;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: white;
}

.scoreboard-header[b-sgn8eawqnj] {
    text-align: center;
    margin-bottom: 2rem;
}

.scoreboard-header h1[b-sgn8eawqnj] {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #e94560;
}

.scoreboard-header p[b-sgn8eawqnj] {
    color: #a0a0b5;
    font-size: 1.1rem;
}

.empty-state[b-sgn8eawqnj] {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #a0a0b5;
}

.table-responsive[b-sgn8eawqnj] {
    overflow-x: auto;
}

.scoreboard-table[b-sgn8eawqnj] {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.scoreboard-table th[b-sgn8eawqnj] {
    background: #0f3460;
    padding: 1rem;
    text-align: left;
    color: #e94560;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.scoreboard-table td[b-sgn8eawqnj] {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.scoreboard-table tbody tr:hover[b-sgn8eawqnj] {
    background: rgba(255, 255, 255, 0.05);
}

.rank-1 td[b-sgn8eawqnj] {
    background: rgba(255, 215, 0, 0.1);
    font-weight: bold;
}

.rank-2 td[b-sgn8eawqnj] {
    background: rgba(192, 192, 192, 0.1);
    font-weight: bold;
}

.rank-3 td[b-sgn8eawqnj] {
    background: rgba(205, 127, 50, 0.1);
    font-weight: bold;
}

.medal[b-sgn8eawqnj] {
    font-size: 1.5rem;
}

.player-name[b-sgn8eawqnj] {
    font-weight: bold;
    color: white;
}

.theme-badge[b-sgn8eawqnj] {
    background: #e94560;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: capitalize;
}

.score-value[b-sgn8eawqnj] {
    font-weight: bold;
    color: #e94560;
}

.date-col[b-sgn8eawqnj] {
    color: #a0a0b5;
    font-size: 0.9rem;
}

.actions[b-sgn8eawqnj] {
    text-align: center;
    margin-top: 2rem;
}

.btn-primary[b-sgn8eawqnj] {
    display: inline-block;
    background: #e94560;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover[b-sgn8eawqnj] {
    background: #d63d55;
    transform: translateY(-2px);
}
