/* enhancement.css */
#toast-container {
  pointer-events: none;
}
.toast {
  min-width: 220px;
  background: #222;
  color: #fff;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  opacity: 1;
  transition: opacity 0.4s;
  pointer-events: auto;
}
.toast-info { background: #007bff; }
.toast-success { background: #28a745; }
.toast-error { background: #dc3545; }
.toast-warning { background: #ffc107; color: #222; }

#spinner-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.18);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
}
.spinner-backdrop {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.5);
}
.spinner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.spinner {
  border: 5px solid #e0e0e0;
  border-top: 5px solid #667eea;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  animation: spin 1s linear infinite;
  margin-bottom: 12px;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.spinner-message {
  font-size: 16px;
  color: #333;
  font-weight: 600;
}
.modifier-item {
  display: grid;
  grid-template-columns: auto 2.6fr 1.4fr 1.1fr 1.3fr;
  gap: 10px;
  margin-bottom: 10px;
  padding: 0 5px;
  align-items: center;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 8px 10px;
}

.modifier-item input[type="text"],
.modifier-item input[type="number"],
.modifier-item select {
  width: 100%;
}

.edit-options-row {
  grid-column: 2 / span 1;
  margin-top: 2px;
  width: 100%;
  display: flex;
  justify-content: flex-start;
}
