/* Intake Form Styles */

.intake-page {
  min-height: calc(100vh - 200px);
  padding-bottom: 96px;
}

/* Header */
.intake-header {
  background: var(--fg);
  padding: 72px 48px 64px;
}
.intake-header-inner {
  max-width: 680px;
  margin: 0 auto;
}
.intake-header .section-label {
  color: var(--accent);
}
.intake-header h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  color: #f7f6f3;
  line-height: 1.15;
  margin-bottom: 12px;
}
.intake-header p {
  font-size: 16px;
  color: #a8a8a0;
  line-height: 1.65;
}

/* Body */
.intake-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px;
}

/* Success Banner */
.intake-success {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 48px 40px;
  text-align: center;
}
.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.intake-success h2 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--fg);
  margin-bottom: 12px;
}
.intake-success p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Error Banner */
.intake-errors {
  background: #fff0f0;
  border: 1px solid #ffc5c5;
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 28px;
}
.error-item {
  font-size: 14px;
  color: #c0392b;
  line-height: 1.5;
}
.error-item + .error-item {
  margin-top: 8px;
}

/* Form */
.intake-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px 36px;
  margin-bottom: 20px;
}
.form-section legend {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 0 4px;
}
.form-section-desc {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 6px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.form-row:last-child {
  margin-bottom: 0;
}
.form-row--two .form-group {
  flex: 1 1 calc(50% - 8px);
}
.form-row--three .form-group {
  flex: 1 1 calc(33.333% - 11px);
}

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1 1 100%;
}
.form-group--wide {
  flex: 1 1 calc(60% - 8px);
}
.form-group--permit-status {
  flex: 0 0 auto;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 6px;
}
.required {
  color: var(--accent);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select {
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--fg);
  outline: none;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
}
.form-group input::placeholder {
  color: #b0b0a8;
}

/* Permit Status Radios */
.radio-group {
  display: flex;
  gap: 16px;
  height: 42px;
  align-items: center;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 400;
  color: var(--fg);
  cursor: pointer;
}
.radio-label input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}

/* Property Rows */
.property-row {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 16px;
  background: var(--bg);
}
.property-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.property-row-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.btn-remove-property {
  background: none;
  border: none;
  color: #aaa;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.15s;
}
.btn-remove-property:hover {
  color: #c0392b;
}

/* Add Property Button */
.btn-add-property {
  background: none;
  border: 1px dashed var(--border);
  border-radius: 4px;
  color: var(--fg-muted);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 12px 20px;
  cursor: pointer;
  width: 100%;
  transition: border-color 0.15s, color 0.15s;
}
.btn-add-property:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Form Actions */
.form-actions {
  padding-top: 8px;
}
.btn-submit {
  background: var(--accent);
  border: none;
  border-radius: 4px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 32px;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-submit:hover {
  background: #a0600f;
}

/* Responsive */
@media (max-width: 600px) {
  .intake-header {
    padding: 48px 24px 40px;
  }
  .intake-body {
    padding: 32px 16px;
  }
  .form-section {
    padding: 24px 20px;
  }
  .form-row--two,
  .form-row--three {
    flex-direction: column;
  }
  .form-row--two .form-group,
  .form-row--three .form-group {
    flex: 1 1 100%;
  }
  .radio-group {
    flex-wrap: wrap;
    gap: 10px;
  }
}
