/* custom.css */

/* --- General Table Styling --- */

/* 1. Reduce whitespace in table cells. Adjust as needed. */
table th, table td {
  padding: 0.2rem !important; 
}

/* 2. Set table width and spacing */
table {
  width: 100%;
  margin-bottom: 1.5rem; 
  border-collapse: collapse !important;
}

/* --- Booktabs Style Borders --- */

/* 3. Remove all default borders and shadows from table elements */
table, th, td, thead, tbody, tfoot {
  border: none !important;
  box-shadow: none !important; /* Remove shadows some themes add */
}

/* 4. Add the main top and bottom borders for the table */
table {
  border-top: 2px solid black !important;
  border-bottom: 2px solid black !important;
}

/* 5. Add a line under the table header */
table thead {
  border-bottom: 1px solid black !important;
}

/* --- Cell-specific styling utilities --- */

/* To underline the text within a cell */
.underline-cell {
  text-decoration: underline;
}

/* To add a line under the content of a cell, spanning its width */
.border-bottom-cell {
  display: block;
  border-bottom: 1px solid black;
}

/* To add a line above the content of a cell */
.border-top-cell {
  display: block;
  border-top: 1px solid black;
}
