/* Style de base pour le conteneur principal */
.face-on-board-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

/* Style du formulaire */
#face-upload-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Style des champs du formulaire */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

/* Style du bouton */
.button {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #005177;
}

.button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Style de l'aperçu */
.preview-container {
    margin: 20px 0;
    text-align: center;
}

.board {
    display: inline-block;
    border: 10px solid #8B4513; /* Couleur bois */
    background-color: #DEB887; /* Couleur bois clair */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#face-preview {
    max-width: 300px;
    max-height: 300px;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Style des messages */
.message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.message.error {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
    display: block;
}

.message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
    display: block;
}
