.caps-paybutton-clicked {
  margin-top: 30px;
  border: 4px solid #f3f3f3;
  border-radius: 50%;
  border-top: 4px solid #0d6efd;
  border-right: 4px solid #0d6efd;
  border-bottom: 4px solid #0d6efd;
  width: 30px;
  height: 30px;
  -webkit-animation: caps-paybutton-spin 2s linear infinite; /* Safari */
  animation: caps-paybutton-spin 2s linear infinite;
}

.caps-payelement-loading {
  background-color : #0d6efd80;
}

.caps-payelement-loaded {
  background-color: #0d6efd;
}

.caps-paybutton-unclicked {
  margin-top: 30px;
  padding-right: 30px;
  padding-left: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 10px;
  color: #ffffff;
}

/* Safari */
@-webkit-keyframes caps-paybutton-spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

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

.caps-payerror {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
  padding-right: 35px;
}

.caps-payerror-close {
  float: right;
  font-size: 21px;
  font-weight: bold;
  line-height: 1;
  color: inherit;
  text-shadow: 0 1px 0 #fff;
  opacity: .2;
  position: relative;
  top: -2px;
  right: -21px;
}
.caps-payerror-close:hover,
.caps-payerror-close:focus {
  cursor: pointer;
  opacity: .5;
}

.caps-loader {
  width: 30px;
  height: 30px;
  border: 4px solid #ccc;
  border-top: 4px solid #333;
  border-radius: 50%;
  animation: caps-paybutton-spin 1s linear infinite;
}

.caps-pg-error {
  padding: 20px;
  margin: 20px auto;
  border: 1px solid red;
  border-radius: 5px;
  background-color: #ffe6e6;
  color: red;
  text-align: center;
  max-width: 400px;
}

.caps-pg-error h2 {
  margin: 0 0 10px 0;
}

.caps-altpaynet-payment-options {
  max-width: 420px;
  margin: 0 auto;
  font-family:"Open Sans", Arial, sans-serif;;
}

.caps-altpaynet-payment-group {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  margin-bottom: 12px;
}

.caps-altpaynet-payment-group-header {
  width:600;
  padding: 17px;
  font-size: 1.11em;
  font-weight: 600;
  display: flex;
  align-items: center;
  cursor: pointer;
  border-radius: 10px 10px 0 0;
  border-bottom: 1px solid #f5f5f5;
}

.caps-altpaynet-payment-group-title {
  flex: 1;
  margin-left: 10px;
}

.caps-altpaynet-arrow {
  font-size: 18px;
}

.caps-altpaynet-payment-method-list {
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

.caps-altpaynet-payment-method-item {
  display: flex;
  align-items: center; 
  justify-content: flex-start; 
  width: 100%;
  padding: 12px 25px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.13s;
  box-sizing: border-box;
  gap: 12px; 
  border: none; 
  background: transparent;
  text-align: left;
}


.caps-altpaynet-payment-method-item:hover,
.caps-altpaynet-payment-method-item:focus {
  background: #f2faec;
  outline: none;
}


.caps-altpaynet-payment-method-item.selected {
  background-color: #cde7d8;
}

.caps-altpaynet-payment-method-logo {
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
  object-fit: contain;
  border: 1px solid #ededed;
  flex-shrink: 0; 
}

.caps-altpaynet-payment-method-value {
  font-size: 1em;
  color: #190e0e;
  flex: 1; 
}
