/* Cookie controls are isolated from clinic layout and reserve no document space. */
.okro-cookie-banner,
.okro-cookie-dialog {
  box-sizing: border-box;
  color: #143e4b;
  background: #fff;
  border: 1px solid #c9e4e9;
  font: 400 15px/1.5 "Golos Text", Arial, sans-serif;
  text-align: left;
}
.okro-cookie-banner *, .okro-cookie-dialog * { box-sizing: border-box; }
.okro-cookie-banner[hidden] { display: none !important; }
.okro-cookie-storage-warning[hidden] { display: none !important; }
[data-cookie-src][hidden], [data-cookie-fallback][hidden], [data-cookie-settings][hidden] { display: none !important; }
.okro-cookie-banner {
  position: fixed;
  z-index: 9900;
  bottom: max(100px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 40px));
  max-height: calc(100dvh - 130px);
  overflow: auto;
  padding: 20px 24px;
  border-radius: 20px;
  box-shadow: 0 8px 40px #08475929;
}
.okro-cookie-banner h2, .okro-cookie-dialog h2 {
  margin: 0 0 8px;
  color: #00536b;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: normal;
}
.okro-cookie-banner p, .okro-cookie-dialog p { margin: 0; font-size: 15px; line-height: 1.5; }
.okro-cookie-banner a, .okro-cookie-dialog a, .okro-cookie-noscript a { color: #006a80; text-decoration: underline; text-underline-offset: 3px; }
.okro-cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.okro-cookie-button {
  appearance: none;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #007c91;
  border-radius: 12px;
  color: #005a6e;
  background: #edf9fb;
  font: inherit;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
}
.okro-cookie-button:hover { background: #d9f1f5; }
.okro-cookie-button--quiet { background: #fff; border-color: #9ebfc7; }
.okro-cookie-button:focus-visible, .okro-cookie-close:focus-visible,
.okro-cookie-banner a:focus-visible, .okro-cookie-dialog a:focus-visible,
.okro-cookie-dialog input:focus-visible, .okro-cookie-settings-link:focus-visible {
  outline: 3px solid #00536b;
  outline-offset: 3px;
}
.okro-cookie-dialog {
  width: min(580px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 24px;
  overflow: auto;
  border-radius: 20px;
  box-shadow: 0 16px 60px #001f3b40;
}
.okro-cookie-dialog:not([open]) { display: none; }
.okro-cookie-dialog::backdrop { background: #062b3b80; }
.okro-cookie-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.okro-cookie-dialog__head h2 { margin-bottom: 0; }
.okro-cookie-close {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #c9e4e9;
  border-radius: 50%;
  background: #fff;
  color: #00536b;
  font: 400 28px/1 Arial, sans-serif;
  cursor: pointer;
}
.okro-cookie-category { display: block; margin-top: 14px; padding: 14px; border: 1px solid #d4e5e9; border-radius: 12px; background: #f8fcfd; }
.okro-cookie-category--choice { cursor: pointer; }
.okro-cookie-category__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.okro-cookie-category__heading > span { font-size: 12px; color: #4c6670; text-align: right; }
.okro-cookie-category__description { display: block; font-size: 14px; line-height: 1.5; }
.okro-cookie-dialog .okro-cookie-category p { font-size: 14px; }
.okro-cookie-category input { appearance: auto; display: block; flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: #007c91; cursor: pointer; }
.okro-cookie-dialog .okro-cookie-note { margin: 16px 0 10px; color: #4c6670; font-size: 13px; }
.okro-cookie-policy { font-size: 14px; }
.okro-cookie-banner .okro-cookie-storage-warning, .okro-cookie-dialog .okro-cookie-storage-warning { margin-top: 12px; padding: 10px 12px; border: 1px solid #b96c15; border-radius: 10px; color: #733e00; background: #fff7e8; font-size: 13px; }
.okro-cookie-actions--dialog .okro-cookie-button { flex: 1 1 180px; }
.okro-cookie-settings-link { appearance: none; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.okro-cookie-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.okro-cookie-noscript { padding: 12px 20px; text-align: center; color: #143e4b; font-size: 14px; }
@media (max-width: 600px) {
  .okro-cookie-banner { bottom: max(82px, env(safe-area-inset-bottom)); width: calc(100% - 24px); max-height: calc(100dvh - 100px); padding: 15px; border-radius: 16px; }
  .okro-cookie-banner h2 { font-size: 18px; }
  .okro-cookie-banner p { font-size: 13px; line-height: 1.45; }
  .okro-cookie-actions { gap: 8px; margin-top: 12px; }
  .okro-cookie-banner .okro-cookie-button { flex: 1 1 calc(50% - 4px); min-width: 0; padding: 9px 8px; font-size: 13px; }
  .okro-cookie-banner .okro-cookie-button--quiet { flex-basis: 100%; }
  .okro-cookie-dialog { padding: 16px; }
  .okro-cookie-dialog h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .okro-cookie-banner *, .okro-cookie-dialog * { scroll-behavior: auto !important; transition: none !important; }
}
