/**
 * jQuery Toast Notification — Modern Squircle Card Design
 */
.jq-toast-wrap {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  max-width: 400px;
  min-width: 280px;
  pointer-events: none !important;
  margin: 0;
  padding: 0;
  letter-spacing: normal;
  z-index: 99999 !important;
}

.jq-toast-wrap * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.jq-toast-wrap.bottom-left {
  bottom: 24px;
  left: 24px;
  align-items: flex-start;
}
.jq-toast-wrap.bottom-right {
  bottom: 24px;
  right: 24px;
  align-items: flex-end;
}
.jq-toast-wrap.top-left {
  top: 24px;
  left: 24px;
  align-items: flex-start;
}
.jq-toast-wrap.top-right {
  top: 24px;
  right: 24px;
  align-items: flex-end;
}

/* Modern Rounded-Corner Card */
.jq-toast-single {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-width: 260px;
  max-width: 400px;
  padding: 13px 38px 13px 52px;
  margin: 0px 0px 10px;
  border-radius: 12px;
  font-size: 13.5px;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  line-height: 1.45;
  position: relative;
  pointer-events: all !important;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  box-shadow: 0 14px 30px -4px rgba(15, 23, 42, 0.1), 0 4px 10px -2px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  animation: toastSpringIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastSpringIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.jq-toast-single h2 {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  margin: 0px 0px 2px;
  background: none;
  color: #0f172a;
  line-height: 1.3;
}

.jq-toast-single a {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(79, 70, 229, 0.4);
  padding-bottom: 1px;
}
.jq-toast-single a:hover {
  color: #4338ca;
}

.jq-toast-single ul {
  margin: 0px;
  padding: 0px;
}
.jq-toast-single ul li {
  list-style-type: none !important;
  line-height: 1.4;
  margin: 1px 0;
  padding: 0;
}

/* Minimal Circular Close Button */
.close-jq-toast-single {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  transition: all 0.15s ease;
}
.close-jq-toast-single:hover {
  color: #0f172a;
  background: #e2e8f0;
}

/* Bottom Progress Line */
.jq-toast-loader {
  display: block;
  position: absolute;
  bottom: 0px;
  top: auto;
  height: 3px;
  width: 0%;
  left: 0;
  border-radius: 0 0 12px 12px;
  background: #4f46e5;
  opacity: 0.9;
}
.jq-toast-loaded {
  width: 100%;
}

/* Left Icon Integration */
.jq-has-icon {
  background-repeat: no-repeat;
  background-position: 14px center;
  background-size: 26px 26px;
}

/* Success State */
.jq-icon-success {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14' fill='%23ecfdf5' stroke='%23a7f3d0' stroke-width='1.5'/%3E%3Cpath d='M10 16.5l4 4 8-8' fill='none' stroke='%23059669' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.jq-icon-success .jq-toast-loader {
  background: linear-gradient(90deg, #10b981, #34d399);
}

/* Error State */
.jq-icon-error {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14' fill='%23fef2f2' stroke='%23fecaca' stroke-width='1.5'/%3E%3Cpath d='M11 11l10 10M21 11L11 21' fill='none' stroke='%23dc2626' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
}
.jq-icon-error .jq-toast-loader {
  background: linear-gradient(90deg, #ef4444, #f87171);
}

/* Warning State */
.jq-icon-warning {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14' fill='%23fffbeb' stroke='%23fde68a' stroke-width='1.5'/%3E%3Cpath d='M16 10v7M16 21.5v.5' fill='none' stroke='%23d97706' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
}
.jq-icon-warning .jq-toast-loader {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

/* Info State */
.jq-icon-info {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14' fill='%23eef2ff' stroke='%23c7d2fe' stroke-width='1.5'/%3E%3Cpath d='M16 10v.5M16 14v8' fill='none' stroke='%234f46e5' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
}
.jq-icon-info .jq-toast-loader {
  background: linear-gradient(90deg, #4f46e5, #818cf8);
}
