/**
 * NOTICE OF LICENSE
 *
 * @author    Mastercard Inc. www.mastercard.com
 * @copyright Copyright (c) permanent, Mastercard Inc.
 * @license   Apache-2.0
 *
 * @see       /LICENSE
 *
 * International Registered Trademark & Property of Mastercard Inc.
 */
#js-clicktopay-payment-form {
  min-height: 300px;
  font-size: 87.5%;
  margin-bottom: 24px;
  margin-left: 25px;
  margin-top: 10px;
}

#clicktopay-card-loading.dark,
#otp-form.dark,
#clicktopay-card-input-form.dark,
#clicktopay-id-lookup-form.dark {
  border-radius: 5px;
}

#clicktopay-card-list {
  border-radius: var(--mc-container-border-radius);
}

#js-clicktopay-payment-form > * {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial,
    'Songti SC', '宋体', 'STSong', '华文宋体', 'SimSun', '中易宋体', 'MingLiU',
    '細明體', sans-serif !important;
}

.otp-form-container {
  max-width: 500px;
  width: fit-content;
  box-shadow: 0 2px 10px var(--mc-container-shadow-color);
  border-radius: 5px;
  background-color: var(--mc-container-background-color);
  overflow: hidden;
}

.clicktopay-container {
  max-width: 500px;
  width: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  border-radius: var(--mc-radius);
}

.clicktopay-container src-loader {
  padding: 5px;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  display: flex;
}

.clicktopay-opc {
  border: none !important;
  box-shadow: none !important;
  margin: 0 auto 10px;

  overflow: hidden;
}

.clicktopay-opc-otp {
  border: none !important;
  box-shadow: none !important;
  margin: 0 auto;
}

.clicktopay-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  min-height: inherit;
}

.mc-disabled-payment-option {
  opacity: 0.4;
  pointer-events: none;
}

@media (max-width: 465px) {
  #js-clicktopay-payment-form {
    margin-left: 0;
  }
}
.form-step {
  height: 0;
  transition: opacity 0.5s ease-in-out;
  opacity: 0;
  overflow: hidden;
  min-height: auto;
  visibility: hidden;
}

.form-step.active {
  height: auto;
  opacity: 1;
  overflow: initial;
  min-height: inherit;
  visibility: visible;
}

.challenge-css {
  width: 100%;
  height: 100%;
  border: none;
}

#mc_isv_otp_placeholder {
  border-radius: 5px;
}
