.t24-language-selector{
    display:inline-flex;
    align-items:center;
    margin-left:auto;
    position:relative;
}

.t24-language-trigger{
    min-width:60px;
    min-height:38px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.38rem;
    border:1px solid #d0d5dd;
    border-radius:999px;
    background:#fff;
    color:#101828;
    padding:.4rem .62rem;
    font:700 .82rem/1 Candara,"Segoe UI",Arial,sans-serif;
    letter-spacing:.02em;
    cursor:pointer;
    transition:border-color .16s ease,background-color .16s ease,color .16s ease,box-shadow .16s ease;
}

.t24-language-trigger::after{
    margin-left:.02rem;
    border-top-width:.3em;
    border-right-width:.3em;
    border-left-width:.3em;
}

.t24-language-trigger:hover,
.t24-language-trigger:focus-visible{
    border-color:#98a2b3;
    background:#f8fafc;
    color:#101828;
    box-shadow:0 0 0 3px rgba(37,99,235,.12);
    outline:0;
}

.t24-language-globe{
    width:15px;
    height:15px;
    stroke-width:2;
    flex:0 0 auto;
}

.t24-language-code{
    min-width:1.7rem;
    text-align:center;
    white-space:nowrap;
}

.t24-language-menu{
    min-width:188px;
    padding:.45rem;
    margin-top:.45rem !important;
    border:1px solid #e4e7ec;
    border-radius:12px;
    background:#fff;
    box-shadow:0 16px 34px rgba(15,23,42,.16);
}

.t24-language-option{
    display:grid;
    grid-template-columns:18px minmax(0,1fr);
    align-items:center;
    gap:.45rem;
    min-height:38px;
    border-radius:8px;
    padding:.48rem .58rem;
    color:#344054;
    font:600 .9rem/1.2 Candara,"Segoe UI",Arial,sans-serif;
    text-align:left;
}

.t24-language-option:hover,
.t24-language-option:focus{
    background:#f2f4f7;
    color:#101828;
}

.t24-language-option.is-active{
    background:#eff6ff;
    color:#174ea6;
    font-weight:700;
}

.t24-language-check{
    width:18px;
    color:#2563eb;
    font-weight:800;
    text-align:center;
}

.t24-language-fallback{
    min-height:38px;
    border:1px solid #d0d5dd;
    border-radius:8px;
    background:#fff;
    color:#101828;
    padding:.4rem .55rem;
}

.t24-language-apply{
    min-height:38px;
    margin-left:.35rem;
    border:1px solid #2563eb;
    border-radius:8px;
    background:#2563eb;
    color:#fff;
    padding:.4rem .7rem;
    font-weight:700;
}

.t24-amz-actions > .t24-language-selector{
    margin-left:.45rem;
    padding-left:.4rem;
    border-left:1px solid rgba(255,255,255,.18);
}

.t24-amz-actions .t24-language-trigger{
    min-width:62px;
    border-color:rgba(255,255,255,.34);
    background:transparent;
    color:#fff;
}

.t24-amz-actions .t24-language-trigger:hover,
.t24-amz-actions .t24-language-trigger:focus-visible,
.t24-amz-actions .t24-language-trigger[aria-expanded="true"]{
    border-color:rgba(255,255,255,.72);
    background:rgba(255,255,255,.08);
    color:#fff;
    box-shadow:none;
}

.staff-topbar .t24-language-selector{
    margin-left:.75rem;
}

.staff-profile-menu .t24-language-selector,
.auth-workspace-top-actions .dropdown-menu .t24-language-selector{
    width:100%;
    margin-left:0;
}

.staff-profile-menu .t24-language-trigger,
.auth-workspace-top-actions .dropdown-menu .t24-language-trigger{
    width:100%;
    justify-content:space-between;
    border-radius:8px;
}

@media(max-width:1199.98px){
    .t24-amz-actions > .t24-language-selector{
        margin-left:.2rem;
        padding-left:.25rem;
        border-left:0;
    }

    .t24-amz-actions .t24-language-trigger{
        min-width:54px;
        padding-left:.48rem;
        padding-right:.48rem;
    }
}

@media(max-width:575.98px){
    .t24-language-code{
        display:none;
    }

    .t24-amz-actions .t24-language-trigger{
        min-width:40px;
        width:40px;
        padding:.4rem;
    }

    .t24-language-trigger::after{
        display:none;
    }
}
