/* Membership and shop checkout: frame for Stripe's Payment Element, messages and the subscribe button. */
.tci-pay-element { min-height: 120px; }
.tci-pay-element:empty::before { content: "Loading secure payment form…"; display: block; padding: 16px 0; font: 400 15px/1.4 "Archivo", sans-serif; color: #4A5568; }
.tci-pay-error { margin: 0; padding: 12px 14px; border-left: 4px solid #C8102E; background: #FBEBEB; font: 400 15px/1.45 "Archivo", sans-serif; color: #1A1F2B; }
.tci-pay-error[hidden] { display: none; }
.tci-pay-error a { color: #13294B; font-weight: 700; }
.tci-pay-submit { box-sizing: border-box; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin: 0; padding: 0 20px; border: 0; border-radius: 0; background: #C8102E; color: #FFFFFF; font: 700 17px/1 "Archivo", sans-serif; cursor: pointer; }
.tci-pay-submit:hover { background: #A50D26; }
.tci-pay-submit:focus-visible { outline: 3px solid #13294B; outline-offset: 2px; }
.tci-pay-submit:disabled { background: #9FB3C8; cursor: progress; }
.tci-pay-test { margin: 0; padding: 10px 12px; border: 1px dashed #B7791F; background: #FFF8E6; font: 400 14px/1.45 "Archivo", sans-serif; color: #1A1F2B; }
.tci-pay-test code { font-size: 13px; }
.tci-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
/* WooCommerce checkout */
.woocommerce-checkout #tcip-wc-element { margin: 8px 0 4px; }
.woocommerce-checkout .tcip-wc-error { margin-top: 8px; }
.x-root #tci-pay-submit:disabled { opacity: .6; cursor: progress; }
.x-root #tci-checkout { margin: 0; }


/* ---------------------------------------------------------------- Round 1 fixes (Nov 2026) */
/* Issue 12: the promo "Apply" button keeps its word on one line. */
#tci-promo-apply, .x-root #tci-promo-apply { flex: 0 0 auto; min-width: 88px; white-space: nowrap; }
/* Issue 14: gift form errors under their field. */
.tci-field-error { display: block; margin: 6px 0 0; padding: 8px 12px; background: #FDECEE; border-left: 4px solid #C8102E;
  font: 600 16px/1.4 "Archivo", sans-serif; color: #8A0B20; }
/* Issue 6: Pay button directly under the gift card fields. */
.tci-gift-pay-below { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; margin-top: 16px;
  padding: 0 20px; border: 0; border-radius: 0; background: #C8102E; color: #FFFFFF; font: 700 17px/1.2 "Archivo", sans-serif; cursor: pointer; }
.tci-gift-pay-below:hover { background: #13294B; }
.tci-gift-pay-below[disabled] { opacity: .6; cursor: not-allowed; }
#tci-gift-error-below { margin: 14px 0 0; }
