:root {
  --deep-blue: #1e3a5f;
  --emerald: #059669;
  --gold: #f59e0b;
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --bg-input: #0f172a;
  --border: #334155;
  --text-primary: #f3f4f6;
  --text-muted: #94a3b8;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
}

.btn-primary {
  background: var(--emerald);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-primary:hover { background: #047857; }
.btn-secondary {
  background: var(--deep-blue);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-secondary:hover { background: #2a4a7f; }
.btn-danger {
  background: #dc2626;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: background 0.2s;
}
.btn-danger:hover { background: #b91c1c; }
.card {
  background: var(--bg-card);
  border-radius: 0.75rem;
  padding: 1.5rem;
}
.input {
  width: 100%;
  padding: 0.5rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}
.input:focus { border-color: var(--emerald); }
.badge {
  display: inline-block;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-success { background: #065f46; color: #a7f3d0; }
.badge-warning { background: #78350f; color: #fde68a; }
.badge-danger { background: #7f1d1d; color: #fca5a5; }
.badge-info { background: #1e3a5f; color: #93c5fd; }
.dropzone {
  border: 2px dashed var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.dropzone:hover, .dropzone.dragover {
  border-color: var(--emerald);
  background: rgba(5, 150, 105, 0.1);
}
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.toast {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  color: #fff;
  font-size: 0.875rem;
  animation: slideIn 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.toast-success { background: #065f46; }
.toast-error { background: #7f1d1d; }
.toast-warning { background: #78350f; }
.toast-info { background: #1e3a5f; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
.spinner {
  border: 3px solid var(--border);
  border-top-color: var(--emerald);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pulse-animation { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
