body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

/* Fix for react-toastify icon size and position */
.Toastify__toast-container {
  z-index: 9999 !important;
}

.Toastify__toast-container--top-right {
  top: 80px !important;
  right: 20px !important;
}

.Toastify__toast {
  min-height: 64px !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  padding: 16px !important;
  display: flex !important;
  align-items: center !important;
}

.Toastify__toast-body {
  flex: 1 1 !important;
  padding: 0 12px !important;
  margin: 0 !important;
  display: block !important;
  width: auto !important;
  min-width: 200px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #1f2937 !important;
}

.Toastify__toast-icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  flex-shrink: 0 !important;
  margin-right: 12px !important;
}

.Toastify__toast-icon svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
}


/* Optimized Image Component - Pulse Animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.optimized-image-wrapper {
  overflow: hidden;
}

.optimized-image-wrapper img {
  display: block;
}

