.LegalHeadline {
  display: block;
  font-size: 24px;
  font-weight: bold;
  padding-top: 16px;
  padding-bottom: 16px;
}

.LegalSubHeadline {
  display: block;
  font-size: 18px;
  font-weight: bold;
  padding-top: 64px;
  padding-bottom: 16px;
  padding-left: 8px;
}

.LegalSubSubHeadline {
  display: block;
  font-size: 16px;
  font-weight: bold;
  padding-top: 24px;
  padding-bottom: 16px;
  padding-left: 16px;
}

.LegalParagraph {
  display: block;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 24px;
  line-height: 24px;
}

.LegalOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.LegalPanel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  max-height: 90%;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.LegalCloseButton {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.LegalContent {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 48px 4px 48px;
  max-height: 80vh;
}

.LegalTableWrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.LegalTableWrapper table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
}

.LegalTableWrapper table td,
.LegalTableWrapper table th {
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  border-style: solid;
  border-width: 1px;
  border-color: #dddddd;
  border-radius: 4px;
  text-align: left;
  padding: 2px;
}
