#tabfhir {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f4f7fc, #eef3fb);
  color: #10243e;
  max-width: 1080px;
  margin: 24px auto;
  padding: 0 16px 24px;
}

.fhir-card {
  background: #fff;
  border: 1px solid #d8e2ef;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(16, 36, 62, 0.08);
  padding: 16px;
  margin-bottom: 16px;
}

#tabfhir h1 {
  font-size: 1.5rem;
  margin: 0 0 6px;
}

#tabfhir p {
  margin: 0 0 12px;
}

.fhir-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 800px) {
  .fhir-grid {
    grid-template-columns: 1fr 1fr;
  }
}

#tabfhir label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
  font-weight: 600;
  width: 100%;
  float: none;
}

#tabfhir input,
textarea,
select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #c4d2e6;
  border-radius: 8px;
  padding: 10px;
  font-size: 0.95rem;
  font-family: inherit;
}

#tabfhir textarea {
  min-height: 180px;
  resize: vertical;
}

.fhir-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

#tabfhir button {
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
  background: #0b5fff;
  color: white;
  cursor: pointer;
}

#tabfhir button.secondary {
  background: #264469;
}

#tabfhir button:hover {
  filter: brightness(0.96);
}

.fhir-notice {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #365277;
}

#myFormContainer {
  min-height: 130px;
}

#responseOutput,
#statusOutput {
  background: #091528;
  color: #d6e6ff;
  border-radius: 8px;
  padding: 12px;
  min-height: 90px;
  overflow: auto;
  font-size: 0.85rem;
  white-space: pre-wrap;
}