.votex-index {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1.5rem;
  gap: 1rem;
}

.votex-notfound {
  max-width: 800px;
  width: 100%;
  background: #ff50501a;
  border: 1px solid #ff505066;
  border-radius: .5rem;
  padding: .75rem 1.25rem;
  color: #ff8080;
  font-size: .9rem;
}

.votex-panel {
  display: flex;
  gap: 2.5rem;
  max-width: 800px;
  width: 100%;
  background: #1e1e3c99;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid #8a2be24d;
  border-radius: 1rem;
  padding: 2.5rem;
  color: #fff;
}

.votex-panel-left {
  flex: 1;
}

.votex-panel-left h1 {
  font-family: "Press Start 2P", cursive;
  font-size: 1.5rem;
  margin: 0 0 1rem;
  color: #fff;
  text-shadow: 0 0 15px #8ab4ff99;
}

.votex-panel-left p {
  font-size: .95rem;
  line-height: 1.6;
  color: #fffc;
  margin: 0 0 1.5rem;
}

.votex-how h2 {
  font-family: "Press Start 2P", cursive;
  font-size: .7rem;
  color: #ffffffe6;
  margin: 0 0 .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.votex-how ol {
  margin: 0;
  padding-left: 1.25rem;
}

.votex-how li {
  font-size: .85rem;
  line-height: 1.8;
  color: #ffffffb3;
}

.votex-panel-right {
  flex: 1;
  border-left: 1px solid #8a2be233;
  padding-left: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.votex-panel-right h2 {
  font-family: "Press Start 2P", cursive;
  font-size: .8rem;
  color: #ffffffe6;
  margin: 0 0 1.5rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.votex-panel-right label {
  color: #fffc;
  font-size: .85rem;
}

.votex-panel-right input[type="text"], .votex-panel-right input[type="search"] {
  background: #141428cc;
  border: 1px solid #8a2be24d;
  color: #fff;
  border-radius: .375rem;
  padding: .5rem .75rem;
}

.votex-panel-right input[type="text"]:focus, .votex-panel-right input[type="search"]:focus {
  border-color: #8a2be2b3;
  box-shadow: 0 0 10px #8a2be233;
  outline: none;
}

.votex-panel-right button[type="submit"] {
  background: #8a2be299;
  border: 1px solid #8a2be280;
  color: #fff;
  font-family: "Press Start 2P", cursive;
  font-size: .65rem;
  padding: .75rem 1.5rem;
  border-radius: .375rem;
  cursor: pointer;
  transition: all .3s;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.votex-panel-right button[type="submit"]:hover {
  background: #8a2be2cc;
  box-shadow: 0 0 20px #8a2be266;
  transform: translateY(-1px);
}

.votex-panel-right button[type="submit"]:active {
  transform: translateY(0);
}

.votex-panel-right p {
  margin: 1rem 0 0;
}

error {
  display: none;
}

error:not(:empty) {
  display: block;
  border: 1px solid #ff505099;
  padding: .75rem;
  background-color: #ff00001a;
  color: #ff8080;
  font-size: .875rem;
  border-radius: .375rem;
  margin-bottom: 1rem;
}

@media (width <= 700px) {
  .votex-panel {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .votex-panel-right {
    border-left: none;
    border-top: 1px solid #8a2be233;
    padding-left: 0;
    padding-top: 1.5rem;
  }
}

bux-input-text-string {
  margin: 0 0 1rem;
  display: block;

  & label {
    margin-bottom: .5rem;
    font-weight: bold;
    display: inline-block;
  }

  & input {
    padding: .375rem .75rem;
    width: 100%;
    text-align: left;
    display: block;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #f0f8ff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    box-shadow: 0 0 10px #0000001a;
  }

  & input:invalid {
    background-color: #ffb6c1;
    border-color: red;
  }

  & div.help-text {
    margin-top: .5rem;
    font-size: .875em;
  }
}
