/* ========================================
   Google Translate Custom Styling & Hiding Banners
   ======================================== */

/* Ẩn hoàn toàn thanh taskbar / banner / iframe Google Translate ở trên cùng */
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
iframe.skiptranslate,
.goog-te-ftab,
.goog-te-banner,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover,
.goog-text-highlight {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Ngăn Google Translate đẩy body xuống */
body {
    top: 0px !important;
    position: static !important;
}

/* Ẩn div tạo ra khoảng trắng hoặc popup của Google Translate */
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-OiiCO,
.VIpgJd-ZVi9od-OR95Eb-kpZmrd {
    display: none !important;
}

/* Ẩn container translate ra khỏi màn hình */
#google_translate_element {
    position: absolute;
    top: -9999px;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Ngăn nhấp nháy (FOUC / Blink) của select ngôn ngữ trước khi Select2 khởi tạo */
select#language:not(.select2-hidden-accessible) {
    opacity: 0;
    visibility: hidden;
}

.select2-container--language {
    width: auto !important;
}

.select2-container--language .select2-selection--single .img-flag {
    width: 28px !important;
    height: auto !important;
    vertical-align: middle;
    display: inline-block;
}

.RightTopBar {
    display: flex;
    align-items: center;
}



