/* ULTIMATE FIX - Override mọi styling của Notyf */

/* 1. Override container chính của Notyf */
.notyf {
  max-width: none !important;
  width: auto !important;
}

.notyf .notyf__toast {
  max-width: none !important;
  width: auto !important;
  box-shadow: none !important;
  transform: none !important;
  margin: 0 !important;
}

/* 2. FORCE background cho toast */
.notyf__toast--social-proof {
  /* Reset tất cả */
  all: unset !important;

  /* Set lại properties cần thiết */
  display: flex !important;
  align-items: center !important;
  flex-direction: row !important;
  padding: 8px 12px !important;

  /* Background FORCE */
  background: #10396a !important;
  color: white !important;

  /* Sizing */
  min-width: max-content !important;
  max-width: none !important;
  width: auto !important;

  /* Positioning */
  position: relative !important;
  margin: 8px !important;

  /* Shape */
  border-radius: 4px !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;

  /* Flex */
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;

  /* Font */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  line-height: 1.4 !important;
}

/* 3. Icon styling */
.notyf__toast--social-proof .notyf__icon {
  all: unset !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  margin-right: 8px !important;
  font-size: 1.2em !important;
}

/* 4. Message wrapper */
.notyf__toast--social-proof .notyf__wrapper {
  all: unset !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  flex-wrap: nowrap !important;
  width: auto !important;
  min-width: max-content !important;
}

.notyf__toast--social-proof .notyf__message {
  all: unset !important;
  display: flex !important;
  flex-direction: column !important;
  flex-shrink: 0 !important;
  width: auto !important;
  min-width: max-content !important;
}

/* 5. Content styling - sử dụng inline styles thay vì classes */
.notyf__toast--social-proof div[style*="white-space: nowrap"] {
  white-space: nowrap !important;
  overflow: visible !important;
  color: #fff !important;
  font-size: 1em !important;
  line-height: 1.4 !important;
}

.notyf__toast--social-proof div[style*="opacity: 0.8"] {
  white-space: nowrap !important;
  opacity: 0.8 !important;
  font-size: 0.9em !important;
  margin-top: 3px !important;
  color: #ffffff !important;
}

/* 6. Highlights */
.notyf__toast--social-proof span[style*="font-weight: 600"] {
  font-weight: 600 !important;
  display: inline !important;
}

.notyf__toast--social-proof span[style*="color: #ffc107"] {
  font-weight: 600 !important;
  color: #ffc107 !important;
  display: inline !important;
}

/* 7. Loại bỏ tất cả pseudo elements và effects */
.notyf__toast--social-proof::before,
.notyf__toast--social-proof::after,
.notyf__toast--social-proof *::before,
.notyf__toast--social-proof *::after {
  display: none !important;
  content: none !important;
}

/* 8. Remove transitions có thể gây lag */
.notyf__toast--social-proof,
.notyf__toast--social-proof * {
  transition: none !important;
  animation: none !important;
  transform: none !important;
}

/* 9. Force z-index để đảm bảo hiển thị đúng */
.notyf__toast--social-proof {
  z-index: 9999 !important;
}

/* 10. Đảm bảo không bị clip */
.notyf__toast--social-proof {
  overflow: visible !important;
  clip: none !important;
  clip-path: none !important;
}

/* Remove debug outline */
.notyf__toast--social-proof * {
  outline: none !important;
}
