/**
 * File: assets/css/frontend/account/bank-transfer-proof.css
 * Purpose: Bank-transfer proof form on the account order page. The form
 * markup (BankTransferProofForm) reuses checkout classes
 * (.hdf-bank-transfer-proof, .hdf-checkout-notice, .hdf-payment-retry)
 * that are styled only in the checkout bundle, so on the account surface
 * they rendered unstyled. This sheet styles them with the account tokens
 * and rhythm (panel border/radius, .hdf-account-field label and input
 * sizing, .hdf-account-notice success/error treatment). Every selector is
 * scoped to .hdf-account-order so the receipt surface, which loads the
 * checkout bundle, is unchanged. The account bundle itself is never
 * edited (generated artifact); this sheet loads after it.
 * Related PHP: src/Payment/Frontend/BankTransferProofForm.php,
 *              src/Account/Frontend/Partials/OrdersDownloadsTrait.php,
 *              src/Account/Frontend/AccountAssets.php
 * Related CSS: assets/css/bundles/account.min.css,
 *              assets/css/foundation/tokens.css
 * Package: HyperDAF Engine
 */

/* Proof card inside the order panel, matching the panel/facts treatment. */
.hdf-account-order .hdf-bank-transfer-proof{box-sizing:border-box;margin-top:24px;padding:18px;border:1px solid var(--hdf-engine-color-border);border-radius:var(--hdf-engine-radius-lg,14px);background:var(--hdf-engine-color-surface-subtle);color:var(--hdf-engine-color-text);}

/* Notices: same treatment as .hdf-account-notice in the account bundle. */
.hdf-account-order .hdf-bank-transfer-proof .hdf-checkout-notice{box-sizing:border-box;margin-bottom:14px;padding:15px 18px;border:1px solid var(--hdf-engine-color-border);border-radius:var(--hdf-engine-radius-md,8px);background:var(--hdf-engine-color-surface);color:var(--hdf-engine-color-text);font-size:.82rem;line-height:1.55;}
.hdf-account-order .hdf-bank-transfer-proof .hdf-checkout-notice:last-child{margin-bottom:0;}
.hdf-account-order .hdf-bank-transfer-proof .hdf-checkout-notice--success{border-color:color-mix(in srgb,var(--hdf-engine-color-success) 40%,var(--hdf-engine-color-border));background:var(--hdf-engine-color-success-soft);color:var(--hdf-engine-color-success-text);}
.hdf-account-order .hdf-bank-transfer-proof .hdf-checkout-notice--error{border-color:color-mix(in srgb,var(--hdf-engine-color-danger) 35%,var(--hdf-engine-color-border));background:var(--hdf-engine-color-danger-soft);color:var(--hdf-engine-color-danger);}

/* Heading rhythm: section-heading size, tight to its intro line. */
.hdf-account-order .hdf-bank-transfer-proof h3{margin:0 0 6px;color:var(--hdf-engine-color-text);font-size:1rem;line-height:1.25;}
.hdf-account-order .hdf-bank-transfer-proof>p{margin:0 0 14px;color:var(--hdf-engine-color-text-muted);font-size:.82rem;line-height:1.55;}
.hdf-account-order .hdf-bank-transfer-proof>p:last-child{margin-bottom:0;}

/* Form fields: .hdf-account-field label/input sizing from the bundle. */
.hdf-account-order .hdf-bank-transfer-proof .hdf-payment-retry{display:grid;gap:14px;margin:0;}
.hdf-account-order .hdf-bank-transfer-proof .hdf-payment-retry label{display:grid;min-width:0;gap:7px;}
.hdf-account-order .hdf-bank-transfer-proof .hdf-payment-retry label>span{color:var(--hdf-engine-color-text);font-size:.75rem;font-weight:750;}
.hdf-account-order .hdf-bank-transfer-proof .hdf-payment-retry input[type="text"],
.hdf-account-order .hdf-bank-transfer-proof .hdf-payment-retry input[type="file"]{box-sizing:border-box;width:100%;min-height:46px;padding:10px 12px;border:1px solid var(--hdf-engine-color-border);border-radius:var(--hdf-engine-radius-md,8px);outline:0;background:var(--hdf-engine-color-surface);color:var(--hdf-engine-color-text);font:inherit;font-size:.8rem;}
.hdf-account-order .hdf-bank-transfer-proof .hdf-payment-retry input[type="text"]:focus,
.hdf-account-order .hdf-bank-transfer-proof .hdf-payment-retry input[type="file"]:focus{border-color:var(--hdf-engine-color-primary-strong);outline:3px solid color-mix(in srgb,var(--hdf-engine-color-primary) 18%,transparent);outline-offset:1px;}
.hdf-account-order .hdf-bank-transfer-proof .hdf-payment-retry input[type="file"]::file-selector-button{margin-right:10px;padding:6px 10px;border:1px solid var(--hdf-engine-color-border);border-radius:var(--hdf-engine-radius-md,8px);background:var(--hdf-engine-color-surface-subtle);color:var(--hdf-engine-color-text);font:inherit;font-size:.75rem;font-weight:750;cursor:pointer;}

/* Submit: .hdf-button--primary comes from the account bundle; only its
   placement in this form is set here. */
.hdf-account-order .hdf-bank-transfer-proof .hdf-payment-retry .hdf-button--primary{justify-self:start;margin-top:2px;}

@media (max-width:560px){
.hdf-account-order .hdf-bank-transfer-proof{padding:16px;}
.hdf-account-order .hdf-bank-transfer-proof .hdf-payment-retry .hdf-button--primary{width:100%;}
}
