#recf-express-checkout-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 0 20px 0;
  padding: 0 16px;
  box-sizing: border-box;
}

#recf-express-checkout-container {
  padding: 0;
  margin: 0 0 16px 0;
}

.recf-express-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px 0;
  text-align: center;
}

#recf-payment-request-button {
  width: 100%;
  min-height: 48px;
  overflow: hidden;
}

/* Separator */
.recf-separator {
  display: flex;
  align-items: center;
  margin: 0 0 20px 0;
}

.recf-separator-line {
  flex: 1;
  height: 1px;
  background-color: #ddd;
}

.recf-separator-text {
  padding: 0 16px;
  font-size: 13px;
  color: #999;
  text-transform: lowercase;
  white-space: nowrap;
  font-weight: 400;
}

/* Loading overlay for express checkout button */
#recf-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: inherit;
  pointer-events: none;
}

.recf-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #ddd;
  border-top-color: #333;
  border-radius: 50%;
  animation: recf-spin 0.6s linear infinite;
}

@keyframes recf-spin {
  to { transform: rotate(360deg); }
}

/* Fix: Radio buttons vertically centered */
body .wfacp_main_form.woocommerce .woocommerce-checkout #payment ul.payment_methods li.payment_method_revolut_pay,
body .wfacp_main_form.woocommerce .woocommerce-checkout #payment ul.payment_methods li.payment_method_revolut_payment_request {
  align-items: center !important;
}

/* Fix: Revolut Pay & Google Pay icons inline with text */
body .wfacp_main_form.woocommerce .woocommerce-checkout #payment ul.payment_methods li.payment_method_revolut_pay > label,
body .wfacp_main_form.woocommerce .woocommerce-checkout #payment ul.payment_methods li.payment_method_revolut_payment_request > label {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

body .wfacp_main_form.woocommerce .woocommerce-checkout #payment ul.payment_methods li.payment_method_revolut_pay .revolut-scheme-icons-wrapper,
body .wfacp_main_form.woocommerce .woocommerce-checkout #payment ul.payment_methods li.payment_method_revolut_payment_request .revolut-scheme-icons-wrapper {
  flex-shrink: 0 !important;
  width: auto !important;
  max-width: 50% !important;
}

/* Fix: Payment buttons full width */
body .wfacp_main_form.woocommerce .woocommerce-checkout #payment ul.payment_methods li.payment_method_revolut_pay .payment_box,
body .wfacp_main_form.woocommerce .woocommerce-checkout #payment ul.payment_methods li.payment_method_revolut_payment_request .payment_box {
  width: calc(100% + 22px) !important;
  margin-left: -11px !important;
  margin-right: -11px !important;
  flex-basis: auto !important;
}

body .wfacp_main_form.woocommerce .woocommerce-checkout #payment ul.payment_methods li.payment_method_revolut_pay #woocommerce-revolut-pay-element,
body .wfacp_main_form.woocommerce .woocommerce-checkout #payment ul.payment_methods li.payment_method_revolut_payment_request #woocommerce-revolut-payment-request-element {
  width: 100% !important;
}