/**
 * PayMe standard checkout styles
 */

.payme-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.payme-modal {
  background: white;
  border-radius: 8px;
  width: 90%;
  max-width: 450px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.payme-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.payme-modal-header h3 {
  margin: 0;
  font-size: 18px;
}

.payme-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}

.payme-modal-body {
  padding: 20px;
}

.payme-form-group {
  margin-bottom: 15px;
}

.payme-form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.payme-form-group input[type="tel"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.payme-payment-options {
  display: flex;
  gap: 15px;
}

.payme-radio {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.payme-radio input {
  margin-right: 5px;
}

.payme-button {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 12px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.payme-button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.payme-spinner {
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top: 3px solid #4caf50;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
  display: inline-block;
}

.payme-success,
.payme-error {
  text-align: center;
  padding: 15px 0;
}

.payme-success-icon,
.payme-error-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.payme-success-icon {
  color: #4caf50;
}

.payme-error-icon {
  color: #f44336;
}

.payme-info {
  text-align: center;
  padding: 15px 0;
}

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

/* Style de la méthode de paiement dans le checkout */
.payment_method_mamoni_payme label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment_method_mamoni_payme img {
  width: 32px;
  height: auto;
}
