@import url("/css/composer.css");
@import url("/css/convos.css");
@import url("/css/layout.css");
@import url("/css/messages.css");
@import url("/css/page.home.css");
@import url("/css/spinner.css");
@import url("/css/toast.css");
@import url("/css/welcome.css");
.early-access-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
}
.early-access-modal h1 {
  text-align: center;
}
.early-access-modal .early-access-modal-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  width: 480px;
  padding: 8px;
  gap: 8px;
  background: var(--color-bar);
  border-radius: 8px;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-surface);
  color: var(--color-text-on-surface);
}

.bar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 8px;
  gap: 8px;
  background: var(--color-bar);
}
.bar.horizontal {
  flex-direction: row;
}
.bar.deep {
  background: var(--color-bar-deep);
}
.bar.highlight {
  background: var(--color-highlight);
  color: var(--color-text-on-highlight);
}

.box {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: var(--color-surface);
  border-radius: 8px;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-surface);
  color: var(--color-text-on-surface);
}
.box.box-auto {
  width: auto;
}
.box.box-sm {
  width: 320px;
}
.box.box-md {
  width: 480px;
}
.box.box-lg {
  width: 640px;
}
.box.primary {
  background: var(--color-highlight);
  color: var(--color-text-on-highlight);
}
.box.primary a {
  color: var(--color-text-on-highlight);
  text-decoration: underline;
}
@media (max-width: 768px), (device-max-width: 768px) {
  .box {
    padding: 4px;
  }
}

.walletbox.address {
  background: var(--color-highlight-darker);
  color: var(--color-text-on-highlight);
  border: 0;
}
.walletbox .apophis-address {
  font-size: 1em;
}

.chainbar {
  font-size: 0.8em;
}

.chain-selector {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background: var(--color-highlight-darker);
  color: var(--color-text-on-highlight);
  border: 0;
}
.chain-selector select {
  font-family: "Noto Sans Mono", monospace;
  background: transparent;
  border: 0;
  color: inherit;
}
.chain-selector select option {
  background: var(--color-surface);
  color: var(--color-text-on-surface);
}

.chaininfo {
  position: absolute;
  top: 8px;
  right: 8px;
  color: var(--color-text-contrast);
}

.apophis-address {
  font-size: 0.8em;
  font-weight: normal;
}

button {
  background: var(--color-surface);
  color: var(--color-text-on-surface);
  border: 0;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 1em;
  cursor: pointer;
}
button.primary {
  background: var(--color-highlight);
  color: var(--color-text-on-highlight);
}
button.secondary {
  background: var(--color-surface-dark);
}
button.ephemeral {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.row {
  display: flex;
  flex-direction: row;
  gap: 4px;
}

.center-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.settings-page .settings-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px;
}

.tos-page article {
  font-size: 14px;
  line-height: 1.3;
}
.tos-page article h1, .tos-page article h2, .tos-page article h3, .tos-page article h4, .tos-page article h5, .tos-page article h6 {
  font-family: "Noto Sans", sans-serif;
}