/* complaints.dwyers.com.au - Dwyers Automotive Group CI (cloned from incident.dwyers.com.au). No external fonts or libraries. */
:root {
  --charcoal: #2B2B2B;
  --grey: #5f5f5f;
  --light: #F0F0F0;
  --white: #FFFFFF;
  --danger: #b00020;
  --focus: #1a5fb4;
  --radius: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
legend { padding: 0; }
body {
  margin: 0;
  background: var(--light);
  color: var(--charcoal);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  overflow-wrap: break-word;
}
a { color: var(--charcoal); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.top { background: var(--charcoal); color: var(--white); display: flex; align-items: center; gap: 12px; padding: 10px 16px; }
.top img { display: block; height: 40px; width: auto; }

.wrap { max-width: 680px; margin: 0 auto; padding: 20px 16px 32px; }
h1 { font-size: 1.6rem; line-height: 1.2; margin: 0 0 10px; }
h2 { font-size: 1.15rem; line-height: 1.25; margin: 0 0 8px; }
.intro { margin: 0 0 22px; }
.intro p { margin: 0 0 10px; }

.notice {
  background: var(--white); border: 1px solid #d6d6d6; border-radius: var(--radius);
  padding: 12px 14px; margin: 22px 0 16px; font-size: .92rem; color: #333;
}
.notice p { margin: 0 0 8px; }
.notice ul { margin: 0 0 8px; padding-left: 20px; }
.notice li { margin: 0 0 4px; }
.notice p:last-child { margin-bottom: 0; }

.field { margin: 0 0 18px; }
.field label, .field .label { display: block; font-weight: 700; margin: 0 0 6px; }
.req { font-weight: 400; font-size: .85rem; color: var(--grey); }
.hint { display: block; color: var(--grey); font-size: .9rem; font-weight: 400; margin: -2px 0 6px; }
input[type=text], input[type=tel], input[type=email], select, textarea {
  display: block; width: 100%; max-width: 100%;
  min-height: 48px; padding: 10px 12px;
  font: inherit; color: var(--charcoal);
  background: var(--white); border: 2px solid #9a9a9a; border-radius: 8px;
}
textarea { min-height: 180px; resize: vertical; }
textarea.short { min-height: 96px; }
input[aria-invalid=true], select[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--danger); }

.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label {
  display: flex; align-items: center; gap: 10px; margin: 0;
  min-height: 48px; padding: 8px 14px;
  background: var(--white); border: 2px solid #c8c8c8; border-radius: 8px;
  font-weight: 400; cursor: pointer;
}
.radio-row input { width: 22px; height: 22px; margin: 0; accent-color: var(--charcoal); }

.file-btn {
  position: relative; display: flex !important; align-items: center; justify-content: center;
  min-height: 56px; width: 100%; padding: 0 16px;
  background: var(--white); border: 2px dashed var(--charcoal); border-radius: var(--radius);
  font-weight: 700; cursor: pointer;
}
.file-btn input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-btn:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.file-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.file-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--white); border: 1px solid #d6d6d6; border-radius: 8px; padding: 6px 6px 6px 12px;
}
.file-list span { min-width: 0; overflow-wrap: anywhere; }
.file-list button {
  flex: 0 0 auto; min-width: 44px; min-height: 44px; padding: 0 12px;
  border: 0; border-radius: 22px; background: var(--charcoal); color: var(--white); font: inherit; font-size: .85rem; cursor: pointer;
}

.err { color: var(--danger); font-weight: 700; margin: 0 0 12px; }
.err:empty { display: none; }

.nav { display: flex; gap: 12px; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px; border-radius: var(--radius);
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 2px solid var(--charcoal);
}
.btn-primary { background: var(--charcoal); color: var(--white); flex: 1; }
.btn-primary[disabled] { opacity: .6; cursor: progress; }

.ref { font-size: 1.8rem; font-weight: 800; letter-spacing: .06em; background: var(--white); border-radius: var(--radius); padding: 10px 16px; display: inline-block; margin: 6px 0 16px; }

/* Honeypot: off-screen, not display:none (some bots skip hidden fields) */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.foot { color: var(--grey); font-size: .85rem; text-align: center; padding: 8px 16px 24px; }

@media (min-width: 700px) {
  .wrap { padding-top: 32px; }
  h1 { font-size: 2rem; }
}
