/* Shared approved floating fields. Native checkboxes, radios and files stay native. */
:root body .wallet-field-shell {
  position: relative;
  display: block;
  min-width: 0;
  width: 100%;
  margin-top: 9px;
  font-size: 16px;
  line-height: 1.5;
  cursor: text;
}
:root body .wallet-field-shell .wallet-field-input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  margin: 0;
  padding: 14px 16px 14px 48px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  background: var(--bg);
  color: #fff;
  caret-color: #fff;
  font-size: 16px;
  line-height: 1.5;
  outline: none;
  box-shadow: none;
}
:root body .wallet-field-shell .wallet-field-input:focus { border-color: transparent; box-shadow: none; }
:root body .wallet-field-shell .wallet-field-input:autofill { box-shadow: 0 0 0 100px var(--bg) inset; -webkit-text-fill-color: #fff; }
:root body .wallet-field-shell .wallet-field-label {
  position: absolute;
  z-index: 2;
  left: 44px;
  right: auto;
  top: 50%;
  max-width: calc(100% - 64px);
  transform: translateY(-50%);
  display: block;
  margin: 0;
  padding: 0 4px;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: text;
  transition: top .65s ease-in-out, left .65s ease-in-out !important;
}
:root body .wallet-field-shell .wallet-field-outline {
  position: absolute;
  z-index: 1;
  inset: 0;
  border: 1.5px solid var(--accent);
  border-radius: 10px;
  pointer-events: none;
}
:root body .wallet-field-shell:has(.wallet-field-input:focus, .wallet-field-input:not(:placeholder-shown), .wallet-field-input:autofill) .wallet-field-label {
  top: 0;
  left: 12px;
  max-width: calc(100% - 24px);
}
:root body .wallet-field-shell:has(.wallet-field-input:focus, .wallet-field-input:not(:placeholder-shown), .wallet-field-input:autofill) .wallet-field-outline {
  clip-path: polygon(0 0, 12px 0, 12px 3px, calc(12px + var(--field-notch, 48px)) 3px, calc(12px + var(--field-notch, 48px)) 0, 100% 0, 100% 100%, 0 100%);
}
:root body .wallet-field-shell .wallet-field-icon {
  position: absolute;
  z-index: 2;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--accent);
  pointer-events: none;
}
:root body .wallet-field-multiline .wallet-field-input { min-height: 96px; resize: vertical; }
:root body .wallet-field-multiline .wallet-field-icon { top: 28px; }
:root body .wallet-field-multiline .wallet-field-label { top: 28px; }
:root body .wallet-field-multiline:has(.wallet-field-input:focus, .wallet-field-input:not(:placeholder-shown), .wallet-field-input:autofill) .wallet-field-label { top: 0; }
:root body .wallet-field-shell.input-with-unit .wallet-field-input { padding-right: 84px; }
:root body .wallet-field-shell .wallet-field-suffix { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: #fff; font-size: 13px; }
:root body .wallet-field-host > small { color: #fff; }
:root body .wallet-field-host { min-width: 0; }
:root body .wallet-field-shell:has(:disabled) { opacity: .55; cursor: not-allowed; }
:root body .wallet-field-input:disabled { cursor: not-allowed; }
:root body .wallet-field-shell:has(:user-invalid) .wallet-field-outline,
:root body .wallet-field-shell:has([aria-invalid="true"]) .wallet-field-outline { border-color: #ff8278; }
:root body .wallet-search-host { display: block; padding: 0; border: 0; background: transparent; min-width: 190px; max-width: 260px; }
:root body .inline-form > .wallet-field-shell,
:root body .admin-toolbar > .wallet-field-shell { flex: 1; min-width: 150px; }
.wallet-visually-hidden { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip-path: inset(50%)!important; white-space: nowrap!important; border: 0!important; }
@media (max-width: 700px) {
  :root body .wallet-search-host { width: 100%; min-width: 0; max-width: none; }
  :root body .inline-form { flex-wrap: wrap; }
}
