/* Scoped language menu; inherits original TALENTMOGO theme fonts and layout. */
.tm-lang-menu-item{display:flex!important;align-items:center!important;position:relative!important;list-style:none!important;}
.tm-lang-switch{position:relative;display:inline-flex;align-items:center;font-family:inherit;z-index:99000;font-size:12px;line-height:1.4;}
.tm-lang-toggle{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 12px;border:1px solid rgba(215,177,99,.48);border-radius:9px;color:inherit;background:rgba(255,255,255,.06);font-weight:700;cursor:pointer;white-space:nowrap;min-height:38px;}
.tm-lang-toggle:hover,.tm-lang-toggle:focus-visible{border-color:#dcb66d;outline:2px solid transparent;background:rgba(197,154,72,.13)}
.tm-lang-toggle>svg:first-child,.tm-lang-option svg{height:18px!important;width:26px!important;display:block!important;flex:none;border-radius:2px;border:1px solid rgba(125,125,125,.16);}
.tm-lang-toggle .tm-chevron{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.tm-lang-options{position:absolute;top:calc(100% + 8px);right:0;min-width:175px;background:#fff;box-shadow:0 15px 40px rgba(5,29,53,.2);border:1px solid #dfe8f2;border-radius:11px;padding:7px;color:#0c3154;z-index:99001;}
.tm-lang-options[hidden]{display:none!important}
.tm-lang-option{display:flex!important;align-items:center!important;gap:10px!important;padding:11px 12px!important;border-radius:7px!important;text-decoration:none!important;font:700 12px/1.3 'DM Sans',Arial,sans-serif!important;color:#113959!important;white-space:nowrap!important;}
.tm-lang-option[aria-current="true"]{background:#fff5df!important;color:#7f5719!important}
.tm-lang-option:hover,.tm-lang-option:focus-visible{background:#edf4fb!important;color:#123959!important;}
#tm-lang-mobile-slot[hidden]{display:none!important}
#tm-lang-mobile-slot.tm-lang-floating{position:fixed;right:16px;bottom:18px;z-index:99999;background:#072947;color:white;padding:5px;border-radius:11px;box-shadow:0 8px 23px rgba(0,0,0,.25)}
.tm-admin .tm-table{margin-top:18px}.tm-admin .tm-table textarea{width:100%;min-height:90px;font-size:12px;line-height:1.5}.tm-admin .tm-source{white-space:pre-wrap;word-break:break-word;font-size:12px;line-height:1.55;max-height:180px;overflow:auto}
@media(max-width:680px){.tm-lang-toggle{padding:7px 10px;gap:6px;min-height:35px}.tm-lang-switch{font-size:11px}.tm-lang-options{min-width:165px}}
/* Precise placement for the existing TALENTMOGO custom HTML header. */
#atp-header .atp-nav>.tm-lang-menu-item{display:inline-flex!important;flex:0 0 auto;align-items:center;position:relative;}
#atp-header .tm-lang-toggle{color:#14395a;background:#f7f9fc;border-color:#dce5ed;}
#atp-header .tm-lang-toggle:hover{border-color:#dcb66d;background:#fff8e7;}
#atp-header .atp-nav .tm-lang-options a.tm-lang-option{display:flex!important;position:static!important;padding:11px 12px!important;}
#atp-header .tm-lang-mobile-selector{display:none!important;}
@media(max-width:1470px){#atp-header .atp-nav>.tm-lang-menu-item .tm-lang-toggle>span{display:none}}
@media(max-width:1080px){#atp-header .tm-lang-mobile-selector{display:flex!important;justify-content:flex-start;border-top:1px solid #e5ecf3;padding:15px 5px;margin-top:7px;}
#atp-header .tm-lang-mobile-selector .tm-lang-toggle{width:100%;justify-content:flex-start;padding:12px 16px;background:#f5f8fb;}
#atp-header .tm-lang-mobile-selector .tm-lang-options{left:5px;right:auto;top:auto;bottom:calc(100% - 10px);min-width:210px;}
#atp-header .tm-lang-mobile-selector .tm-lang-toggle>span{display:inline!important;}}
