main {
  max-width: 800px;
  margin: 3rem auto;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

/* --- Main title --- */
h1 {
  color: #c22e2e;
  text-align: left;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  font-weight: 600;
}

/* --- Subtitles --- */
h3 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #333;
  font-size: 1.1rem;
  font-weight: 500;
}

/* --- Intro paragraph --- */
p.intro {
  text-align: left;
  margin-bottom: 2.5rem;
  color: #444;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 700px;
}

/* --- Form layout --- */
form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* --- Labels --- */
label {
  font-weight: 500;
  margin-bottom: 0.3rem;
}

/* --- Inputs and textareas --- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 0; /* square edges */
  font-size: 15px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* --- Placeholder color --- */
input::placeholder,
textarea::placeholder {
  color: #aaa;
}

/* --- Textarea resizing --- */
textarea {
  resize: vertical;
  min-height: 80px;
}

/* --- Upload file row --- */
.upload-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.upload-row label {
  flex: 1 1 200px;
}

.upload-row button {
  flex: 0 0 auto;
}

#file-name {
  font-size: 0.9em;
  color: #555;
}

/* ===== CUSTOM RADIO & CHECKBOX STYLES (acceptdeny) ===== */
.acceptdeny {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* --- Custom round input --- */
.acceptdeny input[type="radio"],
.acceptdeny input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #999;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  position: relative;
  outline: none;
  flex-shrink: 0;
  margin-top: 3px;
}

/* --- Checked border color --- */
.acceptdeny input[type="radio"]:checked,
.acceptdeny input[type="checkbox"]:checked {
  border-color: #666;
}

/* --- Checked inner dot --- */
.acceptdeny input[type="radio"]:checked::before,
.acceptdeny input[type="checkbox"]:checked::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #444;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* --- Label beside checkbox --- */
.acceptdeny label {
  display: inline-block;
  margin: 0;
  line-height: 1.4;
  color: #333;
}

/* --- Submit button --- */
.submit-btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  font-size: 16px;
}
