#content {
  padding: 0;
  --currency-scrollbar-width: 10px;
}

.currency-table-wrap {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 0;
  border: 0;
  border-top: 1px solid rgba(215, 155, 66, 0.52);
  border-bottom: 1px solid rgba(215, 155, 66, 0.52);
  border-radius: 0;
  background: transparent;
  color: #f7ead5;
  box-shadow: none;
}

.currency-table-header {
  flex: 0 0 auto;
  overflow: hidden;
  box-sizing: border-box;
  padding-inline-end: var(--currency-scrollbar-width);
  background: #4f3625;
}

.currency-table-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.currency-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  color: #f7ead5;
  font-size: clamp(11px, 1.2vw, 14px);
}

.currency-table th,
.currency-table td {
  padding: clamp(4px, 0.8vw, 8px) clamp(3px, 1vw, 12px);
  border-bottom: 1px solid rgba(215, 155, 66, 0.34);
  text-align: center;
  vertical-align: middle;
}

.currency-table th {
  background: #4f3625;
  color: #f3c24a;
  font-weight: 900;
  border-bottom: 2px solid rgba(215, 155, 66, 0.52);
  text-shadow: none;
}

.currency-table th:not(:last-child),
.currency-table td:not(:last-child) {
  border-right: 1px solid rgba(215, 155, 66, 0.34);
}

.currency-table th:nth-child(2),
.currency-table td:nth-child(2) {
  text-align: left;
}

[dir="rtl"] .currency-table th:nth-child(2),
[dir="rtl"] .currency-table td:nth-child(2) {
  text-align: right;
}

.currency-table tbody tr:last-child td {
  border-bottom: 0;
}

.currency-table tbody tr {
  background: linear-gradient(90deg, rgba(79, 54, 37, 0.96), rgba(79, 54, 37, 0.76));
}

.currency-table tbody tr:nth-child(even) {
  background: linear-gradient(90deg, rgba(73, 49, 34, 0.96), rgba(73, 49, 34, 0.74));
}

.currency-table tbody tr:hover {
  background: linear-gradient(90deg, rgba(86, 58, 39, 0.98), rgba(86, 58, 39, 0.82));
}

.currency-table th:first-child,
.currency-table td:first-child {
  width: 10%;
  color: #f3c24a;
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  white-space: nowrap;
}

.currency-table th:nth-child(2),
.currency-table td:nth-child(2) {
  width: 50%;
}

.currency-table th:nth-child(3),
.currency-table td:nth-child(3),
.currency-table th:nth-child(4),
.currency-table td:nth-child(4) {
  width: 20%;
  white-space: nowrap;
}

.currency-name {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.currency-name span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #fff3dc;
  font-weight: 800;
  line-height: 1.15;
}

.currency-icon {
  width: clamp(24px, 3vw, 34px);
  height: clamp(24px, 3vw, 34px);
  flex: 0 0 clamp(24px, 3vw, 34px);
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}

.currency-cap {
  color: #fff3dc;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.currency-table-wrap .filter-empty-message {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f7ead5;
}

@media (max-width: 575px) {
  #content {
    padding-left: 0;
    padding-right: 0;
  }

  .currency-table {
    font-size: clamp(9px, 2.8vw, 11px);
  }

  .currency-table th:first-child,
  .currency-table td:first-child {
    width: 16%;
  }

  .currency-table th:nth-child(2),
  .currency-table td:nth-child(2) {
    width: 46%;
  }

  .currency-table th:nth-child(3),
  .currency-table td:nth-child(3),
  .currency-table th:nth-child(4),
  .currency-table td:nth-child(4) {
    width: 19%;
  }

  .currency-name {
    gap: 4px;
  }

  .currency-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .currency-table th,
  .currency-table td {
    padding: 4px 2px;
  }
}
