:root {
  font-family: "Manrope", sans-serif;
  color: #eff7f5;
  background:
    radial-gradient(circle at top left, rgba(85, 204, 167, 0.28), transparent 28%),
    radial-gradient(circle at top right, rgba(254, 190, 92, 0.16), transparent 24%),
    linear-gradient(160deg, #081514 0%, #0d2420 52%, #142f29 100%);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --panel: rgba(8, 18, 16, 0.72);
  --panel-border: rgba(210, 255, 241, 0.12);
  --accent: #80f1ca;
  --accent-strong: #3bc899;
  --danger: #ff7e6b;
  --muted: #9db8b1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

#root {
  min-height: 100vh;
}

.shell {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 48px 0 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.eyebrow,
h1,
h2,
.status-card strong {
  font-family: "Space Grotesk", sans-serif;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-size: 0.75rem;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
  margin: 0;
}

.lede,
.panel p,
.file-meta span,
.status-card p {
  color: var(--muted);
}

.hero .lede {
  max-width: 40rem;
  font-size: 1.05rem;
}

.status-card,
.panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.status-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.status-card span {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--accent);
}

.status-card strong {
  font-size: 1.25rem;
}

.panel {
  padding: 24px;
  margin-bottom: 24px;
}

.upload-panel {
  display: grid;
  grid-template-columns: minmax(0, 260px) 1fr;
  gap: 24px;
}

.upload-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

.upload-form label {
  display: grid;
  gap: 8px;
}

.upload-form span {
  color: var(--muted);
  font-size: 0.9rem;
}

input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
}

button {
  border: 0;
  border-radius: 14px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #04241b;
  font-weight: 800;
}

button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.ghost-button {
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}

.danger {
  background: rgba(255, 126, 107, 0.14);
  color: #ffb6aa;
}

.table-header,
.file-row,
.actions {
  display: flex;
  align-items: center;
}

.table-header {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.file-list {
  display: grid;
  gap: 12px;
}

.file-row {
  justify-content: space-between;
  gap: 24px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.file-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}

.file-meta strong {
  width: 100%;
  font-size: 1rem;
}

.actions {
  gap: 10px;
}

.empty-state {
  padding: 28px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 18px;
}

@media (max-width: 900px) {
  .hero,
  .upload-panel,
  .upload-form {
    grid-template-columns: 1fr;
  }

  .file-row,
  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .actions button {
    width: 100%;
  }
}

