.submit-main {
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 14px 40px;
}

.submit-main h1 {
  margin-bottom: 8px;
  font-size: 20px;
}

.submit-lead {
  margin-bottom: 16px;
  color: #444;
}

.submit-form label {
  display: block;
  margin-bottom: 4px;
  font-weight: bold;
}

.submit-form .optional {
  font-weight: normal;
  color: #666;
}

.submit-form input[type="text"],
.submit-form input[type="date"],
.submit-form select,
.submit-form textarea {
  display: block;
  width: 100%;
  margin-bottom: 14px;
  padding: 8px 10px;
  border: 1px solid #999;
  background: #fff;
  color: #222;
  font: inherit;
}

.submit-form textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-form input[type="file"] {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  padding: 6px 0;
  font: inherit;
}

.field-hint {
  margin: -6px 0 14px;
  color: #666;
  font-size: 12px;
}

.step-title {
  margin: 4px 0 12px;
  font-size: 14px;
}

.photo-step {
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid #bbb;
  background: #f7f7f7;
}

.photo-upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.progress-wrap {
  margin-bottom: 10px;
}

.progress-bar {
  height: 12px;
  border: 1px solid #888;
  background: #ddd;
  overflow: hidden;
}

.progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: #06c;
  transition: width 0.15s linear;
}

.progress-label {
  margin-top: 4px;
  color: #444;
  font-size: 12px;
}

.upload-status {
  margin-bottom: 10px;
  color: #264;
  font-size: 12px;
}

.upload-status.error {
  color: #822;
}

.photo-preview {
  margin-bottom: 8px;
}

.photo-preview img {
  display: block;
  max-width: min(100%, 360px);
  height: auto;
  border: 1px solid #999;
  background: #eee;
}

.submit-form .actions {
  margin-top: 8px;
}

.submit-form button.primary,
.submit-form button.secondary {
  padding: 8px 14px;
  border: 1px solid #888;
  background: #ddd;
  color: #222;
  font: inherit;
  cursor: pointer;
}

.submit-form button.primary {
  border-color: #048;
  background: #06c;
  color: #fff;
  font-weight: bold;
}

.submit-form button.primary:hover {
  background: #048;
}

.submit-form button.secondary:hover {
  background: #ccc;
}

.submit-form button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.flash {
  margin-bottom: 14px;
  padding: 8px 10px;
  border: 1px solid #8a8;
  background: #e8f5e8;
}

.flash.error {
  border-color: #a88;
  background: #f8e8e8;
}

/* Honeypot — off-screen for assistive tech / bots */
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tos-note {
  margin: 12px 0 0;
  color: #444;
  font-size: 12px;
}

.legal-main h2 {
  margin: 18px 0 6px;
  font-size: 14px;
}

.legal-main p {
  margin-bottom: 10px;
}

.legal-updated {
  margin-top: 18px;
  color: #666;
  font-size: 12px;
}
