.source-serif-4 {
  font-family: "Source Serif 4", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.custom-table th:nth-child(n+9):nth-child(-n+22),
.custom-table td:nth-child(n+9):nth-child(-n+22) {
    padding: 0.1rem !important;
    font-size: 0.7rem;
}

.centertable {
    text-align: center;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: "Source Serif 4", serif !important;
  font-optical-sizing: auto !important;
  font-weight: 400 !important;
  font-style: normal !important;
}

body {
    width: 100% !important;
}

.min-vh-75 {
    min-height: 85vh;
}

.popup-details-div {
  position: absolute; 
  left: 0; 
  z-index: 100;
  min-width: 100%;
  background-color: #f8f9fa; 
  border: 1px solid #dee2e6; 
  padding: 10px; 
  border-radius: 5px; 
  margin-bottom: 5px; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.vertical-text {
    /* Required for vertical writing */
    writing-mode: vertical-rl; 
    /* Rotate the text 180 degrees so it reads top-down */
    transform: rotate(180deg);
    /* Ensure the text doesn't wrap */
    white-space: nowrap; 
    /* Give it enough room to display */
    display: inline-block;
    /* Optional: Center the text in the narrow column */
    text-align: left;
    height: 150px; /* Adjust height based on the longest text */
    padding-left: 5px;
    padding-right: 5px;
}

/* Optional: Ensure the TH itself is styled properly */
.table th {
    /* Align content to the bottom of the TH cell */
    vertical-align: bottom !important; 
    padding: 0; /* Remove padding from the TH itself */
}

.column-separator {
    /* Sets the right border */
    border-right: 1px solid #ddd; /* or use a color that matches your design */
    /* Add some padding to prevent text from touching the line */
    padding-right: 15px !important;
}

.fs-7 {
    font-size: 0.8em;
}