/* Tables and code blocks inside the Eventflow build-out writing */

.styled-table {
  border-collapse: collapse;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #222;
}
.styled-table th,
.styled-table td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
  vertical-align: top;
}
.styled-table th {
  font-weight: 600;
  background-color: #f9f9f9;
}
/* Responsive table */
@media screen and (max-width: 600px) {
    .styled-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
.styled-table th:first-child, .styled-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 1; /* Makes sure the sticky column is above the scrollable area */
}

.custom-code {
  background-color: #f5f5f5;
  padding: 16px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 14px;
  overflow-x: auto;
}

.cost-table {
    width: 100%;
    border-collapse: collapse;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #222;
  }
  .cost-table th,
  .cost-table td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    vertical-align: top;
    text-align: left;
  }
  .cost-table th {
    font-weight: 600;
    background-color: #f9f9f9;
  }
  .category {
    font-weight: bold;
    background-color: #f3f3f3;
  }
  .category-blank {
    background-color: #f3f3f3;
  }
  .total-row td {
    font-weight: bold;
    border-top: 2px solid #222;
  }
/* Responsive table */
  @media screen and (max-width: 600px) {
        .cost-table {
            display: block;
            overflow-x: auto;
            white-space: nowrap;
        }
    }
