/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
#woo_lithuaniapost_lpexpress_terminal_id {
    margin-top: 5px;
}

#woo_lithuaniapost_lpexpress_terminal_city, #woo_lithuaniapost_lpexpress_terminal_id {
    width: 100%;
}
@media screen and (max-width: 450px) {
    .woo_lithuaniapost_lpexpress_terminal_select_container {
        max-width: 300px;
    }
}

.woo_lithuaniapost_lpexpress_terminal_select_container,
.woo_lithuaniapost_lpexpress_terminal_label {
    min-width: 0;
    max-width: 100%;
}

.woo_lithuaniapost_lpexpress_terminal_id + .select2-container--default,
.woo_block_lithuaniapost_lpexpress_terminal_id + .select2-container--default {
    min-width: 0;
    max-width: 100%;
}

.wc-block-checkout__shipping-option:has(.woo_lithuaniapost_lpexpress_terminal_select_container) {
    min-width: 0 !important;
}

.woo_lithuaniapost_terminal_option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
}

.select2-results__option .woo_lithuaniapost_terminal_option > span:first-child {
    white-space: normal;
    word-break: break-word;
}

.select2-selection__rendered .woo_lithuaniapost_terminal_option > span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1 1 auto;
}

.woo_lithuaniapost_lpexpress_terminal_id + .select2-container--default .select2-selection--single,
.woo_block_lithuaniapost_lpexpress_terminal_id + .select2-container--default .select2-selection--single {
    height: 28px !important;
}

.woo_lithuaniapost_lpexpress_terminal_id + .select2-container--default .select2-selection--single .select2-selection__rendered,
.woo_block_lithuaniapost_lpexpress_terminal_id + .select2-container--default .select2-selection--single .select2-selection__rendered {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    line-height: 28px !important;
    padding: 0 20px 0 8px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.woo_lithuaniapost_lpexpress_terminal_id + .select2-container--default .select2-selection--single .select2-selection__arrow,
.woo_block_lithuaniapost_lpexpress_terminal_id + .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px !important;
    top: 1px !important;
}

.woocommerce-checkout-review-order-table .select2-selection__rendered > span:first-child:not(.woo_lithuaniapost_terminal_option),
.woocommerce-checkout-review-order-table .select2-selection__rendered .woo_lithuaniapost_terminal_option > span:first-child {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    white-space: normal !important;
    word-break: break-word;
}

.woo_lithuaniapost_terminal_dropdown .select2-search--dropdown {
    padding: 4px !important;
}

.woo_lithuaniapost_wheelchair_icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    vertical-align: middle;
    flex-shrink: 0;
    background-image: url("../images/wheelchair_accessible.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.select2-selection__rendered .woo_lithuaniapost_wheelchair_icon {
    margin-right: 10px;
}

.woo_lithuaniapost_wheelchair_tooltip {
    position: fixed;
    transform: translateX(-50%);
    padding: 4px 8px;
    background: #333;
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
    border-radius: 4px;
    pointer-events: none;
    z-index: 100000;
}
