/* =========================================================
   Mollie PDF Download – Frontend stijlen
   ========================================================= */

.mpd-form-wrapper {
    max-width: 480px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* ---- Foutmelding ---- */
.mpd-error {
    background: #fff0f0;
    border-left: 4px solid #e53e3e;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #c53030;
    font-size: 14px;
}

/* ---- Formulier ---- */
.mpd-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mpd-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mpd-field label {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
}

.mpd-field label span {
    color: #e53e3e;
}

.mpd-field input[type="text"],
.mpd-field input[type="email"],
.mpd-field input[type="number"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 15px;
    color: #1a202c;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
}

.mpd-field input:focus {
    outline: none;
    border-color: #1a56db;
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
}

.mpd-field small {
    font-size: 12px;
    color: #718096;
}

/* ---- Bedraginvoer met €-symbool ---- */
.mpd-amount-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.mpd-currency {
    position: absolute;
    left: 12px;
    color: #718096;
    font-size: 15px;
    pointer-events: none;
    user-select: none;
}

.mpd-amount-input-wrap input[type="number"] {
    padding-left: 26px;
}

/* ---- Knop ---- */
.mpd-btn {
    display: block;
    width: 100%;
    padding: 13px 20px;
    background: #1a56db;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, transform .1s;
    text-align: center;
    margin-top: 6px;
}

.mpd-btn:hover {
    background: #1641a8;
}

.mpd-btn:active {
    transform: scale(.98);
}

/* ---- Succesmelding na terugkeer van Mollie ---- */
.mpd-succes-melding {
    background: #f0fff4;
    border-left: 4px solid #38a169;
    border-radius: 4px;
    padding: 14px 18px;
    color: #276749;
    font-size: 15px;
    margin-bottom: 20px;
}
