/* =========================
   JDWS MODAL
========================= */
.jdws-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.jdws-modal-box {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  animation: jdwsFadeIn 0.25s ease;
}

.jdws-modal-box h2 {
  margin-top: 0;
  font-size: 20px;
}

.jdws-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.jdws-loader {
  margin-top: 12px;
  font-size: 13px;
  color: #555;
}

/* =========================
   TOAST
========================= */
.jdws-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #2271b1;
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.jdws-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   ANIMATION
========================= */
@keyframes jdwsFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}