/* Locale select styling shared across admin screens. Mirrors the Select2 templates used in locale-select.js */
.select2-container .stolik-locale-option,
.select2-container .stolik-locale-selection{
    display:flex;
    align-items:flex-start;
    gap:8px;
}
.select2-container .stolik-locale-flag{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:24px;
    height:18px;
    border-radius:3px;
    overflow:hidden;
    flex:0 0 auto;
}
.select2-container .stolik-locale-flag .stolik-flag-emoji,
.select2-container .stolik-locale-flag .fi{
    display:block;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:50% 50%;
    background-repeat:no-repeat;
}
.select2-container .stolik-locale-flag .stolik-flag-emoji--globe{
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    line-height:1;
}
.select2-container .stolik-locale-label{
    display:flex;
    flex-direction:column;
    gap:2px;
    flex:1 1 auto;
    min-width:0;
    line-height:1.25;
    white-space:normal;
    overflow-wrap:anywhere;
}
.select2-container .stolik-locale-label-line{
    display:block;
    min-width:0;
}
.select2-container .stolik-locale-label-main{
    font-weight:600;
}
.select2-container .stolik-locale-label-status{
    font-size:12px;
    color:#475569;
    opacity:.85;
}
.select2-container--default .select2-results__option .stolik-locale-flag{
    margin-right:6px;
}
.select2-container--default .select2-selection__rendered{
    display:flex;
    align-items:flex-start;
    gap:8px;
    padding:0;
    min-height:0;
}
.select2-container--default .select2-selection__rendered .stolik-locale-selection{
    width:100%;
    justify-content:flex-start;
}
.select2-container--default .select2-selection__rendered .stolik-locale-flag{
    margin-right:2px;
}
select[data-role="stolik-locale-select"] + .select2{
    width:100% !important;
    max-width:100%;
}
select[data-role="stolik-locale-select"] + .select2 .select2-selection--single{
    display:flex;
    align-items:flex-start;
    min-height:44px;
    height:auto !important;
    padding:8px 42px 8px 12px;
    box-sizing:border-box;
    overflow:hidden;
}
select[data-role="stolik-locale-select"] + .select2 .select2-selection__arrow{
    top:0;
    bottom:0;
    right:10px;
    width:32px;
    height:auto;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:center;
}
select[data-role="stolik-locale-select"] + .select2 .select2-selection__arrow b{
    border-width:6px 5px 0 5px;
    border-color:#475569 transparent transparent transparent;
    margin-top:2px;
}
select[data-role="stolik-locale-select"] + .select2 .select2-selection--single .select2-selection__placeholder{
    display:flex;
    align-items:center;
    gap:6px;
}
