/* Card contenant le formulaire */
.block-generale-galerie .card {
    background-color: #1F1F1F;
    color: #FFFFFF;
    padding: 25px;
    border-radius: 15px;
    max-width: 500px;
    margin: 20px auto;
    box-shadow: 0 6px 15px rgba(0,0,0,0.6);
    text-align: center;
}

/* Boutons */
.block-generale-galerie button {
    background-color: #1E90FF;
    color: #fff;
    border: none;
    padding: 12px 25px;
    margin-top: 10px;
    border-radius: 10px;
    font-size: 1em;
    cursor: pointer;
    transition: 0.3s;
}

.block-generale-galerie button:hover {
    background-color: #187bcd;
}

/* Sélecteurs */
.block-generale-galerie select {
    padding: 10px;
    margin: 5px 0;
    border-radius: 8px;
    border: none;
    font-size: 1em;
    width: 100%;
    max-width: 300px;
}

/* Labels */
.block-generale-galerie label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}


.card{
background:#1f1f1f;
padding:25px;
border-radius:15px;
width:380px;
box-shadow:0 0 20px rgba(0,0,0,.6);
}

h2,h3{text-align:center}

button{
width:100%;
padding:12px;
margin:8px 0;
border:none;
border-radius:10px;
background:#1E90FF;
color:#fff;
font-size:15px;
cursor:pointer;
}

button:hover{background:#1c7ed6}

.tension-bar {
    width: 100%;
    height: 25px;
    background-color: #333;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
}

.tension-fill {
    height: 100%;
    width: 0%;
    background-color: #ff0000; /* couleur par défaut */
    border-radius: 12px 0 0 12px;
    transition: width 0.5s ease, background-color 0.5s ease;
}

button.selected{
    background:#ff3366 !important;
    box-shadow:0 0 12px rgba(255,51,102,.7);
}

button:disabled{
    opacity:.6;
    cursor:not-allowed;
}

.poker-result-ok, .poker-result-no {
    margin:10px 0;
    padding:10px;
    border-radius:10px;
}
.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; }

.scenario-description {
    background-color: #2a2a2a;  /* fond légèrement différent */
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.3);
}

.scenario-description h3 {
    margin-bottom: 10px;
    color: #ffcc00;
}

.scenario-description p {
    font-size: 1em;
    line-height: 1.5;
    color: #ffffff;
    margin: 0;
}

