:root {
  --bg: #eef1f6;
  --card: #ffffff;
  --ink: #3f4a5a;
  --muted: #9aa4b2;
  --border: #e2e6ee;
  --border-focus: #b9c2d0;
  --accent: #8cc63f;
  --accent-dark: #7ab32f;
  --error: #d64545;
  --success: #3a8a4d;
  --info: #4a5568;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background: var(--bg);
  color: #333;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

.card {
  width: 100%;
  max-width: 760px;
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(31, 45, 61, 0.08);
  padding: 40px;
}

h1 {
  margin: 0 0 28px;
  text-align: center;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--ink);
}

.row {
  display: flex;
  gap: 16px;
}

.field {
  position: relative;
  margin-bottom: 16px;
  flex: 1;
}

.field__icon {
  position: absolute;
  left: 14px;
  top: 14px;
  color: var(--muted);
  pointer-events: none;
  display: inline-flex;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: #333;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field:has(.field__icon) input {
  padding-left: 42px;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(140, 198, 63, 0.12);
}

textarea {
  resize: vertical;
  min-height: 130px;
}

/* Honeypot — visually and semantically removed for humans, present for bots. */
.hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.drop {
  margin: 8px 0 16px;
}

.status {
  min-height: 1.2em;
  margin-bottom: 16px;
  text-align: center;
  font-size: 0.95rem;
}
.status--info { color: var(--info); }
.status--success { color: var(--accent); font-weight: 600; font-size:1.75rem;}
.status--error { color: var(--error); font-weight: 600; }

.btn {
  display: block;
  margin: 0 auto;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--accent-dark); }
.btn:disabled { opacity: 0.6; cursor: default; }

/* Blend the Uppy Dashboard with the card. */
.uppy-Dashboard-inner {
  border: 1px dashed var(--border) !important;
  border-radius: 8px !important;
  background: #fafbfc !important;
}

@media (max-width: 560px) {
  .card { padding: 24px; }
  .row { flex-direction: column; gap: 0; }
  h1 { font-size: 1.5rem; }
}
