/* Compact language picker and complete footer row for FXCityPro V21. */
.site-header .nav { gap: 14px; }
.fc-language-picker { position: relative; display: inline-block; flex: 0 0 auto; margin: 0; font-family: inherit; }
.fc-language-current { display: flex; align-items: center; gap: 8px; min-height: 44px; max-width: 208px; margin: 0; padding: 9px 11px; border: 1px solid #5c573e; border-radius: 9px; color: #f0dfbd; background: #0b1c2d; font-size: 13px; font-weight: 700; line-height: 1.35; cursor: pointer; list-style: none; }
.fc-language-current::-webkit-details-marker { display: none; }
.fc-language-current::marker { content: ""; }
.fc-language-current bdi { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-language-code { display: none; }
.fc-language-picker .fc-language-flag { display: block; flex: 0 0 24px; width: 24px; height: 18px; max-width: 24px; margin: 0; object-fit: contain; border: 0; border-radius: 2px; }
.fc-language-chevron { display: block; flex: 0 0 12px; margin-inline-start: auto; }
.fc-language-picker[open] .fc-language-chevron { transform: rotate(180deg); }
.fc-language-current:hover, .fc-language-picker[open] > .fc-language-current { border-color: #ddb86f; color: #fff; }
.fc-language-panel { box-sizing: border-box; position: absolute; z-index: 1200; inset-inline-end: 0; top: calc(100% + 10px); width: min(360px, calc(100vw - 32px)); max-height: min(520px, calc(100dvh - 105px)); overflow-y: auto; overscroll-behavior: contain; padding: 14px; border: 1px solid #5c573e; border-radius: 12px; color: #dceaf6; background: #07121f; box-shadow: 0 20px 50px #0006; text-align: start; }
.fc-language-picker:not([open]) > .fc-language-panel { display: none; }
.fc-language-panel > .fc-language-heading { margin: 0 0 10px; color: #f0dfbd; font-size: 13px; font-weight: 700; }
.fc-language-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
.fc-language-picker .fc-language-options > a.fc-language-option { display: flex; align-items: center; gap: 8px; min-height: 46px; margin: 0; padding: 9px 8px; border: 1px solid transparent; border-radius: 8px; color: #dceaf6; font-size: 13px; font-weight: 600; line-height: 1.35; text-decoration: none; text-align: start; white-space: normal; }
.fc-language-option bdi { min-width: 0; overflow-wrap: anywhere; }
.fc-language-picker .fc-language-options > a:hover { background: #12324d; border-color: #516273; }
.fc-language-picker .fc-language-options > a.active { background: #302b20; border-color: #6f592a; color: #f0dfbd; }
.fc-language-current:focus-visible, .fc-language-option:focus-visible, .fc-language-row a:focus-visible { outline: 2px solid #ddb86f; outline-offset: 3px; }
.fc-language-footer { box-sizing: border-box; width: calc(100% - 32px); max-width: 1180px; margin: 24px auto 0; padding: 20px 0 10px; border-top: 1px solid #ffffff20; }
.fc-language-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 5px 7px; }
.fc-language-footer .fc-language-row > a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 9px; border: 1px solid transparent; border-radius: 7px; color: #c9d9e8; font-size: 13px; font-weight: 600; line-height: 1.4; text-decoration: none; white-space: nowrap; }
.fc-language-footer .fc-language-row > a:hover { color: #fff; background: #12324d; }
.fc-language-footer .fc-language-row > a.active { color: #f0dfbd; background: #302b20; border-color: #6f592a; }
.error-page-body .fc-language-footer { padding: 16px; margin-bottom: 24px; background: #07121f; border-radius: 12px; }
.report-toolbar .fc-report-languages { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 10px; }
.fc-report-languages a[aria-current="page"] { color: #fff; font-weight: 700; }
.fc-report-note, .fc-report-legend { max-width: 820px; margin: 12px auto; color: #142c3f; font: 13px/1.5 Tahoma,Arial,sans-serif; }
.fc-report-note a { color: #164c72; }
html[lang="id"] h1, html[lang="id"] h2, html[lang="id"] h3 { overflow-wrap: break-word; text-wrap: balance; }
@media(max-width:1120px) {
  .site-header .nav > .brand { order: 1; }
  .site-header .fc-language-picker { order: 2; margin-inline-start: auto; }
  .site-header .menu-toggle { order: 3; margin-inline-start: 0; flex: 0 0 44px; }
  .site-header .nav-links { order: 4; }
}
@media(max-width:600px) {
  .site-header .nav { gap: 10px; }
  .fc-language-current { gap: 6px; padding-inline: 8px; }
  .fc-language-current bdi { display: none; }
  .fc-language-code { display: inline; font-size: 12px; }
  .fc-language-panel { position: fixed; top: 84px; left: 16px; right: 16px; width: auto; }
  .fc-language-row { gap: 4px; }
  .fc-language-footer .fc-language-row > a { padding: 8px; font-size: 12px; }
  .report-toolbar .fc-report-languages { justify-content: center; }
}
@media(max-width:360px) {
  .site-header .container { width: calc(100% - 24px); }
  .site-header .brand { gap: 7px; font-size: 1.06rem; }
  .site-header .nav { gap: 7px; }
  .site-header .menu-toggle { width: 40px; flex-basis: 40px; }
}
