/* Formulaire entier */
form {
    max-width: 600px !important;
    width: 95% !important;
    margin: 30px auto !important;
    background: #0C2B4E !important;
    padding: 40px !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
    font-family: Arial, sans-serif !important;
    color: #fff !important; /* texte blanc par défaut */
}

/* Labels */
form label {
    color: #fff !important;
    font-weight: 600 !important;
    display: block !important;
    line-height: 2em !important; /* hauteur plus grande */
}

/* Tous les inputs et textarea */
form input, form textarea {
    width: 100% !important;
    padding: 10px !important;
    border-radius: 6px !important;
    border: 1px solid #ccc !important;
    box-sizing: border-box !important;
    color: #fff !important; /* texte blanc */
    background-color: #0C2B4E !important;
}

/* Bouton */
form button {
    background: #1e88e5 !important;
    color: #fff !important;
    padding: 12px 20px !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: bold !important;
}

/* Hover du bouton */
form button:hover {
    background: #1565c0 !important;
}

/* Container pour mettre qty et bouton sur la même ligne */
.form-inline {
    display: flex !important;
    gap: 10px !important;
    align-items: flex-end !important;
}

/* Quantité et bouton prennent chacun la moitié */
.form-inline input[type="number"] {
    flex: 1 1 50% !important;
}

.form-inline button {
    flex: 1 1 50% !important;
}

/* Message de succès */
.success-msg {
    max-width: 600px !important;
    width: 95% !important;
    margin: 20px auto !important;
    padding: 20px !important;
    background: #d4edda !important;
    border: 1px solid #c3e6cb !important;
    color: #155724 !important;
    border-radius: 12px !important;
    text-align: center !important;
}
