body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.titre-principal {
    margin-bottom: 10px;
    color: #333;
}

.single-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 25px;
    width: 100%;
    max-width: 1600px;
    max-height: 900px;
    box-sizing: border-box;
}

.double-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 25px;
    width: 100%;
    max-width: 1600px;
    box-sizing: border-box;
}

.panneau {
    flex: 1;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.panneau-controles {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
}

.chronologie-container {
    margin: 15px 0;
}

input[type="range"] {
    width: 100%;
    cursor: pointer;
}

.options-prevision {
    display: flex;
    justify-content: center;
    gap: 20px;
    background-color: #e9ecef;
    padding: 15px;
    border-radius: 5px;
}

.options-prevision label {
    cursor: pointer;
    font-weight: bold;
    transition: opacity 0.3s;
}

.options-prevision label.desactive {
    opacity: 0.3;
    cursor: not-allowed;
}

.carte-container {
    width: 100%;
    /*height: 550px;*/
    background-color: #fafafa;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: grab;
}

.carte-container:active {
    cursor: grabbing;
}


.carte-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transform-origin: 0 0;
}


/* -------------------------------------------------------------------------- */
/* Menu principal et vues                                                     */
/* -------------------------------------------------------------------------- */

.contenu-site {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-principal {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0 20px;
    padding: 6px;
    background-color: #e9ecef;
    border-radius: 999px;
}

.menu-bouton {
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    background-color: transparent;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.menu-bouton:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.menu-bouton.actif {
    background-color: white;
    color: #111;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.vue-site {
    width: 100%;
}

.vue-site[hidden] {
    display: none !important;
}

.vue-active {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.titre-section {
    margin: 0 0 12px;
    color: #333;
    font-size: 1.25rem;
}

/* -------------------------------------------------------------------------- */
/* Vue piézomètres                                                            */
/* -------------------------------------------------------------------------- */

#vue-piezos {
    width: calc(100vw - 40px);
    max-width: none;
    overflow-x: auto;
}

.piezos-container {
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.piezos-frame {
    width: 100%;
    height: 1250px;
    border: none;
    display: block;
    background-color: white;
    box-sizing: border-box;
}
