.table-container {
      width: 100%;
      overflow-x: auto; /* Enables horizontal scrolling on small screens */
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    table {
      width: 100%;
      border-collapse: collapse;
      min-width: 500px; /* Prevent columns from shrinking too much */
    }

    th, td {
      padding: 12px 16px;
      text-align: left;
      border-bottom: 1px solid #ddd;
      white-space: nowrap;
    }

    th {
      background-color: #0078d7;
      color: white;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    tr:hover {
      background-color: #f1f5ff;
    }

    tr:last-child td {
      border-bottom: none;
    }

    /* Responsive stacking for very small screens */
    @media (max-width: 500px) {
      table, thead, tbody, th, td, tr {
        display: block;
      }

      th {
        display: none; /* Hide headers in stacked view */
      }

      tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 8px;
        background-color: #fff;
      }

      td {
        border: none;
        position: relative;
        padding-left: 50%;
        text-align: right;
      }

      td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-weight: bold;
        text-transform: uppercase;
        color: #0078d7;
        text-align: left;
      }
    }