/* Base table styling */
.excel-table {
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    table-layout: auto; /* Ensure the table takes only necessary width */
    width: auto; /* Avoid stretching horizontally */
    max-width: 100%; /* Prevent overflow */
    margin: 0 auto; /* Center the table */
  }
  
  .excel-table td, 
  .excel-table th {
    border: 1px solid #d9d9d9;
    padding: 8px;
    text-align: left;
    white-space: nowrap; /* Prevent content from wrapping */
  }
  
  /* First row (A, B, C, ...) */
  .excel-table th {
    background-color: #f4f4f4 !important;
    font-weight: bold !important;
    text-align: center !important; /* Center content of first row */
    border: 1px solid #bfbfbf !important;
    border-bottom: 1px solid gray !important;
    color: #333 !important;
  }
  
  /* First column (1, 2, 3, ...) */
  .excel-table td:first-child {
    background-color: #f4f4f4 !important;
    font-weight: bold !important;
    text-align: center !important; /* Center content of first column */
    border: 1px solid #bfbfbf;
    border-right: 1px solid gray !important;
    color: #333 !important;
    width: 50px !important; /* Fixed width for the first column */
  }
  
  /* Hover effect (optional) */
  .excel-table tr:hover {
    background-color: #e6f7ff;
  }
  
  /* Table header styling for the top-left cell */
  .excel-table th:first-child {
    background-color: #d9d9d9;
    border-right: 1px solid gray !important;
    width: 50px; /* Match the width of the first column */
  }
  
  .align-second-row-right tr:nth-child(2) td {
    text-align: right;
  }

/* Align the second row elements to the left */
.align-second-row-left tr:nth-child(2) td {
    text-align: left;
  }
  
  /* Exclude the first column in the second row from the left alignment */
  .align-second-row-left tr:nth-child(2) td:first-child {
    text-align: center; /* You can change this to any other alignment, like center or right */
  }

.smaller-font {
    font-size: 0.5em
  }