/* FEBRY.OPS V505 | Service landing pages only, confirmed guests only.
   The original header is preserved intact and shown for authenticated users. */
@media(min-width:1051px){
 html.fo-services-guest-v505 [data-fo-v505-original]{display:none!important}
 html.fo-services-guest-v505 .fo-v505-servicebar{
  position:relative!important;inset:auto!important;z-index:2147482010!important;
  display:flex!important;flex-flow:row nowrap!important;align-items:center!important;
  justify-content:space-between!important;box-sizing:border-box!important;
  gap:15px!important;width:100%!important;min-width:0!important;min-height:70px!important;
  height:70px!important;margin:0!important;padding:10px clamp(18px,3.2vw,62px)!important;
  border:0!important;border-bottom:1px solid #27382d!important;
  background:#090d0b!important;color:#f5f9f3!important;box-shadow:none!important;
  font-family:inherit!important;text-transform:none!important;overflow:visible!important
 }
 html.fo-services-guest-v505 .fo-v505-logo{display:flex!important;align-items:center!important;flex:0 0 145px!important;min-width:0!important;width:145px!important;margin:0!important;padding:0!important;text-decoration:none!important}
 html.fo-services-guest-v505 .fo-v505-logo img{display:block!important;width:145px!important;height:auto!important;max-height:46px!important;object-fit:contain!important;object-position:left center!important;filter:none!important;opacity:1!important}
 html.fo-services-guest-v505 .fo-v505-servicebar>.fo-v459-shell{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;height:auto!important;margin:0 0 0 auto!important;padding:0!important;order:1!important;border:0!important;background:none!important;position:relative!important;z-index:2!important}
 html.fo-services-guest-v505 .fo-v505-servicebar .fo-v459-groups{display:flex!important;align-items:center!important;flex-flow:row nowrap!important;justify-content:flex-end!important;width:auto!important;min-width:0!important;gap:3px!important;white-space:nowrap!important;margin:0!important;padding:0!important;background:none!important;transform:none!important;position:static!important;opacity:1!important;visibility:visible!important}
 html.fo-services-guest-v505 .fo-v505-servicebar .fo-v459-category{margin:0!important;max-width:none!important;flex:0 0 auto!important;overflow:visible!important;background:transparent!important;border:0!important}
 html.fo-services-guest-v505 .fo-v505-servicebar .fo-v459-category>summary{display:flex!important;align-items:center!important;gap:5px!important;font:750 11px/1.2 system-ui,sans-serif!important;white-space:nowrap!important;padding:9px 6px!important;min-height:36px!important;height:auto!important;background:transparent!important;border:0!important;border-radius:8px!important;color:#f5f9f3!important;-webkit-text-fill-color:#f5f9f3!important}
 html.fo-services-guest-v505 .fo-v505-servicebar .fo-v459-category[open]>summary{background:#142017!important;color:#b6ff40!important;-webkit-text-fill-color:#b6ff40!important}
 html.fo-services-guest-v505 .fo-v505-servicebar .fo-v459-groups>.fo-v469-topup{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;height:38px!important;margin:0 0 0 8px!important;padding:9px 14px!important;font:850 11px/1 system-ui,sans-serif!important;background:#b6ff40!important;color:#090d0b!important;-webkit-text-fill-color:#090d0b!important;border-radius:9px!important;text-decoration:none!important;border:0!important;white-space:nowrap!important;box-shadow:none!important}
 html.fo-services-guest-v505 .fo-v505-servicebar>.fa-account{display:flex!important;align-items:center!important;position:relative!important;order:2!important;flex:0 0 auto!important;margin:0 0 0 3px!important;min-width:0!important}
 html.fo-services-guest-v505 .fo-v505-servicebar :is(.fa-guest,.fo-v505-auth){display:flex!important;align-items:center!important;gap:6px!important}
 html.fo-services-guest-v505 .fo-v505-servicebar :is(.fa-login,.fa-register,.fo-v505-auth a){display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;height:38px!important;margin:0!important;padding:8px 12px!important;border:1px solid #34523a!important;border-radius:9px!important;font:750 11px/1 system-ui,sans-serif!important;color:#f5f9f3!important;-webkit-text-fill-color:#f5f9f3!important;text-decoration:none!important;background:#121b15!important;box-shadow:none!important;white-space:nowrap!important}
 html.fo-services-guest-v505 .fo-v505-servicebar :is(.fa-register,.fo-v505-auth a:last-child){background:#b6ff40!important;border-color:#b6ff40!important;color:#090d0b!important;-webkit-text-fill-color:#090d0b!important}
 html.fo-services-guest-v505 .fo-v505-servicebar .fo-v459-dropdown{z-index:2147483000!important;min-width:260px!important;max-height:min(75dvh,620px)!important;overflow-y:auto!important}
 html.fo-services-guest-v505 .fo-v505-servicebar .fo-v459-category:first-child>.fo-v459-dropdown{min-width:288px!important}
 html.fo-services-guest-v505 .fo-v505-servicebar .fo-v504-guest-panel{white-space:normal!important}
 html.fo-services-guest-v505 .fo-v505-servicebar :is(.fo-v459-mobile-trigger,.fo-v493-trigger){display:none!important}
 html.fo-services-guest-v505 .fo-v505-servicebar :is(.fo-v459-category>summary,.fa-login,.fa-register):focus-visible{outline:2px solid #b6ff40!important;outline-offset:2px!important}
}
@media(min-width:1051px) and (max-width:1199px){
 html.fo-services-guest-v505 .fo-v505-servicebar{padding-inline:18px!important;gap:9px!important}
 html.fo-services-guest-v505 .fo-v505-logo{width:119px!important;flex-basis:119px!important}
 html.fo-services-guest-v505 .fo-v505-logo img{width:119px!important}
 html.fo-services-guest-v505 .fo-v505-servicebar .fo-v459-category>summary{font-size:10px!important;padding-inline:4px!important}
 html.fo-services-guest-v505 .fo-v505-servicebar .fo-v459-groups>.fo-v469-topup{margin-left:4px!important;padding-inline:9px!important}
 html.fo-services-guest-v505 .fo-v505-servicebar :is(.fa-login,.fa-register){padding-inline:9px!important}
}
/* Mobile uses the existing shared hamburger from V501, which already preserves native account events. */
@media(max-width:1050px){
 html.fo-guest-v504 .fo-v505-servicebar{display:none!important}
}
/* The original V504 guest menu retains theme / hide / language / font. Remove legacy floating controls only.
   Nothing below affects authenticated users because it is scoped by .fo-guest-v504. */
html.fo-guest-v504 body > :is(.fo-theme-floating,.fo-hide-v457-mount,.febry-font-fallbackbar,.febry-v317-fallbackbar){display:none!important}
html.fo-services-guest-v505 body .fo-v505-servicebar + [data-fo-v505-original] :is(.fo-hide-v457-mount,.fo-hide-v457,.febry-font-scale,.febry-lang-trigger){display:none!important}
/* Keep selected user theme on the canonical guest-only header. */
@media(min-width:1051px){
 :root.fo-services-guest-v505:is([data-fo-theme="light"],[data-theme="light"]) .fo-v505-servicebar{background:#fff!important;color:#18231b!important;border-color:#dae2db!important}
 :root.fo-services-guest-v505:is([data-fo-theme="light"],[data-theme="light"]) .fo-v505-servicebar .fo-v459-category>summary{color:#18231b!important;-webkit-text-fill-color:#18231b!important}
 :root.fo-services-guest-v505:is([data-fo-theme="light"],[data-theme="light"]) .fo-v505-servicebar .fo-v459-category[open]>summary{background:#f2f7ec!important;color:#46770b!important;-webkit-text-fill-color:#46770b!important}
 :root.fo-services-guest-v505:is([data-fo-theme="light"],[data-theme="light"]) .fo-v505-servicebar :is(.fa-login,.fo-v505-auth a:first-child){background:#fff!important;color:#18231b!important;-webkit-text-fill-color:#18231b!important;border-color:#dae2db!important}
}
