.tables-container {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
}


.custom-table-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(22, 33, 67, 0.1);
  padding: 0;
  width: 45%;
  min-width: 599px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.custom-full-table-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(22, 33, 67, 0.1);
  padding: 0;
  width: 80%;
  min-width: 400px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.custom-table-header {
  background: #e4b056;
  color: #162143;
  font-weight: 400;
  padding: 0 20px;
  height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  white-space: nowrap;
}

.custom-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 1rem;
}

.custom-table thead,
.custom-table tbody {
  display: block;
  min-width: 100% !important;
}

.custom-table thead {
  background: #f5f5f5;
}

.custom-table tbody {
  /* max-height: 433px; */
  display: block;
  width: 100%;
}

.custom-table th,
.custom-table td {
  padding: 12px 0px;
  box-sizing: border-box;
}

.custom-table th {
  background: #f5f5f5;
  color: #162143;
  font-weight: 400;
}

.custom-table tr:not(:last-child) td {
  border-bottom: 1px solid #e0e0e0;
}

.custom-table td input[type="text"] {
  width: 80px;
  padding: 4px 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background: #f9f9f9;
}

.cell-up {
  display: inline-block;
  background: #008053;
  border-radius: 12px;
  padding: 4px 8px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  text-align: left;
}

.cell-down {
  display: inline-block;
  background: #e03131;
  border-radius: 12px;
  padding: 4px 8px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-align: left;
}

.cell-up .value,
.cell-down .value {
  flex: 1;
  text-align: center;
}

.arrow {
  display: inline-block;
  margin-left: 6px;
  width: 0;
  height: 0;
  vertical-align: middle;
}

.arrow.up {
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 8px solid #fff;
}

.arrow.down {
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #fff;
}

.custom-value-box {
  border: 1px solid #c4c8cb;
  box-sizing: border-box;
  display: inline-block;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 4px 0px;
  font-size: 16px;
  font-weight: 400;
  color: #000000;
  text-align: center;
  width: unset;
}

.currency-table-placeholder {
  width: 45vw;
  min-width: 320px;
  background: #e0b15a;
  color: #222;
  padding: 40px 20px;
  border-radius: 16px;
  margin-bottom: 30px;
  font-size: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.gold-table-placeholder {
  width: 45vw;
  min-width: 320px;
  background: #fff;
  color: #22305a;
  padding: 40px 20px;
  border-radius: 16px;
  font-size: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.clock-fast-forward-icon {
  height: 18px;
  vertical-align: middle;
  margin-right: 4px;
}

.trend-up-icon,
.trend-down-icon {
  height: 16px;
  margin-left: 8px;
}

.custom-table-time {
  /*background-color: #f5c674;*/
  border-radius: 4px;
  padding: 4px 8px;
}

.tables-container td {
  color: #000000;
  font-weight: 400;
  font-size: 16px;
}

.custom-table {
  border-collapse: collapse;
}
.custom-table thead {
  display: inline-table;
}

.custom-table-date {
  display: flex;
  justify-content: center;
  align-items: center;
}
.custom-table thead tr th:first-child {
  width: 50%;
  text-align: left;
  padding: 11px 20px;
}
.custom-table tbody tr td:first-child {
  width: 50%;
  text-align: left;
  padding: 11px 20px;
  align-self: center;
}

.custom-table tbody tr td:nth-child(2),
.custom-table tbody tr td:nth-child(3) {
  width: 25%;
  text-align: center;
  padding: 5.8px 20px;
}

.custom-table thead tr th:nth-child(2),
.custom-table thead tr th:nth-child(3) {
  width: 25%;
  text-align: center;
  padding: 10px 20px;
}

.custom-table tbody tr {
  display: flex;
}
