#Simulateur {
    max-width: calc(100% - 40px);
    margin: 20px auto;
    padding: 20px;
    font-family: MavenPro-Regular, 'Maven Pro', sans-serif;
    background-color: #F6F4F0;
    color: #333;
    line-height: 1.6;
    margin-bottom: 200px;
}

#Simulateur .simulateur-container {
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.simulateur-heading {
    font-family: 'larken', serif;
    font-size: 28px;
    font-weight: regular;
    display: block;
    margin-bottom: 20px;
}

.simulateur-subheading {
    font-family: 'larken', serif;
    font-size: 20px;
    font-weight: regular;
    display: block;
    margin-top: 20px;
}

#Simulateur .simulateur-input-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

#Simulateur input, #Simulateur button, #Simulateur select {
    padding: 12px 15px;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: 30px;
    font-size: 16px;
    width: calc(50% - 42px);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: white;
}

#Simulateur select {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>');
    background-position: right 15px center;
    background-repeat: no-repeat;
    padding-right: 30px;
}

#Simulateur button {
    background-color: #000000;
    color: white;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
    width: auto;
    flex-grow: 1;
}

#Simulateur button:hover {
    background-color: #d98563;
}

#Simulateur table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-radius: 8px;
    overflow-x: auto; /* Permet le défilement horizontal si nécessaire */
    display: block; /* Nécessaire pour que overflow-x fonctionne */
}

#Simulateur th, #Simulateur td {
    border-bottom: 1px solid #ddd;
    padding: 12px;
    text-align: left;
    min-width: 100px; /* Définit une largeur minimale pour chaque colonne */
    width: 100%;
}

#Simulateur th {
    background-color: #e0e0e0;
    white-space: nowrap; /* Empêche le retour à la ligne du texte */
}

#Simulateur .simulateur-totals h2 {
    font-weight: 500;
    color: #444;
    font-size: 18px;
    text-align: center;
    margin-top: 20px;
}

#Simulateur .simulateur-chart-container {
    width: 100%;
    height: 300px;
    margin-top: 20px;
    background-color: #ffffff;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

#Simulateur .Simulateur-delete-btn {
    border: none;
    background-color: transparent;
    cursor: pointer;
    color: red;
    font-size: 20px;
    line-height: 1;
}


/* Ajoutez une media query pour réduire la taille de police sur les petits écrans */
@media screen and (max-width: 768px) {
    #Simulateur table {
        font-size: 14px;
    }
    
    #Simulateur th, #Simulateur td {
        padding: 8px;
        min-width: 80px;
    }
    
    #Simulateur .Simulateur-delete-btn {
        font-size: 16px;
    }
}