*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background: linear-gradient(160deg, #fdf2f8 0%, #fce7f3 60%, #fbcfe8 100%);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e1b1b;
  padding: 32px 16px 64px;
}

.page {
  max-width: 640px;
  margin: 0 auto;
}

/* ── Header ── */
.header {
  text-align: center;
  margin-bottom: 40px;
}

.logo {
  font-size: 48px;
  display: block;
  margin-bottom: 8px;
}

.header h1 {
  font-size: 28px;
  font-weight: 800;
  color: #9d174d;
  margin-bottom: 6px;
}

.tagline {
  font-size: 15px;
  color: #be185d;
  opacity: 0.8;
}

/* ── Drop zone ── */
.dropzone {
  background: #fff;
  border: 2.5px dashed #f9a8d4;
  border-radius: 24px;
  padding: 52px 32px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  outline: none;
  user-select: none;
}

.dropzone:hover,
.dropzone:focus-visible {
  border-color: #ec4899;
  background: #fdf2f8;
}

.dropzone.drag-over {
  border-color: #db2777;
  background: #fce7f3;
  transform: scale(1.01);
}

.drop-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.drop-title {
  font-size: 18px;
  font-weight: 700;
  color: #9d174d;
  margin-bottom: 6px;
}

.drop-sub {
  font-size: 14px;
  color: #be185d;
  margin-bottom: 10px;
  opacity: 0.75;
}

.drop-formats {
  font-size: 12px;
  color: #9d174d;
  opacity: 0.5;
  letter-spacing: 0.02em;
}

/* ── File list ── */
.file-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.file-item {
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 2px 12px rgba(219, 39, 119, 0.07);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.file-name {
  font-size: 14px;
  font-weight: 600;
  color: #1e1b1b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-size {
  font-size: 12px;
  color: #9d174d;
  opacity: 0.6;
}

.file-status {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.status-uploading { color: #be185d; }
.status-done      { color: #15803d; }
.status-error     { color: #dc2626; }

.progress-bar-wrap {
  grid-column: 1 / -1;
  height: 6px;
  background: #fce7f3;
  border-radius: 99px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #ec4899, #db2777);
  border-radius: 99px;
  width: 0%;
  transition: width 0.3s ease;
}
