/* Square pay pop-up (assets/square-pay.js). Fields follow the site's
   .lbp-application form finish where it is loaded; these rules keep the
   pop-up complete on its own.
   (c) HAUS XXIV, LLC · Licensed to Long Beach Pride */

html.sqp-lock { overflow: hidden; }
.sqp { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; border-radius: 28px; background: #fff; color: #0C0C0E; box-shadow: 0 40px 120px -30px rgba(12, 12, 14, .55); overflow: auto; }
.sqp::backdrop { background: rgba(12, 12, 14, .55); backdrop-filter: blur(4px); }
.sqp-in { display: flex; flex-direction: column; }
.sqp-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 28px 18px; border-bottom: 1px solid rgba(12, 12, 14, .1); background: #fff; }
.sqp-k { margin: 0 0 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6B6B73; }
.sqp-h:not(#_) { margin: 0; font-size: 22px !important; line-height: 1.25 !important; font-weight: 750; letter-spacing: -.01em; }
.sqp-x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #F3F3F3; color: #0C0C0E; cursor: pointer; }
.sqp-x svg { width: 20px; height: 20px; }
.sqp-x:focus-visible, .sqp .btn:focus-visible { outline: 3px solid #6D28D9; outline-offset: 3px; }
.sqp-body { padding: 22px 28px 28px; }
.sqp-form { display: grid; gap: 22px; }
.sqp-sum { padding: 16px 18px; border-radius: 16px; background: #F3F3F3; }
.sqp-lines { display: grid; gap: 6px; margin: 0 0 10px; padding: 0 0 10px; list-style: none; border-bottom: 1px solid rgba(12, 12, 14, .1); font-size: 14.5px; color: #3B3B41; }
.sqp-lines li, .sqp-total { display: flex; justify-content: space-between; gap: 16px; }
.sqp-total { margin: 0; font-size: 16px; }
.sqp-total b { font-size: 20px; font-weight: 750; }
.sqp .fg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 14px; }
.sqp .f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sqp .f-full { grid-column: 1 / -1; }
.sqp .f-half { grid-column: span 2; }
.sqp .f-quarter { grid-column: span 1; }
.sqp .l { font-size: 14px; font-weight: 600; color: #0C0C0E; }
.sqp .req { margin-left: 2px; color: #6D28D9; }
.sqp .optl { font-weight: 400; color: #6B6B73; }
.sqp input:not([type=radio]):not([type=checkbox]), .sqp select { width: 100%; height: 50px; padding: 0 14px; border: 1px solid #D4D4DA; border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: #0C0C0E; }
.sqp input:focus, .sqp select:focus { outline: none; border-color: #6D28D9; box-shadow: 0 0 0 3px rgba(109, 40, 217, .18); }
.sqp .is-err input, .sqp .is-err select { border-color: #B42318; }
.sqp .err { min-height: 0; font-size: 13px; font-weight: 600; color: #B42318; }
.sqp .err:empty { display: none; }
.sqp-set { margin: 0; padding: 0; border: 0; min-width: 0; }
.sqp-legend { margin: 0 0 10px; padding: 0; font-size: 14px; font-weight: 700; }
.sqp-wallet { margin-bottom: 12px; min-height: 48px; }
/* Apple Pay: Apple's own button, drawn by Safari */
.sqp .sqp-apay:not([hidden]) { display: block; width: 100%; height: 48px; margin: 0 0 12px; padding: 0; border: 0; border-radius: 12px; cursor: pointer; -webkit-appearance: -apple-pay-button; appearance: -apple-pay-button; -apple-pay-button-type: plain; -apple-pay-button-style: black; background: #000; }
.sqp .sqp-apay:focus-visible { outline: 3px solid #6D28D9; outline-offset: 2px; }
/* Wallet stack: Apple Pay, Google Pay, Cash App Pay, Afterpay, bank transfer */
.sqp-wallets { display: grid; gap: 10px; }
.sqp-wallets > * { margin: 0 !important; }
.sqp-wallets > [hidden] { display: none !important; }
.sqp-wallets .sqp-wallet:empty { min-height: 0; }
.sqp .sqp-alt { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid #D4D4DA; border-radius: 12px; background: #fff; font: inherit; font-size: 15px; font-weight: 600; color: #0C0C0E; cursor: pointer; }
.sqp .sqp-alt:hover { border-color: #0C0C0E; }
.sqp .sqp-alt:focus-visible { outline: 3px solid #6D28D9; outline-offset: 2px; }
.sqp .sqp-alt svg { flex: none; width: 20px; height: 20px; }
.sqp .sqp-alt[hidden] { display: none; }
.sqp-or { display: flex; align-items: center; gap: 12px; margin: 16px 0 12px; font-size: 13px; color: #6B6B73; }
.sqp-or::before, .sqp-or::after { content: ""; flex: 1; height: 1px; background: #E4E4E8; }
.sqp-or[hidden] { display: none; }
.sqp-gift { margin-top: 12px; font-size: 14px; }
.sqp-gift > summary { width: max-content; cursor: pointer; font-weight: 600; color: #6D28D9; }
.sqp-gift > summary:focus-visible { outline: 3px solid #6D28D9; outline-offset: 2px; border-radius: 4px; }
.sqp-gift-in { display: grid; gap: 10px; margin-top: 12px; }
.sqp-card { min-height: 90px; }
.sqp-loading { margin: 0; font-size: 14px; color: #6B6B73; }
.sqp-status { padding: 12px 14px; border-radius: 12px; background: #F3F3F3; font-size: 14.5px; line-height: 1.5; color: #3B3B41; }
.sqp-status.is-error { background: #FEF3F2; color: #B42318; font-weight: 600; }
.sqp-continue { display: inline-flex; margin-top: 10px; }
.sqp-actions { display: grid; gap: 12px; }
.sqp-pay { width: 100%; justify-content: center; min-height: 52px; }
.sqp-pay[disabled] { opacity: .55; cursor: not-allowed; }
.sqp-fine { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 13px; line-height: 1.5; color: #6B6B73; }
.sqp-fine svg { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.sqp-done { display: grid; justify-items: center; gap: 10px; padding: 12px 0 4px; text-align: center; outline: none; }
.sqp-done-ic svg { width: 56px; height: 56px; fill: none; stroke: #6D28D9; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sqp-done-h:not(#_) { margin: 4px 0 0; font-size: 24px !important; font-weight: 750; }
.sqp-done-p { margin: 0; color: #3B3B41; }
.sqp .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 560px) {
	.sqp { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
	.sqp-head, .sqp-body { padding-inline: 20px; }
	.sqp .fg { grid-template-columns: 1fr 1fr; }
	.sqp .f-half { grid-column: 1 / -1; }
}
/* Bank transfer: the fee saving, worked out from the amount */
.sqp .sqp-alt-t { display: grid; justify-items: center; gap: 2px; text-align: center; }
.sqp .sqp-alt-s { font-size: 13px; font-weight: 500; color: #3B3B41; }
.sqp .sqp-alt-s[hidden] { display: none; }
.sqp .sqp-alt.is-save { min-height: 60px; padding-block: 10px; border-color: #0C0C0E; }
/* Donations: cover the processing fee */
.sqp-feeline { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 8px; font-size: 14px; color: #3B3B41; }
.sqp-feeline[hidden] { display: none; }
.sqp .sqp-cover { display: flex; align-items: flex-start; gap: 12px; margin: 16px 0 0; padding: 14px 16px; border: 1px solid #D4D4DA; border-radius: 12px; cursor: pointer; }
.sqp .sqp-cover:has( input:checked ) { border-color: #6D28D9; background: #FAF7FF; }
.sqp .sqp-cover input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #6D28D9; }
.sqp .sqp-cover input:focus-visible { outline: 3px solid #6D28D9; outline-offset: 2px; }
.sqp-cover-t { display: grid; gap: 2px; font-size: 14px; line-height: 1.45; color: #3B3B41; }
.sqp-cover-t b { font-size: 15px; color: #0C0C0E; }
