#poker-root {
    max-width:90%;
    margin: 20px auto;
    padding: 15px;
    background: #212121;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
}

.poker-select {
    width: 80%;
    max-width: 250px;
    margin: 10px auto;
    display:block;
    padding:10px;
    border-radius:10px;
    font-size:1rem;
}

.info-session {
    margin-bottom: 15px;
    color: #ddd;
    font-weight: bold;
}

.poker-info {
    display:flex;
    justify-content:space-around;
    margin:10px 0;
    flex-wrap:wrap;
}

.poker-hand {
    display:flex;
    justify-content:center;
    margin:10px 0;
}

.poker-card {
    width:60px;
    height:90px;
    border-radius:10px;
    border:1px solid #fff;
    background:#1f1f1f;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:0 3px;
    font-size:1.2rem;
}

.poker-btn {
    margin:5px;
    padding:10px 20px;
    border-radius:10px;
    background:#28a745;
    border:none;
    color:#fff;
    cursor:pointer;
    font-size:1rem;
}

.poker-result-ok, .poker-result-no {
    margin:10px 0;
    padding:10px;
    border-radius:10px;
    display:none;
}
.poker-result-ok { border: dashed lightgreen; color: white; max-width: 600px; margin: 10px auto 0 auto; }
.poker-result-no { border: dashed lightcoral; color: white; max-width: 600px; margin: 10px auto 0 auto; }

.poker-restart {
    margin-top:10px;
    padding:12px 25px;
    border-radius:10px;
    background:#ffc107;
    color:#000;
    border:none;
    cursor:pointer;
    font-size:1rem;
}

.formulaire-input-cat-roulette {
    display: inline-flex;
    position: relative;
    width: fit-content;
	vertical-align: middle;
}

.formulaire-input-cat-roulette label {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: bold;
    color: rgb(169, 169, 173);
    margin-top: 6px;
    background: none;
}

.formulaire-input-cat-roulette span {
    margin: 8px 0px 0px 10px;
}

.form-input-form-mbr-cat-roulette {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgb(255, 255, 255);
    font-size: 12px;
    padding: 10px 10px 10px 40px;
    width: fit-content;
    outline: none;
    background: rgb(26, 26, 26);
    border-radius: 8px;
    height: 38px;
	display: inline-block;
}

/* Overlay sombre pour tout le body */
#poker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6); /* assombrit le fond */
    z-index: 9998;
}

/* Message central flottant */
#poker-congrats {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: gold;
    font-size: 4rem;
    font-weight: bold;
    text-align: center;
    z-index: 9999;
    text-shadow: 0 0 20px gold, 0 0 40px gold;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}
#poker-congrats.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Mobile */
@media (max-width: 800px){
	.bouton-trier { width: 90%; margin: 0px auto 0px auto; }
}

@media(max-width:500px){
    .poker-card { width:40px; height:60px; font-size:1rem; margin:0 2px; }
    .poker-btn, .poker-restart { padding:8px 15px; font-size:0.9rem; }
}
