:root {
  --cdn-img-channel: url('/assets/channel.png');
  --cdn-img-flags: url('/assets/flags.png');
  --cdn-img-method: url('/assets/method.png');
  --cdn-img-visamobile: url('/assets/visamobile.png');
}

html, body { min-height: 100%; }

.pay-icon__img--clicktopay {
  background-image: var(--cdn-img-method);
}

#status.pay__info {
  color: #333333;
  background: #f8f8f8;
  border-left: 4px solid var(--base--info);
  font-size: 14px;
  line-height: 20px;
}

#status.pay__info[data-kind="error"] {
  border-left-color: var(--base--error);
  color: var(--base--error);
}

#status.pay__info[data-kind="success"] {
  border-left-color: var(--base--success);
  color: #1f7f45;
}

.pay__submit.is-loading {
  position: relative;
  color: transparent;
}

.pay__submit.is-loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ing-spin .8s linear infinite;
}

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

.panel-modal {
  position: fixed;
  z-index: 1100;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.panel-modal[hidden] { display: none; }

.panel-modal__card {
  position: relative;
  width: min(520px, 100%);
  min-height: 520px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  overflow: hidden;
}

.panel-modal__card iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
  background: #fff;
}

.panel-modal__close {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #333;
  font-size: 24px;
  line-height: 34px;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .16);
}

.panel-modal__close:hover {
  background: #f1f1f1;
}

.collapse__content { display: none; }
.collapse__content.collapse--active { display: block; }

@media (max-width: 575px) {
  .panel-modal__card { min-height: 480px; }
  .panel-modal__card iframe { height: 480px; }
}

