/* Kontejner pro nadpis a filtry, aby byly vedle sebe */
.filter-container {
    display: flex;
    align-items: center; /* Zarovná nadpis a filtry na střed vertikálně */
    gap: 15px; /* Mezera mezi nadpisem a filtry */
}

/* Filtry jsou vedle nadpisu */
.filters {
    display: flex;
    align-items: center;
    gap: 10px; /* Mezera mezi jednotlivými dropdown tlačítky */
}

/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown button */
.dropbtn {
    color: white;
    padding: 10px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    margin-right: 10px;
}

.dropbtn.drop {
    background-color: #208ea2;
}

/* Dropdown button */
.downInput {
    background-color: #d3cb79;
    color: white;
    padding: 8px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    margin-right: 10px;
}

.dropbtn:hover {
    background-color: #005f73;
}

/* Dropdown menu styl */
.dropdown-content {
    max-height: 40vh;
    overflow-y: auto;
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 100;
    border-radius: 4px;
    padding: 12px 16px;
    box-sizing: border-box;
}

/* Pokud je dropdown aktivní, zobrazí se */
.dropdown.show .dropdown-content {
    display: block;
}

/* Style the checkboxes inside dropdown */
.dropdown-content label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

input[type="checkbox"] {
    margin-right: 5px;
}

/* Tabulka */
.table-container {
    max-height: calc(100vh - 340px);
    overflow-y: auto;
    width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    text-align: left;
}

table th, table td {
    padding: 10px;
    border: 1px solid #ddd;
}

table thead th {
    position: sticky;
    top: 0;
    background-color: #4CAF50;
    color: white;
    z-index: 1;
}

/* Barvy řádků */
table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

table tbody tr:hover {
    background-color: #ddd;
}

/* Styl pro tlačítko Storno */
.cancel-btn {
    background-color: #208ea2;
    color: white;
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 20px;
    transition: background-color 0.3s ease;
}

.cancel-btn:hover {
    background-color: #d32f2f; /* Tmavší červená při najetí myší */
}

/* Stylování pro tabulku */
.data-table {
    margin-top: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow-x: auto;
}

.data-table th, .data-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.data-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}