.payment_method_wc_gateway_precisionpay label img {
  max-height: 40px;
}

.payment_method_wc_gateway_precisionpay p {
  margin-bottom: 20px;
}

.wc-precisionpay-form #precisionpay-link-button {
  color: white;
  border-radius: 50px;
  font-size: 18px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
  gap: 8px;
  border: none;
  padding: 15px;
  font-weight: bold;
  cursor: pointer;
  max-width: 400px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.precsionpay-block-checkout #precisionpay-link-button {
  padding: 20px 15px;
}

.wc-precisionpay-form .precisionpay-button:hover {
  filter: brightness(125%);
}

.wc-precisionpay-form .precisionpay-button img {
  height: 24px;
  margin: 0 !important;
  float: none !important;
}

.wc-precisionpay-form #precisionpay-cc-button img {
  width: 20px;
}

.wc-precisionpay-form #precisionpay-link-button.payment-authorized {
  background-color: #00cc00 !important;
  color: white;
  cursor: not-allowed;
}

.wc-precisionpay-form #precisionpay-link-button.payment-authorized:hover {
  filter: none;
}

#payment .payment_methods li .wc-precisionpay-form .precisionpay-p {
  margin: 10px 0;
}

#precisionpay-login-section {
  padding: 10px 0;
  font-size: 16px;
}

#precisionpay-login-section a {
  color: #f15a29;
}

.wc-precisionpay-form .clear {
  height: 0;
  overflow: hidden;
}

.woocommerce-error h3 {
  font-size: 1em;
}

.precisionpay-notice,
.precisionpay-warning,
.precsionpay-block-checkout.precisionpay-warning {
  padding: 20px 20px;
  margin-top: 0;
  margin-bottom: 20px;
  border-radius: 10px;
}

.precisionpay-warning {
  background: #ffe4e4;
  border: 1px solid #ffb4b4;
}

.precsionpay-block-checkout.precisionpay-warning {
  display: flex;
  align-items: center;
  gap: 20px;
}

.precisionpay-notice {
  background: #ffffc5;
  border: 1px solid #e8ec2f;
}

.precisionpay-notice .bold-text {
  font-weight: 700;
  display: inline-block;
  padding: 2px 10px;
  background: #404105;
  color: #ffffc5;
  border-radius: 5px;
  margin-right: 5px;
}

.precsionpay-block-checkout.precisionpay-warning svg {
  min-width: 33px;
  width: 33px;
  height: 33px;
  filter: invert(13%) sepia(77%) saturate(5125%) hue-rotate(356deg) brightness(90%) contrast(86%);
}

/**
 * Mobile Styles
 **/
@media only screen and (max-width: 390px) {
  .precsionpay-block-checkout #precisionpay-link-button {
    font-size: 16px;
  }

  .wc-precisionpay-form .precisionpay-button img {
    height: 22px;
  }
}
