dialog.siys-form-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 9999;
  width: 90%;
  background: #fff;
  max-width: 500px;
  max-height: 90vh;
  transform: translate(-50%, -50%);
  margin: 0;
  border: 2px solid var(--eduact-secondary);
  border-radius: 5px;
  padding: 0;
}
dialog.siys-form-dialog::backdrop {
  background: rgba(0, 0, 0, 0.9);
}
dialog.siys-form-dialog .dialog-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
  padding: 10px;
}
dialog.siys-form-dialog .dialog-header h2 {
  font-size: 1.25rem;
}
dialog.siys-form-dialog .dialog-header .close-dialog {
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  line-height: 1;
  border: none;
  box-shadow: none;
  outline: none;
  background: transparent;
}
dialog.siys-form-dialog .dialog-body {
  padding: 10px;
}
dialog.siys-form-dialog .dialog-body .nice-form-group:not(:last-child) {
  margin-bottom: 16px;
}
dialog.siys-form-dialog .dialog-body label {
  font-size: 14px;
  margin: 0 0 5px;
  font-weight: 700;
  line-height: 1.5;
}
dialog.siys-form-dialog .dialog-footer {
  padding: 10px;
  border-top: 1px solid #ccc;
}
dialog.siys-form-dialog .dialog-footer button {
  width: 100%;
  background: #2fa326;
  color: #fff;
  padding: 16px 20px;
  text-align: center;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 700;
  transition: all 0.3s ease;
}
dialog.siys-form-dialog .dialog-footer button:hover {
  background: #2D3192;
}
dialog.siys-form-dialog .dialog-message {
  padding: 10px;
  font-size: 14px;
  margin-bottom: 5px;
  font-weight: 700;
  border-radius: 2px;
  line-height: 1.5;
  border: 1px solid #ccc;
}
dialog.siys-form-dialog .dialog-message.error {
  color: rgb(219, 47, 47);
  background: rgba(219, 47, 47, 0.2);
  border-color: rgb(219, 47, 47);
}
dialog.siys-form-dialog .dialog-message.success {
  color: rgb(40, 167, 69);
  background: rgba(40, 167, 69, 0.2);
  border-color: rgb(40, 167, 69);
}
dialog.siys-form-dialog .dialog-message:empty {
  display: none;
}
dialog.siys-form-dialog .verification {
  display: none;
}
/* donation success message */
.donation-success-container {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.donation-success-content {
  max-width: 600px;
  width: 100%;
  text-align: center;
  padding: 3rem 2rem;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  animation: donationSlideUp 0.5s ease-out forwards;
}

.success-icon {
  margin-bottom: 1.5rem;
}

.success-icon .dashicons {
  width: 80px;
  height: 80px;
  font-size: 80px;
  color: var(--thm-base, #4CAF50);
  animation: donationScaleIn 0.5s ease-out forwards;
}

.success-title {
  color: var(--thm-black, #2c3e50);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.success-message {
  color: var(--thm-text, #666);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.success-actions {
  margin-top: 2rem;
}

.donation-success-container .button-primary {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--thm-base, #4CAF50);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.donation-success-container .button-primary:hover {
  background: var(--thm-base-hover, #388E3C);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
  color: #ffffff;
}

@keyframes donationSlideUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes donationScaleIn {
  from {
      transform: scale(0);
  }
  to {
      transform: scale(1);
  }
}

@media (max-width: 768px) {
  .success-title {
      font-size: 2rem;
  }
  
  .donation-success-content {
      padding: 2rem 1.5rem;
  }
}

/* donation failed message */
.donation-failed-container {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.donation-failed-content {
  max-width: 600px;
  width: 100%;
  text-align: center;
  padding: 3rem 2rem;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  animation: slideUp 0.5s ease-out forwards;
}

.failed-icon {
  margin-bottom: 1.5rem;
}

.failed-icon .dashicons {
  width: 80px;
  height: 80px;
  font-size: 80px;
  color: var(--thm-base, #dc3545);
  animation: scaleIn 0.5s ease-out forwards;
}

.failed-title {
  color: var(--thm-black, #2c3e50);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.failed-message {
  color: var(--thm-text, #666);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.failed-actions {
  margin-top: 2rem;
}

.donation-failed-container .button-primary {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--thm-base, #dc3545);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.donation-failed-container .button-primary:hover {
  background: var(--thm-base-hover, #c82333);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
  color: #ffffff;
}

@keyframes slideUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
      transform: scale(0);
  }
  to {
      transform: scale(1);
  }
}

@media (max-width: 768px) {
  .failed-title {
      font-size: 2rem;
  }
  
  .donation-failed-content {
      padding: 2rem 1.5rem;
  }
}