/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}
/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}
/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}
/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}
/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}
/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}
/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}
/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}
/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}
/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}
/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}
/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}
/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}
/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}
/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}
/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}
/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}
/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}
/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}
/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}
/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}
/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}
/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}
/* Google Fonts se teď importují v HTML */
body {
  margin: 0;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}

html,
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fc;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  width: 100%;
}
.symptom-select {
  width: 100%;
  min-width: 70px;
  padding: 10px 14px;
  font-size: 16px;
  border-radius: 10px;
  border: 1.8px solid #3478f6;
  background-color: #f9fbff;
  transition: border-color 0.2s;
}
.symptom-select:focus {
  border-color: #3478f6;
  outline: none;
}
.symptom-select.has-value {
  border-color: #3478f6;
  /* zelená */
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
h2 {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}
.container {
  width: 100%;
  max-width: 500px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}
.patient-view {
  display: flex;
  justify-content: center;
  /* horizontální centrování */
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
  background-color: #f8f9fc;
}
.scrollable-results {
  max-height: 250px;
  overflow-y: auto;
  margin-top: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.buttons-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}
.button-next {
  background-color: #2a689a;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  transition: transform 0.2s ease-in-out;
}
.button-next:hover {
  background-color: #3478f6;
  transform: scale(1.05);
  opacity: 0.9;
}
.back-button {
  text-decoration: none;
  color: #2a689a;
  font-size: 16px;
  display: block;
  margin-bottom: 10px;
  border: none;
  background: none;
  cursor: pointer;
}
.progress-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.progress-bar-wrapper {
  position: relative;
  flex: 1;
}
.progress-bar {
  display: flex;
  height: 6px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.progress {
  height: 100%;
  transition: width 0.3s;
}
.progress.completed {
  background: #2a689a;
  position: relative;
  transition: width 0.5s ease-in-out;
  /* ⬅ plynulý přechod */
}
.progress-icon {
  position: absolute;
  top: -10px;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  z-index: 2;
  pointer-events: none;
  transition: left 0.5s ease-in-out;
  /* ⬅ plynulý posun ptáka */
}
/* Input Section */
input[type="text"] {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  outline: none;
}
input:focus {
  border-color: #3478f6;
  box-shadow: 0 0 5px rgba(79, 140, 245, 0.5);
}
.button-skip {
  background-color: #2a689a;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  transition: transform 0.2s ease-in-out;
}
.button-group {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.button-skip:hover {
  background-color: #3478f6;
  transform: scale(1.05);
  opacity: 0.9;
}
.scrollable-search-container {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
}
.language-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 10px;
  margin-top: 5px;
}
.language-label {
  margin-right: 8px;
  font-size: 20px;
}
.language-select {
  font-size: 15px;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #f8f9fc;
  color: #333;
  width: 70px;
  max-width: 40vw;
}
.hospital-logo {
  height: 100px;
  width: auto;
  margin-bottom: -80px;
}

.consent-subtext {
  margin-top: 8px;
  margin-bottom: 14px;
  opacity: 0.9;
}
.consent-box {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.02);
}
.consent-list {
  margin: 0 0 12px 18px;
  padding: 0;
}
.consent-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
  cursor: pointer;
}
.consent-checkbox input {
  margin-top: 3px;
}
/* Optional link style */
/*
.consent-link {
  display: inline-block;
  margin-top: 8px;
  text-decoration: underline;
}
*/

p {
  font-size: 14px;
  color: #555;
}
/* Subtext */
.subtext {
  font-size: 12px;
  color: #777;
  margin-bottom: 15px;
}
/* Rodné číslo input */
.rc-input-container {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.rc-input {
  flex: 1;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}
.rc-input:focus {
  outline: none;
  border-color: #10817b;
}

.body-wrapper-single {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
.base-image {
  width: 100%;
  height: auto;
  display: block;
}
.hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}
.region {
  fill: rgba(255, 0, 0, 0);
  /* výchozí stav: průhledná */
  stroke: #3478f6;
  stroke-width: 2;
  cursor: pointer;
  transition: fill 0.2s;
}
.region.selected {
  fill: #2a689a;
  /* Trvalá červená po kliknutí */
}
.region.hovered {
  fill: rgba(255, 0, 0, 0.15);
  stroke: #ff4d4d;
  stroke-width: 2;
}

/* search */
.symp-search-wrap {
  position: relative;
  margin-top: 8px;
}
.symp-search {
  width: 100%;
  height: 46px;
  font-size: 16px;
  padding: 0 14px 0 42px;
  border: 1px solid #d8dbe2;
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.symp-search:focus {
  border-color: #2f6dcc;
  box-shadow: 0 0 0 2px rgba(47, 109, 204, 0.18);
  outline: none;
}
.symp-search::placeholder {
  color: #9aa3b2;
}
.symp-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  opacity: 0.55;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%238290A2' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.2-3.2'/%3E%3C/svg%3E");
}
/* area chips */
.area-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0 6px;
}
.chip {
  background: #eef3fb;
  border: 1px solid #cfe0ff;
  color: #2f4b8f;
  padding: 5px 12px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 18px;
}
.chip-x {
  background: transparent;
  border: 0;
  margin-left: 6px;
  cursor: pointer;
  font-weight: 700;
  color: #2f4b8f;
}
/* tabs (All / Common) — bigger & bolder */
.tabs {
  display: flex;
  gap: 15px;
  margin: 14px 2px 0;
  position: relative;
  justify-content: center;
  border-bottom: 1px solid #e6e6e6;
}
.tab {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 12px 2px;
  font-weight: 600;
  color: black;
  font-size: 14px;
  position: relative;
  transition: color 0.2s;
  text-transform: capitalize;
}
.tab:hover,
.tab:focus-visible {
  color: #2a689a;
  outline: none;
}
.tab.active {
  color: #3478f6;
}
.tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: #3478f6;
  border-radius: 2px;
}
/* list container */
.symp-list {
  max-height: 380px;
  overflow: auto;
  margin-top: 12px;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
/* list rows */
.symp-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-top: 1px solid #f2f2f2;
  transition: background 0.2s;
  color: red;
}
.symp-row:first-child {
  border-top: 0;
}
.symp-row:hover {
  background: #f8fafe;
}
.symp-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #2f6dcc;
  cursor: pointer;
}
.symp-name {
  flex: 1;
  font-size: 15px;
  color: #1d2735;
}
.badge {
  margin-left: 8px;
  font-size: 11px;
  color: #576075;
  background: #f4f6f9;
  border: 1px solid #e6eaf2;
  padding: 2px 6px;
  border-radius: 10px;
}
.inline-hint {
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: #fff7e6;
  color: #7a4d00;
  transition: opacity 0.2s ease;
}
.inline-hint--error {
  background: #fff1f2;
  color: #991b1b;
  border-color: #fecaca;
}
/* optional tiny wobble to draw attention */
@keyframes hint-pop {
  0% {
    transform: scale(0.98);
    opacity: 0.9;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.inline-hint {
  animation: hint-pop 180ms ease-out;
}

.h-button {
  appearance: none;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  cursor: pointer;
  border: 0;
  padding-left: 16px;
  padding-right: 16px;
  height: 36px;
  min-width: 64px;
  letter-spacing: 0.07em;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 8px;
  user-select: none;
  border-radius: 4px;
  background-color: #11958e;
  color: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.333) 0 1px 2px;
  transition: box-shadow 0.1s ease-in-out;
}
.h-button:active {
  box-shadow: rgba(0, 0, 0, 0.5) 0 4px 8px;
}
.h-button-text {
  appearance: none;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  cursor: pointer;
  border: 0;
  padding-left: 16px;
  padding-right: 16px;
  height: 36px;
  min-width: 64px;
  letter-spacing: 0.07em;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 8px;
  user-select: none;
  border-radius: 4px;
  background-color: #ffffff;
  color: #11958e;
}
.h-button-text-inverted {
  appearance: none;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  cursor: pointer;
  border: 0;
  padding-left: 16px;
  padding-right: 16px;
  height: 36px;
  min-width: 64px;
  letter-spacing: 0.07em;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 8px;
  user-select: none;
  border-radius: 4px;
  background-color: #11958e;
  color: #ffffff;
}
.hs-userbox-symptom {
  background-color: #2a689a;
  /* ✅ Blue color like 'Next' */
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}
.hs-userbox-controls button:hover {
  background-color: #3478f6;
  /* ✅ Darker shade for hover effect */
  transform: scale(1.05);
  opacity: 0.9;
}
.h-button-text-border {
  appearance: none;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  cursor: pointer;
  border: 0;
  padding-left: 16px;
  padding-right: 16px;
  height: 36px;
  min-width: 64px;
  letter-spacing: 0.07em;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 8px;
  user-select: none;
  border-radius: 4px;
  background-color: #ffffff;
  color: #11958e;
  box-sizing: border-box;
  border: 2px solid #d3d3d3;
}
.h-button:focus:not(:focus-visible),
.h-button-text-inverted:focus:not(:focus-visible),
.h-button-text-border:focus:not(:focus-visible),
.h-button-text:focus:not(:focus-visible) {
  outline: none;
}
.h-button:active,
.h-button-text-inverted:active {
  background-color: #14aca4;
}
.h-button-text-border:active,
.h-button-text:active {
  background-color: #cccccc;
}
.h-button[disabled],
.h-button-text[disabled],
.h-button-text-inverted[disabled],
.h-button-text-border[disabled] {
  background-color: rgba(153, 153, 153, 0.5);
  color: #535353;
  cursor: default;
  box-shadow: none;
}

.option {
  background-color: #f0f4ff;
  padding: 10px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.pain-comment {
  margin-top: 12px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #333;
}
.option:hover {
  background-color: #e1eaff;
  border-color: #92b4ff;
}
.option.selected {
  border-color: #2a689a;
  background-color: #e0edff;
}
.dropdown-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px auto;
  max-width: 600px;
  justify-content: space-between;
}
.dropdown-label {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  flex: 1;
}
.dropdown-select {
  flex: 2;
  padding: 10px;
  font-size: 16px;
  border: 2px solid #2a689a;
  border-radius: 6px;
  background-color: #fff;
  cursor: pointer;
}
.dropdown-select:focus {
  outline: none;
  border-color: #2a689a;
  box-shadow: 0 0 5px rgba(79, 140, 245, 0.4);
}
.pain-scale-wrapper {
  margin: 30px auto;
  max-width: 600px;
  padding: 0 12px;
  /* keeps first/last buttons inside on small screens */
  text-align: center;
}
.pain-emojis {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.pain-emoji {
  width: 40px;
  height: 40px;
}
.pain-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(36px, 1fr));
  gap: 6px;
  margin-top: 10px;
  width: 100%;
}
.pain-button {
  aspect-ratio: 1;
  /* keeps them square */
  border-radius: 6px;
  border: 1px solid #cfd7e6;
  background: #f9fbff;
  font-size: 16px;
  /* prevents iOS zoom */
  font-weight: 600;
}
.pain-button.selected {
  background: #3478f6;
  border-color: #2f6dcc;
  color: #fff;
}
.pain-button.selected {
  background: #3478f6;
  border-color: #2f6dcc;
  color: #fff;
}
/* If the screen is very narrow, allow 2 rows rather than overflowing */
@media (max-width: 360px) {
  .pain-buttons {
    grid-template-columns: repeat(5, minmax(36px, 1fr));
  }
}

.symptom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}
.symptom-label {
  width: 50%;
  font-size: 16px;
  font-weight: 600;
  margin-right: 10px;
}
.duration-input-group {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}
.inline-hint--error {
  scroll-margin-top: 12px;
}
/* container */
.symptom-nearby-options {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
/* button look */
.symptomNearbyOption {
  appearance: none;
  border: 1px solid #2a689a;
  background: #2a689a;
  /* base color */
  color: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  min-width: 72px;
  /* nice touch target */
  height: 42px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.02s;
}
/* hover / focus */
.symptomNearbyOption:hover {
  filter: brightness(1.05);
}
.symptomNearbyOption:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 140, 245, 0.28);
  /* subtle focus ring */
}
/* tap feedback */
.symptomNearbyOption:active {
  transform: translateY(1px);
}
/* selected state (pressed) */
.symptomNearbyOption[aria-pressed="true"] {
  background: #3478f6;
  /* selected color */
  border-color: #3478f6;
}
/* unselected explicitly */
.symptomNearbyOption[aria-pressed="false"] {
  background: white;
  border-color: #2a689a;
  color: black;
}
/* highlight invalid selects */
.symptom-select.invalid {
  box-shadow: 0 0 0 2px #fecaca inset;
  border-radius: 10px;
}
/* when the nearby group is missing, outline the buttons (each one) */
.symptom-nearby-options.group-error .symptomNearbyOption {
  box-shadow: 0 0 0 2px #fecaca inset;
  border-radius: 10px;
}

.symptom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}
.symptom-label {
  width: 50%;
  font-size: 16px;
  font-weight: 600;
  margin-right: 10px;
}
.duration-input-group {
  display: flex;
  gap: 10px;
}
.date-selection {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.date-selection select,
.date-selection input[type="number"] {
  padding: 10px 14px;
  font-size: 16px;
  border-radius: 10px;
  border: 1.8px solid #ccc;
  background-color: #f9fbff;
  transition: border-color 0.2s;
}
.date-selection select:focus,
.date-selection input[type="number"]:focus {
  border-color: #3478f6;
  outline: none;
}

.search-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  font-size: 16px;
}
.search-result-row:last-child {
  border-bottom: none;
}
.search-result-name {
  flex: 1;
  color: #333;
}
.search-result-button {
  margin-left: 12px;
}

.input-field {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}
.select-field {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  background: #fff;
}
.habbits-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}
.habbits-group label {
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}
.alcohol-types {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
}
.alcohol-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.alcohol-item .icon {
  width: 36px;
  height: 36px;
}
.alcohol-item input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}
/* optional smoking type inline */
.smoking-type-inline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 6px 0 8px 0;
}
.smoking-type-label {
  font-size: 16px;
  white-space: nowrap;
}
/* amount inline, lighter look */
.smoking-amount-inline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 6px 0;
  border-radius: 8px;
  margin: 6px 0 8px 0;
}
.smoking-amount-label {
  font-size: 16px;
  white-space: nowrap;
}
.smoking-amount-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
.unit-hint {
  white-space: nowrap;
  font-size: 13px;
  color: #6b7280;
}
.smoking-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  gap: 10px;
}
.smoking-label {
  flex: 1;
  font-size: 16px;
}
.smoking-since-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}
/* Mobile */
@media (max-width: 640px) {
  .smoking-type-inline,
  .smoking-amount-inline {
    grid-template-columns: 1fr;
  }
  .smoking-amount-controls {
    grid-template-columns: 1fr;
  }
  .unit-hint {
    justify-self: start;
    margin-top: -6px;
  }
}

.drugs-view {
  max-width: 600px;
  margin: auto;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
h2,
h3 {
  margin-bottom: 10px;
  text-align: center;
}
.optional {
  font-weight: normal;
  font-size: 0.9em;
  color: #888;
}
input[type="text"],
input[type="number"],
input[type="date"],
select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.answer-button {
  flex: 1;
  margin: 0 5px;
  padding: 12px;
  background: #eee;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}
.answer-button.selected {
  background: #2a689a;
  color: white;
}
.duration-group {
  display: flex;
  gap: 10px;
}
.duration-group input {
  flex: 1;
}
.duration-group select {
  width: 120px;
}
.button {
  width: 100%;
  padding: 12px;
  background-color: #3478f6;
  color: white;
  border: none;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

/* --- Pharmacology (Medications) screen styles --- */
/* previously you had a stray TS import after this line; keep it clean */
.pharmacology-view .progress-container {
  display: block;
}
.pharmacology-view .progress-label {
  display: block;
  text-align: right;
  white-space: normal;
}
.pharmacology-view .progress-bar-wrapper {
  overflow: hidden;
}
/* bird can't spill */
/* selected meds box */
.selected-symptoms-container {
  margin-top: 30px;
  padding: 15px;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  max-height: 250px;
  overflow-y: auto;
}
.scrollable-selected-symptoms {
  max-height: 180px;
}
.selected-symptoms-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.selected-symptoms-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  margin: 8px 0;
}
.delete-symptom {
  cursor: pointer;
  font-size: 14px;
  opacity: 0.85;
}
/* reuse your list/search visual from patient-quiz where possible */
.pharmacology-view .symp-search-wrap {
  position: relative;
  margin-top: 8px;
}
.pharmacology-view .symp-search {
  width: 100%;
  height: 46px;
  font-size: 16px;
  padding: 0 14px 0 42px;
  border: 1px solid #d8dbe2;
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pharmacology-view .symp-search:focus {
  border-color: #2f6dcc;
  box-shadow: 0 0 0 2px rgba(47, 109, 204, 0.18);
  outline: none;
}
.pharmacology-view .symp-search::placeholder {
  color: #9aa3b2;
}
/* list container */
.pharmacology-view .symp-list {
  max-height: 380px;
  overflow-y: auto;
  overflow-x: visible;
  /* avoid clipping pills/buttons horizontally */
  margin-top: 12px;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
/* list rows — FLEX so buttons don’t get chopped on small screens */
.pharmacology-view .symp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid #f2f2f2;
  transition: background 0.2s;
  overflow: visible;
  /* critical for mobile */
}
.pharmacology-view .symp-row:first-child {
  border-top: 0;
}
.pharmacology-view .symp-row:hover {
  background: #f8fafe;
}
.pharmacology-view .symp-name {
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 15px;
  color: #1d2735;
}
/* ensure action area/buttons never shrink */
.pharmacology-view .symp-row .hbutton,
.pharmacology-view .symp-row button {
  flex: 0 0 auto;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .pharmacology-view .symp-row {
    padding: 10px 8px;
  }
}

/* medication-details.less — card boundaries + precise alignment */
/* Keeps your .container, .back-button, .button-next as-is */
/* gray-200 */
/* gray-500 */
/* sky-500 */
.med-details {
  margin-bottom: 16px;
}
/* clear visual boundary per medication */
.medication-block {
  background: #f9f9f9;
  padding: 15px;
  margin-bottom: 18px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  border: 1px solid #dbeafe;
  /* light blue edge */
}
.medication-block h3 {
  margin: 0 0 10px;
  text-align: center;
  font-weight: 700;
}
/* --- Od kdy? month + year inline in the control column --- */
.inline-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  /* compact */
}
.inline-controls .month-select {
  flex: 0 0 120px;
}
.inline-controls .year-select {
  flex: 0 0 110px;
}
/* --- Radio pills inline --- */
.radio-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
/* make the radio group lay out horizontally */
.radio-group {
  display: flex;
  /* ⬅️ key */
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  /* prevent wrapping; change to 'wrap' if needed on small screens */
}
/* ensure each pill is inline-sized, not full width */
.radio-group .inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
  /* ⬅️ don't stretch */
  min-width: auto;
  /* ⬅️ override any generic label sizing */
  margin: 0;
  /* kill stray margins */
}
/* some projects globally set '.row label { min-width: 120px; }' – override that here */
.radio-group label {
  min-width: 0;
  /* ⬅️ important: allows labels to sit side-by-side */
  width: auto;
}
/* if you still have inline margin-left in JSX, neutralize it */
.radio-group .inline + .inline {
  margin-left: 0 !important;
}
/* keep your radio styling */
.radio-group input[type="radio"] {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid #6b7280;
  border-radius: 50%;
  margin: 0;
  position: relative;
}
.radio-group input[type="radio"]:checked {
  border-color: #0ea5e9;
}
.radio-group input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: #0ea5e9;
  border-radius: 50%;
}
/* Fixed schedule: 3 compact fields next to each other */
.frequency-inputs.fixed input[type="number"] {
  flex: 50;
}
/* PRN: small number + compact select */
.frequency-inputs.prn input[type="number"] {
  flex: 0 0 85px;
  text-align: center;
}
.frequency-inputs.prn select {
  flex: 0 0 150px;
  min-width: 140px;
}
/* two-column layout per row: label | control */
.medication-block .row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 12px;
}
.medication-block .row label {
  color: #6b7280;
  font-weight: 500;
  font-size: 14px;
}
.medication-block .row label .hint {
  font-size: 12px;
  color: #6b7280;
  margin-left: 4px;
}
.medication-block .row select,
.medication-block .row input[type="text"],
.medication-block .row input[type="number"],
.medication-block .row input[type="date"] {
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  height: 40px;
}
/* ✅ put the frequency block to the RIGHT of the label (same row) */
.medication-block .row .frequency-inputs {
  grid-column: 2;
  /* right column */
  grid-row: 1;
  /* same row as label */
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  /* compact controls here (override generic 100% width) */
}
.medication-block .row .frequency-inputs input[type="number"],
.medication-block .row .frequency-inputs select {
  width: auto;
  min-width: 0;
}
/* fixed schedule: Ráno / Poledne / Večer side-by-side */
.frequency-inputs.fixed input[type="number"] {
  flex: 0 0 92px;
}
/* PRN: small number + compact select on one line */
.frequency-inputs.prn input[type="number"] {
  flex: 0 0 85px;
  text-align: center;
}
.frequency-inputs.prn select {
  flex: 0 0 150px;
  min-width: 140px;
}
/* radio pills should also sit in the right column in one line */
.medication-block .row .radio-group {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  /* change to wrap if needed on tiny screens */
}
.radio-group .inline {
  flex: 0 0 auto;
  white-space: nowrap;
}
/* responsive: stack on very narrow screens */
@media (max-width: 560px) {
  .medication-block .row {
    grid-template-columns: 1fr;
  }
  .medication-block .row .frequency-inputs,
  .medication-block .row .radio-group {
    grid-column: 1;
    grid-row: auto;
    margin-top: 6px;
    flex-wrap: wrap;
  }
}

.review-container.modern-layout {
  max-width: 1200px;
  margin: 40px auto;
  padding: 24px;
  font-family: "Inter", "Segoe UI", sans-serif;
  background-color: #f9f9fb;
  color: #111;
}
.section-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 32px;
  text-align: center;
}
/* --- Top summary --- */
.review-header {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 40px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.header-summary {
  display: flex;
  flex-wrap: wrap;
  /* allow wrap to next line */
  gap: 2rem;
  /* spacing between items */
  margin-top: 1rem;
}
.header-item {
  flex: 1 1 150px;
  /* grow/shrink, min 150px */
  min-width: 120px;
}
.header-value {
  font-size: 1rem;
}
/* --- Anamnesis sections --- */
.anamnesis-section {
  margin-bottom: 48px;
}
.anamnesis-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #222;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 6px;
}
/* --- Question-answer rows --- */
.review-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid #e0e0e0;
}
/* Top line = label + pill */
.review-row-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  /* label shrinks, pill fixed */
  align-items: center;
  gap: 12px;
}
/* Label */
.review-question {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  min-width: 0;
  /* allows wrapping inside grid */
  word-break: break-word;
}
/* Answer */
.review-answer {
  font-size: 14px;
  color: #222;
  padding-left: 2px;
  white-space: pre-wrap;
  /* keep line breaks */
  overflow-wrap: anywhere;
  /* break long words/urls */
}
/* Edit pill */
.review-edit {
  background-color: #eef3ff;
  border: 1px solid #cfd7e6;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  /* never wraps */
  flex-shrink: 0;
}
.review-edit:hover {
  background-color: #e4ecff;
}
/* --- Additional notes --- */
.additional-notes {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  margin-top: 28px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}
.notes-label {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
}
.notes-textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
  border: 1px solid #d6d6db;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
  background: #fafafb;
  color: #111;
  outline: none;
}
.notes-textarea:focus {
  border-color: #3478f6;
  box-shadow: 0 0 0 3px rgba(79, 140, 245, 0.15);
  background: #fff;
}
.char-counter {
  margin-top: 8px;
  font-size: 12px;
  color: #666;
  text-align: right;
}
/* --- Submit button --- */
.submit-bar {
  margin-top: 24px;
  text-align: center;
}
.submit-button {
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 500;
  background-color: #2a689a;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.submit-button:hover {
  background-color: #3478f6;
}
/* --- Modal dialog --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.modal h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}
.modal p {
  font-size: 14px;
  color: #555;
}
.modal-buttons {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
}
.modal-buttons button {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  border: none;
}
.modal-buttons button:first-child {
  background-color: #3478f6;
  color: white;
}
.modal-buttons button:last-child {
  background-color: #e5e7eb;
  color: #333;
}
/* --- Mobile tweaks --- */
@media (max-width: 640px) {
  .review-row {
    padding: 14px 0;
  }
  .review-edit {
    margin-top: 2px;
  }
}
@media (max-width: 360px) {
  .review-edit {
    padding: 5px 10px;
    font-size: 13px;
  }
}

/* Symptom List */
.symptom-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.symptom-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  border: 2px solid #2a689a;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: white;
  position: relative;
  font-size: 16px;
  font-weight: normal;
  text-align: center;
}
/* Skryj input */
.symptom-option input {
  display: none;
}
/* Roztažení labelu */
.symptom-label {
  width: 100%;
  text-align: center;
  z-index: 1;
}
/* ZVÝRAZNĚNÍ CELÉHO SYMPTOM-OPTION PŘI VÝBĚRU */
.symptom-option input:checked ~ .symptom-label {
  color: #2a689a;
  font-weight: bold;
}
/* Svícení celého bloku pomocí pseudo-elementu */
.symptom-option input:checked ~ .symptom-label::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #e0ecff;
  border-radius: 10px;
  box-shadow: #3478f6;
  z-index: -1;
  transition: all 0.2s ease;
}
.symptom-label {
  font-size: 16px;
  width: 100%;
}

.scrollable-content {
  max-height: 75vh;
  overflow-y: auto;
  padding-right: 10px;
  /* rezerva pro scroll bar */
}

/* Layout for question + buttons side-by-side */
.pregnancy-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.pregnancy-row h2 {
  margin: 0;
  flex: 1;
}
/* Yes/No buttons */
.gender-button {
  padding: 14px;
  font-size: 1rem;
  background-color: #3478f6;
  color: white;
  border: 2px solid #2a689a;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.gender-button:hover {
  background-color: #3478f6;
  color: #0b4946;
}
.gender-button.selected {
  background-color: #3478f6;
  color: white;
  font-weight: bold;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
}
/* Week selector */
.week-select {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 25px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  box-sizing: border-box;
}
/* Last check input */
.last-check-group {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 25px;
  align-items: center;
}
.last-check-input {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}
.last-check-select {
  width: 140px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}
/* Submit button */
.finish-button {
  display: block;
  width: 100%;
  background-color: #2a689a;
  color: white;
  padding: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.2s ease;
}
.finish-button:hover {
  background-color: #3478f6;
}
.input-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}
.input-row label {
  flex: 1;
  margin-right: 1rem;
}
.input-row input {
  flex: 1;
}

.question-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.question-row h2 {
  font-size: 1.25rem;
  font-weight: 500;
  color: #333;
  margin: 0;
}
.followup-section {
  margin-top: 25px;
}
.followup-section h2 {
  font-size: 1.1rem;
  margin: 18px 0 8px;
}
.followup-section input[type="text"],
.followup-section input[type="file"] {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.symptom-search-input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  margin-top: 5px;
  margin-bottom: 10px;
}
.symptom-search-input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}
.scrollable-results {
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  background: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
quick-select-wrapper {
  text-align: center;
  margin-bottom: 1rem;
}
quick-select-wrapper h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.quick-select-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.quick-select-button {
  background-color: #2a689a;
  font-size: 1rem;
  border-radius: 20px;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.quick-select-button:hover {
  background-color: #3478f6;
}

.input-container {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}
input[type="text"] {
  padding: 10px;
  font-size: 16px;
  flex: 1;
}
.button-add {
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 6px;
  border: none;
  background-color: #2a689a;
  color: white;
  font-weight: bold;
}
.button-add:hover {
  background-color: #3478f6;
  transform: scale(1.05);
  opacity: 0.9;
}
.symptom-input-wrapper {
  margin-top: 15px;
}
.symptom-allergy-input-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.symptom-allergy-input-group input[type="text"] {
  flex: 1;
  padding: 8px;
}
.delete-button {
  padding: 5px 5px;
  border: 1px solid #2a689a;
  border-radius: 4px;
  cursor: pointer;
  color: black;
  transition: background 0.3s, color 0.3s;
}
.delete-button:hover {
  background: #3478f6;
  color: white;
}
.scrollable-results {
  max-height: 180px;
  overflow-y: auto;
  border: 1px solid #ccc;
  margin-top: 10px;
}
.hs-userbox-table {
  width: 100%;
  border-collapse: collapse;
}
.hs-userbox-table td {
  padding: 8px;
}
.scrollable-selected-symptoms {
  max-height: 150px;
  overflow-y: auto;
  margin-top: 10px;
  padding: 10px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
}
.selected-symptoms-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.selected-symptoms-list li {
  padding: 5px 0;
  font-size: 15px;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.delete-symptom {
  display: inline-block;
  padding: 2px 8px;
  margin-left: 6px;
  border: 2px solid #2a689a;
  border-radius: 12px;
  background-color: white;
  color: #2a689a;
  cursor: pointer;
  transition: all 0.2s ease;
}
.delete-symptom:hover {
  background-color: #3478f6;
  border-color: #4f8cf5;
  color: white;
}
.type-and-input {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  align-items: end;
  margin: 10px 0 6px;
}
.type-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
}
.type-label select {
  padding: 10px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
}
.quick-chips {
  margin: 8px 0 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.quick-chips .quick-label {
  font-weight: 600;
  margin-right: 4px;
}
.quick-chips .chip {
  border: 1px solid #2a689a;
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff;
  cursor: pointer;
}
.quick-chips .chip:hover {
  background: #e8f1ff;
}

.final-container {
  text-align: center;
  padding: 40px 20px;
  max-width: 700px;
  margin: 0 auto;
}
.thank-you-card {
  background-color: #f0f9f8;
  border: 2px solid #2a689a;
  border-radius: 20px;
  padding: 30px;
  margin-top: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.thank-you-card h1 {
  color: #2a689a;
  font-size: 28px;
  margin-bottom: 20px;
}
.thank-you-card p {
  font-size: 18px;
  color: #626262;
  margin-bottom: 10px;
}

#hs-wrapper {
  background-color: #7dd4cf;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#hs-menu {
  background-color: #11958e;
}
#hs-menu,
#hs-menu ul,
#hs-menu ul li {
  padding: 0;
  margin: 0;
}
#hs-menu ul {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
#hs-menu ul li {
  display: inline-block;
  list-style-type: none;
}
#hs-menu ul li a {
  box-sizing: border-box;
  text-decoration: none;
  display: inline-block;
  border: 10px solid transparent;
  margin: 0;
  width: 100%;
  height: 100%;
}
#hs-menu ul li .hs-menu-small-box {
  box-sizing: border-box;
  text-decoration: none;
  border: 5px solid transparent;
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  align-content: center;
  justify-content: center;
  flex-direction: column;
}
.hs-menu-free-space {
  flex-grow: 1;
}
.hs-menu-option-text,
.hs-menu-option-img {
  text-overflow: ellipsis;
  text-align: center;
  white-space: nowrap;
}
#hs-menu ul li a:hover {
  background-color: rgba(0, 0, 0, 0.5);
}
#hs-menu ul li,
#hs-menu ul li a,
#hs-menu ul li a:visited {
  color: white;
}
.hs-menu-option-img img {
  width: 24px;
  height: 24px;
}
#hs-menu .hs-menu-current-entity {
  width: 240px;
  display: flex;
  align-items: flex-start;
  align-content: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}
#hs-menu .hs-menu-current-entity .hs-menu-current-container {
  margin: 0 auto;
  border: 1px solid white;
  border-radius: 50px;
  padding: 5px 25px;
}
#hs-menu .hs-menu-current-entity .hs-menu-option-text {
  text-align: left;
}
#hs-menu .hs-menu-current-entity .hs-menu-current-role {
  font-size: 50%;
}
#hs-app-container {
  flex-grow: 1;
  display: flex;
  flex-direction: row;
}
#hs-app-menu {
  background-color: #282828;
}
#hs-app-menu ul {
  margin: 0;
  padding: 0;
  position: sticky;
  top: 0;
}
#hs-app-menu ul li {
  color: white;
  list-style-type: none;
}
#hs-app-menu ul li a,
#hs-app-menu ul li a:visited,
#hs-app-menu ul li a:link {
  white-space: nowrap;
  display: block;
  color: white;
  text-decoration: none;
  padding: 5px 5px 5px 5px;
  overflow: hidden;
  text-overflow: ellipsis;
}
#hs-app-menu ul li a img {
  vertical-align: middle;
  width: 32px;
  height: 32px;
}
#hs-app-menu ul li a:hover {
  background-color: rgba(0, 0, 0, 0.5);
}
#hs-app-menu ul li .hs-app-menu-label {
  vertical-align: middle;
  padding-left: 5px;
}
#hs-app-viewport {
  background-color: white;
  flex-grow: 1;
}
#hs-app-viewport-inner {
  padding: 10px;
}
@media all and (min-width: 800px) {
  #hs-app-menu ul {
    width: 240px;
  }
  #hs-app-menu:hover ul {
    width: 360px;
  }
}
@media all and (max-width: 800px) {
  #hs-menu .hs-menu-time {
    display: none;
  }
  .hs-app-menu-label {
    display: none;
  }
  #hs-menu .hs-menu-current-entity {
    display: none;
  }
  #hs-app-menu:hover ul {
    width: 360px;
  }
  #hs-app-menu:hover .hs-app-menu-label {
    display: initial;
  }
}

.h-input-container {
  position: relative;
  width: 100%;
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  margin-top: 5px;
}
.h-input {
  width: 100%;
  padding: 0px 16px;
  margin: 0;
  border: 1px solid gray;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 400;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.h-input:hover {
  border-color: #666;
}
.h-input:focus {
  border-color: #11958e;
  box-shadow: 0 0 4px rgba(79, 140, 245, 0.5);
}
.h-input[readonly] {
  background-color: #f8f9fa;
  border-color: #ccc;
}
.h-input-placeholder {
  position: absolute;
  top: 35%;
  left: 16px;
  transform: translateY(-50%);
  font-size: 16px;
  color: #aaa;
  pointer-events: none;
  transition: all 0.2s;
}
.h-input:focus + .h-input-placeholder,
.h-input:not(:placeholder-shown) + .h-input-placeholder {
  top: -8px;
  font-size: 12px;
  color: #11958e;
}
.h-input-required::after {
  content: "*";
  color: red;
  margin-left: 4px;
  font-size: 16px;
}
.h-flow {
  margin: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}
.h-flow-filler {
  flex-grow: 1;
}

.h-card {
  appearance: none;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.5);
  display: inline-block;
  overflow: hidden;
}
.h-hbox {
  display: flex;
  flex-direction: row;
}
.h-vbox {
  display: flex;
  flex-direction: column;
}
.h-header {
  font-size: 150%;
  color: #11958e;
  padding: 10px;
}
.h-sub-header {
  font-size: 125%;
  color: #535353;
  padding: 10px;
}
.h-grid {
  display: grid;
  grid-template-columns: auto auto;
}
.h-grid-shrink {
  grid-template-rows: min-content;
}

#hs-userbox {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  background-color: white;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: row;
  padding: 10px;
  z-index: 1;
}
#hs-userbox input {
  appearance: none;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  border-radius: 4px;
  border: 2px solid gray;
  padding: 12px 16px 14px;
  font-size: 16px;
  vertical-align: bottom;
  flex-grow: 1;
  transition: all 0.15s ease-out;
}
#hs-userbox input:focus {
  border-color: black;
}
#hs-userbox .hs-userbox-center {
  flex-grow: 0.7;
}
#hs-userbox .hs-userbox-spacer {
  flex-grow: 0.15;
}
.hs-userbox-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 10px;
}
tr.hs-userbox-result {
  border-radius: 4px;
  margin-top: 10px;
}
tr.hs-userbox-result + tr.hs-userbox-result td {
  border-top: 1px solid gray;
}
.hs-userbox-result-name {
  font-weight: bold;
}
.hs-userbox-result-name,
.hs-userbox-result-role {
  padding: 10px;
}
.hs-userbox-controls {
  text-align: right;
}
.hs-userbox-error {
  margin-top: 10px;
  text-align: center;
  color: red;
}

