.ud-prilohy-wrapper {
     display: flex;
     flex-direction: column;
     gap: 10px;
     margin-bottom:1rem;
}

.ud-priloha-box {
     display: flex;
     align-items: center;
     gap: 10px;
     padding-right: 12px;
     border: 1px solid #e0e0e0;
     background-color: #f8f9fa;
     position: relative;
}

.ud-priloha-ext {
     background-color: #fff;
     color: #444;
     padding: 18px 14px;
     border-right: 1px solid #e0e0e0;
     font-weight: 600;
     min-width: 65px;
     text-align: center;
}

.ud-priloha-info {
     flex: 1;
}

.ud-priloha-nazev {
     font-weight: bold;
     text-decoration: none;
}

.ud-priloha-nazev:hover {
     text-decoration: underline;
}

.ud-priloha-meta {
     color: #555;
}

.ud-download-icon {
     flex-shrink: 0;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     width: 32px;
     height: 32px;
     background: #e0e0e0;
     color: #333;
     text-decoration: none;
     transition: background .2s;
}

.ud-download-icon:hover {
     background: #ccc;
}

.ud-download-icon svg {
     width: 16px;
     height: 16px;
     display: block;
}

.ud-meta{
     margin:0;
     float: left;
}

.ud-cats{
     float:right;
}

.ud-download-zip {
     display: inline-block;
     background-color: #e2e2e2;
     color: #222;
     padding: 6px 12px;
     text-decoration: none;
     margin-top: 10px !important;
     font-weight: bold;
     margin-top: 2rem;
}

.ud-download-zip:hover {
     background-color: #ccc;
}

.ud-filter-form .ud-filter-search {
     display: flex;
     gap: .5rem;
     align-items: stretch;
}

.ud-filter-form .ud-filter-search input[type="text"] {
     flex: 1 1 auto;
     min-width: 0;
}

.ud-filter-form .ud-filter-search button {
     white-space: nowrap;
}

.ud-filter-form .ud-filters-row {
     display: flex;
     flex-wrap: wrap;
     align-items: flex-end;
     /* pěkné spodní zarovnání labelů a selectů */
     gap: .5rem .75rem;
     margin: 0;
}

/* label hned před svým selectem lehce odsadit */
.ud-filter-form .ud-filters-row label {
     margin-right: .25rem;
}

/* rozumná min. šířka selectů */
.ud-filter-form .ud-filters-row select {
     min-width: 12rem;
     margin-bottom: 0;
     /* aby to neskákalo */
}

/* akce vpravo */
.ud-filter-form .ud-filters-row .ud-actions {
     margin-left: auto;
     /* → odtlačí doprava */
     display: flex;
     gap: .5rem;
}

.ud-filter-form .ud-filters-row .ud-actions .ud-reset {
     display: inline-block;
     padding: .5rem .75rem;
     border: 1px solid #ddd;
     text-decoration: none;
     color: inherit;
     background: #f6f6f6;
}

.ud-filter-form .ud-filters-row .ud-actions .ud-reset:hover {
     background: #eee;
}


/* mobil: na sloupce, tlačítka přes celou šířku */
@media (max-width:600px) {
     .ud-filter-form .ud-filters-row {
          flex-direction: column;
          align-items: stretch;
     }

     .ud-filter-form .ud-filters-row .ud-actions {
          margin-left: 0;
     }

     .ud-filter-form .ud-filters-row .ud-actions>* {
          width: 100%;
     }
}