/* Shared Job50 language preference picker: one compact row at any language count.
   The popover participates in the browser top layer, never in the modal's
   scrollable layout. Keep the modal's own scrollbar unchanged. */
.job50-language-preference-value { position:relative; }
.job50-language-preference-form { margin:0; }
.job50-language-picker { display:inline-block; max-width:100%; }
.job50-language-picker__trigger {
  display:inline-flex; align-items:center; justify-content:flex-end; gap:8px;
  padding:5px 0 5px 6px; margin:0; width:auto; min-width:0; max-width:100%;
  border:0; border-radius:7px; background:transparent; box-shadow:none;
  color:#1b3049; font:inherit; font-size:12px; font-weight:650;
  white-space:nowrap; cursor:pointer; line-height:1.3;
  transition:color .2s ease,background-color .2s ease;
}
.job50-language-picker__trigger:hover { color:#d81726; background:#f8f9fc; }
.job50-language-picker__trigger:focus-visible { outline:2px solid #ed1c24; outline-offset:3px; }
.job50-language-picker__selected { overflow:hidden; text-overflow:ellipsis; }
.job50-language-picker__chevron {
  display:inline-flex; align-items:center; justify-content:center;
  width:16px; height:18px; color:#8593a5; flex:none;
  font-size:17px; line-height:1;
  font-variation-settings:'FILL' 0,'wght' 350,'GRAD' 0,'opsz' 20;
  transition:transform .18s ease;
}
.job50-language-picker__trigger[aria-expanded="true"] .job50-language-picker__chevron { transform:rotate(180deg); }
.job50-language-picker__flag { display:block; width:22px; height:15px; flex:none; object-fit:cover; border-radius:2px; }
.job50-language-picker__flag-emoji { display:inline-block; flex:none; font-size:17px; line-height:1; }
.job50-language-picker__popover {
  position:fixed !important; inset:auto; margin:0 !important;
  width:248px; max-width:calc(100vw - 24px); max-height:calc(100dvh - 24px);
  padding:6px !important; overflow:hidden;
  border:1px solid #dfe5ed !important; border-radius:13px !important;
  background:#fff !important; color:#20334b; box-shadow:0 15px 40px rgba(22,39,63,.17);
  z-index:2147483647; box-sizing:border-box; font-family:inherit;
}
.job50-language-picker__popover:popover-open { display:flex; flex-direction:column; gap:4px; }
.job50-language-picker__options { overflow-y:auto; min-height:0; overscroll-behavior:contain; scrollbar-width:thin; }
.job50-language-picker__option {
  display:flex; align-items:center; gap:10px; width:100%; min-height:39px;
  margin:0; padding:9px 11px; border:0; border-radius:8px;
  background:transparent; color:#263c56; text-align:left;
  font:inherit; font-size:12px; font-weight:600; line-height:1.25;
  box-shadow:none; cursor:pointer;
  transition:color .18s ease,background-color .18s ease;
}
.job50-language-picker__option[hidden] { display:none !important; }
.job50-language-picker__option:hover,
.job50-language-picker__option:focus-visible { background:#f3f6fa; color:#dc1726; outline:none; }
.job50-language-picker__option[aria-selected="true"] { color:#c91725; background:#fff6f6; }
.job50-language-picker__option-name { flex:1; min-width:0; }
.job50-language-picker__check { flex:none; color:#ed1c24; font-size:18px; line-height:1; }
.job50-language-picker__search {
  display:flex; align-items:center; gap:7px; border:1px solid #e3e8ef;
  border-radius:9px; padding:6px 9px; background:#f8fafc;
}
.job50-language-picker__search .material-symbols-outlined { font-size:18px; color:#8b99ab; }
.job50-language-picker__search input[type="search"] {
  min-height:23px; height:25px; width:100%; min-width:0;
  margin:0; padding:0; border:0; outline:0; box-shadow:none;
  background:transparent; color:#263c56; font:inherit; font-size:12px;
}
.job50-language-picker__empty { margin:7px 8px; color:#738196; font-size:12px; text-align:center; }
@media(prefers-reduced-motion:reduce) {
  .job50-language-picker__trigger,
  .job50-language-picker__chevron,
  .job50-language-picker__option { transition:none; }
}
/* First-visit suggestion: unobtrusive and only after browser locale is detected. */
.job50-language-suggestion { position:fixed; bottom:22px; left:22px; z-index:90000; box-sizing:border-box; width:min(410px,calc(100vw - 32px)); padding:17px 19px; border:1px solid #e3e7ee; border-radius:18px; background:#fff; color:#26364b; box-shadow:0 12px 38px rgba(22,42,67,.16); opacity:0; transform:translateY(10px); transition:opacity .35s ease,transform .35s ease; }
.job50-language-suggestion.is-visible { opacity:1; transform:translateY(0); }
.job50-language-suggestion strong { font-size:15px; font-weight:750; }
.job50-language-suggestion p { margin:6px 0 15px; font-size:13px; line-height:1.55; color:#63738a; }
.job50-language-suggestion__actions { display:flex; gap:9px; justify-content:flex-end; flex-wrap:wrap; }
.job50-language-suggestion__actions button { border-radius:999px; min-height:34px; padding:7px 13px; font-size:12px; font-weight:700; cursor:pointer; transition:background .2s ease,color .2s ease; }
.job50-language-suggestion__keep { border:1px solid #e0e4eb; background:#fff; color:#566982; }
.job50-language-suggestion__switch { border:1px solid #ed1c24; background:#ed1c24; color:#fff; }
.job50-language-suggestion__switch:hover { background:#c80f1c; }
@media(max-width:500px) { .job50-language-suggestion { left:16px; bottom:16px; } }
@media(prefers-reduced-motion:reduce) { .job50-language-suggestion { transition:none; transform:none; } }
