/* PUISSANCE 4 OFFICIEL */

.p4-board {
    display: grid;
    grid-template-columns: repeat(7, 60px);
    grid-template-rows: repeat(6, 60px);
    gap: 5px;
    justify-content: center;
    margin: 20px auto;
    background-color: #121212;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
    width: fit-content;
}

.info-session {
    margin-bottom: 15px;
    color: #ddd;
    font-weight: bold;
}

.p4-row { display: contents; }

.p4-cell {
    width: 60px;
    height: 60px;
    background-color: #333;
    border-radius: 50%;
    margin: 2px;
    transition: background-color 0.3s;
}

.p4-jeton {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    z-index: 10;
}

.p4-cell:hover {
    transform: scale(1.1);
    background-color: #555;
}

.p4-info {
    display: flex;
    justify-content: space-between;
    max-width: 500px;
    margin: 15px auto;
    font-family: Arial, Helvetica, sans-serif;
    color: #FFF;
}

.p4-result-ok, .p4-result-no {
    margin:10px 0;
    padding:10px;
    border-radius:10px;
    display:none;
}
.p4-result-ok { border: dashed lightgreen; color: white; max-width: 600px; margin: 10px auto 10px auto; }
.p4-result-no { border: dashed lightcoral; color: white; max-width: 600px; margin: 10px auto 10px auto; }

.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;
}

@media(max-width:500px){
    .p4-board { grid-template-columns: repeat(7, 40px); grid-template-rows: repeat(6, 40px); gap:4px; }
    .p4-cell { width: 40px; height: 40px; }
}
