/* Logout Button Styles - Override any global button styles */
/* This ensures the logout button always appears as a small button in the top right corner */

#global-logout-button {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  z-index: 99999 !important;
  background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%) !important;
  color: #FFFFFF !important;
  border: 2px solid #8B0000 !important;
  padding: 8px 14px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 3px 10px rgba(139, 0, 0, 0.4) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  line-height: 1 !important;
  min-width: auto !important;
  max-width: none !important;
  width: auto !important;
  margin: 0 !important;
  flex: none !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  flex-basis: auto !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
}

#global-logout-button:hover {
  background: linear-gradient(135deg, #DC143C 0%, #8B0000 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(139, 0, 0, 0.5) !important;
}

#global-session-identity {
  position: fixed !important;
  top: 20px !important;
  right: 122px !important;
  z-index: 99998 !important;
  background: #16302a !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  box-shadow: 0 3px 12px rgba(22, 48, 42, 0.28) !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  text-align: right !important;
  line-height: 1.25 !important;
  max-width: min(380px, calc(100vw - 170px)) !important;
  pointer-events: none !important;
}

#global-session-identity strong {
  display: block !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#global-session-identity span {
  display: block !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

@media (max-width: 720px) {
  #global-session-identity {
    top: 62px !important;
    right: 20px !important;
    max-width: calc(100vw - 40px) !important;
    text-align: left !important;
  }
}





