* {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #000;
  list-style: none;
}

::-webkit-scrollbar {
  display: none;
}

body {
  position: relative;
  max-width: 500px;
  margin: 30px auto;
}

.latest {
  margin: 30px;
}

.title {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 10px;
}

.list li {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.list li.expense {
  background-color: #ffdddd;
}

.list li.income {
  background-color: #d3ffcf;
}
.list li .description {
  position: absolute;
  top: 50%;
  left: 60px;
  transform: translate(0, -50%);
  font-size: 16px;
  font-weight: 700;
}

.list li .amount {
  position: absolute;
  top: 50%;
  right: 60px;
  transform: translate(0, -50%);
  font-size: 16px;
  font-weight: 900;
}

.list .btn {
  border: none;
  color: #000;
  font-size: 20px;
  background: transparent;
  cursor: pointer;
}

.list .more {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -10px;
}

.more button {
  cursor: pointer;
  background: transparent;
  border: none;
  font-weight: 900;
  font-size: 16px;
  width: 100%;
  height: 100%;
}

.panel {
  margin: 30px;
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
}

textarea#pairs {
  width: calc(100% - 20px);
  height: 50px;
  border: 1px solid #5c5cff;
  border-radius: 10px;
  padding: 10px;
}

.submitBtn {
  margin-top: 10px;
  margin-bottom: 20px;
  padding: 5px;
  width: 100%;
  background-color: #5c5cff;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  border: 1px solid #5c5cff;
  border-radius: 10px;
  cursor: pointer;
  outline: none;
}

.submitBtn.active {
  background-color: #d22b2b;
  border: 1px solid #d22b2b;
}

/* .submitBtn.loading {
  background-color: transparent;
  color: #5c5cff;
} */

.tab {
  width: 100%;
  margin-bottom: 20px;
}

.tab .tabBtn {
  border: none;
  border: none;
  font-size: 16px;
  font-weight: 700;
  padding: 5px 20px;
  background: transparent;
  color: #000;
  cursor: pointer;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.tabBtn.active {
  border-bottom: 1px solid #5c5cff;
  background-color: #dfdfff;
}
