.payment-methods {
  display: flex;
  flex-direction: column;
}

.payment-option > [type="radio"] {
  z-index: -1;
  position: absolute;
  opacity: 0;
}
.payment-option > [type="radio"]:checked ~ label {
  border-color: #4062F6;
  background-color: rgba(97, 154, 234, 0.16);
  color: #4062F6;
}
.payment-option > [type="radio"]:checked ~ label > span {
  will-change: transform;
  border: 0;
  background-image: linear-gradient(to top right, #6E89FF, #4363EE);
  -webkit-animation: radio 400ms cubic-bezier(0.17, 0.89, 0.32, 1.49);
          animation: radio 400ms cubic-bezier(0.17, 0.89, 0.32, 1.49);
}
.payment-option > [type="radio"]:checked ~ label > span:after {
  content: "";
  position: absolute;
  top: 37%;
  left: 35%;
  width: 6px;
  height: 6px;
  border-radius: 10px;
  background-color: #fff;
}
.payment-option > [type="radio"]:checked ~ label .card {
  will-change: box-shadow;
  -webkit-animation: card 500ms ease-in-out forwards;
          animation: card 500ms ease-in-out forwards;
}

.payment-option > label {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: 20px auto 100px;
  grid-gap: 10px;
  width: 280px;
  height: 58px;
  padding: 0 20px;
  border-radius: 6px;
  border: 0.1rem solid transparent;
  background-color: transparent;
  transition: all 300ms ease-in;
}
.payment-option > label:hover {
  border-color: #4062F6;
  background-color: rgba(97, 154, 234, 0.16);
}
.payment-option > label:before, .payment-option > label:after {
  position: absolute;
  left: 29px;
  border-radius: 50%;
  content: '';
}
.payment-option > label > span {
  position: relative;
  display: inline-flex;
  width: 20px;
  height: 20px;
  border-radius: 20px;
  border: 2px solid #4062F6;
}
.payment-option > label > .card {
  width: 34px;
  height: 34px;
  border-radius: 5px;
  vertical-align: middle;
  overflow: hidden;
}
.payment-option > label > .card:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.payment-option > label > .card:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  transform: translateX(-70px);
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
}
.payment-option > label > .card--sm {
  position: absolute;
  right: 10px;
}
.payment-option > label > .card__chip {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  border: 1px solid rgba(102, 84, 50, 0.5);
  box-shadow: inset 1px 1px 0px rgba(179, 146, 86, 0.5);
  background-image: linear-gradient(90deg, #D0A963, #FFE6BA);
}
.payment-option > label > .card__content {
  display: flex;
  justify-content: space-between;
  margin-top: 46px;
}
.payment-option > label > .card__symbol {
  display: flex;
  vertical-align: middle;
  flex-direction: column;
}
.payment-option > label > .card__symbol span {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 30px;
  background-color: #FB4646;
}
.payment-option > label > .card__symbol span:last-child {
  background-color: rgba(255, 163, 55, 0.75);
  margin-left: -13px;
}
.payment-option > label > .text__row {
  display: grid;
  grid-template-columns: 54px 64px;
  grid-gap: 6px;
}
.payment-option > label > .text__row:last-of-type {
  grid-template-columns: 45px 54px;
  margin-top: 7px;
}
.payment-option > label > .text__loader {
  height: 13px;
  border-radius: 2px;
  background-color: rgba(0, 0, 0, 0.4);
}

.payment-option:not(:last-child) {
  margin-bottom: 4px;
}

@-webkit-keyframes radio {
  0%, 17.5% {
    transform: scale(0);
  }
}

@keyframes radio {
  0%, 17.5% {
    transform: scale(0);
  }
}
@-webkit-keyframes card {
  0% {
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.25);
  }
  45% {
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.6);
  }
  100% {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
  }
}
@keyframes card {
  0% {
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.25);
  }
  45% {
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.6);
  }
  100% {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
  }
}
@-webkit-keyframes shine {
  from {
    transform: translateX(-70px) rotate(10deg);
  }
  to {
    transform: translateX(300px) rotate(10deg);
  }
}
@keyframes shine {
  from {
    transform: translateX(-70px) rotate(10deg);
  }
  to {
    transform: translateX(300px) rotate(10deg);
  }
}

.qr-scan
{
  box-shadow: 0px 0px 10px rgba(175, 175, 175, 0.75);
}

#qrcode
{
  position: relative;
}

.qr-scan.blur > #qrcode
{
  filter: blur(0.25rem);
}

.qr-scan > span
{
  display: none;
  text-align: center;
  vertical-align: middle;
}

.qr-scan.blur > span
{
  display: block;
  position: absolute;
  top: calc( 55% - 3rem );
  left: 0;
  width: 100%;
  font-size: 3rem;
  font-weight: bold;
  color: rgb(172, 20, 20);
  -webkit-text-stroke: 0.1rem #FFF;
  transform: rotate(-45deg);
  z-index: 10;
}

.qr-scan .card-title
{
  background-color: rgb(255, 147, 147);
  text-align: center;
  padding: 0.5rem;
}

.qr-scan .card-text
{
  padding: 0 0.5rem 0.5rem 0.5rem;
}

.base-timer
{
  position: relative;
  width: 128px;
  height: 128px;
}

/* Removes SVG styling that would hide the time label */
.base-timer__circle {
  fill: none;
  stroke: none;
}

/* The SVG path that displays the timer's progress */
.base-timer__path-elapsed {
  stroke-width: 7px;
  stroke: grey;
}

.base-timer__label {
  position: absolute;
  
  /* Size should match the parent container */
  width: 128px;
  height: 128px;
  
  /* Keep the label aligned to the top */
  left: 0;
  top: 0;
  
  /* Create a flexible box that centers content vertically and horizontally */
  display: flex;
  align-items: center;
  justify-content: center;

  /* Sort of an arbitrary number; adjust to your liking */
  font-size: 17px;
}

.base-timer__path-remaining {
  /* Just as thick as the original ring */
  stroke-width: 7px;

  /* Rounds the line endings to create a seamless circle */
  stroke-linecap: round;

  /* Makes sure the animation starts at the top of the circle */
  transform: rotate(90deg);
  transform-origin: center;

  /* One second aligns with the speed of the countdown timer */
  transition: 1s linear all;

  /* Allows the ring to change color when the color value updates */
  stroke: currentColor;
}

.base-timer__svg {
  /* Flips the svg and makes the animation to move left-to-right */
  transform: scaleX(-1);
}

.base-timer__path-remaining.base-timer-green {
  color: rgb(31, 168, 72);
}

.base-timer__path-remaining.base-timer-orange {
  color: rgb(212, 141, 8);
}

.base-timer__path-remaining.base-timer-red {
  color: rgb(185, 4, 4);
}