* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f3f5f7;
  color: #172033;
}
.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.card {
  width: 100%;
  max-width: 620px;
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
}
h1 { margin: 0 0 8px; }
h2 { margin-top: 24px; font-size: 1.15rem; }
.muted { color: #647084; }
.step { display: grid; gap: 12px; }
.hidden { display: none; }
input, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #ccd3dd;
  border-radius: 8px;
  font: inherit;
}
button {
  border: 0;
  border-radius: 8px;
  padding: 13px 16px;
  background: #1457d9;
  color: white;
  font-weight: 700;
  cursor: pointer;
}
button:disabled { opacity: .6; cursor: wait; }
.file-summary {
  margin: 0;
  color: #42526b;
}
.file-list {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.spp-selected-file-item {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 6px 0;
}
.spp-selected-file-item span {
  word-break: break-all;
}
.spp-remove-file-btn {
  border: 1px solid #b23920;
  background: #fff;
  color: #b23920;
  border-radius: 999px;
  padding: 5px 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}
.spp-remove-file-btn:hover {
  background: #fff0ed;
}
.alert {
  margin: 16px 0;
  padding: 12px;
  border-radius: 8px;
  background: #fff3cd;
}
.protocol-line {
  margin: 0;
  color: #42526b;
  overflow-wrap: anywhere;
}
.progress {
  height: 10px;
  background: #e5eaf0;
  border-radius: 8px;
  overflow: hidden;
}
.bar {
  width: 0%;
  height: 100%;
  background: #1457d9;
  transition: width .15s ease;
}
.progress-text {
  margin: -4px 0 0;
  color: #647084;
  font-size: .92rem;
}

@media (max-width: 520px) {
  .page {
    padding: 16px;
    place-items: start center;
  }
  .card {
    padding: 20px;
  }
  .spp-selected-file-item {
    align-items: flex-start;
    flex-direction: column;
  }
}
