/* Grocery Toast Notification Styles - Simple Normal Design */
#grocery-toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
  max-width: 100%;
}

.grocery-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  min-width: 280px;
  max-width: 360px;
  width: max-content;
  position: relative;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.25s ease-out;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

.grocery-toast.gt-hide {
  opacity: 0;
  transform: translateX(30px);
}

.grocery-toast .gt-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.grocery-toast .gt-content {
  flex: 1;
  min-width: 0;
}

.grocery-toast .gt-message {
  font-size: 0.875rem;
  line-height: 1.4;
  font-weight: 400;
  color: #374151;
}

.grocery-toast .gt-close-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0.125rem;
  margin: -0.125rem -0.125rem -0.125rem 0;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.15s;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grocery-toast .gt-close-btn:hover {
  color: #4b5563;
}

.grocery-toast .gt-close {
  width: 0.875rem;
  height: 0.875rem;
}

.grocery-toast .gt-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #f3f4f6;
}

.grocery-toast .gt-progress-bar {
  height: 100%;
  width: 100%;
}

/* Type colors - simple backgrounds */
.grocery-toast--success {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.grocery-toast--success .gt-icon { color: #16a34a; }
.grocery-toast--success .gt-progress-bar { background: #16a34a; }

.grocery-toast--error {
  background: #fef2f2;
  border-color: #fecaca;
}
.grocery-toast--error .gt-icon { color: #dc2626; }
.grocery-toast--error .gt-progress-bar { background: #dc2626; }

.grocery-toast--info {
  background: #eff6ff;
  border-color: #bfdbfe;
}
.grocery-toast--info .gt-icon { color: #2563eb; }
.grocery-toast--info .gt-progress-bar { background: #2563eb; }

.grocery-toast--warning {
  background: #fffbeb;
  border-color: #fde68a;
}
.grocery-toast--warning .gt-icon { color: #d97706; }
.grocery-toast--warning .gt-progress-bar { background: #d97706; }

/* Mobile */
@media (max-width: 480px) {
  #grocery-toast-container {
    left: 0.75rem;
    right: 0.75rem;
    top: 0.75rem;
    align-items: stretch;
  }
  .grocery-toast {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    transform: translateY(-15px);
  }
  .grocery-toast.gt-show {
    transform: translateY(0);
  }
  .grocery-toast.gt-hide {
    transform: translateY(-15px);
  }
}
