/*! 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;
}

.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: #245a8f;
  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: black;
}
.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: #ffffff;
  color: black;
}
.hs-userbox-symptom {
  background-color: #007bff;
  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: #0056b3;
}
.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: #245a8f;
  box-sizing: border-box;
  border: 2px solid #d9d9d9;
}
.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: #ffffff;
}
.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: #5a5a5a;
  cursor: default;
  box-shadow: none;
}

.main {
  width: 100%;
  height: 100vh;
  appearance: none;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}
.main-i {
  width: max-content;
}
.h-file {
  border: 1px solid black;
  padding: 1em;
  max-width: 600px;
  height: auto;
}
.container-file {
  display: flex;
  justify-content: flex-start;
}
.left-side,
.right-side {
  width: 50%;
  height: auto;
}
.h-headline {
  font-size: 24px;
  text-align: center;
  padding-bottom: 0.5em;
}
.button-container {
  max-width: 600px;
}
.reports {
  max-width: 100%;
  margin-top: 4em;
}
.report-h {
  font-size: 24px;
  text-align: center;
  padding-bottom: 0.5em;
  color: #245a8f;
  font-weight: 100;
}
.report #med-description {
  resize: vertical !important;
}
.report .textarea-container {
  width: 100%;
  max-width: 100%;
  height: auto;
}
.report textarea {
  resize: vertical !important;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.first-selector,
.second-selector {
  width: 100%;
  height: calc(100%/2);
  display: flex;
  justify-content: center;
  align-items: center;
}
.selector-container label,
.selector-container select {
  display: block;
}
.selector-container {
  width: 50%;
}
.selector-container label {
  margin-bottom: 0.5em;
}
.selector-container select {
  width: 100%;
}
.switch,
.send-insurance {
  max-width: 800px;
  margin: 2em auto;
}
.switch h3,
.send-insurance h3 {
  font-size: 20px;
  color: #245a8f;
  font-weight: 100;
  text-align: center;
}
.switch-file,
.send-ticket {
  border: 1px solid black;
  max-width: 100%;
  margin: 1em auto;
  display: flex;
  justify-content: flex-start;
  padding: 1em;
}
.file-to,
.to-doctor,
.approve {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(100%/3);
}
.ticket-to,
.fill-space,
.send-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(100%/3);
}

.main {
  width: 100%;
  height: 100vh;
  appearance: none;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}
.table {
  max-width: 800px;
  height: auto;
  margin: auto;
  background-color: cadetblue;
  transition: 0.2s;
}
.th {
  background-color: darkcyan;
  max-width: 100%;
  margin: auto;
  height: auto;
  padding: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.th > h3 {
  color: white;
  font-weight: 100;
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 0;
}
.th button {
  padding: 0.5em;
  color: white;
  font-weight: 100;
  background-color: transparent;
  border: none;
  position: relative;
  background-color: #33ad33;
  border-radius: 25px;
  min-width: 175px;
  max-width: 200px;
  transition: 0.2s;
}
.th button:hover {
  cursor: pointer;
  background-color: #237223;
  transition: 0.2s;
}
.th h3,
.th button {
  display: inline-block;
}
.th button img {
  position: relative;
  top: 2.5px;
}
.table table {
  width: 100%;
  border-collapse: collapse;
}
.table thead,
.table tbody {
  color: white;
  font-size: 18;
  font-weight: 100;
}
.table th,
.table td {
  font-size: 18px;
  font-weight: 100;
  width: calc(100%/3);
  text-align: left;
  padding: 1em;
}
.table th {
  font-weight: 500;
}
.table tbody tr:nth-child(odd) {
  background-color: #4f8081;
  transition: 0.2s;
}
.table tbody tr:nth-child(odd):hover {
  background-color: #366d6e;
  cursor: pointer;
  transition: 0.2s;
}
.table tbody tr {
  transition: 0.2s;
}
.table tbody tr:hover {
  background-color: #366d6e;
  cursor: pointer;
  transition: 0.2s;
}
.table tr {
  width: auto;
  height: auto;
}
.pagination {
  background-color: darkcyan;
  padding: 1em;
  display: flex;
  justify-content: flex-end;
}
.pagination ul {
  list-style-type: none;
  display: inline-block;
  margin-top: 0;
  margin-bottom: 0;
}
.pagination li {
  margin: 0 0.25em;
  display: inline-block;
}
.pagination a {
  text-decoration: none;
  color: white;
  transition: 0.2s;
}
.pagination a:hover {
  text-decoration: underline;
  transition: 0.2s;
}
.border-b {
  border-bottom: 1px solid #777777;
}
.border-t {
  border-top: 1px solid #777777;
}
.table-body {
  width: 100%;
}
.table-value {
  width: 100%;
}
.div-table {
  background-color: #e0e0e0;
}
.table-value-flow {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.table-values {
  width: calc(100%/3);
}
.table-values h3 {
  font-size: 20px;
  color: #245a8f;
  font-weight: 100;
  text-align: center;
}
.button-flow {
  display: flex;
  justify-content: center;
  align-items: center;
}
.table-value {
  border-bottom: 1px solid #777777;
  transition: 0.5s;
}
.table-body form:nth-child(even) {
  background-color: #f5f5f5;
}
.table-patient:nth-child(even) {
  background-color: #f5f5f5;
  transition: 0.5s;
}
.table-patient:hover {
  cursor: pointer;
  background-color: #c2c2c2;
  transition: 0.5s;
}
.table-value .header-bold {
  font-weight: 500;
}

.h-input-container {
  position: relative;
  width: 100%;
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  margin-top: 5px;
}
input:not(:placeholder-shown) + label,
input:focus + label {
  transform: translateY(-12px);
  font-size: 12px;
  color: white;
}
.h-input {
  width: 100%;
  padding: 12px 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: #245a8f;
  box-shadow: 0 0 4px rgba(153, 47, 47, 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,
.h-input.not-empty + .h-input-placeholder {
  top: -8px;
  font-size: 12px;
  color: white;
}
.h-input-required::after {
  content: "*";
  color: red;
  margin-left: 4px;
  font-size: 16px;
}
.h-flow {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.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: #245a8f;
  padding: 10px;
}
.h-sub-header {
  font-size: 125%;
  color: #5a5a5a;
  padding: 10px;
}
.h-grid {
  display: grid;
  grid-template-columns: auto auto;
}
.h-grid-shrink {
  grid-template-rows: min-content;
}

.main {
  width: 100%;
  height: 100vh;
  appearance: none;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}
.main .container {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  background-color: #0e7772;
  padding: 1em;
  font-size: 18px;
}
.main .info,
.main .medinfo {
  width: 100%;
  max-width: 550px;
  min-width: 400px;
  height: auto;
  margin: 0.5em;
  padding: 0.5em;
  font-size: 18px;
  background-color: #245a8f;
  border-radius: 5px;
}
.accountImage {
  width: 45%;
  height: 130px;
  border: 1px solid white;
  float: left;
  margin-right: 1em;
  margin-bottom: 0.75em;
}
.profileHeader {
  font-size: 22px;
  color: white;
  font-weight: 100;
  width: 100%;
  text-align: center;
  padding-bottom: 9px;
}
.half-input {
  width: 50%;
  display: inline-block;
}
.full-input {
  width: 100%;
  padding-right: 0.5em;
}
.aside {
  padding-right: 0.5em;
}
.profile-input {
  padding-bottom: 0.5em;
  margin-bottom: 0.5em;
}
.main .container label {
  display: block;
  color: white;
  margin-bottom: 0.25em;
}
.main .container input {
  padding: 0.25em;
  padding-left: 0.5em;
  border: 1px solid #3b3b3b;
  border-radius: 25px;
  background-color: transparent;
  color: white;
  width: 100%;
  -webkit-box-shadow: inset 3px 3px 14px 2px #3b3b3b;
  -moz-box-shadow: inset 3px 3px 14px 2px #3b3b3b;
  box-shadow: inset 3px 3px 14px 2px #3b3b3b;
}
.non-selectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.non-selectable:hover {
  cursor: default;
}
.main .container input:focus {
  outline: none;
  border-radius: 25px;
  border: 2px solid #445f45;
}
.button-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: flex-end;
}
#change {
  padding: 0.5em;
  color: white;
  font-weight: 100;
  background-color: transparent;
  border: none;
  position: relative;
  background-color: #33ad33;
  border-radius: 25px;
  width: 175px;
  transition: 0.2s;
  text-align: center;
  margin-right: 9px;
}
#change:hover {
  cursor: pointer;
  background-color: #237223;
  transition: 0.2s;
}
@media all and (max-width: 1431px) {
  .main .info,
  .main .medinfo {
    max-width: 600px;
    min-width: 400px;
  }
  .button-container {
    justify-content: center;
  }
  #change-patient {
    margin-right: 0;
  }
  .main .container {
    justify-content: center;
  }
}

/* General Page Styling */
html,
body {
  display: block;
}
/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #a7bddc;
  /* jemně modrá jako na obrázku */
  padding: 10px 20px;
  height: 70px;
}
/* Logo vlevo */
.logo-container {
  display: flex;
  align-items: center;
}
.logo {
  height: 50px;
}
/* Uživatel vpravo */
.user-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  color: #000;
}
.user-icon {
  font-size: 24px;
}
/* Hlavní část */
.main {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 40px 20px;
  background-color: #ffffff;
  min-height: calc(100vh - 70px);
}
/* Input pole */
.rc-input {
  padding: 12px 20px;
  border: 2px solid #000;
  border-radius: 8px;
  font-size: 16px;
  width: 240px;
  text-align: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  outline: none;
  transition: box-shadow 0.3s ease;
}
.rc-input:focus {
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  border-color: #007bff;
}

#hs-anamnesis-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 10px 0;
  max-width: 1400px;
  flex-wrap: wrap;
  margin: 0 auto;
  gap: 30px;
  width: 100%;
}
.hs-anamnesis-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hs-anamnesis-card--list {
  flex: 0 1 320px;
  min-width: 260px;
}
.hs-anamnesis-card--content {
  flex: 1 1 360px;
  flex-shrink: 0;
  min-width: 320px;
}
.hs-anamnesis-card--notes {
  flex: 1 1 0;
  max-width: 360px;
}
/* Header action button */
.hs-card-action {
  border: 1px solid #cfd7e6;
  background: #eef3ff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}
.hs-card-action.is-active {
  background: #dfe9ff;
}
/* ===== Attachment panel ===== */
.hs-attach-panel {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  min-height: 320px;
}
.hs-attach-empty {
  padding: 16px;
  color: #666;
}
/* Fixed-size viewer area (bigger like before) */
.hs-zoom-viewer {
  position: relative;
  width: 100%;
  height: 650px;
  /* was 500px */
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fafafa;
  touch-action: none;
}
.hs-attach-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
/* Zoomable img must not affect layout */
.hs-attach-img-zoomable {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  max-width: none;
  max-height: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  pointer-events: auto;
}
/* Thumbnails strip */
.hs-attach-strip {
  display: flex;
  gap: 8px;
  padding: 8px;
  overflow-x: auto;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}
.hs-attach-thumb {
  border: 1px solid #d1d5db;
  background: #f9fafb;
  border-radius: 8px;
  padding: 0;
  width: 64px;
  height: 48px;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: 0 0 auto;
}
.hs-attach-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.hs-attach-thumb-pdf {
  font-size: 12px;
  font-weight: 700;
  color: #374151;
}
.hs-attach-thumb.is-active {
  outline: 2px solid #3478f6;
}
/* Zoom toolbar */
.hs-zoom-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-right: auto;
  /* push left so the toggle stays right */
  margin-left: 16px;
}
.hs-zoom-toolbar button {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}
.hs-zoom-toolbar button:hover {
  background: #f2f2f2;
}
.hs-zoom-level {
  font-size: 12px;
  color: #555;
  padding-left: 6px;
}
.hs-anamnesis-card table {
  font-size: 16px;
}
.hs-questionnaire-body {
  max-width: 250px;
  padding: 8px 12px;
}
.hs-questionnaire-scrollbox {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}

#hs-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#hs-menu {
  background-color: #2a689a;
}
#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-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%;
}
.hs-menu-current-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10px;
  height: 60px;
}
.logo {
  height: 140px;
  max-width: 180px;
  /* optional: prevents extra-wide images */
  margin-left: 10px;
  object-fit: contain;
}
#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;
  position: relative;
  z-index: 1;
}
#hs-app-viewport::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  opacity: 0.06;
  transform: translate(-50%, -50%);
  background-image: url(/img/41a31c1c7cdf2c7c544112a80659bbd5-znak.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}
#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;
  }
}
.hs-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hs-profile-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  padding-right: 10px;
}
.hs-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.hs-name-date {
  display: flex;
  flex-direction: column;
  color: white;
  font-size: 0.85rem;
  padding-left: 10px;
  text-align: left;
}
.hs-name {
  font-weight: bold;
}
.hs-date {
  color: white;
  font-style: italic;
  font-size: 0.9rem;
  padding: 0 15px;
  display: flex;
  align-items: center;
  height: 60px;
}
.doctor-profile-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  width: 100%;
  margin-top: 40px;
}
.doctor-card {
  background-color: white;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 500px;
  width: 100%;
}
.profile-title {
  color: #2a689a;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 25px;
}
.doctor-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.doctor-row {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
}
.doctor-row label {
  font-weight: bold;
  color: #2a689a;
}
.doctor-row span {
  color: #333;
}
.hs-layout-with-patients-and-notes {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-left: 32px;
}
.hs-today-patients {
  flex: 0 0 10px;
}
.hs-main-view {
  flex: 2;
  min-width: 0;
}
.hs-notes-panel {
  flex: 0 0 260px;
}
.hs-notes-card {
  height: 100%;
}
.hs-notes-textarea {
  width: 100%;
  height: 500px;
  padding: 12px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  resize: none;
  box-sizing: border-box;
  white-space: pre-wrap;
  overflow-y: auto;
}

.hs-questionnaire-scrollbox {
  max-height: 420px;
  overflow: auto;
  padding: 12px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background: #fff;
}
/* SEKCE */
.hs-q-section {
  border: 1px solid #eee;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #fafafa;
}
.hs-q-section-title {
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.hs-q-section-title::-webkit-details-marker {
  display: none;
}
.hs-q-section-body {
  padding: 10px 12px 12px;
  border-top: 1px solid #eee;
}
.hs-q-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px dashed #e5e5e5;
}
.hs-q-row:last-child {
  border-bottom: none;
}
/* LABEL */
.hs-q-label {
  font-size: 12px;
  opacity: 0.7;
  font-weight: 600;
}
/* VALUE – dovolíme zalamování */
.hs-q-value {
  text-align: left;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}
/* prázdná hodnota */
.hs-q-empty {
  opacity: 0.55;
}
/* badge (Ano / Ne) */
.hs-q-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #ddd;
  background: #fff;
}
/* delší texty */
.hs-q-paragraph {
  font-weight: 500;
  white-space: pre-wrap;
  line-height: 1.35;
}
.hs-q-list {
  margin: 0;
  padding-left: 12px;
  list-style: none;
}
.hs-q-list li {
  margin: 2px 0;
  line-height: 1.25;
}
.hs-q-allergy-subtitle {
  margin-top: 8px;
  font-weight: 700;
  opacity: 0.85;
}
.hs-q-simple-list {
  margin: 0;
  padding-left: 12px;
  list-style: none;
}
.hs-q-simple-list li {
  margin: 2px 0;
  line-height: 1.25;
}
.hs-q-symptom-list {
  margin: 6px 0 0;
  padding-left: 18px;
}
.hs-q-symptom-list li {
  margin: 4px 0;
  line-height: 1.25;
}
.hs-q-medlist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* KAŽDÝ LÉK = jedna karta */
.hs-q-medcard {
  padding: 12px;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  background: #fff;
}
/* Název léku nahoře */
.hs-q-medcard-title {
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 8px;
}
/* řádky pod sebou */
.hs-q-medcard-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* aby se key/val hezky lámalo */
.hs-q-medcard .hs-q-kv-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hs-q-medcard .hs-q-kv-key {
  font-weight: 700;
  opacity: 0.85;
}
.hs-q-medcard .hs-q-kv-val {
  word-break: break-word;
}
.hs-q-cardlist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hs-q-json-card {
  padding: 10px 12px;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  background: #fff;
}
.hs-q-cardline {
  padding: 8px 10px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
}
.hs-q-cardline-main {
  font-weight: 600;
  line-height: 1.25;
}
.hs-q-cardline-sub {
  margin-top: 4px;
  opacity: 0.85;
  line-height: 1.25;
}
/* obecný key-value stack */
.hs-q-kv-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hs-q-kv-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.hs-q-kv-key {
  font-weight: 600;
  opacity: 0.9;
}
.hs-q-kv-val {
  word-break: break-word;
}

#tabulka {
  border-radius: 10px;
  width: 90%;
  background-color: #11958e;
  text-align: center;
  position: center;
  margin: 25px auto 50px;
}
#tabulka1 {
  border-radius: 10px;
  width: 40%;
  background-color: #11958e;
  text-align: center;
  position: center;
  margin: 25px auto 50px;
}
#prvek {
  border-collapse: collapse;
  width: 10%;
}
#nadpis {
  border: 2px solid #0e7772;
  padding: 10px;
  border-radius: 10px;
}

#tab1 {
  border: solid 1px black;
  padding: 20px;
}
#header1 {
  background-color: #11958e;
  padding: 20px;
  font-size: 20px;
}
#tab2 {
  border: solid 1px black;
  padding: 20px;
  margin-top: 30px;
}
#header2 {
  background-color: #11958e;
  padding: 20px;
  font-size: 20px;
}
#tlacitko {
  float: right;
  margin-right: 20px;
  margin-top: 60px;
}

#tab {
  border: solid 1px black;
  padding: 20px;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
}
#header {
  background-color: #11958e;
  padding: 20px;
  font-size: 20px;
}
#tlacitko1 {
  float: right;
  margin-right: 20px;
  margin-top: 60px;
}
#tlacitko2 {
  float: right;
  margin-right: 20px;
  margin-top: 60px;
}
.login-error-text-container {
  display: flex;
  justify-content: center;
}

#login-screen-wrapper {
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom right, #f6f5f0, #ffffff);
}
#login-card-content {
  max-width: 800px;
  padding: 80px 80px 60px;
  background: linear-gradient(to bottom right, #2a689a, #3478f6);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
#login-card-content img {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
}
.login-error-text-container {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}
.login-error-text {
  color: #ff4d4f;
  font-size: 0.9rem;
  padding: 0 10px;
}
.h-button {
  min-width: 100px;
  font-weight: bold;
}
.h-input input {
  border-radius: 8px;
  background-color: #e6f2f2;
  color: #326c9a;
  border: none;
  padding: 14px 20px;
  font-size: 16px;
  width: 300px;
  box-sizing: border-box;
}
.login-logo {
  width: 100px;
  height: auto;
  transform: scale(3);
  display: block;
}
.login-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

#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;
}

.hs-birthnumber-panel {
  margin: 12px auto 0;
  max-width: 150px;
  width: 100%;
}
.hs-birthnumber-scrollbox {
  max-height: 320px;
  overflow-y: auto;
  border-radius: 4px;
  border: 1px solid #ddd;
  background: #fff;
}
.hs-layout-with-patients-and-notes {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-left: 24px;
}
.hs-birthnumber-panel {
  width: 140px;
}
.hs-birthnumber-scrollbox {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.hs-birthnumber-row {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  padding: 10px 12px;
  text-align: left;
  transition: all 0.15s ease;
  outline: none;
}
.hs-birthnumber-row:hover {
  border-color: #3b82f6;
  color: #3b82f6;
}
.hs-birthnumber-row.selected {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #ffffff;
}
.hs-birthnumber-row:focus {
  border-color: #3b82f6;
}
.hs-birthnumber-main {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}
.hs-birthnumber-row {
  width: 100%;
  text-align: left;
  padding: 6px 10px;
  border: none;
  background: transparent;
  border-bottom: 1px solid #eee;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.hs-birthnumber-row:last-child {
  border-bottom: none;
}
.hs-birthnumber-row:hover {
  background: #f4f6ff;
}
.hs-birthnumber-row:active {
  background: #e1e5ff;
}
.hs-birthnumber-main {
  font-weight: 600;
  font-size: 13px;
}
.hs-birthnumber-sub {
  font-size: 12px;
  color: #555;
}

