main {
    align-items: center;
    box-sizing: border-box;
    display: grid;
    gap: 1.5rem;
    grid-template-rows: 2fr 2fr;
    height: 80%;
    justify-content: center;
    padding: 1.5rem;
}

#sousApp {
    align-self: center;
    height: 100vh;
}


/* 🔥 enlève styles par défaut (padding/margin etc.) */
dialog {
    all: unset;
    display: none;
}


dialog[open] {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
}

.contenuDialog {
    width: 90%;
    max-width: 500px;
    background: linear-gradient(179deg, rgb(0 0 0 / 87%), rgb(24 66 31));
    border: 2px dashed #b79b46;
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 -20px 80px 30px rgb(70 120 60 / 50%);;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: scaleIn 0.4s ease;
}

.stations {
    display: grid;
    grid-template-columns: 20% 5% 10% 10% 20% 20%;
    grid-template-rows: repeat(6, 1fr);
    gap: 0.5rem;
    width: 90%;
}

.presets {
    position: relative;
    top: 0.75rem;
    box-shadow: 0px 0px 20px 2px black;
    background-color: #dad7d7;
    border-radius: 5px;
}

.titreFormulaire{
    padding-bottom: 1rem;
    font-size: 1.5rem;
}

.colonneMinMax{
    text-align: start;
}

.stations input[type=number] {
    width: 2.5rem;
    border: 1px solid black;
    border-radius: 6px;
    text-align: center;
}

.stations label {
    text-align: end;
}

.stations input[type=checkbox] {
    width: 1rem;
}

.num0 {
    color: rgb(0, 255, 0);
}

.numRouge {
    color: red;
}

.numNoir {
    color: black;
}

.btnClose{
    width: 20%;
    height: 1.5rem;
}

.controls {
    align-self: start;
    color: #dad7d7;
    display: flex;
    justify-content: center;
    gap: 2rem;
}