/*
 * Shared styles for the pilot form pages: advertise.html, earn.html, verify.html.
 * Self-contained on purpose: layout uses no Bootstrap grid classes, so the
 * forms still lay out if the Bootstrap CDN stylesheet fails (see README.md).
 */

.pilot-form-page {
  padding: 120px 0 50px;
}

@media (max-width: 767px) {
  .pilot-submit-btn {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

.pilot-form-page h1 {
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 6px;
}

.pilot-form-page .pilot-sub {
  color: #818992;
  font-size: 15px;
  margin-bottom: 8px;
  max-width: 640px;
}

.pilot-notice {
  border: 1px solid #e8c88a;
  background: #fdf6e6;
  color: #7a5f1e;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 34px;
  max-width: 640px;
}

.pilot-form label {
  font-weight: 600;
  font-size: 13px;
  color: #333;
  display: block;
  margin: 18px 0 6px;
}

.pilot-form input[type=text],
.pilot-form input[type=tel],
.pilot-form input[type=date],
.pilot-form input[type=time],
.pilot-form input[type=number],
.pilot-form select {
  width: 100%;
  max-width: 480px;
  height: 46px;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  padding: 0 1rem;
  background: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.pilot-form textarea {
  width: 100%;
  max-width: 480px;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  padding: 0.8rem 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  resize: vertical;
  min-height: 90px;
}

.pilot-form input[type=file] {
  width: 100%;
  max-width: 480px;
  border: 1px dashed #d65f53;
  border-radius: 6px;
  padding: 0.8rem 1rem;
  background: #fff8f7;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
}

.field-hint {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
  max-width: 480px;
}

#imgPreview {
  max-width: 220px;
  margin-top: 12px;
  border-radius: 6px;
  border: 1px solid #e4e4e4;
  display: none;
}

.pilot-form .checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  max-width: 480px;
}

.pilot-form .checkbox-row input {
  margin-top: 4px;
}

.pilot-form .checkbox-row label {
  margin: 0;
  font-weight: 400;
  font-size: 13px;
  color: #555;
}

.pilot-submit-btn {
  margin-top: 28px;
}

#formMsg {
  margin-top: 18px;
  font-size: 14px;
  max-width: 480px;
}

#formMsg.success {
  color: #2e7d32;
}

#formMsg.error {
  color: #c0392b;
}

.required {
  color: #d65f53;
}
