/* Public audit form base styles, independent of the OS application. */
:root {
  --primary: #e63946;
  --primary-hover: #f04550;
  --primary-glow: rgba(230, 57, 70, 0.25);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f0f0f5;
  --text-muted: rgba(240, 240, 245, 0.65);
  --text-dim: rgba(240, 240, 245, 0.55);
  --transition-m: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; color-scheme: dark; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.form-group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-group > label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}
.form-row { display: grid; gap: 14px; }
.form-row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lead-city { grid-column: span 2; }
input::placeholder, textarea::placeholder { color: var(--text-dim); opacity: 1; }
textarea { line-height: 1.6; min-height: 80px; }
select option { background: #14141e; color: var(--text); }
.checkbox-item input[type="checkbox"] { flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 4px 16px var(--primary-glow); }
.btn-secondary { background: rgba(255, 255, 255, 0.06); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: rgba(230, 57, 70, 0.08); border-color: var(--primary); }
.btn-lg { padding: 12px 24px; font-size: 15px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .lead-city { grid-column: auto; }
  .form-section-title { flex-wrap: wrap; }
  .btn { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
