/* Data portal styles. Plain CSS, dp- prefixed, themed off variables so a brand
   can restyle without touching markup — the same shape as booking.css. */
:root {
  --dp-ink: #14181f;
  --dp-muted: #667085;
  --dp-paper: #ffffff;
  --dp-rule: #e4e7ec;
  --dp-accent: #1f6feb;
  --dp-accent-ink: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 2rem 1rem;
  background: var(--dp-paper);
  color: var(--dp-ink);
  font: 16px/1.5 system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.dp-card {
  max-width: 34rem;
  margin: 0 auto;
}

.dp-title {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

.dp-status {
  min-height: 1.5rem;
  margin: 0 0 1rem;
  color: var(--dp-muted);
}

.dp-login,
.dp-upload {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dp-label {
  font-size: 0.875rem;
  color: var(--dp-muted);
}

.dp-input,
.dp-file {
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--dp-rule);
  border-radius: 0.375rem;
  font: inherit;
}

.dp-btn {
  margin-top: 0.5rem;
  padding: 0.625rem 1rem;
  border: 0;
  border-radius: 0.375rem;
  background: var(--dp-accent);
  color: var(--dp-accent-ink);
  font: inherit;
  cursor: pointer;
}

.dp-upload {
  margin-bottom: 1.5rem;
}

.dp-files {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dp-file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--dp-rule);
}

.dp-file-name {
  color: var(--dp-accent);
  text-decoration: none;
  word-break: break-all;
}

.dp-file-name:hover {
  text-decoration: underline;
}

.dp-del {
  border: 1px solid var(--dp-rule);
  border-radius: 0.375rem;
  background: transparent;
  color: var(--dp-muted);
  padding: 0.375rem 0.625rem;
  font: inherit;
  cursor: pointer;
}

.dp-empty {
  color: var(--dp-muted);
  padding: 0.75rem 0;
}
