    html, body {
      margin: 0;
      padding: 0;
      overflow: hidden;
      touch-action: none;             /* zakáže pinch, double-tap i drag */
      user-select: none;              /* nelze označovat text */
      -webkit-user-select: none;      /* Safari */
      -webkit-touch-callout: none;    /* Safari dlouhý tap menu */
      font-family: sans-serif;
    }

    button, input, textarea {
      touch-action: manipulation;     /* povolí klik/tap bez zoomu */
    }


        body {
            font-family: Arial, sans-serif;
            margin: 20px;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
            table-layout: fixed;
        }
        th, td {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: center;
        }
        th {
            font-size: 1.3em;
            background-color: #f2f2f2;
        }
        @media screen and (max-width: 768px) {
            table {
                display: block;
                overflow-x: auto;
                white-space: nowrap;
            }
        }
        .allergens {
            font-size: 0.9em;
            color: #555;
        }
        .icon {
            width: 16px;
            height: 16px;
            vertical-align: middle;
        }
    .selected {
      background-color: yellow;
    }
    .menudisabled {
      background-color: gray;
    }

.my-btn-large {
  padding: 1rem 2rem;
  font-size: 1.5rem;
}

.my-menu-cell div {
  min-height: 80px;
  vertical-align: middle;
}

.my-menu-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 100px;
  text-align: center;       /* centrování textu, pokud bude víc řádků */
  flex-direction: column;   /* důležité pro správné zalomení a <br> */
  font-size: 130%;  /* nebo třeba font-size: 1.3em; */
}

.my-alert-large {
    font-size: 130%;
    font-weight: bold;
    text-align: center;
}

.my-modal-large {
  transform: scale(1.4);
  transform-origin: center center;
}

.my-modal-large .modal-content {
  font-size: 1.4em;
}
  
.anadpis {
//  border: 5px outset red;
//  background-color: lightblue;
  text-align: center;
}


.item_disabled {
    text-decoration: line-through; /* Přeškrtnutí */
}
.item_selected {
    background-color: yellow;
}

.table-container {
    width: 100%;
    overflow-x: auto; /* Responzivita */
    padding: 10px;
}

.table-styled {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin: 10px 0;
    border-radius: 10px; /* Zaoblení rohů */
    overflow: hidden; /* Aby zaoblení fungovalo i na okrajích */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Jemný stín */
}

.table-styled th, .table-styled td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.table-styled th {
    background-color: #007BFF;
    color: white;
    text-transform: uppercase;
}

.xtable-styled tr:nth-child(even) {
    background-color: #f2f2f2;
}

.table-styled tr:hover {
    background-color: rgba(0, 123, 255, 0.2);
    transition: background-color 0.3s ease-in-out;
    cursor: pointer;
}

/* Zaoblení horních rohů pro hlavičku */
.table-styled thead tr:first-child th:first-child {
    border-top-left-radius: 10px;
}
.table-styled thead tr:first-child th:last-child {
    border-top-right-radius: 10px;
}

/* Zaoblení spodních rohů pro poslední řádek */
.table-styled tbody tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}
.table-styled tbody tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}
/* Zašedlý styl pro neobjednatelné položky */
.unavailable {
    color: #888; /* Šedý text */
    font-style: italic; /* Kurzíva */
    text-decoration: line-through; /* Přeškrtnutí */
    background-color: #f8f8f8; /* Světle šedé pozadí */
    pointer-events: none; /* Zrušení interakcí */
}

/* Zrušení hover efektu pro neobjednatelné */
.unavailable:hover {
    background-color: #f8f8f8 !important;
    cursor: default;
}
    

.allergen-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
//  max-width: 300px; /* nebo podle potřeby */
}

.allergen-container .form-check-label {
//  min-width: 2.5rem;
  min-width: 2.5rem;
  text-align: center;
  font-weight: bold;
}

.form-check-label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 3rem;
}

.form-check-label span {
  width: 1.5rem;
  text-align: right;
}

#soupAllergens, #menu1Allergens, #menu2Allergens, #menu3Allergens {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.allergen-number {
  min-width: 1.5rem;
  text-align: right;
  display: inline-block;
  font-weight: bold;
}