/* ── Modal ────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
  z-index: 200; animation: fade-in 0.15s ease;
}
.modal {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  min-width: 320px; max-width: 500px; width: 90%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.modal-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; color: var(--text-bright); }
.modal-actions { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 1rem; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ── File Upload Zone ─────────────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--border); border-radius: var(--radius-lg);
  padding: 3rem 2rem; text-align: center; cursor: pointer;
  transition: all var(--transition);
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--accent); background: rgba(212, 165, 90, 0.05);
}
.upload-zone-icon { font-size: 2.5rem; margin-bottom: 0.5rem; color: var(--accent); }
.upload-zone-text { color: var(--text-dim); font-size: 0.9rem; }
.upload-zone input[type="file"] { display: none; }

/* ── Toast Notifications ──────────────────────────────────────── */
.toast-container {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1000;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.toast {
  padding: 0.75rem 1.25rem; border-radius: var(--radius);
  font-size: 0.875rem; color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  animation: toast-in 0.3s ease;
  max-width: 360px;
  display: flex; align-items: flex-start; gap: 0.75rem;
}
.toast-msg { flex: 1; line-height: 1.35; }
.toast-close {
  background: transparent; border: 0; color: inherit; opacity: 0.7;
  cursor: pointer; font-size: 1.25rem; line-height: 1;
  padding: 0 0 0 0.25rem; align-self: flex-start;
}
.toast-close:hover { opacity: 1; }
.toast.toast-error { background: var(--danger); }
.toast.toast-success { background: var(--success-dim); }
.toast.toast-info { background: var(--info); }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
