/* Shared white-label GCash / QRPH payment experience.
   Applies only to the four public checkout dialogs; does not alter payment logic. */
.public-site .qrph-checkout-modal{
    --qrph-accent:var(--brand-accent,var(--brand,#567e78));
    --qrph-text:var(--brand-text,#182b32);
    --qrph-muted:var(--brand-muted,#63737a);
    --qrph-line:color-mix(in srgb,var(--qrph-text) 12%,#fff);
    --qrph-card:var(--brand-surface,#fff);
    color:var(--qrph-text);
}
.public-site .qrph-checkout-modal .qrph-checkout{
    box-sizing:border-box;display:grid;gap:13px;min-width:0;max-width:100%;
    margin:14px 0 16px;padding:18px;border:1px solid var(--qrph-line);
    border-radius:var(--brand-card-radius,14px);background:var(--qrph-card);
    color:var(--qrph-text);
}
.public-site .qrph-checkout-modal .qrph-checkout *{box-sizing:border-box}
.public-site .qrph-checkout-modal .qrph-checkout-step{
    display:flex;gap:11px;align-items:start;min-width:0;padding:0;
}
.public-site .qrph-checkout-modal .qrph-checkout-number{
    flex:0 0 31px;display:grid;place-items:center;height:31px;
    border-radius:9px;background:color-mix(in srgb,var(--qrph-accent) 10%,#fff);
    color:var(--qrph-accent);font-size:11px;line-height:1;font-weight:850;
}
.public-site .qrph-checkout-modal .qrph-checkout-step>div{min-width:0;flex:1}
.public-site .qrph-checkout-modal .qrph-checkout-step strong{
    display:block;color:var(--qrph-text)!important;font-size:14px!important;
    font-weight:800!important;line-height:1.4!important;letter-spacing:0!important;
}
.public-site .qrph-checkout-modal .qrph-checkout-step p{
    margin:3px 0 0!important;font-size:12px!important;line-height:1.55!important;
    color:var(--qrph-muted)!important;font-weight:450!important;
}
.public-site .qrph-checkout-modal .qrph-checkout .payment-account-picker{
    margin:0 0 5px!important;display:grid;gap:9px;min-width:0;
}
.public-site .qrph-checkout-modal .qrph-checkout .payment-account-picker-heading{
    display:block;color:var(--qrph-muted);font-size:11px!important;
    font-weight:800!important;text-transform:uppercase;letter-spacing:.065em;
}
.public-site .qrph-checkout-modal .qrph-checkout .payment-account-option{
    box-sizing:border-box;display:flex!important;align-items:center!important;gap:12px!important;
    padding:13px 14px!important;margin:0!important;min-height:62px;
    border-radius:12px!important;border:1px solid var(--qrph-line)!important;
    background:var(--qrph-card)!important;cursor:pointer;color:var(--qrph-text)!important;
}
.public-site .qrph-checkout-modal .qrph-checkout .payment-account-option:has(input:checked){
    border-color:var(--qrph-accent)!important;
    background:color-mix(in srgb,var(--qrph-accent) 6%,#fff)!important;
    box-shadow:0 0 0 1px color-mix(in srgb,var(--qrph-accent) 22%,transparent);
}
.public-site .qrph-checkout-modal .qrph-checkout .payment-account-option>input[type=radio]{
    appearance:auto!important;-webkit-appearance:radio!important;display:block!important;
    position:static!important;visibility:visible!important;opacity:1!important;
    flex:0 0 18px!important;min-height:18px!important;min-width:18px!important;
    width:18px!important;height:18px!important;padding:0!important;margin:0!important;
    border:0;accent-color:var(--qrph-accent)!important;
}
.public-site .qrph-checkout-modal .qrph-checkout .payment-account-option-copy{
    min-width:0;display:grid;gap:3px;flex:1;text-align:left;
}
.public-site .qrph-checkout-modal .qrph-checkout .payment-account-option-copy>strong{
    display:flex!important;flex-wrap:wrap;gap:8px;
    color:var(--qrph-text)!important;font-weight:800!important;
    font-size:13px!important;line-height:1.4!important;
}
.public-site .qrph-checkout-modal .qrph-checkout .payment-account-option-copy>span,
.public-site .qrph-checkout-modal .qrph-checkout .payment-account-option-copy>small{
    display:block!important;font-size:12px!important;line-height:1.45!important;
    font-weight:500!important;color:var(--qrph-text);overflow-wrap:anywhere;
}
.public-site .qrph-checkout-modal .qrph-checkout .payment-account-option-copy>small{
    color:var(--qrph-muted)!important;
}
.public-site .qrph-checkout-modal .qrph-checkout-proof{
    display:grid!important;gap:7px!important;margin:0!important;padding:0!important;
    background:transparent!important;border:0!important;box-shadow:none!important;
    width:100%;min-width:0;color:var(--qrph-text)!important;text-align:left;
}
.public-site .qrph-checkout-modal .qrph-checkout-proof>span{
    display:block;font-size:12px!important;font-weight:800!important;line-height:1.45!important;
    color:var(--qrph-text)!important;
}
.public-site .qrph-checkout-modal .qrph-checkout-required{color:#b42318;font-weight:800}
.public-site .qrph-checkout-modal .qrph-checkout-proof>input[type=file]{
    box-sizing:border-box;display:block;width:100%!important;min-width:0!important;
    max-width:100%!important;height:auto!important;min-height:48px!important;
    padding:9px!important;margin:0!important;border:1px dashed color-mix(in srgb,var(--qrph-accent) 50%,#cbd5e1)!important;
    border-radius:11px!important;background:color-mix(in srgb,var(--qrph-accent) 3%,#fff)!important;
    color:var(--qrph-text)!important;font-size:12px!important;
}
.public-site .qrph-checkout-modal .qrph-checkout-proof>input[type=file]::file-selector-button{
    border:0;border-radius:7px;padding:8px 11px;margin-right:12px;
    background:color-mix(in srgb,var(--qrph-accent) 13%,#fff);
    color:var(--qrph-text);font-size:11px;font-weight:750;
}
.public-site .qrph-checkout-modal .qrph-checkout-proof>small{
    display:block;font-size:11px!important;line-height:1.5!important;
    font-weight:500!important;color:var(--qrph-muted)!important;
}
.public-site .qrph-checkout-modal .qrph-checkout-status{
    margin:0!important;padding:11px 12px;border-radius:9px;
    border-left:3px solid var(--qrph-accent);
    background:color-mix(in srgb,var(--qrph-accent) 7%,#fff);
    color:var(--qrph-text)!important;font-size:12px!important;
    line-height:1.55!important;font-weight:500!important;
}
.public-site .qrph-checkout-modal :is(.booking-modal-header,.openplay-modal-header,.gift-modal-head,.modal-header){
    background:var(--qrph-card)!important;border-bottom:1px solid var(--qrph-line)!important;
}
.public-site .qrph-checkout-modal :is(.booking-modal-header h2,.openplay-modal-header h2,.gift-modal-head h2,.modal-header .modal-title){
    color:var(--qrph-text)!important;font-weight:850!important;
    font-size:clamp(20px,2.8vw,27px)!important;line-height:1.22!important;
}
.public-site .qrph-checkout-modal :is(.booking-modal-footer,.openplay-modal-footer,.gift-modal-actions,.modal-footer){
    background:var(--qrph-card)!important;border-top:1px solid var(--qrph-line)!important;
}
.public-site .qrph-checkout-modal :is(.booking-footer-primary,.openplay-footer-primary,.gift-submit,.membership-modal-submit){
    background:var(--qrph-accent)!important;border-color:var(--qrph-accent)!important;
    color:var(--brand-on-accent,#fff)!important;
    border-radius:var(--brand-button-radius,10px)!important;font-weight:800!important;
}
.public-site .qrph-checkout-modal :is(.booking-footer-primary,.openplay-footer-primary,.gift-submit,.membership-modal-submit):disabled{
    cursor:not-allowed;opacity:.52!important;
}
.booking-board-page .booking-modal-dialog.qrph-checkout-modal{width:min(100%,740px)}
.openplay-discovery-page .openplay-modal-dialog.qrph-checkout-modal{width:min(100%,720px)}
.public-membership-landing .membership-payment-modal.qrph-checkout-modal{--bs-modal-width:720px}
.gift-cash-public .gift-modal.qrph-checkout-modal{width:min(720px,calc(100% - 24px));max-width:720px}
@media(max-width:640px){
    .public-site .qrph-checkout-modal .qrph-checkout{padding:13px;gap:11px;margin:11px 0}
    .public-site .qrph-checkout-modal .qrph-checkout .payment-account-option{padding:11px!important}
    .public-site .qrph-checkout-modal .qrph-checkout-step strong{font-size:13px!important}
    .openplay-discovery-page .openplay-modal-dialog.qrph-checkout-modal{width:100%}
}
