/* Global */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Conteneur principal */
.container {
    width: 80%;
    max-width: 1024px;
    background: white;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Titre */
h1 {
    text-align: center;
    color: #333;
}

/* Formulaire */
form {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

/* Labels (inutiles visuellement dans la ligne) */
label {
    font-weight: bold;
    display: none;
}

/* Champs de recherche et sélection */
input, select {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* Bouton de recherche */
button {
    background-color: #007BFF;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    white-space: nowrap;
}

button:hover {
    background-color: #0056b3;
}

/* Résultats */
.result {
    background: #fff;
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.result h2 {
    color: #333;
    margin-bottom: 10px;
}

/* Pigments d'une couleur */
.result-pigments {
	display: flex;
}

/* Pigments */
.pigment {
    margin-top: 15px;
    margin-right: 15px;
    padding: 10px;
    border-left: 4px solid #007BFF;
    background: #f8f9fa;
    border-radius: 5px;
	flex: 1;
}

/* Volumes (décalés vers la droite) */
.volume {
    padding-left: 20px;
    font-style: italic;
    color: #555;
}

/* Responsive (mode mobile) */
@media (max-width: 600px) {
    form {
        flex-direction: column;
        gap: 5px;
    }
    
    input, select, button {
        width: 100%;
    }
}

.form-group {
    display: flex;
    gap: 10px;
}

#searchInput {
    flex: 2; /* 2/3 de la largeur */
}

#volumeSelect {
    flex: 1; /* 1/3 de la largeur */
}
