/* =================================*/
/* STYLES */
/* =================================*/


/*DATA SET*/
.parameters-inputs .morphological-parameters,
.parameters-inputs .other-parameters {
    background-color: var(--cl-transparent-white-2);
    border-radius: 15px;
    width: 100%;
}
.inputs-morphological {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px 15px 10px 15px;
}
.inputs-morphological div {
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-items: center;
}
.inputs-morphological div input {
    width: 60px;
}
@media (max-width: 800px) {
    .inputs-morphological div {
        flex-direction: column;
        align-items: flex-start;
    }
    .inputs-morphological div input {
        width: 100%;
    }
}
.parameters-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 10px 15px 5px 15px;
}
.parameters-container * {
    margin: 0;
    padding: 0;
}
.checkbox-div {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 5px;
    margin-top: 10px;
}
.checkbox-div label {
    border-left: 1px solid var(--cl-transparent-noir-i5);
    padding-left: 5px;
}


.graphical-visualizer,
.graphical-waist-section {
    background-color: var(--cl-transparent-white-2);
    backdrop-filter: blur(10px);
    border: 1px solid var(--cl-transparent-white-1);
}
/*DATA CONFIRMATION*/
/* =================================*/
/* STYLES STRUCTURE*/
/* =================================*/
.systeme-step1,
.systeme-step2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*DATA SET*/
.data-set {
    border: 2px solid blue;
    background-color: var(--cl-blanc-i2);
    width: 90vw;
    max-width: 1000px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    margin-top: calc(4vh + 3vw);
    margin-bottom: 40px;
    height: auto;
}
.parameters-inputs {
    height: 100%;
    width: 33%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
}
.graphs-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    width: 67%;
    height: 100%;
}
@media (max-width: 1000px) {
    .parameters-inputs {
        width: 45%;
    }
    .graphs-container {
        width: 55%;
    }
}
@media (max-width: 800px) {
    .data-set {
        flex-direction: column;
        gap: 10px;
    }
    .parameters-inputs {
        width: 100%;
        flex-direction: row;
        height: auto;
        gap: 10px;
    }
    .graphs-container {
        width: 100%;
        flex-direction: row;
        gap: 10px;
    }
}
.graph {
    width: 100%;
}
.graph-title {
    text-transform: uppercase;
    text-shadow: 0 0 5px var(--cl-transparent-blanc-i1);
    font-size: var(--ht-texte-08);
    font-weight: 500;
    color: var(--cl-transparent-blanc-i2);
    background-color: var(--cl-transparent-noir-i3);
    margin: 0;
    padding: 5px 10px 5px 10px;
}

.type-uniformite {
    display: none;
}
.type-uniformite h3 {
    margin-bottom: 5px;
}


/* Conteneur du graphique */
.graphical-visualizer {
    width: 100%;
    /* La hauteur est gérée dynamiquement par le JS */
}

/* Tooltip pour les coordonnées */
.graph-tooltip {
    position: absolute;
    background-color: var(--cl-transparent-blanc-i6);
    backdrop-filter: blur(5px);
    border: 1px solid var(--cl-transparent-blanc-i1);
    border-radius: 4px;
    padding: 8px 12px;
    color: var(--cl-texte-i2);
    font-size: var(--ht-texte-10);
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    line-height: 1.5;
    white-space: nowrap;
    min-width: 150px;
    text-align: center;
}

/* Légende du graphique */
.graph-legend {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    background-color: var(--cl-blanc-i2);
}
@media (max-width: 800px) {
    .graph-legend {
        padding: 10px;
        gap: 5px;
    }
    
}

.legend-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legend-title {
    font-size: var(--ht-texte-08);
    font-weight: 500;
    color: var(--cl-texte-i2);
}

.legend-items {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 5px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legend-color {
    width: 20px;
    height: 5px;
    border-radius: 5px;
    display: inline-block;
}

.legend-label {
    font-size: var(--ht-texte-08);
    font-weight: 400;
    color: var(--cl-texte-i2);
}
/*DATA CONFIRMATION*/
.data-check {
    border: 2px solid blue;
    width: 90vw;
    max-width: 1000px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: calc(4vh + 3vw);
}
.check-method {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.check-tonextstep {
    height: 100%;
    
}

/* =====================================================
   GRAPHIQUE SECTION DE TAILLE (Vue de dessus)
   ===================================================== */

.graphical-waist-section {
    width: 100%;
    /* La hauteur est gérée dynamiquement par le JS */
}

.waist-section-title {
    text-align: center;
    font-size: var(--ht-texte-10);
    margin: 0;
    padding: 10px 0 5px 0;
}

.waist-section-labels {
    font-size: var(--ht-texte-08);
    fill: var(--cl-texte-i2);
    font-weight:    600;
    text-anchor: left;
}