* {
  box-sizing: border-box;
}

:root {
  --atp-green: #445542;
  --atp-lime: #adc200;
  --atp-green-dark: #333f32;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #f4f6f8;
  color: #1a1a1a;
}

.site-header {
  background-color: #ffffff;
  border-bottom: 4px solid var(--atp-lime);
  padding: 16px 20px;
}

.site-logo {
  height: 36px;
  display: block;
  margin: 0 auto;
  max-width: 720px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.form-header h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--atp-green);
}

.form-header p {
  line-height: 1.5;
  color: #333;
}

.step-indicator {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  counter-reset: step;
}

.step-indicator li {
  flex: 1;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 3px solid #dde3e8;
  color: #8a95a1;
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
}

.step-indicator li::before {
  counter-increment: step;
  content: counter(step);
  display: block;
  width: 26px;
  height: 26px;
  line-height: 26px;
  border-radius: 50%;
  background: #dde3e8;
  color: white;
  margin: 0 auto 6px;
}

.step-indicator li.active {
  color: var(--atp-green);
  border-bottom-color: var(--atp-lime);
}

.step-indicator li.active::before {
  background: var(--atp-green);
}

.step-indicator li.completed::before {
  background: var(--atp-lime);
  color: var(--atp-green-dark);
}

.form-section {
  background: #ffffff;
  border: 1px solid #dde3e8;
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 20px;
}

.form-section h2 {
  font-size: 1.15rem;
  margin-top: 0;
  color: var(--atp-green);
}

.form-section p {
  line-height: 1.5;
  color: #333;
}

.field {
  margin-top: 14px;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #b9c2ca;
  border-radius: 4px;
  font-size: 1rem;
}

.field input:focus,
.radio-inline input:focus,
.option input:focus {
  outline: 2px solid var(--atp-lime);
  outline-offset: 1px;
}

.field input:invalid.touched {
  border-color: #c0392b;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #dde3e8;
  border-radius: 6px;
  cursor: pointer;
}

.option:hover {
  background-color: #f4f8e8;
  border-color: var(--atp-lime);
}

.option:has(input:checked) {
  border-color: var(--atp-green);
  background-color: #f4f8e8;
}

.option input[type="radio"] {
  margin-top: 4px;
  accent-color: var(--atp-green);
}

.option-text {
  display: flex;
  flex-direction: column;
}

.option-text span {
  color: #555;
  font-size: 0.9rem;
}

.radio-inline {
  display: flex;
  gap: 20px;
  margin-top: 6px;
}

.radio-inline label {
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 6px;
}

.radio-inline input,
.checkbox-line input {
  accent-color: var(--atp-green);
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  font-weight: 600;
  cursor: pointer;
}

.checkbox-line:has(input:disabled) {
  color: #8a95a1;
  cursor: not-allowed;
}

.info-note {
  margin-top: 12px;
  padding: 10px 14px;
  background-color: #f4f8e8;
  border-left: 3px solid var(--atp-lime);
  color: #445542;
  font-size: 0.9rem;
}

.field-group {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px dashed #dde3e8;
}

.step-nav {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step-nav button {
  padding: 12px 28px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  border: none;
}

.next-btn,
#submit-btn {
  background-color: var(--atp-green);
  color: white;
  margin-left: auto;
}

.next-btn:hover,
#submit-btn:hover {
  background-color: var(--atp-green-dark);
}

.next-btn:disabled,
#submit-btn:disabled {
  background-color: #b9c2ca;
  cursor: not-allowed;
}

.back-btn {
  background-color: transparent;
  color: var(--atp-green);
  border: 1px solid #b9c2ca !important;
}

.back-btn:hover {
  background-color: #f4f8e8;
  border-color: var(--atp-lime) !important;
}

.form-note {
  color: #c0392b;
  font-weight: 600;
  margin-top: 20px;
}

.form-note.success {
  color: #1b6e34;
}
