/* --- CONTENEURS DE FORMULAIRE --- */
.card-form {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    width: 100%;
    margin-bottom: 20px;
}

.form-header {
    text-align: center;
    margin-bottom: 25px;
}

.form-header i {
    color: var(--accent-gold);
    margin-bottom: 10px;
}

/* --- ELEMENTS DE FORMULAIRE --- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-brown);
}

.form-control {
    width: 100%;
    padding: 14px; /* Un peu plus haut pour le tactile */
    border: 2px solid var(--bg-cream);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: all 0.3s ease;
    box-sizing: border-box; /* Crucial pour le responsive */
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    background-color: var(--white);
    box-shadow: 0 0 8px rgba(212, 163, 115, 0.2);
}

/* --- ALERTES ET MESSAGES --- */
.messages-container {
    margin-bottom: 20px;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-weight: 500;
}

.alert-error { background-color: #f8d7da; color: var(--error-red); border: 1px solid #f5c6cb; }
.alert-success { background-color: #d4edda; color: var(--success-green); border: 1px solid #c3e6cb; }

/* --- UI TERRAIN (PRÉPARATION / LIVRAISON) --- */
.qty-selector {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-qty {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: var(--white);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-brown);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.qty-input-display {
    width: 50px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    background: transparent;
}

.alert-terrain {
    background: #fff9eb;
    border: 1px solid #fae8be;
    color: #92400e;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-top: 8px;
}