/* Sdilene UI (page-head, info-card, callout, badge, accordion, tabs, sub-nav, modal .rd-modal, field, data-table, status-page …). Vlastnik: balik 1C. Pravidla pod .rd.
   Zdroj: prototyp-zahlavi/index.html (verejna cast) a servis.css (servisni stranky). Komponenty v Components/Redesign/Ui. */

/* ---------- obecne stranky ---------- */
.rd .page {
  padding: 40px 0 32px;
}

.rd .page.narrow .page-width {
  max-width: 860px;
}

.rd .stack {
  display: grid;
  gap: 20px;
}

.rd .grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.rd .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rd .grid-2 > *,
.rd .grid-3 > * {
  min-width: 0;
}

.rd .section-title {
  margin: 40px 0 16px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  color: var(--navy);
}

.rd .nowrap {
  white-space: nowrap;
}

.rd .rd-icon {
  display: inline-block;
  flex: none;
  vertical-align: middle;
}

/* ---------- PageHead ---------- */
.rd .page-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.rd .page-head h1 {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
  color: var(--navy);
}

.rd .page-head p {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--body-text);
}

.rd .page-head p + p {
  margin-top: 8px;
}

.rd .page-head.row {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.rd .page-head.row .page-head-text {
  max-width: 760px;
}

/* ---------- InfoCard ---------- */
.rd .info-card:where(:not(.rd-legacy *)) {
  padding: 26px 28px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: #fff;
}

.rd .info-card.accent {
  border-top: 4px solid var(--c, var(--accent));
}

.rd .info-card h2:where(:not(.rd-legacy *)) {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  color: var(--navy);
}

.rd .info-card h3:where(:not(.rd-legacy *)) {
  margin: 18px 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.rd .info-card p:where(:not(.rd-legacy *)) {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 23px;
}

.rd .info-card > :last-child:where(:not(.rd-legacy *)) {
  margin-bottom: 0;
}

.rd .info-card .muted {
  font-size: 13px;
}

.rd .info-card .card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.rd .info-card .card-head h2 {
  margin: 0;
}

.rd .info-card .card-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

/* ---------- Callout ---------- */
.rd .callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  font-size: 14px;
  line-height: 22px;
  color: var(--primary-text-color);
}

.rd .callout .ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 45%, transparent);
  color: var(--accent-link);
}

.rd .callout-body {
  flex: 1;
  min-width: 0;
  padding-top: 6px;
}

.rd .callout-title {
  display: block;
  margin-bottom: 2px;
  color: var(--navy);
}

.rd .callout p {
  margin: 0;
}

.rd .callout p + p {
  margin-top: 6px;
}

.rd .callout b {
  color: var(--navy);
}

.rd .callout a {
  color: var(--accent-link);
  font-weight: 600;
}

.rd .callout a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rd .callout.ok {
  background: var(--ok-soft);
}

.rd .callout.ok .ico,
.rd .callout.ok a {
  color: var(--ok);
}

.rd .callout.warn {
  background: var(--warn-soft);
}

.rd .callout.warn .ico,
.rd .callout.warn a {
  color: var(--warn);
}

.rd .callout.err {
  background: var(--err-soft);
}

.rd .callout.err .ico,
.rd .callout.err a {
  color: var(--err);
}

.rd .callout.info {
  background: var(--info-soft);
}

.rd .callout.info .ico,
.rd .callout.info a {
  color: var(--info);
}

/* ---------- Badge ---------- */
.rd .badge:where(:not(.rd-legacy *)) {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 12px;
  background: var(--light-gray-color);
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  color: var(--body-text);
  white-space: nowrap;
  vertical-align: middle;
}

.rd .badge.ok {
  background: var(--ok-soft);
  color: var(--ok);
  font-weight: 600;
}

.rd .badge.warn {
  background: var(--warn-soft);
  color: var(--warn);
  font-weight: 600;
}

.rd .badge.err {
  background: var(--err-soft);
  color: var(--err);
  font-weight: 600;
}

.rd .badge.info {
  background: var(--info-soft);
  color: var(--info);
  font-weight: 600;
}

.rd .badge.accent {
  background: var(--accent-soft);
  color: var(--accent-link);
}

.rd .badge.dot::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

/* ---------- Accordion (details/summary) ---------- */
.rd .accordion {
  display: grid;
  gap: 10px;
}

.rd .accordion details {
  padding: 0 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .15s;
}

.rd .accordion details[open] {
  border-color: var(--accent);
}

.rd .accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  list-style: none;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

.rd .accordion .acc-title {
  min-width: 0;
}

.rd .accordion summary::-webkit-details-marker {
  display: none;
}

.rd .accordion summary::after {
  content: "+";
  flex: none;
  width: 22px;
  font-size: 22px;
  line-height: 22px;
  font-weight: 400;
  text-align: center;
  color: var(--accent-link);
}

.rd .accordion details[open] > summary::after {
  content: "\2212";
}

.rd .accordion .acc-body {
  padding: 0 0 18px;
  font-size: 14px;
  line-height: 23px;
  color: #4c5160;
}

.rd .accordion .acc-body p {
  margin: 0 0 10px;
}

.rd .accordion .acc-body > :last-child {
  margin-bottom: 0;
}

.rd .accordion .acc-body ul,
.rd .accordion .acc-body ol {
  margin: 0 0 10px;
  padding-left: 20px;
}

.rd .accordion .acc-body a {
  color: var(--accent-link);
  font-weight: 600;
}

/* ---------- ProductTabs ---------- */
.rd .tabs-wrap {
  position: relative;
}

.rd .tabs-wrap::before,
.rd .tabs-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 46px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
}

.rd .tabs-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #fff 20%, rgba(255, 255, 255, 0));
}

.rd .tabs-wrap::after {
  right: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3l5 5-5 5' stroke='%232d364c' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 2px center / 14px no-repeat, linear-gradient(270deg, #fff 45%, rgba(255, 255, 255, 0));
}

.rd .tabs-wrap.more-left::before,
.rd .tabs-wrap.more-right::after {
  opacity: 1;
}

.rd .tabs {
  display: flex;
  gap: 5px;
}

.rd .tabs::-webkit-scrollbar {
  display: none;
}

.rd .tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  height: 40px;
  padding: 0 20px;
  border-radius: 4px 4px 0 0;
  background: var(--light-gray-color);
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-text-color);
  white-space: nowrap;
  cursor: pointer;
}

.rd .tab:hover {
  background: #e7e9f0;
}

.rd .tab.active {
  background: var(--navy);
  color: #fff;
}

.rd .tab.active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  border-radius: 1px;
  background: var(--accent);
}

/* bez hero: aktivni zalozka bila, pod zalozkami linka */
.rd .product-tabs.compact .tabs {
  position: relative;
}

.rd .product-tabs.compact .tabs::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--border-color);
}

.rd .product-tabs.compact .tab.active {
  z-index: 1;
  background: #fff;
  color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--border-color);
}

.rd .product-tabs.compact .tab.active::before {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  bottom: -1px;
  height: 2px;
  background: #fff;
}

.rd .product-tabs.compact .tab.active::after {
  bottom: 4px;
}

/* ---------- SubNav ---------- */
.rd .sub-nav {
  display: flex;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 30px;
  padding: 4px;
  border-radius: 26px;
  background: var(--light-gray-color);
  overflow-x: auto;
  scrollbar-width: none;
}

.rd .sub-nav.flush {
  margin: 0;
}

.rd .sub-nav::-webkit-scrollbar {
  display: none;
}

.rd .sub-nav a,
.rd .sub-nav button {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 0;
  border-radius: 22px;
  background: none;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--body-text);
  white-space: nowrap;
  cursor: pointer;
}

.rd .sub-nav a:hover,
.rd .sub-nav button:hover {
  color: var(--navy);
}

.rd .sub-nav .on {
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.rd .sub-nav .count {
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 9px;
  background: var(--light-gray-color);
  font-size: 11px;
  line-height: 16px;
}

/* ---------- Breadcrumbs ---------- */
.rd .crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 20px;
  color: var(--muted-text-color);
}

.rd .crumbs a {
  color: var(--body-text);
}

.rd .crumbs a:hover {
  color: var(--accent-link);
}

/* ---------- RdModal ---------- */
/* Posouva se jen telo dialogu, hlavicka a paticka zustavaji videt (sticky v prekryvu by ukazovalo obsah nad hlavickou kvuli paddingu).
   z-index nad starymi prvky main.css (9999), stejne jako modal cookies. */
.rd.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 16px 30px;
  background: rgba(15, 20, 32, .55);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.rd.modal-overlay.draggable {
  background: rgba(15, 20, 32, .12);
}

.rd.modal-overlay.draggable .modal-head {
  cursor: move;
  touch-action: none;
  user-select: none;
}

.rd .modal-box {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 90px);
  max-height: calc(100dvh - 90px);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-modal);
  animation: rd-modal-pop .16s ease-out;
}

.rd .modal-box:focus {
  outline: none;
}

.rd .modal-box.wide {
  max-width: 860px;
}

.rd .modal-box.sm {
  max-width: 440px;
}

.rd .modal-box.md {
  max-width: 660px;
}

@keyframes rd-modal-pop {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
}

.rd .modal-head {
  position: relative;
  z-index: 1;
  flex: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 22px 10px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: #fff;
}

.rd .modal-title {
  min-width: 0;
}

.rd .modal-head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  color: var(--navy);
}

.rd .modal-head p {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 19px;
  color: var(--body-text);
}

.rd .modal-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--accent) 10%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 45%, transparent);
  color: var(--accent-link);
}

.rd .modal-close {
  flex: none;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--light-gray-color);
  font-family: inherit;
  font-size: 20px;
  line-height: 1;
  color: var(--navy);
  cursor: pointer;
}

.rd .modal-close:hover {
  background: #e4e6ec;
}

.rd .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 14px 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
  font-size: 13.5px;
  line-height: 21px;
}

.rd .modal-head + .modal-body {
  padding-top: 6px;
}

.rd .modal-body p {
  margin: 0 0 10px;
}

.rd .modal-body > :last-child {
  margin-bottom: 0;
}

.rd .modal-foot {
  flex: none;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 22px 16px;
  border-top: 1px solid var(--light-gray-color);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  background: #fff;
}

/* Kompaktni pole v dialogu, stejne jako formular objednavky (servis.css .modal-box). */
.rd .modal-box .field {
  gap: 3px;
}

.rd .modal-box .field > label,
.rd .modal-box .field > .label {
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rd .modal-box .input,
.rd .modal-box .select {
  height: 38px;
  padding: 0 11px;
  font-size: 13.5px;
}

.rd .modal-box .textarea {
  min-height: 38px;
  padding: 8px 11px;
  font-size: 13.5px;
  line-height: 20px;
  resize: vertical;
}

.rd .modal-box .field .hint {
  font-size: 11.5px;
  line-height: 15px;
}

.rd .modal-box .input-wrap .eye {
  width: 30px;
  height: 30px;
}

.rd .modal-box .stack {
  gap: 10px;
}

.rd .modal-box .form-grid,
.rd .modal-box .bill-grid {
  gap: 10px 12px;
}

.rd .modal-box .bill-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.rd .modal-box .bill-grid > * {
  align-self: start;
  min-width: 0;
}

.rd .modal-box .bill-grid > .g2 { grid-column: span 2; }
.rd .modal-box .bill-grid > .g3 { grid-column: span 3; }
.rd .modal-box .bill-grid > .g4 { grid-column: span 4; }
.rd .modal-box .bill-grid > .g6 { grid-column: span 6; }
.rd .modal-box .bill-grid > .g8 { grid-column: span 8; }

.rd .modal-box .callout {
  padding: 9px 14px;
  font-size: 13px;
  line-height: 19px;
}

.rd .modal-box .history-list {
  gap: 6px;
}

.rd .modal-box .history-item {
  padding: 8px 12px;
  gap: 12px;
}

.rd .modal-box .next-steps {
  gap: 10px;
}

.rd .modal-box .opt-group-title {
  margin: 14px 0 6px;
}

.rd .modal-box .cookie-cat {
  padding: 10px 0;
}

.rd .modal-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 18px;
  color: var(--muted-text-color);
}

.rd .modal-note svg {
  flex: none;
  margin-top: 1px;
  color: var(--navy);
}

.rd .modal-note .link {
  font-size: 12.5px;
}

@media (max-width: 700px) {
  .rd .modal-box .bill-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .rd .modal-box .bill-grid > * {
    grid-column: 1 / -1 !important;
  }

  .rd .modal-box .bill-grid > .g2,
  .rd .modal-box .bill-grid > .g3 {
    grid-column: span 1 !important;
  }
}

/* ---------- Field ---------- */
.rd .field {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
}

.rd .field > label,
.rd .field > .label {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--navy);
}

.rd .field .req {
  margin-left: 2px;
  color: var(--err);
}

.rd .field .opt-note {
  font-weight: 400;
  color: var(--muted-text-color);
}

.rd .input,
.rd .select,
.rd .textarea {
  display: block;
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #d3d6de;
  border-radius: var(--radius-md);
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  line-height: normal;
  color: var(--primary-text-color);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.rd .textarea {
  height: auto;
  min-height: 96px;
  padding: 12px 14px;
  line-height: 21px;
  resize: vertical;
}

.rd .select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 36px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235d6271' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") right 14px center no-repeat;
}

.rd .input::placeholder,
.rd .textarea::placeholder {
  color: #a3a7b2;
}

.rd .input:focus,
.rd .select:focus,
.rd .textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(45, 54, 76, .12);
}

.rd .input[readonly],
.rd .input:disabled,
.rd .select:disabled,
.rd .textarea:disabled {
  background: var(--light-gray-color);
  color: var(--body-text);
}

.rd .field .hint {
  font-size: 12px;
  line-height: 17px;
  color: var(--muted-text-color);
}

.rd .field.error .input,
.rd .field.error .select,
.rd .field.error .textarea {
  border-color: var(--err);
}

.rd .field.error .input:focus,
.rd .field.error .select:focus,
.rd .field.error .textarea:focus {
  box-shadow: 0 0 0 3px rgba(198, 47, 47, .12);
}

.rd .field.error .hint {
  font-weight: 500;
  color: var(--err);
}

.rd .field.ok .hint {
  color: var(--ok);
}

.rd .check:where(:not(.rd-legacy *)) {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}

.rd .check input:where(:not(.rd-legacy *)) {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--navy);
}

/* ---------- DataTable ---------- */
/* Vodorovny posun az na uzkem displeji: overflow by na sirokem orizl bubliny InfoTip v radcich tabulky.
   Proto ramecek nema overflow: hidden a rohy hlavicky se zaobluji samostatne. */
.rd .tbl-wrap {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: #fff;
}

.rd .tbl-wrap .tbl thead th:first-child {
  border-top-left-radius: calc(var(--radius-lg) - 1px);
}

.rd .tbl-wrap .tbl thead th:last-child {
  border-top-right-radius: calc(var(--radius-lg) - 1px);
}

.rd .tbl-wrap .tbl tbody tr:last-child td:first-child {
  border-bottom-left-radius: calc(var(--radius-lg) - 1px);
}

.rd .tbl-wrap .tbl tbody tr:last-child td:last-child {
  border-bottom-right-radius: calc(var(--radius-lg) - 1px);
}

.rd .tbl,
.rd .price-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.rd .tbl {
  font-size: 13.5px;
  line-height: 20px;
}

.rd .tbl th {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border-color);
  background: #fafbfc;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
  text-align: left;
  color: var(--body-text);
  white-space: nowrap;
}

.rd .tbl td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--light-gray-color);
  vertical-align: middle;
}

.rd .tbl tbody tr:last-child td {
  border-bottom: 0;
}

.rd .tbl tbody tr:hover td {
  background: #fafbfc;
}

.rd .tbl tfoot td {
  border-top: 1px solid var(--border-color);
  border-bottom: 0;
  font-weight: 600;
}

.rd .tbl .num,
.rd .price-table .num {
  text-align: right;
  white-space: nowrap;
}

.rd .tbl .t-title {
  font-weight: 600;
  color: var(--navy);
}

.rd .tbl a.t-title:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rd .tbl .t-sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted-text-color);
}

.rd .tbl .actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  white-space: nowrap;
}

.rd .tbl tr.row-err td {
  background: #fff7f7;
}

.rd .tbl tr.row-strong td {
  font-weight: 600;
}

.rd .price-table {
  background: #fff;
  font-size: 13px;
  line-height: 19px;
}

.rd .price-table th,
.rd .price-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-color);
  text-align: right;
  vertical-align: top;
}

.rd .price-table th:first-child,
.rd .price-table td:first-child {
  text-align: left;
}

.rd .price-table thead th {
  background: #fafbfc;
  font-weight: 600;
  color: var(--navy);
}

.rd .price-table tfoot td {
  font-weight: 600;
  color: var(--navy);
}

.rd .table-wrap .empty {
  padding: 44px 20px;
  text-align: center;
  font-size: 13.5px;
  color: var(--body-text);
}

/* ---------- StatusPage ---------- */
.rd .status-page {
  max-width: 620px;
  margin: 60px auto 90px;
  text-align: center;
}

.rd .status-page .big-ico {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 10%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 45%, transparent);
  color: var(--accent-link);
}

.rd .status-page .big-ico.ok {
  background: var(--ok-soft);
  color: var(--ok);
}

.rd .status-page .big-ico.warn {
  background: var(--warn-soft);
  color: var(--warn);
}

.rd .status-page .big-ico.err {
  background: var(--err-soft);
  color: var(--err);
}

.rd .status-page .code {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--muted-text-color);
}

.rd .status-page h1 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 36px;
  font-weight: 600;
  color: var(--navy);
}

.rd .status-page p {
  max-width: 520px;
  margin: 0 auto 10px;
  font-size: 15px;
  line-height: 25px;
  color: var(--body-text);
}

.rd .status-page p.muted {
  font-size: 13.5px;
  color: var(--muted-text-color);
}

.rd .status-page a:not(.btn) {
  color: var(--accent-link);
  font-weight: 600;
}

.rd .status-page .btn-row {
  justify-content: center;
  margin-top: 24px;
}

.rd .status-page .loader {
  display: inline-block;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border: 3px solid var(--border-color);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: rd-spin .9s linear infinite;
}

/* ---------- PriceTag ---------- */
.rd .price-tag {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 6px;
}

.rd .price-tag .price-main {
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.rd .price-tag .price-vat {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--body-text);
  white-space: nowrap;
}

.rd .price-tag .price-other {
  flex-basis: 100%;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--muted-text-color);
}

.rd .price-tag.lg .price-main {
  font-size: 30px;
  line-height: 36px;
}

/* ---------- VatToggle ---------- */
.rd .vat-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.rd .vat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--body-text);
}

.rd .vat-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 22px;
  background: var(--light-gray-color);
}

.rd .vat-toggle button {
  padding: 7px 18px;
  border: 0;
  border-radius: 18px;
  background: none;
  font-family: inherit;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--body-text);
  cursor: pointer;
}

.rd .vat-toggle button.active {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 1px 4px rgba(31, 40, 61, .12);
}

/* ---------- InfoTip ---------- */
.rd .info-tip {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 17px;
  height: 17px;
  margin-left: 6px;
  border-radius: 50%;
  background: #dfe2e8;
  color: var(--navy);
  font: italic 700 11px/1 Georgia, serif;
  text-indent: 0;
  vertical-align: 1px;
  cursor: help;
}

.rd .info-tip:hover,
.rd .info-tip:focus,
.rd .info-tip.open {
  background: var(--navy);
  color: #fff;
  outline: none;
}

.rd .info-tip:focus-visible {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent);
}

.rd .info-tip .bubble {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  z-index: 30;
  width: 300px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: 0 12px 30px rgba(31, 40, 61, .25);
  font: 400 12.5px/19px var(--font-family);
  color: #e3e6ec;
  text-align: left;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 4px);
  transition: opacity .15s, transform .15s, visibility .15s;
  pointer-events: none;
}

.rd .info-tip .bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -7px;
  border: 7px solid transparent;
  border-top-color: var(--navy);
}

.rd .info-tip:hover .bubble,
.rd .info-tip:focus .bubble,
.rd .info-tip.open .bubble {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.rd .info-tip.start .bubble {
  left: 0;
  transform: translate(-10px, 4px);
}

.rd .info-tip.start:hover .bubble,
.rd .info-tip.start:focus .bubble,
.rd .info-tip.start.open .bubble {
  transform: translate(-10px, 0);
}

.rd .info-tip.start .bubble::after {
  left: 18px;
}

.rd .info-tip .bubble b {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #fff;
}

.rd .info-tip .bubble-list {
  display: block;
}

.rd .info-tip .bubble-item {
  position: relative;
  display: block;
  margin-bottom: 3px;
  padding-left: 14px;
}

.rd .info-tip .bubble-item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.rd .info-tip .bubble em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 11.5px;
  color: #9aa1b2;
}

.rd .info-tip .bubble a {
  color: #fff;
  text-decoration: underline;
}

/* ---------- responzivita ---------- */
@media (max-width: 1000px) {
  .rd .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  /* siroke tabulky administrace a zony; cenik (.price) az pod 700 px */
  .rd .table-wrap.tbl-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 700px) {
  .rd .page {
    padding: 28px 0 24px;
  }

  .rd .page-head h1 {
    font-size: 26px;
    line-height: 34px;
  }

  .rd .grid-2,
  .rd .grid-3 {
    grid-template-columns: 1fr;
  }

  .rd .info-card {
    padding: 20px 18px;
  }

  .rd .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* zalozky se posouvaji vodorovne, fade a sipku ukazuje components.js */
  .rd .tabs {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .rd .tab {
    flex: none;
    min-width: 0;
    padding: 0 16px;
    font-size: 13px;
  }

  .rd .sub-nav {
    width: auto;
  }

  .rd .sub-nav a,
  .rd .sub-nav button {
    padding: 9px 14px;
  }

  .rd.modal-overlay {
    padding: 16px 10px;
  }

  .rd .modal-box {
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
  }

  .rd .modal-head,
  .rd .modal-body,
  .rd .modal-foot {
    padding-left: 18px;
    padding-right: 18px;
  }

  .rd .modal-head {
    padding-top: 16px;
    padding-bottom: 12px;
    box-shadow: 0 1px 0 var(--light-gray-color);
  }

  .rd .modal-head + .modal-body {
    padding-top: 14px;
  }

  .rd .modal-foot {
    padding-bottom: 16px;
  }

  .rd .modal-foot .btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  .rd .modal-close {
    width: 40px;
    height: 40px;
  }

  .rd .status-page {
    margin: 40px auto 60px;
  }

  .rd .status-page h1 {
    font-size: 24px;
    line-height: 32px;
  }

  .rd .status-page .btn-row > .btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  /* tabulky -> karty (DataTable StackOnMobile, bunky s data-l) */
  .rd .tbl.stack-sm thead {
    display: none;
  }

  .rd .tbl.stack-sm,
  .rd .tbl.stack-sm tbody,
  .rd .tbl.stack-sm tfoot,
  .rd .tbl.stack-sm tr,
  .rd .tbl.stack-sm td {
    display: block;
    width: 100%;
  }

  .rd .tbl.stack-sm tr {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
  }

  .rd .tbl.stack-sm tbody tr:last-child {
    border-bottom: 0;
  }

  .rd .tbl.stack-sm tr.row-err {
    background: #fff7f7;
  }

  .rd .tbl.stack-sm tr.row-err td {
    background: none;
  }

  .rd .tbl.stack-sm td {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    gap: 10px;
    padding: 4px 0;
    border: 0;
    text-align: left;
  }

  .rd .tbl.stack-sm td::before {
    content: attr(data-l);
    font-size: 12px;
    color: var(--muted-text-color);
  }

  .rd .tbl.stack-sm td[data-l=""],
  .rd .tbl.stack-sm td:not([data-l]) {
    grid-template-columns: 1fr;
  }

  .rd .tbl.stack-sm td[data-l=""]::before,
  .rd .tbl.stack-sm td:not([data-l])::before {
    content: none;
  }

  .rd .tbl.stack-sm tbody tr:hover td {
    background: none;
  }

  .rd .price-table th,
  .rd .price-table td {
    padding: 8px;
  }
}

@media (max-width: 560px) {
  /* bublina jako spodni panel, aby nepretekla displej */
  .rd .info-tip .bubble,
  .rd .info-tip.start .bubble {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    transform: translateY(8px);
  }

  .rd .info-tip:hover .bubble,
  .rd .info-tip:focus .bubble,
  .rd .info-tip.open .bubble,
  .rd .info-tip.start:hover .bubble,
  .rd .info-tip.start:focus .bubble,
  .rd .info-tip.start.open .bubble {
    transform: none;
  }

  .rd .info-tip .bubble::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rd .modal-box {
    animation: none;
  }
}

/* Uprava textu webu – jen pro editora, navstevnik vidi puvodni text bez obalu */
/* Host bez vlastniho boxu, aby fixed tlacitko slo nad dialogy (ty jsou ve stacking contextu .app-container). */
.rd.txt-toggle-host {
  display: contents;
}

.rd .txt-toggle {
  position: fixed;
  left: 18px;
  bottom: 24px;
  /* nad RdModal (10000) i Blazored (102); editor textu (txt-editor, 10050) ho prekryje */
  z-index: 10020;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--navy, #1e2a44);
  border-radius: 50%;
  background: #fff;
  color: var(--navy, #1e2a44);
  box-shadow: 0 8px 24px rgba(15, 20, 32, .18);
  cursor: pointer;
}

.rd .txt-toggle.on {
  background: var(--navy, #1e2a44);
  color: #fff;
}

.rd .txt-toggle-label {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--navy, #1e2a44);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.rd .txt-toggle:hover .txt-toggle-label,
.rd .txt-toggle:focus-visible .txt-toggle-label {
  opacity: 1;
}

.rd.modal-overlay.txt-editor {
  z-index: 10050;
}

.rd .txt-edit {
  position: relative;
  outline: 1px dashed rgba(30, 42, 68, .55);
  outline-offset: 2px;
  cursor: pointer;
  border-radius: 2px;
}

.rd .txt-pen {
  display: none;
  position: absolute;
  top: -11px;
  right: -11px;
  z-index: 2;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid rgba(30, 42, 68, .35);
  border-radius: 6px;
  background: #fff;
  color: var(--navy, #1e2a44);
  line-height: 0;
  pointer-events: none;
}

.rd .txt-edit:hover .txt-pen,
.rd .txt-edit:focus-within .txt-pen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rd .txt-edit.txt-doc {
  display: block;
  outline-offset: 6px;
}

.rd .txt-edit.txt-doc > .txt-pen {
  top: -14px;
  right: -14px;
}

.rd .lp-hero .txt-edit {
  outline-color: rgba(255, 255, 255, .85);
}

.rd .txt-preview {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid var(--light-gray-color);
  border-radius: 8px;
  background: #f7f8fa;
  overflow-wrap: anywhere;
}

.rd .txt-history {
  margin-top: 8px;
}

.rd .txt-history h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.rd .txt-ver {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid var(--light-gray-color);
  font-size: 13px;
  line-height: 18px;
}

.rd .txt-ver > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.rd .txt-key,
.rd .txt-cell {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.rd .txt-key {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12.5px;
}

@media (max-width: 700px) {
  .rd .txt-toggle {
    left: 10px;
  }
}

/* ---------- Chatbot (KswChatbotComponent, stary main.css _chatbot.scss) ----------
   Jen prebarveni na tokeny noveho webu; .rd.rd-chatbot zvedne specificitu nad stara pravidla. */
.rd.rd-chatbot .chatbot-container {
  font-family: var(--font-family);
}

.rd.rd-chatbot .chatbot-container .chatbot-bubble-wrapper {
  position: relative;
  align-items: center;
  width: auto;
  height: 54px;
  padding: 0 7px 0 0;
  border-radius: var(--radius-pill);
  background: var(--navy);
  box-shadow: var(--shadow-card);
  line-height: normal;
  transition: background .15s;
}

.rd.rd-chatbot .chatbot-container .chatbot-bubble-wrapper:hover {
  background: var(--navy-dark);
}

.rd.rd-chatbot .chatbot-container .chatbot-bubble-wrapper .bubble-text {
  max-width: 180px;
  padding-left: 22px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: #fff;
  transition: max-width .3s, padding .3s, opacity .2s;
}

/* text po nacteni chvili svitit, pak se bublina sbali do kolecka; po najeti mysi se zase rozbali */
.rd.rd-chatbot .chatbot-container .chatbot-bubble-wrapper:not(:hover) {
  animation: rdChatCollapseWrap .3s 8s forwards;
}

.rd.rd-chatbot .chatbot-container .chatbot-bubble-wrapper:not(:hover) .bubble-text {
  animation: rdChatCollapseText .3s 8s forwards;
}

.rd.rd-chatbot .chatbot-container .chatbot-bubble-wrapper:not(:hover) .icon-wrapper {
  animation: rdChatCollapseIcon .3s 8s forwards;
}

@keyframes rdChatCollapseWrap {
  to { padding: 0 6px; }
}

@keyframes rdChatCollapseText {
  to { max-width: 0; padding-left: 0; opacity: 0; }
}

@keyframes rdChatCollapseIcon {
  to { margin-left: 0; }
}

.rd.rd-chatbot .chatbot-container .chatbot-bubble-wrapper .icon-wrapper {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-left: 14px;
  border-radius: 50%;
  background: var(--accent);
}

.rd.rd-chatbot .chatbot-container .chatbot-bubble-wrapper .icon-wrapper .icon {
  width: 22px;
  height: 22px;
  margin: 0;
  background-size: 22px;
  background-position: center;
}

.rd.rd-chatbot .chatbot-container .chatbot-bubble-wrapper .icon-wrapper .icon-background {
  display: none;
}

.rd.rd-chatbot .chatbot-container .chatbot-bubble-wrapper .activity-indicator-wrapper {
  top: -3px;
  right: -3px;
  bottom: auto;
  left: auto;
  width: 18px;
  height: 18px;
  border: 3px solid var(--navy);
  background: var(--navy);
  box-sizing: border-box;
}

.rd.rd-chatbot .chatbot-container .chatbot-bubble-wrapper:hover .activity-indicator-wrapper {
  border-color: var(--navy-dark);
  background: var(--navy-dark);
}

.rd.rd-chatbot .chatbot-container .chatbot-bubble-wrapper .activity-indicator.inactive {
  background-color: #aab1c0;
}

.rd.rd-chatbot .chatbot-container .chatbot-bubble-wrapper .activity-indicator,
.rd.rd-chatbot .chatbot-container .chatbot-header .online-indicator {
  width: 10px;
  height: 10px;
}

.rd.rd-chatbot .chatbot-container .activity-indicator.active,
.rd.rd-chatbot .chatbot-container .online-indicator.active {
  background-color: #3ec46d;
}

.rd.rd-chatbot .chatbot-container .chatbot-window {
  width: 380px;
  max-width: calc(100vw - 40px);
  height: min(600px, calc(100vh - 80px));
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-modal);
}

.rd.rd-chatbot .chatbot-container .chatbot-window .chatbot-header {
  height: auto;
  padding: 16px 18px;
  border-radius: 0;
  background: var(--navy);
}

.rd.rd-chatbot .chatbot-container .chatbot-window .chatbot-header .close-button {
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
  background-size: 18px;
  opacity: .8;
}

.rd.rd-chatbot .chatbot-container .chatbot-window .chatbot-header .close-button:hover {
  opacity: 1;
}

.rd.rd-chatbot .chatbot-container .chatbot-window .chatbot-header .header-bottom-row {
  align-items: center;
  margin-top: 0;
}

/* mimo produkty (homepage, O nas, kontakt...): K v cervene z loga KASTNER, zavrena bublina neutralne */
.rd.rd-chatbot:not([data-product]) .chatbot-container .chatbot-bubble-wrapper .icon-wrapper,
.rd.rd-chatbot:not([data-product]) .chatbot-container .chatbot-window .chatbot-header .chatbot-icon {
  background: #fff;
  color: #e30613;
}

.rd.rd-chatbot:not([data-product]) .chatbot-container .chatbot-bubble-wrapper .icon-wrapper .icon {
  background: var(--navy);
  -webkit-mask: url(../../img/ico-message.svg) center / 22px no-repeat;
  mask: url(../../img/ico-message.svg) center / 22px no-repeat;
}

/* logo: jednobarevne K misto obrazku chatbot-icon.jpg */
.rd.rd-chatbot .chatbot-container .chatbot-icon,
.rd.rd-chatbot .chatbot-container .chatbot-icon-mini,
.rd.rd-chatbot .chatbot-container .chatbot-bubble-window .logo {
  display: grid;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  font-weight: 600;
  line-height: 1;
  color: #fff;
}

.rd.rd-chatbot .chatbot-container .chatbot-icon::before,
.rd.rd-chatbot .chatbot-container .chatbot-icon-mini::before,
.rd.rd-chatbot .chatbot-container .chatbot-bubble-window .logo::before {
  content: "K";
}

.rd.rd-chatbot .chatbot-container .chatbot-window .chatbot-header .chatbot-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  font-size: 18px;
  color: var(--accent-text);
}

.rd.rd-chatbot .chatbot-container .chatbot-window .chatbot-content-wrapper .chatbot-answer .chatbot-icon-mini {
  width: 22px;
  height: 22px;
  background: var(--navy);
  font-size: 11px;
}

.rd.rd-chatbot .chatbot-container .chatbot-bubble-window .header .logo {
  width: 36px;
  height: 36px;
  background: var(--navy);
  font-size: 16px;
}

.rd.rd-chatbot .chatbot-container .chatbot-window .chatbot-header .title {
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.rd.rd-chatbot .chatbot-container .chatbot-window .chatbot-header .sub-container {
  align-items: center;
  gap: 6px;
}

.rd.rd-chatbot .chatbot-container .chatbot-window .chatbot-header .online-indicator {
  flex: none;
  margin: 0;
}

.rd.rd-chatbot .chatbot-container .chatbot-window .chatbot-header .subtext {
  padding: 0;
  font-size: 13px;
  color: var(--on-navy-text);
  opacity: 1;
}

.rd.rd-chatbot .chatbot-container .chatbot-window .chatbot-content-wrapper {
  padding: 18px 16px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.rd.rd-chatbot .chatbot-container .chatbot-window .chatbot-content-wrapper .chatbot-answer .answer-text {
  padding: 13px 16px;
  border-radius: 14px 14px 14px 4px;
  background: var(--light-gray-color);
  font-size: 13.5px;
  line-height: 21px;
  color: var(--primary-text-color);
}

.rd.rd-chatbot .chatbot-container .chatbot-window .chatbot-content-wrapper .chatbot-answer .answer-time {
  padding-top: 4px;
  font-size: 11.5px;
  color: var(--muted-text-color);
  opacity: 1;
}

.rd.rd-chatbot .chatbot-container .chatbot-window .chatbot-content-wrapper .chatbot-question .asked-question {
  border-radius: 14px 14px 4px 14px;
  background: var(--accent);
  font-size: 13.5px;
  line-height: 21px;
  color: var(--accent-text);
}

.rd.rd-chatbot .chatbot-container .chatbot-window .chatbot-content-wrapper .chatbot-question .question-button,
.rd.rd-chatbot .chatbot-container .chatbot-window .chatbot-content-wrapper .chatbot-question .back-button {
  margin: 3px 0;
  padding: 7px 14px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  background-color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  color: var(--navy);
  text-align: right;
  transition: background-color .15s;
}

.rd.rd-chatbot .chatbot-container .chatbot-window .chatbot-content-wrapper .chatbot-question .back-button {
  margin-top: 12px;
  padding-left: 28px;
  border-color: var(--border-color);
  background-position: center left 9px;
  color: var(--body-text);
}

.rd.rd-chatbot .chatbot-container .chatbot-window .chatbot-content-wrapper .chatbot-question .question-button:hover:not(:disabled) {
  background-color: var(--accent-soft);
  color: var(--navy);
}

.rd.rd-chatbot .chatbot-container .chatbot-window .chatbot-content-wrapper .chatbot-question .back-button:hover:not(:disabled) {
  background-color: var(--light-gray-color);
  color: var(--navy);
}

.rd.rd-chatbot .chatbot-container .chatbot-window .chatbot-footer {
  padding: 9px 0;
  border-top: 1px solid var(--border-color);
  border-radius: 0;
  background: #fff;
}

.rd.rd-chatbot .chatbot-container .chatbot-window .chatbot-footer .disclaimer {
  font-size: 11.5px;
  color: var(--muted-text-color);
}

.rd.rd-chatbot .chatbot-container .chatbot-window .chatbot-footer .disclaimer:hover {
  color: var(--navy);
}

.rd.rd-chatbot .chat-bubble {
  background-color: var(--light-gray-color);
}

.rd.rd-chatbot .typing .dot {
  background-color: var(--accent);
  animation-name: rdChatTyping;
}

@keyframes rdChatTyping {
  0%, 44%, 100% { transform: translateY(0); }
  28% { transform: translateY(-7px); }
}

.rd.rd-chatbot .chatbot-container .chatbot-bubble-window {
  bottom: 106px;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-overlay);
}

.rd.rd-chatbot .chatbot-container .chatbot-bubble-window .content {
  font-family: inherit;
  font-size: 13.5px;
  line-height: 21px;
}

.rd.rd-chatbot .chatbot-container .chatbot-bubble-window .footer .footer-button {
  margin-top: 6px;
  border-radius: var(--radius);
  background: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.rd.rd-chatbot .chatbot-container .chatbot-bubble-window .footer .footer-button:hover {
  background: var(--navy-dark);
}

@media (max-width: 900px) {
  .rd.rd-chatbot .chatbot-container .chatbot-bubble-wrapper {
    padding: 0 6px;
  }

  .rd.rd-chatbot .chatbot-container .chatbot-bubble-wrapper .bubble-text {
    display: none;
  }

  .rd.rd-chatbot .chatbot-container .chatbot-bubble-wrapper .icon-wrapper {
    margin-left: 0;
  }
}
