/**
 * Moto plate filter — Anomera new theme 1:1
 * Source: anomera/web/new/css/filter-moto.css
 * (live page loads ONLY this file for the plate; filter.css companions are NOT used)
 */

.filter-moto {
  font-size: 18px;
  line-height: 1.2;
  border: 4px solid #1a2436;
  background: white;
  display: inline-flex;
  flex-direction: column;
  border-radius: 4px;
  width: 14rem;
  height: 12rem;
  color: #000;
  box-sizing: border-box;
  overflow: visible;
  vertical-align: top;
}

.filter-moto ul.dropdown-menu {
  width: 50px;
  min-width: 50px;
  text-align: center;
}

.filter-moto ul.dropdown-menu li a {
  font-weight: 700;
  color: #000;
  display: block;
  width: 100%;
  padding: 5px 0;
  font-size: 14px;
}

.filter-moto ul.dropdown-menu li a:hover {
  color: #000;
  text-decoration: none;
  background: #ffe5cc;
}

.filter-moto__top {
  font-family: "Motor", sans-serif;
  display: flex;
  font-size: 5em;
  justify-content: center;
  align-items: end;
  height: 50%;
}

.filter-moto__top input {
  width: 1ch;
}

.filter-moto__bottom {
  font-family: "Motor", sans-serif;
  display: flex;
  font-size: 3em;
}

.filter-moto__bottom > * {
  position: relative;
  display: flex;
}

.filter-moto__letters {
  padding-left: 0.9rem;
  width: 55%;
  display: flex;
  text-align: center;
}

.filter-moto__letters::before {
  content: "";
  border-right: 4px solid black;
  height: 75%;
  position: absolute;
  bottom: 0;
  right: -2px;
}

.filter-moto__letters input {
  font-size: 4.8rem;
  width: 90%;
}

.filter-moto__letters .dropdown + .dropdown {
  margin-left: -15px;
}

.filter-moto__numbers {
  padding-right: 0.7rem;
  text-align: center;
  justify-content: end;
  width: 45%;
}

.filter-moto__numbers::before {
  content: "";
  border-top: 4px solid black;
  width: 20%;
  position: absolute;
  top: -2px;
  right: 0;
}

.filter-moto__numbers::after {
  content: "RUS";
  position: absolute;
  left: -2px;
  top: -0.4em;
  font-size: 0.5em;
  font-family: "Fira Sans Condensed", sans-serif;
}

.filter-moto__numbers input {
  font-size: 4.8rem;
  text-align: end;
  width: 100%;
}

.filter-moto input {
  text-shadow: 2px 1px 2px #969696;
}

.filter-moto input::placeholder {
  color: #d6d6d6;
}

/*
 * Minimal reboot so GRZHub globals (font: inherit, focus ring, etc.)
 * do not override Anomera plate inputs. No height/border-bottom from
 * anomera filter.css — those are not on the live moto page.
 */
.filter-moto .dropdown {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.filter-moto input.filter-input {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  color: #212529;
  cursor: pointer;
  overflow: visible;
  box-sizing: border-box;
}

/* Restore Anomera sizes after font-size:inherit reboot (higher specificity). */
.filter-moto__letters input.filter-input {
  font-size: 4.8rem;
}

.filter-moto__numbers input.filter-input {
  font-size: 4.8rem;
}

.filter-moto input.filter-input:hover,
.filter-moto input.filter-input:focus,
.filter-moto input.filter-input:focus-visible {
  outline: none;
  background: transparent;
  box-shadow: none;
}

.filter-moto input.filter-input::placeholder {
  color: #d6d6d6;
  opacity: 1;
}

/* Mobile selects inside moto plate (Anomera isMobile). */
.filter-moto select.filter-input {
  font-family: "Motor", sans-serif;
  text-shadow: 2px 1px 2px #969696;
  color: #000;
  background: transparent;
  border: 0;
  border-bottom: 2px solid #000;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  text-align: center;
  padding: 0;
  margin: 0;
}

.filter-moto__top select.filter-input {
  width: 1ch;
  font-size: 95px;
  height: 90px;
  line-height: 1;
}

.filter-moto__letters select.filter-input {
  font-size: 4.8rem;
  width: 90%;
  padding-top: 20px;
}

.filter-moto__numbers select.filter-input {
  font-size: 4.8rem;
  text-align: end;
  width: 100%;
}

@media screen and (max-width: 500px) {
  .filter-moto__top select.filter-input {
    font-size: 59.4px;
    height: 52.8px;
  }

  .filter-moto__letters select.filter-input {
    font-size: 46.2px;
    padding-top: 13.2px;
  }
}
