/* Minimal SweetAlert-style Popup & Toast Styling */

.swal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 16px;
  box-sizing: border-box;
}

.swal-backdrop.swal-show {
  opacity: 1;
}

.swal-modal {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
  max-width: 440px;
  width: 100%;
  padding: 28px 24px 24px;
  text-align: center;
  box-sizing: border-box;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: inherit;
}

.swal-backdrop.swal-show .swal-modal {
  transform: scale(1) translateY(0);
}

.swal-icon-wrap {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swal-icon-wrap.swal-success {
  background: #ecfdf5;
  color: #10b981;
}

.swal-icon-wrap.swal-error {
  background: #fef2f2;
  color: #ef4444;
}

.swal-icon-wrap.swal-warning {
  background: #fffbeb;
  color: #f59e0b;
}

.swal-icon-wrap.swal-info {
  background: #eff6ff;
  color: #3b82f6;
}

.swal-icon-wrap.swal-question {
  background: #f5f3ff;
  color: #8b5cf6;
}

.swal-icon-wrap svg {
  width: 36px;
  height: 36px;
  stroke-width: 2.5;
}

.swal-title {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
  line-height: 1.35;
}

.swal-text {
  font-size: 14px;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 20px;
  word-break: break-word;
}

.swal-input {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  outline: none;
  box-sizing: border-box;
  margin-bottom: 20px;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
}

.swal-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.swal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.swal-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: transform 0.1s, filter 0.15s, background-color 0.15s;
  min-width: 100px;
  font-family: inherit;
}

.swal-btn:active {
  transform: scale(0.96);
}

.swal-btn-confirm {
  background: #2563eb;
  color: #ffffff;
}
.swal-btn-confirm:hover {
  background: #1d4ed8;
}

.swal-btn-danger {
  background: #dc2626;
  color: #ffffff;
}
.swal-btn-danger:hover {
  background: #b91c1c;
}

.swal-btn-cancel {
  background: #f1f5f9;
  color: #475569;
}
.swal-btn-cancel:hover {
  background: #e2e8f0;
  color: #1e293b;
}

/* Minimal Toast Pills (Floating Top-Right) */
.swal-toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.swal-toast {
  pointer-events: auto;
  background: #ffffff;
  color: #1e293b;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(40px);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s;
  max-width: 380px;
}

.swal-toast.swal-toast-show {
  transform: translateX(0);
  opacity: 1;
}

.swal-toast-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.swal-toast.success .swal-toast-icon { color: #10b981; }
.swal-toast.warning .swal-toast-icon { color: #f59e0b; }
.swal-toast.error .swal-toast-icon { color: #ef4444; }
.swal-toast.info .swal-toast-icon { color: #3b82f6; }

