/* Doku Payment Frontend Styles */

.doku-payment {
  display: inline-block;
  padding: 15px 20px;
  background: #2C9596;
  border: unset;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.doku-payment:hover {
  background: #0E7172;
  border-color: unset;
  text-decoration: none;
  color: #fff;
}

.doku-payment img {
  margin-right: 10px;
  vertical-align: middle;
}

.doku-payment-processing, .doku-disabled {
  opacity: 0.7;
  pointer-events: none;
}

.doku-loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #2C9596;
  border-radius: 50%;
  animation: doku-spin 1s linear infinite;
  margin-right: 10px;
}

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

.doku-error {
  color: #dc3545;
  background-color: #f8d7da;
  border-color: #f5c6cb;
  padding: 10px;
  border-radius: 4px;
  margin: 10px 0;
}

.doku-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
  padding: 10px;
  border-radius: 4px;
  margin: 10px 0;
}