/* Overflow Status */
.overflow-status {
  overflow-x: auto;
}

/* Wallet Layout */
.panel-wallet-layout {
  padding: 20px;
  background-color: var(--secondary);
  border: 1px solid var(--grey220);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.panel-wallet-layout .wallet-top {
  display: flex;
  align-items: center;
  font-size: 14px;
  justify-content: space-between;
  padding: 20px;
  background-color: var(--white);
  border-radius: 8px;
  border: 1px solid var(--grey220);
}

.panel-wallet-layout .wallet-top button {
  background-color: var(--primary);
  border-radius: 50px;
  color: var(--white);
  padding: 6px 15px;
  transition: all 0.5s ease;
  border: 1px solid var(--grey220);
  cursor: pointer;
}

.panel-wallet-layout .wallet-top button:hover {
  background-color: var(--secondary);
  color: var(--primary);
}

@media (max-width: 687px) {
  .panel-wallet-layout .wallet-top {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
  }

  .panel-wallet-layout .wallet-top button {
    margin: auto;
  }

  .panel-wallet-layout .wallet-top > p {
    text-align: center;
  }
}

/* Title */
.panel-wallet-layout .title {
  color: var(--primary);
  font-weight: bold;
}

/* History */
.wallet-history-layout {
  overflow-x: auto;
  background-color: var(--white);
  border-radius: 8px;
  border: 1px solid var(--grey220);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.wallet-history-layout .wallet-search {
  font-size: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 15px;
}

.wallet-history-layout .wallet-search select {
  border: 1px solid var(--grey220);
  padding: 2px;
  border-radius: 2px;
}

.wallet-history-layout .wallet-search > div {
  display: flex;
  gap: 5px;
  align-items: center;
}

.wallet-history-layout .wallet-search > div input {
  background-color: var(--secondary);
  border: 1px solid var(--grey220);
  border-radius: 2px;
  padding: 5px;
  outline: none;
}

@media (max-width: 687px) {
  .wallet-history-layout .wallet-search {
    grid-template-columns: repeat(1, 100%);
  }

  .wallet-history-layout .wallet-search > div:nth-child(1) {
    display: grid;
    grid-template-columns: auto 1fr;
  }

  .wallet-history-layout .wallet-search > div:nth-child(2) {
    justify-content: end;
  }

  .wallet-history-layout .wallet-search > div input {
    width: 100%;
  }
}

/* Wallet Table */
.wallet-table-layout {
  overflow-x: auto;
  white-space: nowrap;
}

/* Table Title */
.wallet-table-layout .table-title {
  width: 100%;
  min-width: 700px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  font-size: 14px;
  background-color: var(--secondary);
  border: 1px solid var(--grey220);
  border-radius: 2px 2px 0 0;
  overflow: hidden;
  align-items: center;
}

.wallet-table-layout .table-title p {
  border-left: 1px solid var(--grey220);
  padding: 10px;
  text-align: center;
  color: var(--primary);
}

.wallet-table-layout .table-title p:last-of-type {
  border: none;
}

/* Table Item */
.wallet-table-layout .table-item {
  min-width: 700px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  font-size: 14px;
  border-bottom: 1px solid var(--grey220);
  align-items: center;
}

.wallet-table-layout .table-item:nth-child(odd) {
  background-color: var(--secondary);
}

.wallet-table-layout .table-item:last-of-type {
  border-bottom: none;
}

.wallet-table-layout .table-item p {
  padding: 10px;
  text-align: center;
}

.wallet-table-layout .table-item i {
  margin: auto;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.5s ease;
  width: fit-content;
}

.wallet-table-layout .table-item i:hover {
  color: var(--primary);
}

.completing,
.complete,
.canceled {
  padding: 3px 10px !important;
  width: fit-content;
  height: fit-content;
  border-radius: 4px;
  margin: auto;
  font-size: 12px;
  cursor: pointer;
  color: var(--white);
}

.completing {
  background-color: rgb(4, 197, 197);
}

.complete {
  background-color: #00bc7d;
}

.canceled {
  background-color: #ff2056;
}

/* Wallet Table Pagination */
.wallet-table-pagination {
  display: flex;
  align-items: center;
  margin: 0 auto;
  gap: 15px;
}

.wallet-table-pagination span {
  cursor: pointer;
  font-size: 14px;
  padding: 0 3px;
  transition: all 0.5s ease;
}

.wallet-table-pagination span:hover {
  color: var(--primary);
}

.wallet-table-pagination span.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}