/* Izolácia od Journal2 / Bootstrap */
.rtl-cookiebar,
.rtl-cookiebar *,
.rtl-cookiebar__fab {
  box-sizing: border-box;
}

.rtl-cookiebar {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(61, 50, 41, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.rtl-cookiebar[hidden],
.rtl-cookiebar__fab[hidden],
.rtl-cookiebar [hidden] {
  display: none !important;
}

.rtl-cookiebar__panel {
  width: 100%;
  max-width: 720px;
  background: #faf7f3;
  border: 1px solid #e8ddd0;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -4px 24px rgba(61, 50, 41, 0.18);
  padding: 20px 22px;
  max-height: 90vh;
  overflow: auto;
  color: #3d3229;
}

.rtl-cookiebar__title {
  margin: 0 0 8px;
  padding: 0;
  font-size: 1.25rem;
  font-weight: bold;
  color: #3d3229;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.3;
}

.rtl-cookiebar__intro,
.rtl-cookiebar__policy,
.rtl-cookiebar__category p {
  margin: 0 0 12px;
  padding: 0;
  line-height: 1.5;
  color: #5c4f44;
  font-size: 14px;
}

.rtl-cookiebar a {
  color: #8b6914;
  text-decoration: underline;
}

.rtl-cookiebar__category {
  border-top: 1px solid #e8ddd0;
  padding-top: 12px;
  margin-top: 12px;
}

.rtl-cookiebar__category-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  color: #3d3229;
  cursor: default;
}

label.rtl-cookiebar__category-head {
  cursor: pointer;
}

.rtl-cookiebar__always {
  margin-left: auto;
  font-size: 12px;
  color: #8a7968;
  font-weight: normal;
}

.rtl-cookiebar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.rtl-cookiebar button.rtl-cookiebar__btn {
  margin: 0;
  border: 1px solid #d4c4b0;
  background: #fff;
  color: #3d3229;
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
  min-height: auto;
  min-width: auto;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  display: inline-block;
  font-weight: normal;
  text-align: center;
}

.rtl-cookiebar button.rtl-cookiebar__btn--primary {
  background: #c4956a;
  border-color: #a67c52;
  color: #fff;
}

.rtl-cookiebar button.rtl-cookiebar__btn--primary:hover {
  background: #a67c52;
}

.rtl-cookiebar button.rtl-cookiebar__btn--link {
  background: transparent;
  border-color: transparent;
  color: #8b6914;
  text-decoration: underline;
}

.rtl-cookiebar input[type="checkbox"] {
  width: auto;
  height: auto;
  margin: 0;
  flex-shrink: 0;
}

.rtl-cookiebar__fab {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 99998;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #c4956a;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(61, 50, 41, 0.25);
  font-size: 20px;
  line-height: 1;
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}

.rtl-cookiebar__fab:hover {
  background: #a67c52;
}

.rtl-cookiebar__table {
  margin: 12px 0;
  overflow-x: auto;
}

.rtl-cookiebar__table-title {
  margin: 12px 0 6px;
  padding: 0;
  font-size: 14px;
  font-weight: bold;
  color: #3d3229;
}

.rtl-cookiebar__table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin: 0;
}

.rtl-cookiebar__table th,
.rtl-cookiebar__table td {
  border: 1px solid #e8ddd0;
  padding: 6px 8px;
  text-align: left;
  vertical-align: top;
}

.rtl-cookiebar__table th {
  background: #f0e8de;
  color: #3d3229;
  font-weight: bold;
}

/* Stránka Zoznam cookies */
.rtl-cookies-page #content {
  padding-bottom: 30px;
}

.rtl-cookies-page .heading-title,
.rtl-cookies-page h1 {
  margin-bottom: 16px;
}

.rtl-cookies-page p {
  margin-bottom: 12px;
  line-height: 1.6;
  color: #5c4f44;
}

.rtl-cookies-page a {
  color: #8b6914;
  text-decoration: underline;
}

.rtl-cookies-page__section-title {
  margin: 28px 0 8px;
  font-size: 18px;
  font-weight: bold;
  color: #3d3229;
}

.rtl-cookies-page__table-wrap {
  margin-bottom: 24px;
}

.rtl-cookies-page__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
  margin-bottom: 0;
}

.rtl-cookies-page__table th,
.rtl-cookies-page__table td {
  border: 1px solid #e8ddd0 !important;
  padding: 10px 12px !important;
  text-align: left;
  vertical-align: top;
}

.rtl-cookies-page__table th {
  background: #f0e8de !important;
  color: #3d3229 !important;
  font-weight: bold;
}

.rtl-cookies-page__table tbody tr:nth-child(even) {
  background: #faf7f3;
}

@media (min-width: 768px) {
  .rtl-cookiebar {
    align-items: center;
  }

  .rtl-cookiebar__panel {
    border-radius: 12px;
  }
}
