/* web/src/components/FinanceCollectionSummary.css */
.cc-summary-query {
  display: flex;
  gap: 14px;
  align-items: end;
  flex-wrap: wrap;
  background: white;
  border: 1px solid #dbe4ee;
  padding: 18px;
  border-radius: 8px;
  margin: 18px 0;
}
.cc-summary-query .cc-field {
  min-width: 180px;
  flex: 1;
}
.cc-summary-query > button {
  min-height: 39px;
}
.cc-summary-totals {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.cc-summary-totals > div {
  background: white;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  padding: 15px;
}
.cc-summary-totals span {
  display: block;
  color: #607991;
  font-size: 13px;
}
.cc-summary-totals strong {
  display: block;
  font-size: 22px;
  color: #195b91;
  margin-top: 7px;
  font-variant-numeric: tabular-nums;
}
.cc-summary-export {
  margin: 16px 0;
  flex-wrap: wrap;
}
.cc-summary-groups {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.cc-summary-groups > span {
  background: #eaf3fb;
  padding: 8px 12px;
  border-radius: 5px;
}
.cc-summary .cc-table-scroll {
  background: white;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  overflow: auto;
}
.cc-summary table {
  min-width: 1200px;
}
.cc-summary td:first-child {
  min-width: 80px;
}
.cc-summary td:nth-child(3) {
  min-width: 180px;
}
.cc-summary tr.selected td {
  background: #edf5fc;
}
.cc-summary-detail,
.cc-summary-review {
  background: white;
  padding: 18px;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  margin: 18px 0;
}
.cc-summary-review summary {
  cursor: pointer;
  color: #8b5d29;
}
.cc-summary-review .cc-table-scroll {
  margin-top: 12px;
}
.cc-summary-detail table {
  min-width: 760px;
}
@media (max-width: 1000px) {
  .cc-summary-totals {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }
}
@media (max-width: 600px) {
  .cc-summary-totals {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
  .cc-summary-totals strong {
    font-size: 19px;
  }
  .cc-summary-query .cc-field {
    min-width: 100%;
  }
}
