.full-database-page {
  color: #202a35;
}

.full-database-page .page-version-note {
  max-width: 980px;
  margin: 12px auto 0;
  padding: 0 12px;
  color: #586575;
  font-size: 14px;
  text-align: right;
}

.full-database-page .alert_content {
  width: auto;
  max-width: 980px;
  margin: 0 auto 24px;
  padding: 18px;
  background: #fff;
  border: 1px solid #d8dee6;
  border-radius: 6px;
}

.full-database-page .dataset-heading {
  margin: 0 0 16px;
  color: #202a35;
  font-size: 24px;
  line-height: 1.3;
  text-align: center;
}

.full-database-page .version-picker {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 12px;
  margin: 0 0 8px;
  padding: 14px;
  background: #f3f6f8;
  border: 1px solid #d8dee6;
  border-radius: 6px;
}

.full-database-page .version-picker-field {
  display: grid;
  gap: 5px;
  min-width: 150px;
}

.full-database-page .version-picker label {
  color: #3f4a57;
  font-size: 14px;
  font-weight: 700;
}

.full-database-page .version-picker select {
  width: 100%;
  min-height: 40px;
  padding: 7px 34px 7px 10px;
  color: #202a35;
  background-color: #fff;
  border: 1px solid #9ba8b6;
  border-radius: 4px;
  font: inherit;
}

.full-database-page .version-picker select:focus-visible,
.full-database-page .dataset-table input:focus-visible,
.full-database-page #email:focus-visible,
.full-database-page #buy_all:focus-visible {
  outline: 3px solid rgba(33, 112, 181, 0.28);
  outline-offset: 2px;
}

.full-database-page .version-picker select:disabled {
  color: #66717e;
  background-color: #e8edf1;
  cursor: not-allowed;
}

.full-database-page .version-status,
.full-database-page .catalog-status,
.full-database-page .purchase-status {
  min-height: 21px;
  margin: 6px 0 12px;
  color: #66717e;
  font-size: 14px;
  text-align: center;
}

.full-database-page .catalog-status.is-success {
  color: #24703b;
}

.full-database-page .catalog-status.is-error,
.full-database-page .purchase-status.is-error {
  color: #a52828;
}

.full-database-page .dataset-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #cbd3dc;
  border-radius: 6px;
}

.full-database-page .dataset-table {
  width: 100%;
  min-width: 650px;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: inherit;
}

.full-database-page .dataset-table th,
.full-database-page .dataset-table td {
  padding: 11px 10px;
  border-right: 1px solid #d8dee6;
  border-bottom: 1px solid #d8dee6;
  vertical-align: middle;
  text-align: left;
  overflow-wrap: anywhere;
}

.full-database-page .dataset-table th:last-child,
.full-database-page .dataset-table td:last-child {
  border-right: 0;
}

.full-database-page .dataset-table tbody tr:last-child td {
  border-bottom: 0;
}

.full-database-page .dataset-table th {
  color: #26313d;
  background: #e9f4e8;
  font-weight: 700;
}

.full-database-page .dataset-table th:first-child,
.full-database-page .dataset-table td:first-child {
  width: 46px;
  text-align: center;
}

.full-database-page .dataset-table th:nth-child(2),
.full-database-page .dataset-table td:nth-child(2) {
  width: 29%;
}

.full-database-page .dataset-table th:nth-child(3),
.full-database-page .dataset-table td:nth-child(3) {
  width: 105px;
  text-align: center;
}

.full-database-page .dataset-table tbody tr {
  background: #fff;
  cursor: pointer;
  transition: background-color 120ms ease, box-shadow 120ms ease;
}

.full-database-page .dataset-table tbody tr:hover {
  background: #f5f9fc;
}

.full-database-page .dataset-table tbody tr.selected {
  background: #eef7ff;
  box-shadow: inset 4px 0 #2170b5;
}

.full-database-page .dataset-table input[type='checkbox'],
.full-database-page .format-label input[type='checkbox'] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #2170b5;
  cursor: pointer;
}

.full-database-page .dataset-label {
  display: block;
  color: #202a35;
}

.full-database-page .dataset-note {
  display: block;
  margin-top: 4px;
  color: #66717e;
  font-size: 13px;
}

.full-database-page .dataset-price-cell {
  white-space: nowrap;
  font-weight: 700;
}

.full-database-page .dataset-demo-cell a,
.full-database-page .generic-demo a {
  color: #1466a3;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.full-database-page .dataset-demo-missing {
  color: #7a6670;
  font-size: 13px;
}

.full-database-page .dataset-table-message {
  min-height: 72px;
  margin: 0;
  padding: 24px;
  color: #586575;
  text-align: center;
}

.full-database-page .dataset-table-message.is-error {
  color: #a52828;
}

.full-database-page .generic-demo {
  margin: 0;
  padding: 11px 12px;
  color: #4a5664;
  background: #f8fafb;
  border-top: 1px solid #d8dee6;
}

.full-database-page .format-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 18px 0 12px;
}

.full-database-page .format-controls-title {
  font-weight: 700;
}

.full-database-page .format-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.full-database-page #total-block {
  margin: 16px 0 0;
  padding: 14px 16px;
  color: #35414e;
  background: #f6f8fa;
  border-left: 4px solid #2170b5;
}

.full-database-page #total-block .order-summary-heading {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  column-gap: 8px;
  margin: 0 0 8px;
  font-size: 17px;
}

.full-database-page #total-block .order-summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.full-database-page #total-block .order-summary-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  column-gap: 8px;
  margin: 4px 0;
}

.full-database-page #total-block .order-summary-icon {
  display: inline-flex;
  width: 24px;
  min-height: 1.45em;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1.45;
}

.full-database-page #total-block .order-summary-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.full-database-page .total-amount {
  margin: 18px 0 12px;
  padding: 12px 16px;
  color: #246336;
  background: #f2faf3;
  border: 1px solid #9dcaa6;
  border-radius: 6px;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  white-space: normal;
}

.full-database-page #buy_all {
  display: block;
  width: min(100%, 520px);
  min-height: 48px;
  margin: 18px auto 8px;
}

.full-database-page #buy_all:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.full-database-page .purchase-status {
  margin-bottom: 0;
}

.full-database-page [hidden] {
  display: none !important;
}

@media (max-width: 720px) {
  .full-database-page .page-version-note {
    text-align: center;
  }

  .full-database-page .alert_content {
    margin-right: 8px;
    margin-left: 8px;
    padding: 12px;
  }

  .full-database-page .dataset-heading {
    font-size: 21px;
  }

  .full-database-page .version-picker {
    align-items: stretch;
    flex-direction: column;
  }

  .full-database-page .version-picker-field {
    min-width: 0;
  }

  .full-database-page .dataset-table {
    min-width: 610px;
  }

  .full-database-page .total-amount {
    font-size: 20px;
  }
}
