:host { display: inline-block; min-width: auto; }
.language-selector { position: relative; z-index: 100; display: inline-flex; align-items: flex-end; flex-direction: column; }
.language-selector > button { box-sizing: border-box; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; cursor: pointer; border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background-color: var(--fds-header-interaction-high); color: var(--fds-on-header); }
.language-selector > button:hover { background-color: var(--fds-header-interaction-medium); }
.language-selector > button .name { font: var(--fds-paragraphs-small); }
:host(.compact-flag) .language-selector > button, :host(.compact-flag-alternate) .language-selector > button { overflow: hidden; }
:host(.compact-flag) .language-selector > button .flag { width: 100%; height: 100%; }
.overlay { position: fixed; inset: 0px; z-index: 50; }
.dropdown { position: absolute; z-index: 200; top: 44px; min-width: 300px; border-radius: var(--fds-border-radius-container-default); background-color: var(--fds-surface-variant); color: var(--fds-on-surface-hi); padding: var(--fds-spacing-200); box-shadow: var(--fds-elevation-on-surface-02); }
:host(.compact-flag-alternate) .dropdown { top: 40px; right: 0px; left: auto; width: 320px; min-width: 320px; max-width: calc(100vw - var(--fds-spacing-200)); border: 2px solid var(--fds-on-surface-ulow); box-shadow: var(--fds-elevation-on-surface-03); font: var(--fds-paragraphs-lead-bold); }
.title { font: var(--fds-paragraphs-lead-bold); }
:host(.footer) .language-selector { align-items: flex-start; }
:host(.footer) .language-selector > button { height: 100%; display: inline-flex; align-items: center; justify-content: center; padding: var(--fds-spacing-150); min-width: 150px; background-color: var(--fds-alternate-surface-variant); color: var(--fds-on-alternate-surface-m); font: var(--fds-paragraphs-lead-bold); border-radius: var(--fds-border-radius-btn-default); gap: var(--fds-spacing-050); text-wrap: nowrap; }
:host(.footer) .language-selector > button:hover { background-color: var(--fds-alternate-surface-accent, var(--fds-alternate-surface-variant)); }
:host(.footer) .language-selector > button .flag { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; }
:host(.compact-flag-alternate) .language-selector > button .flag { display: block; width: var(--fds-spacing-300); height: var(--fds-spacing-300); border-radius: 50%; object-fit: cover; }
.language-list { display: flex; flex-direction: column; gap: var(--fds-spacing-100); }
@container (max-width: 480px) {
  :host(.compact-flag-alternate) .dropdown { position: fixed; top: 48px; left: var(--fds-spacing-100); right: var(--fds-spacing-100); width: auto; min-width: calc(100vw - var(--fds-spacing-200)); max-width: calc(100vw - var(--fds-spacing-200)); box-sizing: border-box; }
}
:host(.footer) .language-selector > button .name { overflow: hidden; text-align: start; text-overflow: ellipsis; white-space: nowrap; font: var(--fds-paragraphs-lead-bold); }
:host(.footer) .language-selector > button .chevron { flex-shrink: 0; transition: transform 300ms; display: none; }
:host(.footer) .dropdown { top: auto; bottom: 100%; width: max-content; min-width: 240px; padding: 0px; }

button{font-family:"Outfit",Arial,sans-serif}