/* Cashbook styles */

.cashbook-container {
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
}

.cashbook-table {
  border-collapse: collapse;
  width: 100%;
}

.cashbook-table th, .cashbook-table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
  cursor: pointer;
}

.cashbook-table th {
  background-color: #f0f0f0;
}

.cashbook-table td.dr-amount {
  color: red;
}

.cashbook-table td.cr-amount {
  color: green;
}

.cashbook-table th:nth-child(4), .cashbook-table td:nth-child(4) {
  border-right: 2px solid #000;
}

.Ttype {
  font-family: 'Playfair Display';
  font-weight: bolder;
}

.bal {
  max-width: 300px;
  background: var(--bs-gray-100);
  float: right;
  margin: 10px;
  padding: 10px;
}

.highlighted {
  background: var(--bs-gray-500);
}

.del {
  color: white;
  background: maroon;
  padding: 10px;
  float: right;
  font-size: 10px;
  border-radius: 7px;
  cursor: pointer;
}

