*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #3948a4;
  --teal: #1bc8b0;
  --teal-dark: #169E9F;
  --gray: #656775;
  --light-gray: #f5f5f5;
  --border-gray: #ccc;
}

body {
  font-family: 'Merriweather', serif;
  font-size: 16px;
  color: var(--gray);
  background: #fff;
}

/* ── PAGE LAYOUT ── */
.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

/* ── MAIN CONTENT ── */
.main-content {
  flex: 1;
}

.report-image {
  width: 100%;
  display: block;
  border-radius: 4px;
  margin-bottom: 28px;
}

.report-image-placeholder {
  width: 100%;
  height: 300px;
  background: var(--light-gray);
  border-radius: 4px;
  margin-bottom: 28px;
}

.main-content h1 {
  font-family: 'Noto Sans', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 16px;
}

.main-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--gray);
}

.main-content p a {
  color: var(--teal);
  text-decoration: none;
}

.main-content p a:hover {
  text-decoration: underline;
}

/* ── SIDEBAR FORM ── */
.form-sidebar {
  width: 340px;
  flex-shrink: 0;
  position: sticky;
  top: 24px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 32px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.form-sidebar h3 {
  font-family: 'Karla', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  text-align: center;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-family: 'Karla', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
  width: 100%;
  border: none;
  border-bottom: 2px solid var(--border-gray);
  padding: 8px 0;
  font-family: 'Merriweather', serif;
  font-size: 0.9rem;
  color: var(--gray);
  background: transparent;
  outline: none;
  transition: border-color 0.3s ease;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  border-bottom-color: var(--teal);
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23656775'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 20px;
}

.form-group-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}

.form-group-checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--teal);
  width: 16px; height: 16px;
  flex-shrink: 0;
}

.form-group-checkbox label {
  font-family: 'Karla', sans-serif;
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.5;
}

.btn-submit {
  width: 100%;
  background: var(--teal);
  color: #fff;
  border: none;
  padding: 14px;
  font-family: 'Karla', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 8px;
}

.btn-submit:hover { background: var(--teal-dark); }

.form-legal {
  font-size: 0.72rem;
  color: #aaa;
  line-height: 1.5;
  margin-top: 14px;
  text-align: center;
}

.form-legal a { color: var(--teal); text-decoration: none; }

.field-error {
  display: block;
  font-family: 'Karla', sans-serif;
  font-size: 0.75rem;
  color: #e53935;
  margin-top: 4px;
}

.input-error {
  border-bottom-color: #e53935 !important;
}

/* ── FOOTER ── */
footer {
  background: var(--teal-dark);
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo img {
  height: 40px;
  display: block;
}

.footer-center {
  font-family: 'Karla', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  text-align: center;
}

.footer-center a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  margin: 0 8px;
}

.footer-center a:hover { text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .page-wrapper { flex-direction: column; padding: 40px 20px; }
  .form-sidebar { width: 100%; position: static; }
}
