.pza-searcher {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.pza-searcher__card {
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 0px;
  padding: 22px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
}

.pza-searcher__form {
  margin: 0;
}

.pza-searcher__switch {
  display: flex;
  gap: 18px;
  margin: 0 0 16px;
  flex-wrap: wrap;
}

.pza-searcher__switch label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 600;
  cursor: pointer;
}

.pza-searcher__lead {
  margin: 0 0 16px;
  color: #444;
}

.pza-searcher__label {
  display: block;
  margin: 0 0 8px;
  font-weight: 600;
}

.pza-searcher__row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

body .pza-searcher input.pza-searcher__input[type="text"] {
  flex: 1 1 320px;
  display: block;
  width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
  padding: 12px 20px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  border: 1px solid #cfd5e2;
  border-radius: 0px;
  font-size: 16px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.04em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  -webkit-appearance: none;
  appearance: none;
}

.pza-searcher__button {
  flex: 0 0 auto;
  padding: 12px 16px;
  border: 1px solid #a0beef;
  border-radius: 0px;
  background: #a0beef;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.pza-searcher__button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.pza-searcher__message:empty {
  display: none;
}

.pza-searcher__msg {
  margin: 16px 0 0;
  padding: 12px;
  border: 1px solid;
  border-radius: 10px;
}

.pza-searcher__msg--success {
  background: #abccff;
  border-color: #abccff;
  color: #0f5132;
}

.pza-searcher__msg--error {
  background: #fff1f2;
  border-color: #ffd0d6;
  color: #8a1f2b;
}

/* clickable copy link inside messages */
.pza-searcher__msg a.pza-copy-account {
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
}

@media (max-width: 640px) {
  .pza-searcher__row {
    flex-direction: column;
  }

  body .pza-searcher input.pza-searcher__input[type="text"] {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    line-height: 28px !important;
  }

  .pza-searcher__button {
    width: 100%;
  }
}
