/* LinRT V13.2 — public osTicket customer portal only; native staff / scp untouched.
   Preserves external shell from V1 and moves session controls to the far right of #nav.
   EN/ES/DE/FR/IT text selector mirrors commercial & wiki; enabled according to osTicket settings. */
/* LinRT V13.1: match commercial and wiki: menu and language switcher on ONE desktop line. */
#header { display:flex; flex-direction:row; justify-content:space-between; align-items:center; }
#header .linrt-v13-header-right {
    display:flex; flex:1 1 auto; flex-direction:row; align-items:center;
    justify-content:flex-end; gap:clamp(14px,2.0vw,32px); min-width:0;
}
#header .linrt-external-links {
    display:flex; flex:0 1 auto; align-items:center; justify-content:flex-end;
    gap:7px clamp(8px,1.1vw,18px); flex-wrap:nowrap; min-width:0;
}
#header .linrt-external-links a { white-space:nowrap; line-height:1.45; }
#header .linrt-v13-languages {
    display:flex; flex:0 0 auto; justify-content:flex-end; align-items:center;
    flex-wrap:nowrap; gap:4px;
}
#header .linrt-v13-languages a,#header .linrt-v13-languages span { font-size:11px; font-weight:800; letter-spacing:.4px; color:#657d8c; padding:6px 8px; border-radius:6px; text-decoration:none; }
#header .linrt-v13-languages a:hover { background:#eaf4f7; }
#header .linrt-v13-languages a.current { color:#fff; background:#0b2039; }
#header .linrt-v13-languages .linrt-v13-language-disabled { opacity:.38; cursor:not-allowed; }
#nav.linrt-v13-nav { width:100%; min-height:51px; margin:0; padding:8px 22px; display:flex; align-items:center; gap:9px 17px; flex-wrap:wrap;
 border-bottom:1px solid #dbe6ee; background:#f8fbfd; }
#nav .linrt-v13-native-links { margin:0; padding:0; display:flex; flex-wrap:wrap; gap:3px; list-style:none; min-width:0; }
#nav .linrt-v13-native-links li { float:none; list-style:none; margin:0; }
/* Native osTicket links become the same rounded light buttons as the LinRT navigation controls. */
#nav .linrt-v13-native-links li a {
  box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center;
  min-height:35px; width:auto; height:auto; margin:0; padding:7px 11px;
  border:1px solid #c6dce4; border-radius:8px;
  background:#fff none; color:#123653; font-size:12px;
  line-height:1.4; font-weight:800; text-decoration:none; text-shadow:none;
  transition:background-color .15s ease,border-color .15s ease,color .15s ease;
}
#nav .linrt-v13-native-links li a:hover {
  border-color:#8ecfcf; background:#eaf8f6; color:#0b5967; text-decoration:none;
}
#nav .linrt-v13-native-links li a.active,
#nav .linrt-v13-native-links li a[aria-current="page"] {
  border-color:#75c6c5; background:#d8f3ef; color:#0b5967;
}
#nav .linrt-v13-native-links li a:focus-visible { outline:3px solid #e6aa39; outline-offset:2px; }

#nav .linrt-v13-choices { display:flex; gap:7px; align-items:center; min-width:0; }
#nav .linrt-v13-choices label { margin:0; font-size:11px; font-weight:800; color:#3b5870; white-space:nowrap; }
#nav .linrt-v13-choices select { appearance:auto; background:#fff; width:auto; max-width:150px; padding:7px 7px; border:1px solid #cfdee6; color:#193f5b;
 border-radius:8px; font-size:12px; font-weight:650; line-height:1.3; }
#nav .linrt-v13-session { display:flex; align-items:center; justify-content:flex-end; gap:11px; margin-left:auto; min-width:0; }
#nav .linrt-v13-session a { font-size:12px; font-weight:800; text-decoration:none; white-space:nowrap; }
#nav .linrt-v13-session .linrt-v13-session-button { padding:7px 12px; border:1px solid #c6dce4; border-radius:8px; background:#fff; color:#123653; }
#nav .linrt-v13-session .linrt-v13-session-button:hover { background:#eaf8f6; }
@media(max-width:1050px) { #nav.linrt-v13-nav { gap:8px; } #nav .linrt-v13-native-links { width:100%; } }
@media(max-width:940px) {
    #header { flex-wrap:wrap; gap:8px 12px; }
    #header .linrt-v13-header-right { flex:1 1 100%; width:100%; justify-content:space-between; gap:9px; }
}
@media(max-width:720px) {
    #header { flex-direction:column; align-items:stretch; gap:12px; }
    #header .linrt-v13-header-right { align-items:center; justify-content:space-between; }
    #header .linrt-external-links { justify-content:flex-start; flex-wrap:wrap; }
    #header .linrt-v13-languages { justify-content:flex-end; }
    #nav.linrt-v13-nav { padding:9px 11px; }
    #nav .linrt-v13-native-links { width:100%; }
    #nav .linrt-v13-choices { width:100%; flex-wrap:wrap; }
    #nav .linrt-v13-session { width:100%; justify-content:flex-end; }
}
@media(max-width:540px) {
    #header .linrt-v13-header-right { flex-direction:column; align-items:stretch; gap:7px; }
    #header .linrt-external-links { gap:5px 11px; justify-content:flex-start; }
    #header .linrt-v13-languages { justify-content:flex-start; }
}
@media(max-width:440px) { #nav .linrt-v13-choices select { max-width:calc(50vw - 43px); } }
/* LinRT V13.2: social profiles regain the bordered, rounded card style of the commercial/Wiki footer. */
#footer.linrt-helpdesk-footer .linrt-helpdesk-social nav { gap:9px; }
#footer.linrt-helpdesk-footer .linrt-helpdesk-social nav a {
  display:inline-flex; align-items:center; gap:7px; padding:5px 11px 5px 6px;
  border:1px solid rgba(132,182,202,.28); border-radius:10px;
  background:rgba(255,255,255,.05); box-shadow:none;
  text-decoration:none; color:#eff9fb; font-size:12px; font-weight:750; line-height:1.4;
}
#footer.linrt-helpdesk-footer .linrt-helpdesk-social nav a:hover {
  border-color:#7bdbd5; background:rgba(100,205,198,.12); text-decoration:none;
}
#footer.linrt-helpdesk-footer .linrt-helpdesk-social nav a img {
  width:24px; height:24px; display:block; border:0; border-radius:6px; box-shadow:none;
}
#footer.linrt-helpdesk-footer .linrt-helpdesk-social nav a:focus-visible {
  outline:3px solid #e6aa39; outline-offset:2px;
}
/* Footer bottom matches the Wiki/commercial copyright line. */
#footer.linrt-helpdesk-footer .linrt-helpdesk-copyright {
    display:flex; align-items:center; justify-content:space-between;
    gap:8px 16px; padding:17px 8px 3px; margin:0;
    text-align:left; font-size:11px; line-height:1.6; color:#a8bfc9;
}
#footer.linrt-helpdesk-footer .linrt-helpdesk-copyright-brand { flex:0 1 auto; font-weight:650; }
#footer.linrt-helpdesk-footer .linrt-helpdesk-copyright-links { display:inline-flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:5px; }
#footer.linrt-helpdesk-footer .linrt-helpdesk-copyright a { color:#c5edf2; }
@media(max-width:600px) {
  #footer.linrt-helpdesk-footer .linrt-helpdesk-copyright {
      flex-direction:column; align-items:flex-start; padding-left:4px; padding-right:4px;
  }
  #footer.linrt-helpdesk-footer .linrt-helpdesk-copyright-links { justify-content:flex-start; }
}

/* V13.3 — real footer MENU is <nav class="linrt-helpdesk-footer-card">,
   not a <nav> inside a footer card. Give its direct links one row each. */
#footer.linrt-helpdesk-footer nav.linrt-helpdesk-footer-card {
  display:flex; flex-direction:column; align-items:stretch;
  justify-content:flex-start; gap:7px;
}
#footer.linrt-helpdesk-footer nav.linrt-helpdesk-footer-card > h3 {
  margin:0 0 5px;
}
#footer.linrt-helpdesk-footer nav.linrt-helpdesk-footer-card > a {
  display:block; width:100%; margin:0; padding:0;
  line-height:1.65; overflow-wrap:anywhere;
}
/* V13.3 — header divider matches Wiki and commercial on desktop. */
#header .linrt-v13-languages {
  border-left:1px solid #d9e6ed;
  padding-left:11px;
  margin-left:1px;
}
@media(max-width:540px) {
  #header .linrt-v13-languages {
    border-left:0; padding-left:0; margin-left:0;
  }
}
