#amazon_pay__payment_descriptor {
  display: flex;
  margin-bottom: 14px;
}

#amazon_pay__payment_descriptor img {
  width: 30px;
  min-width: 30px;
}

.amazon_pay_amazonpaymentdescriptor_block {
  display: flex;
  align-items: center;
}


.amazon_pay_payment_change_block {
  margin-left: auto;
}

.amazon_pay_button {
  -moz-box-shadow: inset 0px 1px 0px 0px #f9eacf;
  -webkit-box-shadow: inset 0px 1px 0px 0px #f9eacf;
  box-shadow: inset 0px 1px 0px 0px #f9eacf;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0.05, #f6dd9f),
    color-stop(1, #f0c24d)
  );
  background: -moz-linear-gradient(center top, #f6dd9f 5%, #f0c24d 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F6DD9F', endColorstr='#F0C24D');
  background-color: #f5d78a;
  border-color: #f5d78a;
}

.amazon_pay_button:hover {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0.05, #f5d589),
    color-stop(1, #eeba35)
  );
  background: -moz-linear-gradient(center top, #f5d589 5%, #eeba35 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F5D589', endColorstr='#EEBA35');
  background-color: #eeba35;
  border-color: #eeba35;
}

#AmazonBanner {
  padding: 30px 0px 30px 0px;
  text-align: center;
}

/* Amazon Pay ローディングオーバーレイ */
.amazon-pay-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* ローディングスピナー */
.amazon-pay-loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top: 5px solid #fff;
  border-radius: 50%;
  animation: amazon-pay-spin 1s linear infinite;
}

@keyframes amazon-pay-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}