/* MISTER FAST LiveMapChat WEB Theme V2.1.1
   Login / Logout / Account contrast patch
   WEB only — no MINI selectors. */

.mf-web-workspace-v21 .mf545-auth-state,
.mf-web-workspace-v21 .mf545-auth-state:link,
.mf-web-workspace-v21 .mf545-auth-state:visited,
.mf-web-workspace-v21 .mf545-auth-state:hover,
.mf-web-workspace-v21 .mf545-auth-state:focus,
.mf-web-workspace-v21 .mf545-auth-state:active {
  color: #fff !important;
  text-decoration: none !important;
}

.mf-web-workspace-v21 .mf545-auth-state {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 42px;
  min-height: 38px;
  padding: 7px 11px !important;
  border: 1px solid rgba(255,255,255,.34) !important;
  border-radius: 12px !important;
  background: #003DA5 !important;
  box-shadow: 0 5px 14px rgba(0,61,165,.18);
  font: inherit;
  font-weight: 800 !important;
  line-height: 1;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.mf-web-workspace-v21 .mf545-auth-state > span:first-child {
  color: #fff !important;
}

.mf-web-workspace-v21 .mf545-auth-state .mf-auth-label {
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

/* Guest: white label on royal blue; gold on hover. */
.mf-web-workspace-v21 .mf545-auth-state.is-guest:hover,
.mf-web-workspace-v21 .mf545-auth-state.is-guest:focus-visible {
  background: #FFC400 !important;
  border-color: #FFC400 !important;
  color: #003DA5 !important;
  transform: translateY(-1px);
}

.mf-web-workspace-v21 .mf545-auth-state.is-guest:hover > span,
.mf-web-workspace-v21 .mf545-auth-state.is-guest:focus-visible > span,
.mf-web-workspace-v21 .mf545-auth-state.is-guest:hover .mf-auth-label,
.mf-web-workspace-v21 .mf545-auth-state.is-guest:focus-visible .mf-auth-label {
  color: #003DA5 !important;
}

/* Logged in: white logout label; red only on hover. */
.mf-web-workspace-v21 .mf545-auth-state.is-online {
  background: #003DA5 !important;
  color: #fff !important;
}

.mf-web-workspace-v21 .mf545-auth-state.is-online:hover,
.mf-web-workspace-v21 .mf545-auth-state.is-online:focus-visible {
  background: #D92D20 !important;
  border-color: #D92D20 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Account profile on blue sidebar must always remain readable. */
.mf-web-workspace-v21 .mf514-sidebar .mf514-user,
.mf-web-workspace-v21 .mf514-sidebar .mf514-user b,
.mf-web-workspace-v21 .mf514-sidebar .mf514-user small {
  color: #fff !important;
}

.mf-web-workspace-v21 .mf514-sidebar .mf514-user em {
  color: #BDF8D3 !important;
}

.mf-web-workspace-v21 .mf514-sidebar .mf514-user em i {
  background: #42D77D !important;
  box-shadow: 0 0 0 3px rgba(66,215,125,.18);
}

@media (max-width: 1180px) {
  .mf-web-workspace-v21 .mf545-auth-state .mf-auth-label {
    display: none;
  }
  .mf-web-workspace-v21 .mf545-auth-state {
    min-width: 38px;
    padding-inline: 9px !important;
  }
}
