/* ===== Lease Application Form Styles ===== */
#laf-wrap {
  max-width: 860px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #333;
}

/* Notices */
.laf-notice {
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 22px;
  font-size: 15px;
}
.laf-notice--success {
  background: #eaf7f0;
  border-left: 4px solid #27ae60;
  color: #1a5c37;
}
.laf-notice--error {
  background: #fef2f2;
  border-left: 4px solid #e74c3c;
  color: #7b1d1d;
}

/* Section */
.laf-section {
  background: #ffffff;
  border: 1px solid #e1e8f0;
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: 0 1px 4px rgba(27,58,92,.06);
}
.laf-section--legal {
  background: #f8fafd;
  border-color: #c3d5e8;
}
.laf-section__title {
  font-size: 16px;
  font-weight: 700;
  color: #1B3A5C;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #4472C4;
}

/* Rows & Fields */
.laf-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}
.laf-field {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
}
.laf-field--sm { flex: 0 1 150px; }
.laf-field--lg { flex: 2 1 300px; }

.laf-field label {
  font-size: 12px;
  font-weight: 600;
  color: #1B3A5C;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 5px;
}
.laf-field label .req { color: #e74c3c; }

.laf-field input,
.laf-field select,
.laf-field textarea {
  border: 1px solid #c8d8e8;
  border-radius: 5px;
  padding: 9px 12px;
  font-size: 14px;
  color: #333;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
  box-sizing: border-box;
}
.laf-field input:focus,
.laf-field select:focus,
.laf-field textarea:focus {
  outline: none;
  border-color: #4472C4;
  box-shadow: 0 0 0 3px rgba(68,114,196,.15);
}
.laf-field textarea { resize: vertical; }

/* Background questions */
.laf-col-form { display: flex; flex-direction: column; gap: 10px; }
.laf-bg-row {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}
.laf-bg-question { flex: 1; color: #404040; }
.laf-bg-row label { display: flex; align-items: center; gap: 5px; font-weight: 500; cursor: pointer; }

/* Reference label */
.laf-ref-label {
  width: 100%;
  font-size: 12px;
  font-weight: 700;
  color: #4472C4;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 4px;
}

/* Legal text */
.laf-legal-text {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid #d0dde8;
  border-radius: 5px;
  padding: 12px 14px;
}

/* Checkbox label */
.laf-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #333;
  cursor: pointer;
  margin-top: 14px;
}
.laf-checkbox-label input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: #1B3A5C;
}

/* Submit */
.laf-submit-row { text-align: center; margin-top: 8px; }
.laf-btn {
  background: #1B3A5C;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 14px 44px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: .03em;
  transition: background .2s, transform .1s;
}
.laf-btn:hover  { background: #4472C4; }
.laf-btn:active { transform: scale(.98); }
.laf-btn:disabled { background: #9aafcc; cursor: not-allowed; }

/* Responsive */
@media (max-width: 600px) {
  .laf-section { padding: 18px 14px; }
  .laf-field--sm, .laf-field--lg { flex: 1 1 100%; }
  .laf-bg-row { flex-wrap: wrap; }
}
