/* Table in optimized format */ 

.table-container {
    overflow-x: auto;
}

.table-zebra {
    width: 100%;
    border-collapse: collapse;
    font-family: sans-serif;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.table-zebra caption {
    caption-side: bottom;
    text-align: right;
    font-size: 0.8rem;
    color: #666;
    padding: 10px 0;
}

.table-zebra thead {
    background-color: #2c3e50; /* A dark blue-grey header */
    color: #ffffff;
}

.table-zebra th, 
.table-zebra td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #dddddd;
}

/* This is the magic for the zebra-striping */
.table-zebra tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.table-zebra tbody tr:last-of-type {
    border-bottom: 2px solid #2c3e50;
}

/* ToDo:
/* Optional: Add a hover effect for better user interaction */
/* .table-zebra tbody tr:hover {
    background-color: #e2e8f0;
    cursor: pointer;
} */

/* Desktop Styles (Media Query) */
/* @media screen and (min-width: 768px) {
  .tableMissions {
    display: none;
  } */


@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px; /* hide header line */
  }
  tr {
    margin-bottom: 1rem;
    border: 1px solid #ccc;
  }
  td {
    position: relative;
    padding-left: 50%;
    text-align: right;
  }
  td::before {
    content: attr(data-label); /* get column name */
    position: absolute;
    left: 10px;
    font-weight: bold;
    text-align: left;
  }
}  