/*
 * TH826_I18N_COMPONENT
 * TH826_PLATFORM_LOCALE_SELECTOR_V1
 *
 * Component chọn quốc gia/ngôn ngữ dùng chung
 * trước và sau đăng nhập.
 */

.th826-auth-footer .th826-platform-auth-locale{
  display:inline-flex;
  align-items:center;
  gap:7px;
  max-width:min(100%, 430px);
  min-height:30px;
  margin-left:12px;
  padding:3px 8px;
  vertical-align:middle;
  border:1px solid rgba(43,151,226,.42);
  border-radius:16px;
  background:rgba(4,31,55,.92);
  box-shadow:0 3px 12px rgba(0,0,0,.18);
}

.th826-platform-auth-locale-label{
  flex:none;
  color:#9edfff;
  font-size:11px;
  font-weight:800;
  white-space:nowrap;
}

.th826-platform-auth-locale-flag{
  width:22px;
  height:14px;
  flex:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  line-height:0;
  border:1px solid rgba(255,255,255,.35);
  border-radius:3px;
  background:#06192b;
}

.th826-platform-auth-locale-flag img{
  width:22px;
  height:14px;
  display:block;
  object-fit:cover;
}

.th826-platform-auth-locale-flag span{
  font-size:11px;
  line-height:14px;
}

#th826AuthPlatformLocaleSelect{
  width:245px;
  max-width:100%;
  min-width:0;
  height:24px;
  padding:0 25px 0 4px;
  color:#eaf8ff;
  font-size:11px;
  font-weight:750;
  border:0;
  outline:0;
  background-color:transparent;
  cursor:pointer;
}

/*
 * TH826_AUTH_LOCALE_DARK_MENU_V2
 * Đồng bộ nền menu lựa chọn trước và sau đăng nhập.
 */
.th826-platform-auth-locale,
#th826AuthPlatformLocaleSelect{
  color-scheme:dark;
}

#th826AuthPlatformLocaleSelect{
  color:#eaf8ff !important;
  background-color:#071a2d !important;
}

#th826AuthPlatformLocaleSelect option,
#th826AuthPlatformLocaleSelect optgroup{
  color:#eaf8ff !important;
  background-color:#071a2d !important;
}

#th826AuthPlatformLocaleSelect option:checked{
  color:#ffffff !important;
  background-color:#0c679d !important;
}

#th826AuthPlatformLocaleSelect option:hover{
  color:#ffffff !important;
  background-color:#0a527f !important;
}

@media (max-width:720px){
  .th826-auth-footer .th826-platform-auth-locale{
    display:flex;
    width:min(100%, 390px);
    margin:8px auto 0;
  }

  .th826-platform-auth-locale-label{
    display:none;
  }

  #th826AuthPlatformLocaleSelect{
    width:100%;
  }
}
