/* Funding filters v199 */
.funding-exchange-head,
.funding-exchange-row {
  grid-template-columns: minmax(0, 1fr) 76px;
}

.funding-exchange-head,
.funding-exchange-row {
  padding-right: 8px;
}

.funding-switch em {
  width: 42px;
  height: 23px;
  border: 0;
  border-radius: 99px;
  background: #263142;
  transition: 0.18s;
}

.funding-switch em::after {
  left: 2px;
  top: 2px;
  width: 19px;
  height: 19px;
  background: #f5f7fb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: 0.18s;
}

.funding-switch input:checked + em {
  border: 0;
  background: linear-gradient(180deg, #ffc235, #f29c00);
}

.funding-switch input:checked + em::after {
  left: 21px;
  background: #f5f7fb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.funding-global-label {
  margin-top: 8px;
}

.funding-global-settings {
  margin-bottom: 14px;
  overflow: hidden;
  background: rgba(8, 14, 24, 0.72);
  border: 1px solid #26354c;
  border-radius: 7px;
}

.funding-rate-filter {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  align-items: center;
  gap: 12px;
  padding: 13px 12px;
  cursor: text;
}

.funding-rate-filter > span:first-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.funding-rate-filter > span:first-child > b {
  color: #dfe8f5;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.75px;
}

.funding-rate-filter > span:first-child > small {
  color: #667791;
  font: 700 8px/1.45 Consolas, Menlo, Monaco, "Courier New", monospace;
}

.funding-rate-input {
  height: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 27px;
  align-items: center;
  overflow: hidden;
  background: #101a28;
  border: 1px solid #31435b;
  border-radius: 6px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.funding-rate-input:focus-within {
  border-color: #d99b00;
  box-shadow: 0 0 0 2px rgba(217, 155, 0, 0.13);
}

.funding-rate-input input {
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 0 4px 0 10px;
  color: #f4f7fb;
  background: transparent;
  border: 0;
  outline: 0;
  font: 900 14px Consolas, Menlo, Monaco, "Courier New", monospace;
}

.funding-rate-input input::-webkit-inner-spin-button {
  opacity: 0.45;
}

.funding-rate-input > b {
  height: 22px;
  display: grid;
  place-items: center;
  color: #ffb11b;
  border-left: 1px solid #2d3d52;
  font: 900 11px Consolas, Menlo, Monaco, "Courier New", monospace;
}

.funding-global-settings > p {
  margin: 0;
  padding: 9px 12px;
  color: #71839e;
  background: #0b1420;
  border-top: 1px solid #202f43;
  font: 700 8px/1.45 Consolas, Menlo, Monaco, "Courier New", monospace;
}

@media (max-width: 380px) {
  .funding-rate-filter {
    grid-template-columns: minmax(0, 1fr) 92px;
    padding-right: 10px;
    padding-left: 10px;
  }
}
