/* MPGS Donation Form - Frontend Styles */

.mpgs-donation-wrap {
    max-width: 600px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

.mpgs-notice {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
}
.mpgs-notice-error   { background: #fdecea; border-left: 4px solid #e53935; color: #b71c1c; }
.mpgs-notice-warning { background: #fff8e1; border-left: 4px solid #ffc107; color: #7a5c00; }
.mpgs-notice-success { background: #e8f5e9; border-left: 4px solid #43a047; color: #1b5e20; }

.mpgs-donation-form {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.mpgs-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}
.mpgs-section:last-of-type { border-bottom: none; }

.mpgs-section-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #c62828;
    text-align: center;
}

.mpgs-input,
.mpgs-select {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #bbb;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    background: #fff;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.mpgs-input:focus, .mpgs-select:focus {
    border-color: #c62828;
    outline: none;
    box-shadow: 0 0 0 2px rgba(198,40,40,0.1);
}

.mpgs-field-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}
.mpgs-currency-select { flex: 0 0 90px; margin-bottom: 0; }
.mpgs-amount-input    { flex: 1; margin-bottom: 0; }

.mpgs-quick-amounts {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.mpgs-quick-btn {
    flex: 1;
    min-width: 60px;
    padding: 8px 10px;
    border: 1px solid #bbb;
    background: #f9f9f9;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    color: #333;
    transition: all 0.2s;
}
.mpgs-quick-btn:hover {
    background: #c62828;
    color: #fff;
    border-color: #c62828;
}
.mpgs-quick-other { background: #fff; color: #888; }

.mpgs-radio-group {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 8px;
}
.mpgs-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    font-weight: bold;
    color: #444;
}
.mpgs-radio-label input { accent-color: #c62828; }

.mpgs-captcha-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}
.mpgs-captcha-code {
    font-size: 22px;
    font-weight: bold;
    background: #f0f0f0;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #bbb;
    letter-spacing: 4px;
    color: #333;
    user-select: none;
}
.mpgs-captcha-input { flex: 1; margin-bottom: 0; }

.mpgs-payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid #bbb;
    border-radius: 8px;
    background: #f9f9f9;
    cursor: pointer;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}
.mpgs-card-logo { height: 28px; }

.mpgs-submit-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #c62828;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 16px;
    transition: background 0.2s;
    letter-spacing: 0.5px;
}
.mpgs-submit-btn:hover { background: #b71c1c; }

/* Thank You Page */
.mpgs-thankyou-wrap {
    max-width: 560px;
    margin: 40px auto;
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.mpgs-thankyou-icon { font-size: 60px; margin-bottom: 16px; }
.mpgs-thankyou-wrap h2 { font-size: 26px; color: #2e7d32; margin-bottom: 10px; }
.mpgs-thankyou-wrap.failed h2 { color: #c62828; }
.mpgs-thankyou-details { background: #f9f9f9; border-radius: 8px; padding: 16px; margin: 20px 0; text-align: left; }
.mpgs-thankyou-details p { margin: 6px 0; font-size: 14px; color: #555; }
.mpgs-thankyou-details strong { color: #333; }
