.kontener-tabeli {
    overflow-x: auto;
    margin: 20px 0;
  }

  .tabela-grzyby {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
  }

  .tabela-grzyby th {
    background-color: rgba(74, 93, 35, 0.9);
    color: white;
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
  }

  .tabela-grzyby td {
    padding: 10px;
    border: 1px solid #ddd;
    vertical-align: top;
  }

  .tabela-grzyby tr:nth-child(even) {
    background-color: #f9f9f9;
  }

  .tabela-grzyby tr:hover {
    background-color: #f1f1f1;
  }

  .green {
    display: inline-block;
    background-color: #d5f5d5;
    color: #176b17;
    border: 1px solid #79b879;
    padding: 3px 7px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
  }

  .red {
    display: inline-block;
    background-color: #f8d7da;
    color: #9b1c1c;
    border: 1px solid #d88a8a;
    padding: 3px 7px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
  }
  
    .white {
    display: inline-block;
    background-color: white;
    color: #9b1c1c;
    border: 1px solid #d88a8a;
    padding: 3px 7px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
  }

  .tabela-grzyby small {
    font-size: 11px;
    color: #666;
  }

  /* RWD - wersja mobilna */
  @media screen and (max-width: 768px) {

    .tabela-grzyby,
    .tabela-grzyby thead,
    .tabela-grzyby tbody,
    .tabela-grzyby th,
    .tabela-grzyby td,
    .tabela-grzyby tr {
      display: block;
    }

    .tabela-grzyby thead {
      display: none;
    }

    .tabela-grzyby tr {
      margin-bottom: 25px;
      border: 1px solid #2c3e50;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .tabela-grzyby td:first-child {
      background: rgba(74, 93, 35, 0.9);
      color: white;
      font-weight: bold;
      text-align: center;
      text-transform: uppercase;
      font-size: 13px;
      letter-spacing: 1px;
    }

    .tabela-grzyby td:not(:first-child) {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 15px;
      text-align: right;
      border-bottom: 1px solid #eee;
      padding-left: 10px;
    }

    .tabela-grzyby td:not(:first-child)::before {
      content: attr(data-label);
      flex: 0 0 40%;
      font-weight: bold;
      text-align: left;
      font-style: italic;
      color: #7f8c8d;
      white-space: normal;
    }

    .tabela-grzyby td:last-child {
      display: block;
      text-align: left;
    }

    .tabela-grzyby td:last-child::before {
      display: block;
      margin-bottom: 5px;
    }
  }