/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * @author    Revolut
 * @copyright Since 2020 Revolut
 * @license   https://opensource.org/licenses/AFL-3.0  Academic Free License (AFL 3.0)
 */
#revolut_pay {
  height: auto;
}
#revolutForm {
  margin-bottom: 20px;
}
#revolutForm .error,
#revolutPayForm .error,
.revolutPaymentPageErrors {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 15px;
  padding: 10px;
  border: 1px solid red;
  color: red;
}
#revolutForm .error.hidden,
#revolutPayForm .error.hidden,
.revolutPaymentPageErrors.hidden {
  display: none;
}
#revolutForm .error ul,
#revolutPayForm .error ul {
  margin-bottom: 0;
}

.rc-card-field {
  padding: 7px 16px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background-color: #f1f1f1;
}
.rc-card-field.rc-card-field--focused {
  background-color: #ffffff;
  border-color: #66afe9;
  outline: 0.1875rem solid #2fb5d2;
}

.revolut-fc-checkbox {
  margin-top: 10px;
  padding: 0 2px;
}
.revolut-fc-checkbox label {
  display: inline-block;
  line-height: 13px;
  margin-bottom: 0;
  margin-left: 10px;
  cursor: pointer;
}
.revolut-loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 1s linear infinite; /* Safari */
  animation: spin 1s linear infinite;
  position: absolute;
  top: 50%;
  margin-top: -50px;
  display: inline-block;
}
#revolut-loader-overlay {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0.5;
  text-align: center;
  z-index: 999999;
}
.revolut-pay-desc {
  margin-top: 20px;
}
.revolut_hide {
  display: none !important;
}
.revolut-payment-logo,
.visa-logo,
.mastercard-logo,
.amex-logo {
  width: 30px;
  margin-left: 5px;
}
@media (max-width: 1199px) {
  .revolut-pay-desc {
    text-align: center;
  }
}

/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* FIX PAYMENT OPTION LABEL STYLE */
body#checkout
  section.checkout-step
  .payment-options
  .revolut-fc-checkbox
  label {
  display: inline-block;
}
#revolut-upsell-banner {
	margin-top: 5px;
}