/* ── Download Section ────────────────────────── */
.download-section {
  text-align: center;
  padding: 40px 24px;
  background: var(--color-success-light);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-lg);
  margin: 24px 0;
}

.download-icon {
  width: 56px;
  height: 56px;
  background: var(--color-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.download-icon svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
}

.download-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 6px;
}

.download-section .download-info {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.download-section .compress-stats {
  display: inline-flex;
  gap: 16px;
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  background: var(--color-surface);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
}

.compress-stats .stat-label {
  color: var(--color-text-muted);
  font-size: 12px;
}

.compress-stats .stat-value {
  font-weight: 700;
  color: var(--color-text);
}

.compress-stats .stat-saved {
  color: var(--color-success);
  font-weight: 700;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--color-success);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 200ms;
}

.download-btn:hover { background: #15803d; }

.download-btn svg {
  width: 20px;
  height: 20px;
}

/* Multiple file downloads */
.download-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.download-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-surface);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.download-list-item button {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-success);
  background: none;
  border: none;
  cursor: pointer;
}

.download-list-item button:hover { text-decoration: underline; }

.start-over-btn {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
  background: none;
  border: none;
}

.start-over-btn:hover { color: var(--color-text); }

/* ── Toast Notifications ─────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  z-index: 1000;
  transition: transform 300ms ease;
  box-shadow: var(--shadow-hover);
}

.toast.visible {
  transform: translateX(-50%) translateY(0);
}

.toast.toast-error {
  background: var(--color-error);
  color: #fff;
}

.toast.toast-success {
  background: var(--color-success);
  color: #fff;
}
