/* ── IOLTO Demande de Paiement — Formulaire ─────────────────────────────── */

.iolto-dp-form {
    max-width: 480px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    font-family: sans-serif;
    font-size: 16px;
}

.iolto-dp-form p {
    margin: 0 0 20px;
}

.iolto-dp-titre {
    margin: 0 0 24px;
    font-size: 20px;
    font-weight: 700;
    color: #111;
}

.iolto-dp-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222;
}

.iolto-dp-form .required {
    color: #c00;
}

.iolto-dp-form input[type="text"],
.iolto-dp-form input[type="email"],
.iolto-dp-form input[type="number"] {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
    box-sizing: border-box;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.iolto-dp-form input[type="text"]:focus,
.iolto-dp-form input[type="email"]:focus,
.iolto-dp-form input[type="number"]:focus {
    outline: none;
    border-color: #1e73be;
    box-shadow: 0 0 0 2px rgba(30, 115, 190, 0.15);
}

/* Bouton Payer */
.iolto-dp-form button[type="submit"] {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.iolto-dp-form button[type="submit"]:hover {
    background: #222;
}

/* Bloc erreurs */
.iolto-dp-errors {
    background: #fff0f0;
    color: #c00;
    border: 1px solid #f5c2c2;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
}

.iolto-dp-errors p {
    margin: 0 0 4px;
}

.iolto-dp-errors p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media screen and (max-width: 560px) {
    .iolto-dp-form {
        padding: 20px;
        border-radius: 8px;
    }
}
