.tgls-checkout_show_selected tr td {
    font-size: 12px;
    padding: 5px;
}

.tgls-checkout_show_selected tr td {
    padding: 3px 6px;
    color: white !important;
    text-align: center;
    border: none;
    text-decoration: none;
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
    overflow: visible;
    width: auto;
    line-height: 12px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    white-space: nowrap;
    background: #22134a;
    font-weight: 200;
}

.tgls-label-img{
    max-width: 25px;
    display: inline-block;
    margin-right: 5px;
    position: relative;
    bottom: -6px;
}

.tgls-label-img-select{
    max-width:150px!important;
}


/* NastavÃ­me kontejner na flex s wrapem */
.tgls-block-parcelshops {
    --gap: 12px; /* mÅ¯Å¾eÅ¡ mÄnit mezeru na jednom mÃ­stÄ */
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: var(--gap);
}

/* ZÃ¡kladnÃ­ reset Å¡Ã­Åek uvnitÅ pluginovÃ½ch wrapperÅ¯ */
.tgls-block-parcelshops .wc-block-components-text-input {
    box-sizing: border-box;
    width: auto; /* pÅebije pÅÃ­padnÃ© width:100% z pluginu */
}

/* 1) .tgls-message pÅes celou Å¡Ã­Åku (prvnÃ­ ÅÃ¡dek) */
.tgls-block-parcelshops .wc-block-components-text-input.tgls-message {
    flex: 0 0 100%;
    width: 100%;
    margin-top: 0;
}

/* 2) .tgls-data mÃ¡ bÃ½t 100% - 165px a na stejnÃ©m ÅÃ¡dku s tlaÄÃ­tkem */
.tgls-block-parcelshops .wc-block-components-text-input.tgls-data {
    /* pÅesnÃ¡ Å¡Ã­Åka vÅ¯Äi pevnÃ©mu tlaÄÃ­tku + mezera (gap) */
    width: calc(100% - 165px - var(--gap));
    flex: 0 0 calc(100% - 165px - var(--gap));
    min-width: 0; /* aby se sprÃ¡vnÄ smrskÃ¡val obsah */
    margin-top: 0;
}

/* TlaÄÃ­tko pevnÄ 165px (druhÃ½ ÅÃ¡dek vpravo) */
#tgls-open-popup-widget {
    flex: 0 0 165px;
    width: 165px;
}

/* JednotnÃ¡ vÃ½Å¡ka 50 px */
.tgls-block-parcelshops input[type="text"],
#tgls-open-popup-widget {
    box-sizing: border-box;
    height: 50px;
    line-height: 1.2em;
    padding: 0 12px; /* vodorovnÃ© odsazenÃ­ */
    margin-top: 0;
}

/* Pokud plugin pouÅ¾Ã­vÃ¡ âplovoucÃ­â labely, aÅ¥ nepÅekÃ¡Å¾Ã­ vÃ½Å¡ce */
.tgls-block-parcelshops .wc-block-components-text-input {
    min-height: 25px;
}

/* Sjednotit velikost pÃ­sma tlaÄÃ­tka s inputem */
#tgls-open-popup-widget {
    font-size: 16px;
    cursor: pointer;
    text-align: center;
}

/* Barvy tlaÄÃ­tka */
#tgls-open-popup-widget {
    color: white;
    background: #061ab1;
    border: none;
}

/* Hover efekt na tlaÄÃ­tko */
#tgls-open-popup-widget:hover {
    background: #ffd100;
    color: #061ab1;;
}