/*
 * Recesso Sicuro 54bis — Frontend styles.
 * Colors are injected as CSS custom properties by WCR_Loader::enqueue_frontend_assets()
 * using values saved in the plugin settings. Font always inherits from the active theme.
 */

/* ── Primary action buttons ─────────────────────────────────────────────── */
.wcr-withdrawal-button,
.wcr-confirm-button,
.wcr-btn-primary {
    background-color: var(--wcr-primary-color, #d9534f) !important;
    color:            var(--wcr-primary-text-color, #ffffff) !important;
    border-color:     var(--wcr-primary-color, #d9534f) !important;
    font-family:      inherit !important;
}

.wcr-withdrawal-button:hover,
.wcr-withdrawal-button:focus,
.wcr-confirm-button:hover,
.wcr-confirm-button:focus,
.wcr-btn-primary:hover,
.wcr-btn-primary:focus {
    background-color: var(--wcr-primary-color, #d9534f) !important;
    color:            var(--wcr-primary-text-color, #ffffff) !important;
    border-color:     var(--wcr-primary-color, #d9534f) !important;
    opacity: 0.88;
}

/* ── Wrappers: let the theme font cascade freely ─────────────────────────── */
.wcr-withdrawal-form-wrap,
.wcr-order-selector-wrap,
.wcr-order-selector-form {
    font-family: inherit;
}

.wcr-order-selector-form label,
.wcr-order-selector-form select,
.wcr-order-selector-form button,
.wcr-withdrawal-form-wrap h2,
.wcr-withdrawal-form-wrap h3,
.wcr-withdrawal-form-wrap p,
.wcr-withdrawal-form-wrap table,
.wcr-withdrawal-form-wrap textarea,
.wcr-withdrawal-form-wrap button {
    font-family: inherit;
}
