html {
  background: rgb(16,4,30);
  color: rgb(216,204,236);
}
body {
  margin: 0;
  padding: 0 15px;
}
body > section {
  padding: 0 15px;
  min-height: calc(100vh - 185px);
}
body > header {
  text-align: center;
  border-bottom: 1px dotted rgb(216,204,236);
  padding: 20px 0;
  height: 90px
}
body > footer {
  height: 22px;
  padding: 5px 0;
  border-top: 1px dotted rgb(216,204,236);
}

a {
  color: rgb(106, 181, 219);
  text-decoration: none;
}
a:hover {
  color: rgb(126, 201, 239);
}
a.clipboard {
  text-decoration: none;
}
a.clipboard:after {
  padding: 0 5px;
  margin-left: 1px;
  content: "🖹";
  color: rgb(106, 181, 219);
  font-weight: bold;
}
a.clipboard:hover::after {
  cursor: pointer;
  color: rgb(126, 201, 239);
}

pre {
  margin: 40px 0;
  padding: 15px;
  border: solid 1px rgb(40,43,60);
  background-color: rgb(30,33,50);
  word-wrap: break-word;
  white-space: pre-wrap;
}
pre > hr {
  color: rgb(60, 60, 80);
}

input[type="file"] {
  color: red;
}
button,
input::file-selector-button {
  border-radius: 3px;
  border-width: 0;
  margin: 5px 0;
  padding: 5px 0;
  font-size: 1.1em;
  color: rgb(216,204,236);
  background: linear-gradient(
    to bottom,
    rgb(30, 18, 44),
    rgb(30, 18, 44) 46%,
    rgb(26, 14, 40) 54%,
    rgb(26, 14, 40)
  );
  transition: background 0.2s;
}
input::file-selector-button {
  margin: 0 5px 0 -5px;
  padding: 8px;
}
button:hover,
input::file-selector-button:hover {
  cursor: pointer;
  background: linear-gradient(
    to bottom,
    rgb(40, 28, 54),
    rgb(40, 28, 54) 46%,
    rgb(36, 24, 50) 54%,
    rgb(36, 24, 50)
  );
}
select {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  position: relative;
  margin: 5px 0;
  padding: 5px 1.25em 5px 5px;
  background: transparent;
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
    background-image: none;
    background-size: auto;
    background-clip: border-box;
  border: 1px solid rgb(100, 100, 120);
  border-radius: 3px;
  color: rgb(216,204,236);
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' height='10px' width='15px'%3E%3Ctext x='0' y='10' fill='rgb(216,204,236)'%3E%E2%96%BE%3C/text%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1.5EM 1EM;
  background-position: right center;
  background-clip: border-box;
  -moz-background-clip: border-box;
  -webkit-background-clip: border-box;
}
select:hover {
  cursor: pointer;
}

/* -------------------------------------------------------------------------- */

.copy:after {
  text-content: "&#x2398;"
}

.broadcast h3 {
  margin-bottom: 0;
}
.broadcast pre span {
  color: rgb(200,170,210);
}

.wallet {
  position: relative;
  width: 400px;
  height: 460px;
  margin: 0 auto;
  border: solid 1px rgb(40, 43, 60);
  border-radius: 0 0 10px 10px;
  background-color: rgb(30,33,50);
  padding: 0px 25px 5px 25px;
}
.wallet header {
  margin: 15px auto;
}
.wallet header img {
  height: 50px;
  background: white;
  padding: 10px;
  border-radius: 5px;
}
.wallet > select {
  width: 100%;
}
.wallet .pending {
  z-index: 1000000;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  margin-left: -25px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 0 0 10px 10px;
}
.loader {
  width: 4.8px;
  height: 4.8px;
  display: block;
  margin: 20px auto;
  position: relative;
  border-radius: 4px;
  color: #FFF;
  background: currentColor;
  box-sizing: border-box;
  animation: animloader 0.3s 0.3s linear infinite alternate;
  top: calc(50% - 30px);
  text-align: center;
}
.loader::after,
.loader::before {
  content: '';  
  box-sizing: border-box;
  width: 4.8px;
  height: 4.8px;
  border-radius: 4px;
  background: currentColor;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 15px;
  animation: animloader 0.3s 0.45s linear infinite alternate;
}
.loader::after {
    top: -15px;
    animation-delay: 0s;
}

@keyframes animloader {
    0% { width: 4.8px }
    100% { width: 48px}
}

.wallet .control {
  margin-top: 25px;
  padding-top: 25px;
  border-top: dashed 1px rgb(60, 60, 80);
}
.wallet .control button {
  width: 100%;
}
.wallet .control input {
  padding: 5px;
  color: rgb(70,58,84);
}
.wallet .control input {
  display: block;
  width: calc(100% - 14px);
}
.wallet .control input[type="file"] {
  color: rgb(116,104,136);
  font-style: italic;
}
.wallet .tx {
  font-size: 0.7em;
}
.wallet .error {
  background: rgb(53,7,20);
  color: rgb(243, 70, 120);
  border-top: dotted 1px;
  margin: 10px 0;
  padding: 4px;
  font-size: 0.8em;
}
.wallet .error:hover {
  cursor: pointer;
}
.wallet footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  font-size: 0.7em;
  text-align: center;
}
.wallet.batch .info {
  margin: 0 15px;
  border-left: 1px solid;
  border-radius: 5px;
  padding: 10px;
  font-size: 0.8em;
  background: linear-gradient(to left, rgb(30,33,50), rgb(40, 40, 60));
}
.wallet.batch .info::before {
  content: "◂";
  position: absolute;
  margin-left: -15px;
  margin-top: 9px;
  font-size: 10px;
}
