body {
    font-family: Arial, sans-serif;
	margin: 50px;
	padding: 10px;
	border: 2px solid black;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

.supprimer-ligne {
    cursor: pointer;
    color: red;
}

.boutons-form {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.boutons-form button {
    margin-right: 10px;
}

#resteGlucides,
#resteCalories {
    transition: background-color 0.3s;
}
.reste-orange {
    background-color: orange !important;
    color: #fff;
}
.reste-rouge {
    background-color: red !important;
    color: #fff;
}
.reste-normal {
    background-color: white !important;
    color: #000;
}

#resteCalories,
#seuilMaxGlucides,
#resteGlucides,
#seuilMaxCalories {
    text-align: center;
	font-weight: bold;
}

#titre {
	text-align: center;
	background-color: #f0b27a;
	padding: 20px;
}

#formulaire {
	padding: 10px;
	border: 1px solid #f0b27a;
}

#formulaire > div {
    margin-bottom: 15px;
}

.champs-container {
  display: flex;
  gap: 40px; /* Espace entre les deux colonnes */
  margin-bottom: 20px;
}

.colonne {
  display: flex;
  flex-direction: column;
  gap: 15px; /* Espace vertical entre les lignes de chaque colonne */
  border: 1px solid #f0b27a;
  padding: 10px;
}

.ligne-champ {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px; /* Espace entre label et input */
}

.ligne-champ label {
  width: 250px; /* Largeur fixe pour aligner les inputs */
  display: inline-block;
}

.ligne-champ input[type="number"],
.ligne-champ input[type="text"] {
  width: 120px;
  box-sizing: border-box;
}


