.qi-ngonngu { position: relative; display: inline-block; vertical-align: middle; line-height: normal; }

.qi-ngonngu-nut {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(0, 0, 0, .18);
    border-radius: 999px;
    background: #fff;
    color: #333;
    font-size: 13.5px;
    line-height: 30px;
    cursor: pointer;
    white-space: nowrap;
}

.qi-ngonngu-nut:hover { border-color: var(--mau-md, #004ccb); }

.qi-ngonngu-co {
    width: 21px;
    height: 14px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
    object-fit: cover;
    flex: 0 0 auto;
}

.qi-ngonngu-mui {
    width: 0;
    height: 0;
    margin-left: 2px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #666;
    flex: 0 0 auto;
}

.qi-ngonngu-khay {
    display: none;
    position: absolute;
    z-index: 1200;
    top: calc(100% + 4px);
    right: 0;
    min-width: 168px;
    max-height: 320px;
    overflow-y: auto;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
}

.qi-ngonngu.mo .qi-ngonngu-khay { display: block; }

.qi-ngonngu-khay li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    color: #333;
    font-size: 13.5px;
    line-height: 20px;
    cursor: pointer;
    white-space: nowrap;
}

.qi-ngonngu-khay li:hover { background: #f2f5f9; }
.qi-ngonngu-khay li.dang-chon { background: #eef3fb; font-weight: 600; }

.qi-ngonngu-khay li img {
    width: 21px;
    height: 14px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
    object-fit: cover;
    flex: 0 0 auto;
}

.qi-ngonngu--mb .qi-ngonngu-nut { height: 26px; font-size: 12.5px; padding: 0 8px; line-height: 24px; }
.qi-ngonngu--mb .qi-ngonngu-ten { max-width: 74px; overflow: hidden; text-overflow: ellipsis; }

#google_translate_element { position: fixed; bottom: 0; left: 0; width: 0; height: 0; overflow: hidden; }
