/* BSOURIA V105 — desktop header only.
   Keep the theme/language utility control the same compact height and corner
   radius as the CV Builder button. Mobile is intentionally untouched. */
@media (min-width: 701px) {
  .topbar .header-utility-group {
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 2px !important;
    gap: 1px !important;
    border-radius: 11px !important;
    box-sizing: border-box !important;
  }

  .topbar .header-utility-group :is(
    .theme-toggle,
    .user-notification-toggle,
    .language-current,
    .user-profile-toggle
  ) {
    height: 34px !important;
    min-height: 34px !important;
    border-radius: 9px !important;
    margin: 0 !important;
  }

  .topbar .header-utility-group :is(.theme-toggle, .user-notification-toggle) {
    width: 34px !important;
    min-width: 34px !important;
    flex: 0 0 34px !important;
    padding: 0 !important;
  }

  .topbar .header-utility-group .language-current {
    width: 48px !important;
    min-width: 48px !important;
    padding-inline: 6px !important;
    gap: 4px !important;
  }

  .topbar .header-utility-group .language-flag {
    width: 23px !important;
    height: 15px !important;
  }

  .topbar .header-utility-group .header-control-icon {
    width: 18px !important;
    height: 18px !important;
    font-size: 18px !important;
  }
}

/* V106 — desktop only: simplify the language selector itself.
   Remove its own border and make its small indicator/menu text more compact. */
@media (min-width: 701px) {
  .topbar .header-utility-group .language-current {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 12px !important;
  }

  .topbar .header-utility-group .language-current:hover,
  .topbar .header-utility-group .language-current[aria-expanded="true"] {
    border: 0 !important;
    box-shadow: none !important;
  }

  .topbar .header-utility-group .language-chevron {
    font-size: 9px !important;
  }

  .topbar .language-menu a {
    font-size: 13px !important;
  }
}
