@font-face {
  font-family: Inter;
  src: url(/static/Inter-Regular.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url(/static/Inter-Medium.woff2) format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url(/static/Inter-Bold.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}
body {
  font-family: Inter, sans-serif;
}

#buyer_page .table {
  max-width: 800px;
  margin: auto;
}
#buyer_page .table .joined-row, #buyer_page .table .row .header, #buyer_page .table .row .content {
  border: 1px solid rgb(92, 140, 92);
  margin-top: -1px;
  margin-left: -1px;
  padding-left: 4px;
}
#buyer_page .table .joined-row {
  text-align: center;
}
#buyer_page .table .row {
  display: flex;
  flex-flow: row wrap;
}
#buyer_page .table .row .header {
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
}
#buyer_page .table .row .content {
  flex: 2;
  min-width: 320px;
}
#buyer_page .table .row .content p {
  margin: 8px 0;
}
#buyer_page .code {
  font-weight: bold;
}
#buyer_page .expired {
  color: red;
}
#buyer_page .error {
  color: red;
}
#buyer_page .grid {
  margin: 8px 0;
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
}
#buyer_page .split {
  margin-top: 8px;
}

div.copyable {
  user-select: all;
}
div.copyable span.copy-btn {
  display: unset;
}
div.copyable span.copy-tooltip {
  display: none;
}
div.copyable span.copy-btn, div.copyable span.copy-tooltip {
  flex: 0;
  cursor: pointer;
  user-select: none;
  padding: 4px;
  font-weight: normal;
}
div.copyable span.copy-btn .icon, div.copyable span.copy-tooltip .icon {
  display: block;
  font-size: 18px;
}

div.copyable, div.static-data {
  display: inline-flex;
  flex-flow: row nowrap;
  align-items: center;
  border: 1px solid #464646;
  border-radius: 2px;
  margin: 4px 4px 0 0;
}
div.copyable span.contents, div.static-data span.contents {
  flex: 1;
  padding: 4px;
  overflow: hidden;
  text-align: left;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 4px;
  padding: 4px 6px;
  user-select: none;
}
.btn[disabled] {
  background-color: #ffffff;
  border: 1px solid #868686;
  color: #505050;
}
.btn:not([disabled]) {
  background-color: #f2f2f2;
  border: 1px solid #464646;
  color: black;
  box-shadow: #acacac 1px 1px;
  cursor: pointer;
}
.btn:not([disabled]):hover {
  background-color: #d5d5d5;
}
.btn:not([disabled]):active {
  background-color: #c0c0c0;
}

.htmx-indicator {
  display: none;
}
.htmx-indicator.htmx-request {
  display: unset;
}
