/* Beta 14.36 — existing PMPro recruiter checkout fixes. */
body .pmpro_btn.pmpro_btn-submit-discount-code,
body #discount_code_button,
body #other_discount_code_button,
body input[name="discount_code_button"],
body input[name="other_discount_code_button"] {
    appearance: none;
    -webkit-appearance: none;
    background: #0b6b2a !important;
    border: 1px solid #0b6b2a !important;
    border-radius: 8px !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    min-height: 44px;
    min-width: 138px;
    padding: 11px 18px !important;
    opacity: 1 !important;
    text-shadow: none !important;
    cursor: pointer;
}
body .pmpro_btn.pmpro_btn-submit-discount-code:hover,
body #discount_code_button:hover,
body #other_discount_code_button:hover {
    background: #084f20 !important;
    border-color: #084f20 !important;
}
body .pmpro_form_field-file,
body .pmpro_form_field-image,
body [data-apcrm-recruiter-upload-field] {
    display: none !important;
}
@media (max-width: 640px) {
    body .pmpro_form_fields-inline {
        align-items: stretch;
        display: grid !important;
        gap: 10px;
        grid-template-columns: minmax(0, 1fr);
    }
    body #discount_code_button,
    body #other_discount_code_button,
    body input[name="discount_code_button"],
    body input[name="other_discount_code_button"] {
        width: 100%;
    }
}

/* Beta 14.37 — cover PMPro themes that render an adjacent unlabeled button. */
body .apcrm-visible-coupon-button,
body .pmpro_form_field-discount-code button,
body .pmpro_form_field-discount-code input[type="button"],
body .pmpro_form_field-discount-code input[type="submit"] {
    appearance: none;
    -webkit-appearance: none;
    background: #0b6b2a !important;
    border: 1px solid #0b6b2a !important;
    border-radius: 8px !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-weight: 700 !important;
    min-height: 44px;
    min-width: 138px;
    padding: 11px 18px !important;
    opacity: 1 !important;
    text-shadow: none !important;
}
