#dukaan-windows-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999999;
  display: flex;
  flex-direction: column-reverse;
  gap: 12px;
  pointer-events: none;
  max-width: calc(100vw - 32px);
  width: 380px;
}

.win11-toast {
  pointer-events: auto;
  user-select: none;
  position: relative;
  overflow: hidden;
  background: rgba(24, 27, 33, 0.95);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow:
    0 16px 40px -8px rgba(0, 0, 0, 0.7),
    0 2px 8px rgba(0, 0, 0, 0.4);
  padding: 12px 14px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #ffffff;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  animation: winToastSlideIn 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-sizing: border-box;
}

.win11-toast.win-toast-dismissing {
  animation: winToastSlideOut 0.28s cubic-bezier(0.7, 0, 0.84, 0) forwards;
}

@keyframes winToastSlideIn {
  0% {
    opacity: 0;
    transform: translateX(115%) scale(0.95);
  }
  65% {
    opacity: 1;
    transform: translateX(-10px) scale(1.02);
  }
  85% {
    transform: translateX(4px) scale(0.995);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes winToastSlideOut {
  0% {
    opacity: 1;
    transform: translateX(0) scale(1);
    max-height: 160px;
    margin-bottom: 12px;
  }
  100% {
    opacity: 0;
    transform: translateX(120%) scale(0.92);
    max-height: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
}

.win11-toast-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 7px;
}

.win11-header-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.win11-app-badge {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background: #ffd026;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 900;
  color: #000000;
  line-height: 1;
}

.win11-app-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #e2e8f0;
}

.win11-dot {
  font-size: 10px;
  color: #64748b;
}

.win11-header-tag {
  font-size: 10px;
  font-weight: 500;
  color: #94a3b8;
}

.win11-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 12px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.win11-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.win11-toast-body {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 2px;
}

.win11-status-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.win11-status-icon svg {
  width: 16px;
  height: 16px;
}

.win11-icon-success {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.win11-icon-error {
  background: rgba(244, 63, 94, 0.18);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #fb7185;
}

.win11-icon-warning {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

.win11-icon-info {
  background: rgba(14, 165, 233, 0.18);
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: #38bdf8;
}

.win11-text-block {
  flex: 1;
  min-width: 0;
}

.win11-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.1px;
  color: #ffffff;
  line-height: 1.3;
}

.win11-desc {
  font-size: 11px;
  font-weight: 400;
  color: #cbd5e1;
  line-height: 1.4;
  margin-top: 2px;
  word-break: break-word;
}

.win11-progress-track {
  width: 100%;
  height: 2.5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 2px;
}

.win11-progress-bar {
  height: 100%;
  border-radius: 9999px;
  transform-origin: left;
  width: 100%;
}

.win11-progress-success {
  background: #10b981;
}
.win11-progress-error {
  background: #f43f5e;
}
.win11-progress-warning {
  background: #f59e0b;
}
.win11-progress-info {
  background: #0ea5e9;
}
