/* 🔷 MAIN CONTAINER */
.bank-transactions-container {
  padding: 1rem;
  max-width: 1000px;
  margin: auto;
  font-size: 16px;
  font-family: Arial, sans-serif;
}

/* 🔷 HEADINGS */
.bank-transactions-container h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* 🔷 FILTER AREA */
.bank-filters {
  margin-bottom: 1em;
}

.bank-filters .filter-group {
  margin-bottom: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.bank-filters label {
  font-weight: 500;
  font-size: 0.95rem;
}

.bank-filters select,
.bank-filters input[type="text"],
.bank-filters button {
  font-size: 0.95rem;
  padding: 6px 10px;
}

.bank-filters button {
  background-color: #2271b1;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.bank-filters button:hover {
  background-color: #1b5d91;
}

.bank-filters .button-reset {
  background: none;
  color: #2271b1;
  border: none;
  text-decoration: underline;
  padding: 0;
  font-size: 0.95rem;
  margin-top: 4px;
  cursor: pointer;
}

.bank-filters .button-reset:hover {
  color: #1b5d91;
}

/* 🔷 SUMMARY BOX */
.statement-summary {
  background: #f1f5f9;
  padding: 15px;
  margin: 1rem 0;
  border-left: 4px solid #46b450;
  border-radius: 3px;
  font-size: 0.95rem;
  line-height: 1.6;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.statement-summary p {
  margin: 0.25rem 0;
}

/* 🔷 UNCATEGORISED BUTTON */
.uncategorised-summary {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 1rem;
}

#filter-uncategorised {
  background-color: #dc3232;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 14px;
  cursor: pointer;
}

#filter-uncategorised:hover {
  background-color: #b02828;
}

#filter-uncategorised span {
  font-weight: bold;
}

/* 🔷 TABLE */
.bank-transaction-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.bank-transaction-table th,
.bank-transaction-table td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  font-size: 0.95rem;
  text-align: left;
}

/* 🔷 Row highlight after update */
.bank-transaction-table tr.highlight-next {
  background-color: #fffae6;
  transition: background-color 0.5s ease;
}
.bank-pagination {
  margin-top: 20px;
  text-align: center;
}
.bank-pagination .page-btn {
  margin: 0 4px;
  padding: 6px 12px;
  background: #f1f1f1;
  border: 1px solid #ccc;
  cursor: pointer;
  border-radius: 4px;
}
.bank-pagination .page-btn.active {
  background: #0073aa;
  color: #fff;
  font-weight: bold;
  border-color: #0073aa;
}
.bank-pagination .page-btn:hover {
  background: #e2e2e2;
}
.bank-summary-table {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid #ccc;
    background: #f9f9f9;
}
.bank-summary-table h3 {
    margin-top: 0;
}
.bank-summary-table table {
    width: 100%;
    border-collapse: collapse;
}
.bank-summary-table td {
    padding: 0.25rem 0.5rem;
}
.bank-summary-table td:first-child {
    font-weight: bold;
    width: 40%;
}
