:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --brand-blue: #12aee4;
  --brand-blue-dark: #0789b8;
  --brand-graphite: #666664;
  --ink: #202124;
  --muted: #686b73;
  --line: rgba(32, 33, 36, 0.12);
  background: #f5f7f9;
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(18, 174, 228, 0.16), transparent 34%),
    linear-gradient(225deg, rgba(102, 102, 100, 0.10), transparent 42%),
    #f5f7f9;
}

button,
input {
  font: inherit;
}

.shell {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 28px;
}

.upload-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(31, 35, 43, 0.12);
  max-width: 720px;
  padding: 30px;
  width: min(100%, 720px);
}

.brand {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.brand-logo {
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(32, 33, 36, 0.10);
  height: 82px;
  object-fit: contain;
  padding: 6px;
  width: 82px;
}

.eyebrow {
  color: var(--brand-blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 3px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  margin: 0;
}

.link-info {
  color: var(--muted);
  margin: 8px 0 0;
}

.drop-zone {
  align-items: center;
  background: #fbfdff;
  border: 2px dashed rgba(18, 174, 228, 0.42);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 9px;
  justify-content: center;
  min-height: 260px;
  padding: 28px;
  text-align: center;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.drop-zone input,
.folder-button input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.drop-zone.is-dragging {
  background: #eefaff;
  border-color: var(--brand-blue);
  transform: translateY(-1px);
}

.drop-icon {
  align-items: center;
  background: #e7f7fd;
  border-radius: 999px;
  color: var(--brand-blue-dark);
  display: flex;
  font-size: 34px;
  font-weight: 600;
  height: 64px;
  justify-content: center;
  line-height: 1;
  margin-bottom: 4px;
  width: 64px;
}

.drop-zone strong {
  font-size: 22px;
}

.drop-zone span:last-child {
  color: var(--muted);
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.actions button,
.folder-button,
.file-action {
  align-items: center;
  background: var(--brand-blue);
  border: 0;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  display: inline-flex;
  font-weight: 750;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
}

.folder-button {
  background: #eceff2;
  color: var(--ink);
  position: relative;
}

.queue {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.batch-summary {
  background: #f2f8fb;
  border: 1px solid rgba(18, 174, 228, 0.22);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
  margin-top: 18px;
  padding: 12px 14px;
}

.file-row {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px;
}

.file-name {
  font-weight: 760;
  overflow-wrap: anywhere;
}

.file-status {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.progress {
  background: #e7ebef;
  border-radius: 999px;
  height: 8px;
  margin-top: 10px;
  overflow: hidden;
}

.progress span {
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-graphite));
  display: block;
  height: 100%;
  width: 0;
}

.file-action {
  background: #eef2f5;
  color: var(--ink);
  min-width: 92px;
}

@media (max-width: 620px) {
  .shell {
    align-items: stretch;
    padding: 14px;
  }

  .upload-panel {
    padding: 20px;
  }

  .brand {
    align-items: flex-start;
  }

  .drop-zone {
    min-height: 220px;
  }

  .actions,
  .file-row {
    grid-template-columns: 1fr;
  }

  .actions {
    display: grid;
  }
}
