




:root {
  --bytepress-primary-color: #0570de;
  --bytepress-primary-hover: #0b81fa;
  --bytepress-primary-active: #228cfa;
  --bytepress-background: #fff;
  --bytepress-text-color: #30313d;
  --bytepress-text-secondary: #6d6e78;
  --bytepress-text-placeholder: #757680;
  --bytepress-border-color: #bdbdbd;
  --bytepress-border-focus: rgba(5, 115, 225, 0.5);
  --bytepress-error-color: #df1b41;
  --bytepress-success-color: #30b130;
  --bytepress-warning-color: #f6e6b9;
  --bytepress-shadow: 0px 1px 1px rgba(0, 0, 0, 0.03), 0px 3px 6px rgba(0, 0, 0, 0.02);
  --bytepress-shadow-focus: 0px 1px 1px rgba(0, 0, 0, 0.03), 0px 3px 6px rgba(0, 0, 0, 0.02), 0 0 0 3px rgba(5, 115, 225, 0.25);
  --bytepress-border-radius: 5px;
  --bytepress-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --bytepress-font-size: 16px;
  --bytepress-font-size-sm: 14px;
  --bytepress-font-size-xs: 13px;
  --bytepress-spacing-xs: 4px;
  --bytepress-spacing-sm: 8px;
  --bytepress-spacing: 12px;
  --bytepress-spacing-lg: 16px;
  --bytepress-spacing-xl: 24px;
}


.bytepress-payment-form,
.bytepress-payment-form *,
.bytepress-payment-block,
.bytepress-payment-block * {
  box-sizing: border-box;
  font-family: var(--bytepress-font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


.bytepress-payment-form,
.bytepress-payment-block {
  background: #fff;
  border-radius: 0;
  padding: 16px;
}

.bytepress-payment-form-block {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  margin: 0;
}


.bytepress-block-title {
  margin: 0 0 var(--bytepress-spacing-lg) 0;
  padding: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--bytepress-text-color);
  line-height: 1.3;
}


.bytepress-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--bytepress-spacing-lg);
}


.bytepress-field-full {
  grid-column: 1 / -1;
}


@media (min-width: 768px) {
  .bytepress-form-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--bytepress-spacing-lg);
  }
  
  .bytepress-field-half {
    grid-column: span 1;
  }
}


@media (min-width: 768px) {
  body .woocommerce .payment_method_bytepress .bytepress-form-grid,
  body .wc_payment_methods .payment_method_bytepress .bytepress-form-grid,
  body form.checkout .payment_method_bytepress .bytepress-form-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: var(--bytepress-spacing-lg) !important;
  }

  body .woocommerce .payment_method_bytepress .bytepress-field-half,
  body .wc_payment_methods .payment_method_bytepress .bytepress-field-half,
  body form.checkout .payment_method_bytepress .bytepress-field-half {
    grid-column: span 1 !important;
    width: 100% !important;
  }
}


@media (max-width: 767px) {
  .payment_method_bytepress .payment_box,
  .payment_method_bytepress > .payment_box,
  li.payment_method_bytepress .payment_box,
  body .woocommerce .payment_method_bytepress .payment_box,
  body .wc_payment_methods .payment_method_bytepress .payment_box {
    
  }
  
  #bytepress-payment-form,
  .bytepress-payment-form,
  .bytepress-payment-block,
  .bytepress-payment-form-block,
  body .woocommerce .bytepress-payment-form,
  body .woocommerce #bytepress-payment-form,
  body .wc_payment_methods .bytepress-payment-form,
  body .wc_payment_methods #bytepress-payment-form {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .bytepress-form-grid,
  body .woocommerce .bytepress-form-grid,
  body .wc_payment_methods .bytepress-form-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }
  
  .bytepress-field-full {
    grid-column: 1 / -1 !important;
  }
  
  .bytepress-field-half {
    grid-column: span 1 !important;
  }
  
  body .woocommerce .bytepress-payment-form .bytepress-field,
  body .wc_payment_methods .bytepress-payment-form .bytepress-field,
  .bytepress-payment-form .bytepress-field {
    margin-bottom: 8px !important;
  }
}


body .woocommerce .bytepress-payment-form .bytepress-field,
body .wc_payment_methods .bytepress-payment-form .bytepress-field,
.checkout .bytepress-payment-form .bytepress-field,
.bytepress-payment-form .bytepress-field {
  position: relative !important;
  margin-bottom: 16px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  display: block !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}

.bytepress-field:last-child {
  margin-bottom: 0;
}


.bytepress-label {
  display: block;
  margin-bottom: var(--bytepress-spacing-xs);
  font-size: var(--bytepress-font-size-sm);
  font-weight: 500;
  color: var(--bytepress-text-color);
  line-height: 1.3;
}

.bytepress-label .required {
  color: var(--bytepress-error-color);
  margin-left: 2px;
}


[dir="rtl"] .bytepress-label .required,
html[dir="rtl"] .bytepress-label .required,
body[dir="rtl"] .bytepress-label .required,
.rtl .bytepress-label .required {
  margin-left: 0 !important;
  margin-right: 2px !important;
}


body .woocommerce .bytepress-payment-form .bytepress-input-wrapper,
body .wc_payment_methods .bytepress-payment-form .bytepress-input-wrapper,
.checkout .bytepress-payment-form .bytepress-input-wrapper,
.bytepress-payment-form .bytepress-input-wrapper {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  flex-wrap: nowrap !important;
}


body .woocommerce .bytepress-payment-form .bytepress-field .bytepress-input,
body .woocommerce .bytepress-payment-form input.bytepress-input,
body .woocommerce input#bytepress-card-number,
body .woocommerce input#bytepress-card-expiry,
body .woocommerce input#bytepress-card-cvc,
body .wc_payment_methods .bytepress-payment-form .bytepress-field .bytepress-input,
body .wc_payment_methods .bytepress-payment-form input.bytepress-input,
body .wc_payment_methods input#bytepress-card-number,
body .wc_payment_methods input#bytepress-card-expiry,
body .wc_payment_methods input#bytepress-card-cvc,
.checkout .bytepress-payment-form .bytepress-field .bytepress-input,
.checkout .bytepress-payment-form input.bytepress-input,
.checkout input#bytepress-card-number,
.checkout input#bytepress-card-expiry,
.checkout input#bytepress-card-cvc {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 12px !important;
  font-size: 16px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif !important;
  color: #30313d !important;
  background: #fff !important;
  border: 1px solid #bdbdbd !important;
  border-radius: 5px !important;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.03), 0px 3px 6px rgba(0, 0, 0, 0.02) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
  outline: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  height: auto !important;
  line-height: normal !important;
  flex: 1 !important;
  display: block !important;
  position: relative !important;
}


.bytepress-payment-form input.bytepress-input::placeholder,
input#bytepress-card-number::placeholder,
input#bytepress-card-expiry::placeholder,
input#bytepress-card-cvc::placeholder {
  color: var(--bytepress-text-placeholder) !important;
  opacity: 1 !important;
}


.bytepress-payment-form .bytepress-field .bytepress-input:focus,
.bytepress-payment-form input.bytepress-input:focus,
input#bytepress-card-number:focus,
input#bytepress-card-expiry:focus,
input#bytepress-card-cvc:focus {
  border-color: rgba(5, 115, 225, 0.5) !important;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.03), 0px 3px 6px rgba(0, 0, 0, 0.02), 0 0 0 3px rgba(5, 115, 225, 0.25) !important;
}


body .woocommerce .bytepress-payment-form .bytepress-input-wrapper:focus-within .bytepress-input,
body .wc_payment_methods .bytepress-payment-form .bytepress-input-wrapper:focus-within .bytepress-input,
.checkout .bytepress-payment-form .bytepress-input-wrapper:focus-within .bytepress-input,
.bytepress-payment-form .bytepress-input-wrapper:focus-within .bytepress-input,
body .woocommerce .bytepress-payment-form .bytepress-field:focus-within .bytepress-input,
body .wc_payment_methods .bytepress-payment-form .bytepress-field:focus-within .bytepress-input,
.checkout .bytepress-payment-form .bytepress-field:focus-within .bytepress-input,
.bytepress-payment-form .bytepress-field:focus-within .bytepress-input,
body .cfw .bytepress-payment-form .bytepress-field:focus-within .bytepress-input,
body .cfw-payment-method .bytepress-field:focus-within .bytepress-input,

input#bytepress-card-number:focus,
input#bytepress-card-expiry:focus,
input#bytepress-card-cvc:focus,
body input#bytepress-card-number:focus,
body input#bytepress-card-expiry:focus,
body input#bytepress-card-cvc:focus {
  border-color: rgba(5, 115, 225, 0.5) !important;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.03), 0px 3px 6px rgba(0, 0, 0, 0.02), 0 0 0 3px rgba(5, 115, 225, 0.25) !important;
  outline: none !important;
}

.bytepress-input:disabled {
  background: #f2f2f2;
  color: var(--bytepress-text-placeholder);
  cursor: not-allowed;
}

.bytepress-input.error {
  border-color: var(--bytepress-error-color);
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.03), 0px 3px 6px rgba(0, 0, 0, 0.02), 0 0 0 1px var(--bytepress-error-color);
}


body .woocommerce .bytepress-field-full .bytepress-input,
body .wc_payment_methods .bytepress-field-full .bytepress-input,
.checkout .bytepress-field-full .bytepress-input,
.bytepress-field-full .bytepress-input,
body .woocommerce input#bytepress-card-number,
body .wc_payment_methods input#bytepress-card-number,
.checkout input#bytepress-card-number,
input#bytepress-card-number {
  padding-right: 120px !important; 
}


[dir="rtl"] body .woocommerce .bytepress-field-full .bytepress-input,
[dir="rtl"] body .wc_payment_methods .bytepress-field-full .bytepress-input,
[dir="rtl"] .checkout .bytepress-field-full .bytepress-input,
[dir="rtl"] .bytepress-field-full .bytepress-input,
[dir="rtl"] body .woocommerce input#bytepress-card-number,
[dir="rtl"] body .wc_payment_methods input#bytepress-card-number,
[dir="rtl"] .checkout input#bytepress-card-number,
[dir="rtl"] input#bytepress-card-number,
html[dir="rtl"] body .woocommerce .bytepress-field-full .bytepress-input,
html[dir="rtl"] body .wc_payment_methods .bytepress-field-full .bytepress-input,
html[dir="rtl"] .checkout .bytepress-field-full .bytepress-input,
html[dir="rtl"] .bytepress-field-full .bytepress-input,
html[dir="rtl"] body .woocommerce input#bytepress-card-number,
html[dir="rtl"] body .wc_payment_methods input#bytepress-card-number,
html[dir="rtl"] .checkout input#bytepress-card-number,
html[dir="rtl"] input#bytepress-card-number,
body[dir="rtl"] .woocommerce .bytepress-field-full .bytepress-input,
body[dir="rtl"] .wc_payment_methods .bytepress-field-full .bytepress-input,
body[dir="rtl"] .checkout .bytepress-field-full .bytepress-input,
body[dir="rtl"] .bytepress-field-full .bytepress-input,
body[dir="rtl"] .woocommerce input#bytepress-card-number,
body[dir="rtl"] .wc_payment_methods input#bytepress-card-number,
body[dir="rtl"] .checkout input#bytepress-card-number,
body[dir="rtl"] input#bytepress-card-number,
.rtl .bytepress-field-full .bytepress-input,
.rtl input#bytepress-card-number {
  padding-right: 12px !important;
  padding-left: 120px !important;
}


body .woocommerce .bytepress-payment-form .FormFieldInput-Icons,
body .wc_payment_methods .bytepress-payment-form .FormFieldInput-Icons,
.checkout .bytepress-payment-form .FormFieldInput-Icons,
.bytepress-payment-form .FormFieldInput-Icons {
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  pointer-events: none !important;
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  width: auto !important;
  z-index: 2 !important;
}


[dir="rtl"] body .woocommerce .bytepress-payment-form .FormFieldInput-Icons,
[dir="rtl"] body .wc_payment_methods .bytepress-payment-form .FormFieldInput-Icons,
[dir="rtl"] .checkout .bytepress-payment-form .FormFieldInput-Icons,
[dir="rtl"] .bytepress-payment-form .FormFieldInput-Icons,
html[dir="rtl"] body .woocommerce .bytepress-payment-form .FormFieldInput-Icons,
html[dir="rtl"] body .wc_payment_methods .bytepress-payment-form .FormFieldInput-Icons,
html[dir="rtl"] .checkout .bytepress-payment-form .FormFieldInput-Icons,
html[dir="rtl"] .bytepress-payment-form .FormFieldInput-Icons,
body[dir="rtl"] .woocommerce .bytepress-payment-form .FormFieldInput-Icons,
body[dir="rtl"] .wc_payment_methods .bytepress-payment-form .FormFieldInput-Icons,
body[dir="rtl"] .checkout .bytepress-payment-form .FormFieldInput-Icons,
body[dir="rtl"] .bytepress-payment-form .FormFieldInput-Icons,
.rtl .bytepress-payment-form .FormFieldInput-Icons {
  right: auto !important;
  left: 12px !important;
}


.FormFieldInput-IconsIcon.bytepress-hidden,
.CardFormFieldGroupIconOverflow.bytepress-hidden,
.FormFieldInput-ErrorIcon.bytepress-hidden,
body .woocommerce .bytepress-payment-form .FormFieldInput-IconsIcon.bytepress-hidden,
body .wc_payment_methods .bytepress-payment-form .FormFieldInput-IconsIcon.bytepress-hidden,
.checkout .bytepress-payment-form .FormFieldInput-IconsIcon.bytepress-hidden,
.bytepress-payment-form .FormFieldInput-IconsIcon.bytepress-hidden,
body .woocommerce .bytepress-payment-form .CardFormFieldGroupIconOverflow.bytepress-hidden,
body .wc_payment_methods .bytepress-payment-form .CardFormFieldGroupIconOverflow.bytepress-hidden,
.checkout .bytepress-payment-form .CardFormFieldGroupIconOverflow.bytepress-hidden,
.bytepress-payment-form .CardFormFieldGroupIconOverflow.bytepress-hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}


body .woocommerce .bytepress-payment-form .FormFieldInput-IconsIcon,
body .wc_payment_methods .bytepress-payment-form .FormFieldInput-IconsIcon,
.checkout .bytepress-payment-form .FormFieldInput-IconsIcon,
.bytepress-payment-form .FormFieldInput-IconsIcon {
  display: flex !important;
  align-items: center !important;
  opacity: 1 !important;
  transition: opacity 0.2s ease !important;
  height: 20px !important;
  width: auto !important;
  max-width: 32px !important;
  min-width: 20px !important;
}

body .woocommerce .bytepress-payment-form .FormFieldInput-IconsIcon.is-visible,
body .wc_payment_methods .bytepress-payment-form .FormFieldInput-IconsIcon.is-visible,
.checkout .bytepress-payment-form .FormFieldInput-IconsIcon.is-visible,
.bytepress-payment-form .FormFieldInput-IconsIcon.is-visible {
  opacity: 1 !important;
}

body .woocommerce .bytepress-payment-form .BrandIcon,
body .wc_payment_methods .bytepress-payment-form .BrandIcon,
.checkout .bytepress-payment-form .BrandIcon,
.bytepress-payment-form .BrandIcon,
.FormFieldInput-Icons .BrandIcon,
.CardFormFieldGroupIconOverflow .BrandIcon {
  height: 20px !important;
  width: auto !important;
  max-width: 32px !important;
  min-width: 20px !important;
  object-fit: contain !important;
  display: block !important;
  border: none !important;
  box-shadow: none !important;
  background: none !important;
  margin: 0 !important;
  padding: 0 !important;
}


body .woocommerce .bytepress-payment-form .CardFormFieldGroupIconOverflow,
body .wc_payment_methods .bytepress-payment-form .CardFormFieldGroupIconOverflow,
.checkout .bytepress-payment-form .CardFormFieldGroupIconOverflow,
.bytepress-payment-form .CardFormFieldGroupIconOverflow {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 20px !important;
  min-width: 28px !important;
  max-width: 28px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  border: none !important;
  background: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.CardFormFieldGroupIconOverflow-Item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease;
}

.CardFormFieldGroupIconOverflow-Item--invisible {
  opacity: 0;
  z-index: 0;
}

.CardFormFieldGroupIconOverflow-Item--visible {
  opacity: 1;
  z-index: 1;
}


.CardFormFieldGroupIconOverflow .FormFieldInput-IconsIcon {
  opacity: 1;
}

.CardFormFieldGroupIconOverflow .BrandIcon {
  height: 20px !important;
  width: auto !important;
  max-width: 32px !important;
  min-width: 20px !important;
  object-fit: contain !important;
}


.FormFieldInput-ErrorIcon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 16px;
}

.FormFieldInput-ErrorIcon svg {
  width: 12px;
  height: 12px;
}


.bytepress-payment-form .bytepress-field .bytepress-input.error:not(:focus),
.bytepress-payment-form input.bytepress-input.error:not(:focus),
input#bytepress-card-number.error:not(:focus),
input#bytepress-card-expiry.error:not(:focus),
input#bytepress-card-cvc.error:not(:focus),
.bytepress-field-error .bytepress-input:not(:focus) {
  border-color: #dc2727 !important;
  box-shadow: 0 0 0 0.1px #dc2727 !important;
  color: #dc2727 !important;
}


.bytepress-error-message,
.bytepress-blocks-error-message,
body .bytepress-error-message,
body .bytepress-blocks-error-message,
.bytepress-payment-form .bytepress-error-message,
.bytepress-blocks-payment-form .bytepress-blocks-error-message,
.wfacp_main_form .bytepress-error-message,
.wfacp_main_form .bytepress-blocks-error-message,
body .wfacp_main_form .bytepress-error-message,
body .wfacp_main_form .bytepress-blocks-error-message,
.wfacp-form .bytepress-error-message,
.wfacp-form .bytepress-blocks-error-message {
  display: block !important;
  margin-top: 8px !important;
  font-size: 12px !important;
  color: #dc2727 !important;
  line-height: 1.4 !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}


body .woocommerce .bytepress-cvc-icon,
body .wc_payment_methods .bytepress-cvc-icon,
.checkout .bytepress-cvc-icon,
.bytepress-cvc-icon {
  position: absolute !important;
  right: var(--bytepress-spacing) !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 30px !important;
  height: 20px !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
  --colorIconCardCvc: #6c7581;
}

.bytepress-cvc-icon .p-CardCvcIcons-svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  vertical-align: middle !important;
}


[dir="rtl"] body .woocommerce .bytepress-cvc-icon,
[dir="rtl"] body .wc_payment_methods .bytepress-cvc-icon,
[dir="rtl"] .checkout .bytepress-cvc-icon,
[dir="rtl"] .bytepress-cvc-icon,
html[dir="rtl"] body .woocommerce .bytepress-cvc-icon,
html[dir="rtl"] body .wc_payment_methods .bytepress-cvc-icon,
html[dir="rtl"] .checkout .bytepress-cvc-icon,
html[dir="rtl"] .bytepress-cvc-icon,
body[dir="rtl"] .woocommerce .bytepress-cvc-icon,
body[dir="rtl"] .wc_payment_methods .bytepress-cvc-icon,
body[dir="rtl"] .checkout .bytepress-cvc-icon,
body[dir="rtl"] .bytepress-cvc-icon,
.rtl .bytepress-cvc-icon {
  right: auto !important;
  left: var(--bytepress-spacing) !important;
}




.bytepress-errors,
#bytepress-card-errors,
.bytepress-error {
  display: none !important;
}


.bytepress-field .bytepress-error-message,
.bytepress-blocks-field .bytepress-blocks-error-message {
  display: block !important;
  margin-top: 8px !important;
  font-size: 12px !important;
  color: #dc2727 !important;
  line-height: 1.4 !important;
}




.bytepress-loading {
  position: relative;
  pointer-events: none;
}

.bytepress-loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--bytepress-border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bytepress-loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid var(--bytepress-border-color);
  border-top-color: var(--bytepress-primary-color);
  border-radius: 50%;
  animation: bytepress-spin 1s linear infinite;
  z-index: 1;
}

@keyframes bytepress-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}


@media (max-width: 480px) {
  .bytepress-payment-form,
  .bytepress-payment-block {
    padding: 12px;
    margin: 0;
  }
  
  .bytepress-form-grid {
    gap: var(--bytepress-spacing);
  }
  
  .bytepress-input {
    font-size: 16px; 
  }
}


@media (prefers-color-scheme: dark) {
  
  .bytepress-payment-form,
  .bytepress-payment-block {
    background: #fff !important;
    color: #30313d !important;
  }
  
  
  .bytepress-payment-form .bytepress-field .bytepress-input,
  .bytepress-payment-form input.bytepress-input,
  .checkout input#bytepress-card-number,
  .checkout input#bytepress-card-expiry,
  .checkout input#bytepress-card-cvc {
    background: #fff !important;
    color: #30313d !important;
    border: 1px solid #bdbdbd !important;
  }
  
  
  .bytepress-payment-form .bytepress-label,
  .bytepress-label {
    color: #30313d !important;
  }
  
  
  .bytepress-payment-form input.bytepress-input::placeholder,
  input#bytepress-card-number::placeholder,
  input#bytepress-card-expiry::placeholder,
  input#bytepress-card-cvc::placeholder {
    color: #757680 !important;
  }
  
  
  .bytepress-card-icon svg,
  .bytepress-cvc-icon svg {
    filter: none !important;
  }
}


.bytepress-field {
  animation: bytepress-fade-in 0.3s ease-out;
}

@keyframes bytepress-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.bytepress-input:focus-visible {
  outline: 2px solid var(--bytepress-primary-color);
  outline-offset: 2px;
}


@media (prefers-contrast: high) {
  .bytepress-input {
    border-width: 2px;
  }
  
  .bytepress-input:focus {
    border-width: 3px;
  }
}







.wc_payment_method.payment_method_bytepress,
.wfacp_main_form .wc_payment_method.payment_method_bytepress,
.wfacp-form .wc_payment_method.payment_method_bytepress,
.cfw-payment-method-inner.payment_method_bytepress,
#cfw-payment-method .payment_method_bytepress,
li.payment_method_bytepress {
  position: relative !important;
}

.wc_payment_method.payment_method_bytepress label[for="payment_method_bytepress"] {
  box-sizing: border-box !important;
}


.wc_payment_method.payment_method_bytepress label img,
li.payment_method_bytepress label img {
  float: right !important;
  max-height: 22px !important;
  width: auto !important;
  vertical-align: middle !important;
}


.payment_method_bytepress .payment_method_icons,
.payment_method_bytepress .payment-title-icon {
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  min-width: auto !important;
}


[dir="rtl"] .wc_payment_method.payment_method_bytepress label img,
[dir="rtl"] li.payment_method_bytepress label img {
  float: left !important;
}


.wc_payment_method.payment_method_bytepress .payment_box p {
  margin: 0 0 20px 0;
  padding: 0;
  font-size: 14px;
  color: #666666;
  line-height: 1.5;
}


.bytepress-payment-form *,
.bytepress-payment-form *:before,
.bytepress-payment-form *:after {
  box-sizing: border-box !important;
}


.bytepress-payment-form .bytepress-field,
.bytepress-payment-form .bytepress-input-wrapper {
  display: block !important;
  width: 100% !important;
}

.bytepress-payment-form .bytepress-input-wrapper {
  display: flex !important;
}


.FormFieldInput-Icons img,
.CardFormFieldGroupIconOverflow img,
.bytepress-cvc-icon svg {
  vertical-align: middle !important;
  border: none !important;
  box-shadow: none !important;
  background: none !important;
  margin: 0 !important;
  padding: 0 !important;
}


.bytepress-form-grid .bytepress-field-full,
.bytepress-form-grid .bytepress-field-half {
  margin: 0 !important;
  margin-bottom: var(--bytepress-spacing-lg) !important;
}


body.woocommerce .woocommerce .bytepress-payment-form,
body.woocommerce-page .woocommerce .bytepress-payment-form,
body .woocommerce-checkout .bytepress-payment-form,
body .checkout .bytepress-payment-form {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 16px !important;
  box-sizing: border-box !important;
}


body .woocommerce input#bytepress-card-number,
body .woocommerce input#bytepress-card-expiry,
body .woocommerce input#bytepress-card-cvc,
body input#bytepress-card-number,
body input#bytepress-card-expiry,
body input#bytepress-card-cvc {
  font-weight: normal !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  text-decoration: none !important;
  text-align: left !important;
  direction: ltr !important;
}


[dir="rtl"] body .woocommerce input#bytepress-card-number,
[dir="rtl"] body .woocommerce input#bytepress-card-expiry,
[dir="rtl"] body .woocommerce input#bytepress-card-cvc,
[dir="rtl"] body input#bytepress-card-number,
[dir="rtl"] body input#bytepress-card-expiry,
[dir="rtl"] body input#bytepress-card-cvc,
html[dir="rtl"] body .woocommerce input#bytepress-card-number,
html[dir="rtl"] body .woocommerce input#bytepress-card-expiry,
html[dir="rtl"] body .woocommerce input#bytepress-card-cvc,
html[dir="rtl"] body input#bytepress-card-number,
html[dir="rtl"] body input#bytepress-card-expiry,
html[dir="rtl"] body input#bytepress-card-cvc,
body[dir="rtl"] .woocommerce input#bytepress-card-number,
body[dir="rtl"] .woocommerce input#bytepress-card-expiry,
body[dir="rtl"] .woocommerce input#bytepress-card-cvc,
body[dir="rtl"] input#bytepress-card-number,
body[dir="rtl"] input#bytepress-card-expiry,
body[dir="rtl"] input#bytepress-card-cvc,
.rtl input#bytepress-card-number,
.rtl input#bytepress-card-expiry,
.rtl input#bytepress-card-cvc {
  text-align: right !important;
  direction: ltr !important;
}


body .woocommerce .bytepress-form-grid,
body .bytepress-form-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  width: 100% !important;
}

@media (min-width: 768px) {
  body .woocommerce .bytepress-form-grid,
  body .bytepress-form-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  
  body .woocommerce .bytepress-field-full,
  body .bytepress-field-full {
    grid-column: 1 / -1 !important;
  }
}


body .woocommerce input#bytepress-card-number.error,
body .woocommerce input#bytepress-card-expiry.error,
body .woocommerce input#bytepress-card-cvc.error,
body input#bytepress-card-number.error,
body input#bytepress-card-expiry.error,
body input#bytepress-card-cvc.error {
  border-color: #dc2727 !important;
  box-shadow: 0 0 0 1px #dc2727 !important;
}


html body .woocommerce .woocommerce-checkout .bytepress-payment-form input,
html body .woocommerce .wc_payment_methods .bytepress-payment-form input,
html body .woocommerce form.checkout input#bytepress-card-number,
html body .woocommerce form.checkout input#bytepress-card-expiry,
html body .woocommerce form.checkout input#bytepress-card-cvc,
html body form.checkout input#bytepress-card-number,
html body form.checkout input#bytepress-card-expiry,
html body form.checkout input#bytepress-card-cvc,
html body input[name="bytepress_card_number"],
html body input[name="bytepress_card_expiry"],
html body input[name="bytepress_card_cvc"] {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 12px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  display: block !important;
  position: static !important;
  float: none !important;
  clear: none !important;
  overflow: visible !important;
  flex: 1 1 auto !important;
  flex-basis: auto !important;
  flex-grow: 1 !important;
  flex-shrink: 1 !important;
  border: 1px solid #bdbdbd !important;
  border-radius: 5px !important;
  font-size: 16px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif !important;
  background: #fff !important;
  color: #30313d !important;
}


html body .woocommerce .bytepress-payment-form .bytepress-field,
html body .wc_payment_methods .bytepress-payment-form .bytepress-field,
html body form.checkout .bytepress-payment-form .bytepress-field,
html body .bytepress-payment-form .bytepress-field {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex: 1 !important;
  display: block !important;
  float: none !important;
  position: static !important;
  clear: both !important;
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  transform: none !important;
}


html body .woocommerce .bytepress-payment-form .bytepress-input-wrapper,
html body .wc_payment_methods .bytepress-payment-form .bytepress-input-wrapper,
html body form.checkout .bytepress-payment-form .bytepress-input-wrapper,
html body .bytepress-payment-form .bytepress-input-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  position: relative !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  transform: none !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
}


html body .woocommerce input#bytepress-card-number,
html body form.checkout input#bytepress-card-number,
html body input[name="bytepress_card_number"] {
  padding-right: 120px !important;
}


[dir="rtl"] html body .woocommerce input#bytepress-card-number,
[dir="rtl"] html body form.checkout input#bytepress-card-number,
[dir="rtl"] html body input[name="bytepress_card_number"],
html[dir="rtl"] body .woocommerce input#bytepress-card-number,
html[dir="rtl"] body form.checkout input#bytepress-card-number,
html[dir="rtl"] body input[name="bytepress_card_number"],
body[dir="rtl"] .woocommerce input#bytepress-card-number,
body[dir="rtl"] form.checkout input#bytepress-card-number,
body[dir="rtl"] input[name="bytepress_card_number"],
.rtl input#bytepress-card-number,
.rtl input[name="bytepress_card_number"] {
  padding-right: 12px !important;
  padding-left: 120px !important;
}

@media (min-width: 768px) {
  body .woocommerce .payment_method_bytepress .bytepress-form-grid,
  body .wc_payment_methods .payment_method_bytepress .bytepress-form-grid,
  body form.checkout .payment_method_bytepress .bytepress-form-grid,
  body .cfw .payment_method_bytepress .bytepress-form-grid,
  body .cfw-payment-method .bytepress-form-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: var(--bytepress-spacing-lg) !important;
  }

  body .woocommerce .payment_method_bytepress .bytepress-field-half,
  body .wc_payment_methods .payment_method_bytepress .bytepress-field-half,
  body form.checkout .payment_method_bytepress .bytepress-field-half,
  body .cfw .payment_method_bytepress .bytepress-field-half,
  body .cfw-payment-method .bytepress-field-half {
    grid-column: span 1 !important;
    width: 100% !important;
  }
}

@media (max-width: 767px) {
  body .woocommerce .payment_method_bytepress .bytepress-form-grid,
  body .wc_payment_methods .payment_method_bytepress .bytepress-form-grid,
  body form.checkout .payment_method_bytepress .bytepress-form-grid,
  body .cfw .payment_method_bytepress .bytepress-form-grid,
  body .cfw-payment-method .bytepress-form-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  body .woocommerce .payment_method_bytepress .bytepress-field-full,
  body .wc_payment_methods .payment_method_bytepress .bytepress-field-full,
  body form.checkout .payment_method_bytepress .bytepress-field-full,
  body .cfw .payment_method_bytepress .bytepress-field-full,
  body .cfw-payment-method .bytepress-field-full {
    grid-column: 1 / -1 !important;
  }

  body .woocommerce .payment_method_bytepress .bytepress-field-half,
  body .wc_payment_methods .payment_method_bytepress .bytepress-field-half,
  body form.checkout .payment_method_bytepress .bytepress-field-half,
  body .cfw .payment_method_bytepress .bytepress-field-half,
  body .cfw-payment-method .bytepress-field-half {
    grid-column: span 1 !important;
  }
}






.cfw-accordion .cfw-radio-reveal-content,
body .cfw .cfw-accordion .cfw-radio-reveal-content,
body.checkoutwc .cfw-accordion .cfw-radio-reveal-content {
  box-shadow: none !important;
}


body .woocommerce .payment_method_bytepress .bytepress-payment-form,
body .wc_payment_methods .payment_method_bytepress .bytepress-payment-form,
body form.checkout .payment_method_bytepress .bytepress-payment-form,
body .cfw .payment_method_bytepress .bytepress-payment-form,
body .cfw-payment-method .bytepress-payment-form,
body.checkoutwc .payment_method_bytepress .bytepress-payment-form,
.wfacp_main_form .payment_method_bytepress .bytepress-payment-form,
.wfacp-form .payment_method_bytepress .bytepress-payment-form,
.wfacp_section .payment_method_bytepress .bytepress-payment-form,
li.payment_method_bytepress .bytepress-payment-form,
.bytepress-payment-form {
  padding: 2px 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}


@media (max-width: 480px) {
  body .woocommerce .payment_method_bytepress .bytepress-payment-form,
  body .wc_payment_methods .payment_method_bytepress .bytepress-payment-form,
  body form.checkout .payment_method_bytepress .bytepress-payment-form,
  body .cfw .payment_method_bytepress .bytepress-payment-form,
  body .cfw-payment-method .bytepress-payment-form,
  body.checkoutwc .payment_method_bytepress .bytepress-payment-form,
  .wfacp_main_form .payment_method_bytepress .bytepress-payment-form,
  .wfacp-form .payment_method_bytepress .bytepress-payment-form,
  .wfacp_section .payment_method_bytepress .bytepress-payment-form,
  li.payment_method_bytepress .bytepress-payment-form,
  .bytepress-payment-form {
    padding: 8px 6px 10px 6px !important;
  }

  
  body .woocommerce .payment_method_bytepress .bytepress-form-grid,
  body .wc_payment_methods .payment_method_bytepress .bytepress-form-grid,
  body form.checkout .payment_method_bytepress .bytepress-form-grid,
  body .cfw .payment_method_bytepress .bytepress-form-grid,
  body .cfw-payment-method .bytepress-form-grid,
  .wfacp_main_form .bytepress-form-grid,
  .wfacp-form .bytepress-form-grid,
  li.payment_method_bytepress .bytepress-form-grid,
  .bytepress-payment-form .bytepress-form-grid {
    gap: 8px !important;
  }
}


body .woocommerce .payment_method_bytepress .bytepress-trust-badge,
body .wc_payment_methods .payment_method_bytepress .bytepress-trust-badge,
body form.checkout .payment_method_bytepress .bytepress-trust-badge,
.wfacp_main_form .bytepress-trust-badge,
.wfacp-form .bytepress-trust-badge,
li.payment_method_bytepress .bytepress-trust-badge,
.bytepress-payment-form .bytepress-trust-badge,
.bytepress-trust-badge {
  text-align: center !important;
  margin-top: 4px !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  color: #6b7280 !important;
  opacity: 1 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}


body .woocommerce .payment_method_bytepress .bytepress-field,
body .wc_payment_methods .payment_method_bytepress .bytepress-field,
body form.checkout .payment_method_bytepress .bytepress-field,
body .cfw .payment_method_bytepress .bytepress-field,
body .cfw-payment-method .bytepress-field,
.wfacp_main_form .bytepress-field,
.wfacp-form .bytepress-field,
li.payment_method_bytepress .bytepress-field,
.bytepress-payment-form .bytepress-field {
  margin-bottom: 12px !important;
  padding: 0 !important;
}

.bytepress-payment-form .bytepress-field:last-child {
  margin-bottom: 0 !important;
}


body .woocommerce .payment_method_bytepress .bytepress-label,
body .wc_payment_methods .payment_method_bytepress .bytepress-label,
body form.checkout .payment_method_bytepress .bytepress-label,
body .cfw .payment_method_bytepress .bytepress-label,
body .cfw-payment-method .bytepress-label,
.wfacp_main_form .bytepress-label,
.wfacp-form .bytepress-label,
li.payment_method_bytepress .bytepress-label,
.bytepress-payment-form .bytepress-label {
  display: block !important;
  margin-bottom: 6px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #30313d !important;
  line-height: 1.4 !important;
}


body .woocommerce .payment_method_bytepress .bytepress-input,
body .wc_payment_methods .payment_method_bytepress .bytepress-input,
body form.checkout .payment_method_bytepress .bytepress-input,
body .cfw .payment_method_bytepress .bytepress-input,
body .cfw-payment-method .bytepress-input,
.wfacp_main_form .bytepress-input,
.wfacp-form .bytepress-input,
li.payment_method_bytepress .bytepress-input,
.bytepress-payment-form .bytepress-input,
input#bytepress-card-number,
input#bytepress-card-expiry,
input#bytepress-card-cvc {
  width: 100% !important;
  height: 44px !important;
  padding: 12px 14px !important;
  font-size: 16px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  color: #30313d !important;
  background: #fff !important;
  border: 1px solid #bdbdbd !important;
  border-radius: 6px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}


input#bytepress-card-number,
.bytepress-field-full .bytepress-input {
  padding-right: 110px !important;
}


body .woocommerce .payment_method_bytepress .bytepress-input:focus,
body .wc_payment_methods .payment_method_bytepress .bytepress-input:focus,
body form.checkout .payment_method_bytepress .bytepress-input:focus,
body .cfw .payment_method_bytepress .bytepress-input:focus,
body .cfw-payment-method .bytepress-input:focus,
.wfacp_main_form .bytepress-input:focus,
.wfacp-form .bytepress-input:focus,
li.payment_method_bytepress .bytepress-input:focus,
.bytepress-payment-form .bytepress-input:focus,
input#bytepress-card-number:focus,
input#bytepress-card-expiry:focus,
input#bytepress-card-cvc:focus {
  border-color: #0570de !important;
  box-shadow: 0 0 0 3px rgba(5, 112, 222, 0.15) !important;
  outline: none !important;
}


body .woocommerce .payment_method_bytepress .bytepress-input.error,
body .wc_payment_methods .payment_method_bytepress .bytepress-input.error,
.wfacp_main_form .bytepress-input.error,
.wfacp-form .bytepress-input.error,
.bytepress-payment-form .bytepress-input.error,
input#bytepress-card-number.error,
input#bytepress-card-expiry.error,
input#bytepress-card-cvc.error {
  border-color: #dc2727 !important;
  box-shadow: 0 0 0 3px rgba(220, 39, 39, 0.1) !important;
}


body .woocommerce .payment_method_bytepress .bytepress-form-grid,
body .wc_payment_methods .payment_method_bytepress .bytepress-form-grid,
body form.checkout .payment_method_bytepress .bytepress-form-grid,
body .cfw .payment_method_bytepress .bytepress-form-grid,
body .cfw-payment-method .bytepress-form-grid,
.wfacp_main_form .bytepress-form-grid,
.wfacp-form .bytepress-form-grid,
li.payment_method_bytepress .bytepress-form-grid,
.bytepress-payment-form .bytepress-form-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
  width: 100% !important;
}


body .woocommerce .payment_method_bytepress .bytepress-field-full,
body .wc_payment_methods .payment_method_bytepress .bytepress-field-full,
body form.checkout .payment_method_bytepress .bytepress-field-full,
body .cfw .payment_method_bytepress .bytepress-field-full,
body .cfw-payment-method .bytepress-field-full,
.wfacp_main_form .bytepress-field-full,
.wfacp-form .bytepress-field-full,
li.payment_method_bytepress .bytepress-field-full,
.bytepress-payment-form .bytepress-field-full,
.bytepress-field-full {
  grid-column: 1 / -1 !important;
}


body .woocommerce .payment_method_bytepress .bytepress-field-half,
body .wc_payment_methods .payment_method_bytepress .bytepress-field-half,
body form.checkout .payment_method_bytepress .bytepress-field-half,
body .cfw .payment_method_bytepress .bytepress-field-half,
body .cfw-payment-method .bytepress-field-half,
.wfacp_main_form .bytepress-field-half,
.wfacp-form .bytepress-field-half,
li.payment_method_bytepress .bytepress-field-half,
.bytepress-payment-form .bytepress-field-half,
.bytepress-field-half {
  grid-column: span 1 !important;
}


.wfacp_main_form .bytepress-error-message,
.wfacp_main_form .bytepress-blocks-error-message,
.wfacp-form .bytepress-error-message,
.wfacp-form .bytepress-blocks-error-message,
.wfacp_section .bytepress-error-message,
.wfacp_section .bytepress-blocks-error-message,
body.wfacp_main_wrapper .bytepress-error-message,
body.wfacp_main_wrapper .bytepress-blocks-error-message,
.wfacp-section .bytepress-error-message,
.wfacp-section .bytepress-blocks-error-message,
html body .wfacp_main_form .bytepress-error-message,
html body .wfacp_main_form .bytepress-blocks-error-message,
html body .wfacp-form .bytepress-error-message,
html body .wfacp-form .bytepress-blocks-error-message {
  color: #dc2727 !important;
  display: block !important;
  font-size: 12px !important;
  margin-top: 8px !important;
  line-height: 1.4 !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}


.wfacp_main_form .bytepress-input.error,
.wfacp_main_form input.bytepress-input.error,
.wfacp-form .bytepress-input.error,
.wfacp-form input.bytepress-input.error,
.wfacp_main_form input#bytepress-card-number.error,
.wfacp_main_form input#bytepress-card-expiry.error,
.wfacp_main_form input#bytepress-card-cvc.error,
html body .wfacp_main_form input.error,
html body .wfacp-form input.error {
  border-color: #dc2727 !important;
  box-shadow: 0 0 0 1px #dc2727 !important;
}






.bytepress-paypal-description {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}


.wc_payment_method.payment_method_bytepress_paypal label img,
li.payment_method_bytepress_paypal label img {
  float: right !important;
  max-height: 22px !important;
  width: auto !important;
  vertical-align: middle !important;
}


[dir="rtl"] .wc_payment_method.payment_method_bytepress_paypal label img,
[dir="rtl"] li.payment_method_bytepress_paypal label img {
  float: left !important;
}





body.bytepress-paypal-active #place_order,
body.bytepress-paypal-active .wc-block-components-checkout-place-order-button,
body.bytepress-paypal-active .wc-block-checkout__actions button[type="submit"],
body.bytepress-paypal-active .wp-block-woocommerce-checkout-actions-block button {
  background-color: #f2ba36 !important;
  border-color: #f2ba36 !important;
  color: transparent !important;
  transition: background-color 0.2s ease !important;
}

body.bytepress-paypal-active #place_order:hover,
body.bytepress-paypal-active .wc-block-components-checkout-place-order-button:hover,
body.bytepress-paypal-active .wc-block-checkout__actions button[type="submit"]:hover,
body.bytepress-paypal-active .wp-block-woocommerce-checkout-actions-block button:hover {
  background-color: #e8a820 !important;
  border-color: #e8a820 !important;
}

body.bytepress-paypal-active #place_order .bytepress-paypal-btn-logo,
body.bytepress-paypal-active .wc-block-components-checkout-place-order-button .bytepress-paypal-btn-logo {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

body.bytepress-paypal-active #place_order .bytepress-paypal-btn-logo svg,
body.bytepress-paypal-active .wc-block-components-checkout-place-order-button .bytepress-paypal-btn-logo svg {
  height: 20px !important;
  width: auto !important;
}
