:root {
  --primary-color: #6366f1;
  --primary-hover: #4f46e5;
  --bg-dark: #0f172a;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
}

body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Abstract Background */
.background-glass {
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 50%);
  z-index: -1;
}

.container {
  width: 100%;
  max-width: 600px;
  padding: 2px;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, #818cf8, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

header p {
  color: var(--text-muted);
}

/* Upload Zone */
.upload-zone {
  background: var(--glass-bg);
  border: 2px dashed var(--glass-border);
  border-radius: 1rem;
  padding: 4rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--primary-color);
  background: rgba(99, 102, 241, 0.1);
}

.icon-cloud {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.upload-zone h2 {
  margin: 0;
  font-weight: 600;
}

.upload-zone p {
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Status Panel */
.status-panel {
  margin-top: 2rem;
  background: var(--glass-bg);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  display: none;
  /* Hidden by default */
}

.status-panel.active {
  display: block;
}

.status-panel h3 {
  margin-top: 0;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

ul#task-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.task-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--glass-border);
}

.task-item:last-child {
  border-bottom: none;
}

.task-name {
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}

.task-status {
  font-size: 0.85rem;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
}

.task-status.queued {
  color: #facc15;
}

.task-status.processing {
  color: #38bdf8;
}

.task-status.completed {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
}

.task-status.error {
  color: #f87171;
}