/* Retter-Portal v1.3.3 – isolated header and support-category polish only. */

/* Accounts without an elevated portal role get the same calm account container
   as accounts that also show a role badge. */
html body .topbar .topbar-desktop-shell .topbar-account-info.name-only{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:150px!important;
  max-width:280px!important;
  min-height:42px!important;
  margin:0!important;
  padding:4px 12px!important;
  border:1px solid var(--line-soft)!important;
  border-radius:14px!important;
  background:rgba(148,163,184,.06)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
html body .topbar .topbar-desktop-shell .topbar-account-info.name-only .user-chip{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  max-width:250px!important;
  min-height:32px!important;
  margin:0!important;
  padding:0 8px!important;
  border:0!important;
  background:transparent!important;
  color:var(--text)!important;
  font-size:.9rem!important;
  font-weight:950!important;
  line-height:1.15!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Make the selected ticket category unmistakable without changing the form. */
html body .support-form .support-choice-card{
  position:relative!important;
  overflow:hidden!important;
}
html body .support-form .support-choice-card:has(input:checked){
  border-color:var(--accent)!important;
  outline:3px solid color-mix(in srgb,var(--accent) 28%,transparent)!important;
  outline-offset:0!important;
  background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 15%,var(--surface)),color-mix(in srgb,var(--accent) 7%,var(--surface-2)))!important;
  box-shadow:0 14px 34px color-mix(in srgb,var(--accent) 18%,transparent),inset 0 0 0 1px color-mix(in srgb,var(--accent) 55%,transparent)!important;
}
html body .support-form .support-choice-card:has(input:checked)::after{
  content:"Ausgewählt";
  position:absolute;
  top:10px;
  right:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:25px;
  padding:4px 8px;
  border-radius:999px;
  background:var(--accent);
  color:#fff;
  font-size:.61rem;
  font-weight:950;
  line-height:1;
  letter-spacing:.06em;
  text-transform:uppercase;
  box-shadow:0 8px 20px color-mix(in srgb,var(--accent) 24%,transparent);
}

@media (min-width:761px) and (max-width:1180px),
       (min-width:1181px) and (max-width:1366px) and (hover:none) and (pointer:coarse){
  html body .topbar .topbar-desktop-shell .topbar-account-info.name-only{
    min-width:135px!important;
    max-width:230px!important;
    padding-inline:9px!important;
  }
  html body .topbar .topbar-desktop-shell .topbar-account-info.name-only .user-chip{
    max-width:205px!important;
    font-size:.84rem!important;
  }
}

@media (max-width:680px){
  html body .support-form .support-choice-card:has(input:checked)::after{
    top:9px;
    right:9px;
  }
}
