/* Contratação: conta e pagamento no mesmo contexto. */
.checkout-feedback{padding:18px 24px;margin:24px 0;color:var(--color-primary-900);background:var(--color-primary-50,#eff6ff)}
.checkout-feedback-error{color:var(--color-danger-700);background:#fff1f2}
.subscription-checkout{grid-template-columns:minmax(250px,.75fr) minmax(0,1.25fr);max-width:1160px;margin:26px auto;gap:24px}
.subscription-checkout .payment-summary{position:sticky;top:110px;padding:30px}
.subscription-checkout .payment-checkout{min-width:0;padding:30px}
.subscription-checkout .payment-checkout-head{padding:0 0 24px;border-bottom:1px solid var(--color-neutral-200)}
.subscription-checkout .payment-summary .plan-tier{margin-top:18px}
.subscription-checkout .payment-summary h2{font-size:26px}
.subscription-checkout .payment-summary-price{font-size:32px;margin-top:24px}
.subscription-checkout .payment-summary-resources{font-size:13px;line-height:1.6}
.checkout-back{width:100%;margin-top:24px;color:#fff;border:1px solid rgba(255,255,255,.4);background:transparent}
.checkout-back:hover{background:rgba(255,255,255,.1)}
.checkout-account{display:grid;gap:6px;padding:24px 0;border-bottom:1px solid var(--color-neutral-200);overflow-wrap:anywhere}
.checkout-account span,.checkout-account small{font-size:13px;color:var(--muted)}
.checkout-account p,.checkout-help{font-size:13px;color:var(--muted);line-height:1.5;margin:0}
.checkout-section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:10px}
.checkout-section-heading a{font-size:12px;white-space:nowrap}
.checkout-section-heading a[aria-disabled=true]{pointer-events:none;opacity:.5}
.subscription-checkout h3{margin:0;font-size:16px}
.subscription-checkout h2[tabindex="-1"]:focus,.checkout-cancel h2[tabindex="-1"]:focus{outline:none}
.subscription-checkout .checkout-check,.checkout-cancel .checkout-check{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6;font-weight:500}
.subscription-checkout .checkout-check input,.checkout-cancel .checkout-check input{flex:0 0 auto;width:17px;height:17px;min-height:0;margin:3px 0 0;padding:0;accent-color:var(--color-primary-700)}
.checkout-order-total{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--color-neutral-200);padding-top:20px;margin-top:8px;font-size:14px}
.checkout-order-total strong{font-size:24px}
.checkout-payment-error{display:flex;align-items:flex-start;gap:12px;margin:18px 0;padding:14px 16px;border:1px solid #fecaca;border-radius:10px;background:#fff1f2;color:#991b1b;font-size:13px;line-height:1.5}
.checkout-payment-error.hidden{display:none}
.checkout-payment-error>span:last-child{display:grid;gap:2px}
.checkout-payment-error strong{font-size:14px}
.checkout-payment-error-icon{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:#dc2626;color:#fff;font-weight:800}
.payment-mode-group{min-width:0;margin:20px 0;padding:0;border:0}
.payment-mode-group legend{margin-bottom:9px;font-size:14px;font-weight:700}
.payment-mode-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.payment-mode-option{display:flex;align-items:flex-start;gap:10px;padding:14px;border:1px solid var(--color-neutral-300);border-radius:10px;cursor:pointer;font-size:13px}
.payment-mode-option:has(input:checked){border-color:var(--color-primary-600);background:var(--color-primary-50,#eff6ff)}
.payment-checkout .payment-mode-option input{flex:0 0 18px;width:18px;height:18px;min-height:0;margin:2px 0 0;padding:0;accent-color:var(--color-primary-700)}
.payment-mode-option span{display:grid;gap:2px}
.payment-mode-option small{color:var(--muted);line-height:1.4}
.checkout-warning{padding:14px;background:#fffbeb;border:1px solid #fde68a;border-radius:8px;color:#854d0e;font-size:13px;line-height:1.6}
.checkout-auth{padding:16px;margin-top:18px;background:var(--color-neutral-50);border:1px solid var(--color-neutral-200);border-radius:10px}
.checkout-auth .pre-checkout-reauth{padding:0;border:0;margin:0}
.checkout-auth details{margin-top:12px;font-size:13px}
.checkout-auth summary{cursor:pointer}
.checkout-auth .button{margin-top:8px}
.checkout-auth #pre-checkout-code-block{margin-top:12px}
.checkout-auth input{display:block;width:100%;min-width:0;margin-top:6px;padding:10px;border:1px solid var(--color-neutral-300);border-radius:6px}
.checkout-cancel{max-width:640px;padding:30px;margin:26px auto;line-height:1.6}
.checkout-cancel .checkout-check{margin:22px 0}
.checkout-cancel #cancel-error{color:var(--color-danger-700)}
.checkout-cancel .payment-actions{flex-wrap:wrap}
#payment-sdk-status:empty,#payment-progress:empty{display:none}
#payment-sdk-status{margin-top:16px}
#payment-submit{width:100%;min-height:48px;white-space:normal}
@media(max-width:1100px){.subscription-checkout{grid-template-columns:1fr}.subscription-checkout .payment-summary{position:static}.subscription-checkout .payment-summary-resources{grid-template-columns:repeat(2,minmax(0,1fr))}.subscription-checkout .payment-summary-note{display:none}}
@media(max-width:620px){.subscription-checkout{gap:16px}.subscription-checkout .payment-summary,.subscription-checkout .payment-checkout,.checkout-cancel{padding:22px 18px}.subscription-checkout .form-grid,.payment-mode-options{grid-template-columns:1fr}.subscription-checkout .payment-summary-resources{grid-template-columns:1fr}.checkout-section-heading{flex-wrap:wrap}.checkout-auth .pre-checkout-password-row{flex-direction:column;align-items:stretch}.checkout-cancel .payment-actions{flex-direction:column}.checkout-cancel .payment-actions .button{width:100%}}
