/* F4Pool header alignment V2. Standalone overrides to preserve prior patches. */
@media (min-width: 1121px) {
  .topbar {
    box-sizing: border-box;
    padding-left: var(--f4-content-inset-left, 38px) !important;
    padding-right: var(--f4-content-inset-right, 38px) !important;
    gap: 12px;
  }
  .topbar-left { flex: 1 1 auto; min-width: 0; }
  .topbar-left .top-actions { display: flex; flex: 1 1 auto; min-width: 0; }
  .topbar .header-left-tools { flex-wrap: nowrap; gap: 10px; width: auto; }
  .topbar .global-search { flex: 0 0 225px; width: 225px; min-width: 0; }
  .topbar .header-wallet-search { flex: 0 0 425px; width: 425px; min-width: 425px; }
  .topbar .header-wallet-search select { box-sizing: border-box; flex: 0 0 142px; width: 142px; min-width: 142px; }
  .topbar .header-wallet-search > .icon { left: 153px; }
  .topbar .header-wallet-search input {
    box-sizing: border-box; flex: 1 1 auto; min-width: 0; width: auto;
    padding-left: 34px; text-overflow: ellipsis;
  }
  .topbar .header-wallet-search input::placeholder { opacity: .85; }
  .topbar .top-actions > a.btn { flex: 0 0 auto; margin-left: auto; }
}
@media (min-width: 1121px) and (max-width: 1450px) {
  .topbar .topbar-left { gap: 12px; }
  .topbar .header-left-tools { gap: 7px; }
  .topbar .global-search { flex-basis: 190px; width: 190px; }
  .topbar .header-wallet-search { flex: 0 0 365px; min-width: 365px; width: 365px; }
  .topbar .header-wallet-search select { flex-basis: 115px; width: 115px; min-width: 115px; }
  .topbar .header-wallet-search > .icon { left: 126px; }
}
@media (max-width: 1120px) {
  .topbar .header-wallet-search { flex: 1 1 340px; width: auto; min-width: 265px; }
  .topbar .header-wallet-search select { flex: 0 0 125px; width: 125px; min-width: 125px; }
  .topbar .header-wallet-search > .icon { left: 137px; }
  .topbar .header-wallet-search input { flex: 1 1 auto; width: auto; min-width: 0; padding-left: 32px; }
}
@media (max-width: 760px) {
  .topbar .header-wallet-search { min-width: 0; width: 100%; }
  .topbar .header-wallet-search select { flex: 0 0 38%; width: 38%; min-width: 0; }
  .topbar .header-wallet-search > .icon { display: none; }
  .topbar .header-wallet-search input { padding-left: 12px; }
}
