/* ForeFlight-Inspired Aviation Interface Styles */

:root {
  /* ForeFlight Color Scheme */
  --ff-primary-blue: #1e3a8a;
  --ff-secondary-blue: #2563eb;
  --ff-dark-blue: #1e293b;
  --ff-light-blue: #3b82f6;
  --ff-accent-blue: #60a5fa;

  /* UI Colors */
  --ff-sidebar-bg: #1e293b;
  --ff-sidebar-hover: #334155;
  --ff-sidebar-active: #3b82f6;
  --ff-panel-bg: #f8fafc;
  --ff-panel-border: #e2e8f0;
  --ff-control-bg: #ffffff;
  --ff-text-primary: #0f172a;
  --ff-text-secondary: #64748b;
  --ff-text-light: #cbd5e1;

  /* Layout */
  --ff-sidebar-width: 240px;
  --ff-panel-width: 320px;
  --ff-header-height: 60px;

  /* Shadows */
  --ff-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --ff-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --ff-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Reset and Base */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f1f5f9;
  color: var(--ff-text-primary);
  overflow: hidden;
}

/* Main App Layout */
.foreflight-app {
  display: flex;
  height: 100vh;
  width: 100vw;
}

/* Sidebar Navigation */
.ff-sidebar {
  width: var(--ff-sidebar-width);
  background: var(--ff-sidebar-bg);
  color: var(--ff-text-light);
  display: flex;
  flex-direction: column;
  box-shadow: var(--ff-shadow-lg);
  z-index: 100;
  transition: width 0.3s ease, margin-left 0.3s ease;
}

/* Collapsed sidebar */
.foreflight-app.sidebar-collapsed .ff-sidebar {
  width: 60px;
}

.foreflight-app.sidebar-collapsed .ff-logo-content,
.foreflight-app.sidebar-collapsed .ff-nav-item span,
.foreflight-app.sidebar-collapsed .ff-ai-response {
  display: none;
}

.foreflight-app.sidebar-collapsed .ff-sidebar-toggle i {
  transform: rotate(180deg);
}

.ff-logo {
  padding: 20px;
  border-bottom: 1px solid #334155;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.ff-logo-content {
  flex: 1;
}

.ff-sidebar-toggle {
  background: none;
  border: none;
  color: var(--ff-text-light);
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
  opacity: 0.7;
}

.ff-sidebar-toggle:hover {
  background: var(--ff-sidebar-hover);
  opacity: 1;
}

.ff-sidebar-toggle i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

/* Enhanced visibility when sidebar is collapsed */
.foreflight-app.sidebar-collapsed .ff-sidebar-toggle {
  background: var(--ff-light-blue);
  color: white;
  opacity: 1;
  padding: 8px;
  border-radius: 6px;
  box-shadow: var(--ff-shadow-md);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.foreflight-app.sidebar-collapsed .ff-sidebar-toggle:hover {
  background: var(--ff-primary-blue);
  box-shadow: var(--ff-shadow-lg);
}

.foreflight-app.sidebar-collapsed .ff-logo {
  justify-content: center;
  position: relative;
}

.ff-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--ff-light-blue), var(--ff-accent-blue));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  font-size: 14px;
}

.ff-logo-image {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
}

.ff-logo-text {
  font-size: 18px;
  font-weight: 600;
  color: white;
}

.ff-logo-subtitle {
  font-size: 11px;
  color: var(--ff-text-secondary);
  margin-top: -2px;
}

.ff-nav {
  flex: 1;
  padding: 12px 0;
}

.ff-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  color: var(--ff-text-light);
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-size: 14px;
  cursor: pointer;
}

.ff-nav-item:hover {
  background: var(--ff-sidebar-hover);
  color: white;
}

.ff-nav-item.active {
  background: var(--ff-sidebar-active);
  color: white;
  box-shadow: inset 4px 0 0 var(--ff-accent-blue);
}

.ff-nav-icon {
  width: 20px;
  height: 20px;
  opacity: 0.8;
  font-size: 16px;
}

.ff-nav-item.active .ff-nav-icon {
  opacity: 1;
}

/* Main Content Area */
.ff-main {
  flex: 1;
  display: flex;
  position: relative;
}

/* Map Container */
.ff-map-container {
  flex: 1;
  position: relative;
  background: #e2e8f0;
}

.ff-map {
  width: 100%;
  height: 100%;
  border: none;
}

/* Control Panels */
.ff-control-panel {
  position: absolute;
  top: 20px;
  right: 20px;
  width: var(--ff-panel-width);
  background: var(--ff-control-bg);
  border-radius: 12px;
  box-shadow: var(--ff-shadow-lg);
  z-index: 50;
  max-height: calc(100vh - 40px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ff-panel-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--ff-panel-border);
  background: var(--ff-panel-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px 12px 0 0;
}

.ff-panel-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ff-text-primary);
}

.ff-panel-tabs {
  display: flex;
  gap: 4px;
}

.ff-panel-tab {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ff-text-secondary);
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ff-panel-tab.active {
  background: var(--ff-light-blue);
  color: white;
}

.ff-panel-tab:hover:not(.active) {
  background: var(--ff-panel-border);
  color: var(--ff-text-primary);
}

.ff-panel-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

/* Chart and Layer Controls */
.ff-section {
  margin-bottom: 24px;
}

.ff-section:last-child {
  margin-bottom: 0;
}

.ff-section-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ff-text-secondary);
  margin-bottom: 12px;
}

.ff-control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ff-checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ff-checkbox-item:hover {
  opacity: 0.8;
}

.ff-checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid var(--ff-panel-border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background: white;
}

.ff-checkbox.checked {
  background: var(--ff-light-blue);
  border-color: var(--ff-light-blue);
  color: white;
}

.ff-checkbox-check {
  font-size: 12px;
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s ease;
}

.ff-checkbox.checked .ff-checkbox-check {
  opacity: 1;
  transform: scale(1);
}

.ff-checkbox-label {
  font-size: 14px;
  color: var(--ff-text-primary);
  flex: 1;
}

/* UTC Time Display */
.ff-utc-time {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ff-control-bg);
  border-radius: 8px;
  box-shadow: var(--ff-shadow-md);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1200;
  border: 1px solid var(--ff-panel-border);
  min-width: 120px;
  justify-content: center;
}

.ff-utc-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ff-text-secondary);
}

.ff-utc-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--ff-text-primary);
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  letter-spacing: 1px;
}

/* Map Overlay Controls */
.ff-map-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 40;
}

.ff-map-control {
  width: 44px;
  height: 44px;
  background: var(--ff-control-bg);
  border: none;
  border-radius: 8px;
  box-shadow: var(--ff-shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--ff-text-primary);
  font-size: 18px;
}

.ff-map-control:hover {
  background: var(--ff-panel-bg);
  box-shadow: var(--ff-shadow-lg);
}

.ff-map-control.active {
  background: var(--ff-light-blue);
  color: white;
}

/* Bottom Status Bar */
.ff-status-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--ff-control-bg);
  border-top: 1px solid var(--ff-panel-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 50;
  font-size: 12px;
  color: var(--ff-text-secondary);
}

.ff-status-left,
.ff-status-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ff-status-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Animation Classes */
.ff-slide-in-right {
  animation: slideInRight 0.3s ease-out;
}

.ff-slide-in-left {
  animation: slideInLeft 0.3s ease-out;
}

.ff-fade-in {
  animation: fadeIn 0.3s ease-out;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .ff-sidebar {
    width: 60px;
  }

  .ff-logo-text,
  .ff-logo-subtitle,
  .ff-nav-item span {
    display: none;
  }

  .ff-control-panel {
    width: calc(100vw - 80px);
    right: 10px;
  }

  .ff-time-selector {
    left: 70px;
    transform: none;
  }
}

/* Dark Theme Support */
@media (prefers-color-scheme: dark) {
  :root {
    --ff-panel-bg: #1e293b;
    --ff-control-bg: #334155;
    --ff-text-primary: #f1f5f9;
    --ff-text-secondary: #94a3b8;
    --ff-panel-border: #475569;
  }
}

/* Loading States */
.ff-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: var(--ff-text-secondary);
}

.ff-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--ff-panel-border);
  border-top: 3px solid var(--ff-light-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* AI Response Textbox in Sidebar */
.ff-ai-response {
  margin-top: auto;
  padding: 16px 20px;
  border-top: 1px solid #334155;
  background: rgba(51, 65, 85, 0.5);
}

.ff-ai-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ff-accent-blue);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ff-response-content {
  max-height: 120px;
  overflow-y: auto;
  font-size: 12px;
  color: var(--ff-text-light);
  line-height: 1.4;
}

.ff-response-content p {
  margin: 0;
  padding: 4px 0;
}

/* AI Chat Box at Bottom */
.ff-chat-container {
  position: fixed;
  bottom: 40px;
  left: calc(var(--ff-sidebar-width) + 20px);
  right: 20px;
  height: 280px;
  background: var(--ff-control-bg);
  border-radius: 12px 12px 0 0;
  box-shadow: var(--ff-shadow-lg);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  border: 1px solid var(--ff-panel-border);
  pointer-events: auto;
}

.ff-chat-header {
  padding: 12px 16px;
  background: var(--ff-panel-bg);
  border-bottom: 1px solid var(--ff-panel-border);
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ff-text-primary);
}

.ff-chat-header i {
  color: var(--ff-light-blue);
}

.ff-chat-minimize {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--ff-text-secondary);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.ff-chat-minimize:hover {
  background: var(--ff-panel-border);
  color: var(--ff-text-primary);
}

.ff-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ff-chat-message {
  display: flex;
  gap: 10px;
  max-width: 85%;
}

.ff-ai-message {
  align-self: flex-start;
}

.ff-user-message {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.ff-chat-message i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.ff-ai-message i {
  background: var(--ff-light-blue);
  color: white;
}

.ff-ai-typing i {
  background: var(--ff-accent-blue);
  color: white;
  animation: pulse 1.5s ease-in-out infinite;
}

.ff-ai-error i {
  background: #ef4444;
  color: white;
}

.ff-ai-typing .ff-message-content {
  font-style: italic;
  color: var(--ff-text-secondary);
}

.ff-ai-error .ff-message-content {
  color: #dc2626;
  border-left: 3px solid #ef4444;
  padding-left: 8px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.95); }
}

.ff-user-message i {
  background: var(--ff-text-secondary);
  color: white;
}

.ff-message-content {
  background: var(--ff-panel-bg);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ff-text-primary);
}

.ff-user-message .ff-message-content {
  background: var(--ff-light-blue);
  color: white;
}

.ff-message-content p {
  margin: 0;
}

.ff-chat-input-container {
  padding: 12px 16px;
  border-top: 1px solid var(--ff-panel-border);
  display: flex;
  gap: 8px;
  align-items: center;
}

.ff-chat-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--ff-panel-border);
  border-radius: 8px;
  font-size: 14px;
  background: white;
  outline: none;
  transition: all 0.2s ease;
}

.ff-chat-input:focus {
  border-color: var(--ff-light-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.ff-chat-send {
  width: 40px;
  height: 40px;
  background: var(--ff-light-blue);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.ff-chat-send:hover {
  background: var(--ff-primary-blue);
  transform: translateY(-1px);
}

.ff-chat-send:active {
  transform: translateY(0);
}

/* Chat Minimized State */
.ff-chat-container.minimized {
  height: 48px;
}

.ff-chat-container.minimized .ff-chat-messages,
.ff-chat-container.minimized .ff-chat-input-container {
  display: none;
}

/* Chart Toggle Component - ForeFlight Style */
.ff-chart-toggle {
  position: absolute;
  top: 20px;
  left: 20px !important;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 1100;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.ff-chart-toggle:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ff-chart-toggle.expanded {
  width: 280px;
  height: auto;
  border-radius: 8px;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.foreflight-app.sidebar-collapsed .ff-chart-toggle {
  left: 20px !important;
}

/* Chart Icon - Collapsed State */
.ff-chart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #374151;
  font-size: 18px;
  transition: all 0.2s ease;
}

.ff-chart-icon:hover {
  color: #1f2937;
}

/* Chart Header - Expanded State */
.ff-chart-toggle-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--ff-panel-bg);
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ff-chart-toggle-header:hover {
  background: var(--ff-panel-border);
}

.ff-chart-toggle-header i {
  color: var(--ff-light-blue);
  font-size: 16px;
}

.ff-chart-toggle-header span {
  flex: 1;
  font-weight: 600;
  font-size: 14px;
  color: var(--ff-text-primary);
}

.ff-chart-toggle-btn {
  background: none;
  border: none;
  color: var(--ff-text-secondary);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.ff-chart-toggle-btn:hover {
  background: var(--ff-panel-border);
  color: var(--ff-text-primary);
}

.ff-chart-toggle-content {
  padding: 16px;
  background: white;
  border-radius: 0 0 8px 8px;
  border-top: 1px solid var(--ff-panel-border);
}

.ff-chart-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ff-chart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: none;
  border: 1px solid var(--ff-panel-border);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
  color: var(--ff-text-primary);
}

.ff-chart-btn:hover {
  background: var(--ff-panel-bg);
  border-color: var(--ff-light-blue);
}

.ff-chart-btn.active {
  background: var(--ff-light-blue);
  border-color: var(--ff-light-blue);
  color: white;
}

.ff-chart-btn i {
  font-size: 14px;
  opacity: 0.8;
}

.ff-chart-btn.active i {
  opacity: 1;
}

/* Responsive Chat */
@media (max-width: 768px) {
  .ff-chat-container {
    left: 70px;
    right: 10px;
    height: 240px;
  }

  .ff-ai-response {
    display: none;
  }

  .ff-chart-toggle {
    left: 55px;
    width: 38px;
    height: 38px;
  }

  .ff-chart-toggle.expanded {
    width: 240px;
  }

  .foreflight-app.sidebar-collapsed .ff-chart-toggle {
    left: 55px;
  }
}

/* ===== User Profile Section (Bottom of Sidebar) ===== */

.ff-user-profile {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  margin: 0;
  margin-top: auto;
  background: rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  gap: 12px;
  position: relative;
  transition: all 0.2s ease;
  cursor: pointer;
}

.ff-user-profile:hover {
  background: rgba(255, 255, 255, 0.12);
}

.ff-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ff-light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

.ff-user-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.ff-user-name {
  font-size: 13px;
  font-weight: 400;
  color: var(--ff-text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.ff-user-role {
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ff-text-secondary);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ff-user-role.role-admin {
  color: #fca5a5;
}

.ff-user-role.role-cfi {
  color: #93c5fd;
}

.ff-user-role.role-student {
  color: #d8b4fe;
}

.ff-user-role.role-guest {
  color: #cbd5e1;
}

.ff-user-menu-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;
  font-size: 12px;
}

.ff-user-menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* User Dropdown Menu (Appears above profile at bottom) */
.ff-user-dropdown {
  position: absolute;
  bottom: 100%;
  left: 12px;
  right: 12px;
  margin-bottom: 8px;
  background: white;
  border-radius: 8px;
  box-shadow: var(--ff-shadow-lg);
  z-index: 1000;
  overflow: hidden;
  border: 1px solid var(--ff-panel-border);
}

.ff-dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
  color: var(--ff-text-primary);
  text-align: left;
  font-weight: 500;
}

.ff-dropdown-item:hover {
  background: var(--ff-panel-bg);
}

.ff-dropdown-item i {
  color: var(--ff-text-secondary);
  width: 16px;
  text-align: center;
  font-size: 14px;
}

.ff-dropdown-divider {
  margin: 4px 0;
  border: none;
  border-top: 1px solid var(--ff-panel-border);
}

/* Collapsed Sidebar - Show only avatar */
.foreflight-app.sidebar-collapsed .ff-user-profile {
  padding: 12px;
  justify-content: center;
}

.foreflight-app.sidebar-collapsed .ff-user-info,
.foreflight-app.sidebar-collapsed .ff-user-menu-btn {
  display: none;
}

.foreflight-app.sidebar-collapsed .ff-user-avatar {
  width: 32px;
  height: 32px;
  font-size: 18px;
}