/* Layout & Components — n3xn VFS v2 */

.screen {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ===== AUTH ===== */
#auth-screen {
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, #0c0c14 0%, #050508 70%);
}

.auth-container {
  width: 380px;
  padding: 36px 32px;
  text-align: center;
}

.logo {
  font-family: var(--font-pixel);
  font-size: 28px;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: var(--glow-strong);
  margin-bottom: 4px;
}

.logo span {
  color: var(--text-dim);
}

.subtitle {
  color: var(--text-dim);
  font-size: 11px;
  margin-bottom: 28px;
  letter-spacing: 1px;
}

.auth-container .btn {
  width: 100%;
  margin-top: 8px;
}

/* ===== TOPBAR ===== */
.topbar {
  height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  gap: 12px;
  flex-shrink: 0;
  z-index: 10;
}

.brand {
  font-family: var(--font-pixel);
  font-size: 14px;
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,0.5);
  white-space: nowrap;
}

.brand span { color: var(--text-dim); }
.brand small { font-size: 10px; opacity: 0.6; margin-left: 4px; }

.path-bar {
  flex: 1;
  font-size: 12px;
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.user-area {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 12px;
  flex-shrink: 0;
}

/* ===== MAIN LAYOUT ===== */
/* Default: explorer fills the screen. When editing, switches to side-by-side. */
.main-layout {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

.workspace {
  flex: 1;
  display: flex;
  overflow: hidden;
  min-height: 0;
}

/* Sidebar / File Explorer */
.sidebar {
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border-right: 1px solid var(--border);
  overflow: hidden;
  min-width: 0;
  transition: width 0.2s ease, flex 0.2s ease;
}

/* Full-screen explorer mode (no file open) */
.main-layout.explorer-mode .sidebar {
  flex: 1;
  width: 100%;
  border-right: none;
}

.main-layout.explorer-mode .editor-area {
  display: none;
}

/* Editing mode: sidebar narrow on the left */
.main-layout.editing-mode .sidebar {
  width: 260px;
  flex: 0 0 260px;
}

.main-layout.editing-mode .editor-area {
  display: flex;
  flex: 1;
  min-width: 0;
}

.sidebar-header {
  flex-wrap: wrap;
  gap: 6px;
  min-height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  flex-shrink: 0;
}

.sidebar-actions {
  flex-wrap: wrap;
  max-width: 100%;
  gap: 4px;
  justify-content: flex-end;
  display: flex;
  gap: 2px;
}

.file-tree {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 6px 0;
  min-height: 0;
}

/* Explorer mode: richer file list */
.main-layout.explorer-mode .file-tree {
  padding: 12px 16px;
}

.main-layout.explorer-mode .tree-item {
  padding: 8px 12px;
  font-size: 13px;
  border-radius: var(--radius);
  margin-bottom: 2px;
}

.main-layout.explorer-mode .tree-item .icon {
  font-size: 16px;
}

.tree-item {
  display: flex;
  align-items: center;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 12px;
  gap: 8px;
  user-select: none;
  transition: background var(--transition);
}

.tree-item:hover {
  background: rgba(255,255,255,0.05);
}

.tree-item.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
  text-shadow: 0 0 6px rgba(255,255,255,0.3);
}

.tree-item .icon {
  width: 18px;
  text-align: center;
  flex-shrink: 0;
  opacity: 0.8;
}

.tree-item .name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.tree-item .meta {
  font-size: 10px;
  color: var(--text-dim);
  flex-shrink: 0;
}

/* Editor area */
.editor-area {
  display: none;
  flex-direction: column;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}

.editor-toolbar {
  display: flex;
  align-items: stretch;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  min-height: 34px;
}

.tabs {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  flex: 1;
  min-width: 0;
}

.run-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border-left: 1px solid var(--border);
  flex-shrink: 0;
}

.run-bar select {
  width: auto;
  min-width: 110px;
  padding: 4px 8px;
  font-size: 11px;
}

.tab {
  padding: 7px 14px;
  font-size: 12px;
  border-right: 1px solid var(--border);
  cursor: pointer;
  color: var(--text-dim);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
  flex-shrink: 0;
}

.tab:hover { color: var(--text); }
.tab.active {
  color: #fff;
  background: var(--bg);
  text-shadow: 0 0 6px rgba(255,255,255,0.3);
}

.tab .close {
  opacity: 0.4;
  font-size: 14px;
  line-height: 1;
  padding: 0 2px;
}
.tab .close:hover { opacity: 1; color: var(--error); }

.editor-split {
  flex: 1;
  display: flex;
  flex-direction: row;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

#monaco-container {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.editor-split.has-preview #monaco-container,
#monaco-container.preview-split {
  flex: 1 1 50%;
  max-width: 50%;
  border-right: 1px solid var(--border);
}

#preview-container {
  flex: 1 1 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
  min-height: 0;
  min-width: 0;
}

#preview-container.hidden {
  display: none !important;
  flex: 0;
  max-width: 0;
  width: 0;
  border: none;
}

.preview-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-panel);
  flex-shrink: 0;
  font-size: 11px;
  color: var(--text-dim);
}

.preview-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-actions {
  display: flex;
  gap: 4px;
}

.preview-body {
  flex: 1;
  overflow: auto;
  min-height: 0;
  position: relative;
}

.preview-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
  /* fill parent for games / fullscreen */
}

.preview-image-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  min-height: 100%;
}

.preview-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  box-shadow: var(--glow);
  border-radius: 4px;
}

.preview-meta {
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-dim);
}

.md-preview {
  padding: 20px 24px;
  max-width: 720px;
  line-height: 1.6;
  color: var(--text);
}

.md-preview h1, .md-preview h2, .md-preview h3 {
  color: #fff;
  margin: 1em 0 0.4em;
  text-shadow: 0 0 8px rgba(255,255,255,0.2);
}

.md-preview code {
  background: #1a1a28;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 0.9em;
}

.md-preview pre.md-code {
  background: #0a0a12;
  border: 1px solid var(--border);
  padding: 12px;
  overflow-x: auto;
  border-radius: var(--radius);
  margin: 12px 0;
}

.md-preview a { color: #aaf; }

.json-preview, .text-preview {
  padding: 16px;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.json-key { color: #9cf; }
.json-string { color: #c9a; }
.json-number { color: #8c8; }
.json-bool { color: #f96; }
.json-null { color: #888; }
.json-preview.error { color: var(--error); }

.empty-state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  pointer-events: none;
}

.empty-state .hint {
  font-size: 11px;
  margin-top: 8px;
  opacity: 0.6;
}

/* ===== TERMINAL (collapsible, bottom panel) ===== */
.terminal-panel {
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  overflow: hidden;
  height: var(--n3xn-term-h, 220px);
  min-height: 32px;
  max-height: 70vh;
  position: relative;
}
.terminal-resize-handle {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  cursor: ns-resize;
  z-index: 5;
  background: transparent;
}
.terminal-resize-handle:hover,
.terminal-resize-handle.dragging {
  background: rgba(0, 243, 255, 0.25);
}
.main-layout {
  /* ensure workspace fills remaining height above terminal */
}
.workspace {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.terminal-panel.collapsed {
  height: 32px;
}

.terminal-panel.collapsed .terminal-output,
.terminal-panel.collapsed .terminal-input-row {
  display: none;
}

.terminal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  flex-shrink: 0;
  height: 32px;
  cursor: pointer;
  user-select: none;
}

.terminal-header:hover {
  color: #fff;
}

.terminal-header-actions {
  display: flex;
  gap: 4px;
  align-items: center;
}

.terminal-output {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 12px;
  font-family: var(--font-ui);
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-all;
  min-height: 0;
}

.terminal-output .cmd { color: #fff; }
.terminal-output .out { color: var(--text-dim); }
.terminal-output .err { color: var(--error); }
.terminal-output .ok  { color: var(--success); }

.terminal-input-row {
  display: flex;
  align-items: center;
  padding: 6px 12px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  flex-shrink: 0;
}

.prompt {
  color: #fff;
  margin-right: 8px;
  text-shadow: 0 0 6px rgba(255,255,255,0.4);
  white-space: nowrap;
}

#terminal-input {
  border: none;
  background: transparent;
  padding: 0;
  flex: 1;
  font-size: 12px;
  box-shadow: none !important;
  min-width: 0;
}

/* Status bar */
.statusbar {
  height: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-dim);
  flex-shrink: 0;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal {
  width: 420px;
  max-width: 90vw;
  padding: 24px;
}

.modal h3 {
  margin-bottom: 16px;
  font-size: 14px;
  color: #fff;
  text-shadow: 0 0 8px rgba(255,255,255,0.3);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 700px) {
  .main-layout.editing-mode .sidebar {
    width: 180px;
    flex: 0 0 180px;
  }
  .terminal-panel {
    height: 160px;
  }
}

/* ===== Media / Meme editor ===== */
.media-editor, .html-visual {
  position: fixed !important;
  left: 24px;
  right: 24px;
  top: 24px;
  bottom: 24px;
  z-index: 99999 !important;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  box-shadow: var(--glow-strong);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.media-editor.hidden, .html-visual.hidden {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.media-editor:fullscreen, .html-visual:fullscreen,
#editor-area:fullscreen, #terminal-panel:fullscreen, #app-screen:fullscreen {
  inset: 0;
  border-radius: 0;
  width: 100%;
  height: 100%;
}

.me-header, .hv-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  color: #fff;
  text-shadow: 0 0 8px rgba(255,255,255,0.3);
}

.me-header-actions, .hv-header > div {
  display: flex;
  gap: 6px;
}

.me-toolbar, .hv-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.me-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.me-workspace {
  flex: 1;
  display: flex;
  min-height: 0;
  overflow: hidden;
}

.me-canvas-wrap {
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #050508;
  min-width: 0;
}

#me-canvas {
  max-width: 100%;
  max-height: 100%;
  box-shadow: var(--glow);
  cursor: crosshair;
}

.me-props {
  width: 220px;
  flex-shrink: 0;
  border-left: 1px solid var(--border);
  padding: 10px;
  overflow-y: auto;
  font-size: 11px;
}

.me-props h4 {
  margin-bottom: 8px;
  color: #fff;
}

.me-props label {
  margin-top: 8px;
}

.me-props input[type="color"] {
  padding: 2px;
  height: 28px;
}

.me-layer-list {
  margin-top: 12px;
  max-height: 120px;
  overflow-y: auto;
}

.me-layer {
  padding: 4px 6px;
  cursor: pointer;
  border-radius: 3px;
  color: var(--text-dim);
}

.me-layer:hover, .me-layer.active {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* HTML visual */
.hv-body {
  flex: 1;
  display: flex;
  min-height: 0;
  overflow: hidden;
}

.hv-tree {
  width: 200px;
  flex-shrink: 0;
  overflow-y: auto;
  border-right: 1px solid var(--border);
  padding: 8px;
  font-size: 11px;
}

.hv-node {
  padding: 3px 4px;
  cursor: pointer;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hv-node:hover, .hv-node.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.hv-preview {
  flex: 1;
  border: none;
  background: #fff;
  min-width: 0;
}

.tree-empty {
  padding: 24px 16px;
  text-align: center;
  color: var(--text-dim);
  font-size: 12px;
}
.tree-empty .hint {
  margin-top: 8px;
  font-size: 11px;
  opacity: 0.7;
}

/* ===== Inline media viewer (images / audio / video) ===== */
.media-view {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.media-view.hidden {
  display: none !important;
}
#monaco-container.hidden {
  display: none !important;
}
.mv-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.mv-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-panel);
  flex-shrink: 0;
  font-size: 12px;
  color: var(--text-dim);
}
.mv-meta strong {
  color: #fff;
}
.mv-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  min-height: 0;
  overflow: auto;
}
.mv-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: var(--glow);
  border-radius: 4px;
}
.mv-audio {
  width: min(480px, 100%);
}
.mv-video {
  max-width: 100%;
  max-height: 100%;
  background: #000;
  border-radius: 4px;
}
.mv-pdf {
  width: 100%;
  height: 100%;
  min-height: 60vh;
  border: none;
  background: #fff;
}


/* ========== Chat / VC sidebar ========== */
.chat-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 100vw);
  height: 100vh;
  z-index: 10000;
  background: rgba(10, 10, 16, 0.98);
  border-left: 1px solid #1e293b;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0,0,0,0.55);
  transition: transform 0.2s ease;
  pointer-events: auto;
}
.chat-sidebar.collapsed {
  transform: translateX(100%);
  pointer-events: none;
  box-shadow: none;
}
.chat-sidebar.collapsed .chat-sidebar-body,
.chat-sidebar.collapsed .chat-title,
.chat-sidebar.collapsed .chat-sidebar-header {
  visibility: hidden;
  pointer-events: none;
}
.chat-sidebar-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-bottom: 1px solid #1e293b;
  min-height: 48px;
  flex-shrink: 0;
  background: #0d111e;
}
.chat-title {
  font-size: 13px;
  color: #00f3ff;
  flex: 1;
  font-weight: 600;
}
.chat-sidebar-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 8px;
  gap: 8px;
  overflow: hidden;
}
.chat-rooms label {
  font-size: 11px;
  color: #94a3b8;
}
.chat-rooms input,
.chat-rooms select {
  width: 100%;
  margin: 2px 0;
  background: #05070f;
  border: 1px solid #1e293b;
  color: #e2e8f0;
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 12px;
  box-sizing: border-box;
}
.chat-rooms .btn {
  margin-top: 4px;
  margin-right: 4px;
}
.chat-peers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 72px;
  overflow: auto;
}
.chat-peer {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #1a1a28;
  border: 1px solid #333;
  color: #ccc;
  transition: box-shadow 0.1s, border-color 0.1s;
}
.chat-peer.mic-on { border-color: #00f3ff; }
.chat-peer.talking { box-shadow: 0 0 12px rgba(0, 243, 255, 0.55); }
.mic-btn.mic-off { opacity: 0.45; filter: grayscale(1); }
.mic-btn.mic-on { box-shadow: 0 0 10px rgba(0, 243, 255, 0.4); }
#btn-chat-toggle {
  font-size: 18px;
  min-width: 36px;
  min-height: 36px;
  background: #1a1a28 !important;
  border: 1px solid #00f3ff55 !important;
  border-radius: 8px;
  cursor: pointer;
}
.chat-messages {
  flex: 1;
  overflow: auto;
  font-size: 12px;
  border: 1px solid #1e293b;
  border-radius: 6px;
  padding: 6px;
  background: #05070f;
  min-height: 100px;
}
.chat-msg { margin-bottom: 8px; }
.chat-msg-meta { color: #64748b; font-size: 10px; }
.chat-msg-body { color: #e2e8f0; word-break: break-word; }
.chat-compose textarea {
  width: 100%;
  background: #05070f;
  border: 1px solid #1e293b;
  color: #e2e8f0;
  border-radius: 4px;
  padding: 6px;
  font-size: 12px;
  resize: vertical;
  box-sizing: border-box;
}
.chat-stage {
  flex: 0 0 auto;
  max-height: 42vh;
  overflow: auto;
  border: 1px solid #1e293b;
  border-radius: 8px;
  background: #05070f;
  padding: 6px;
}
.chat-vc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  align-items: start;
}
.chat-tile {
  position: relative;
  background: #0d111e;
  border: 1px solid #1e293b;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.chat-tile.audio-only,
.chat-tile.idle {
  aspect-ratio: auto;
  min-height: 36px;
  height: 36px;
  padding: 0 8px;
  justify-content: flex-start;
  gap: 6px;
}
.chat-tile.talking {
  border-color: #00f3ff;
  box-shadow: 0 0 14px rgba(0, 243, 255, 0.45);
}
.chat-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  display: block;
}
.chat-tile.audio-only video,
.chat-tile.idle video {
  display: none !important;
}
.chat-tile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1a28, #00f3ff44);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #e2e8f0;
  border: 2px solid #334155;
}
.chat-tile.audio-only .chat-tile-avatar,
.chat-tile.idle .chat-tile-avatar {
  width: 22px;
  height: 22px;
  font-size: 10px;
  border-width: 1px;
}
.chat-tile-name {
  position: absolute;
  left: 6px;
  bottom: 6px;
  right: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px #000;
  background: rgba(0,0,0,0.45);
  border-radius: 4px;
  padding: 2px 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}
.chat-tile.audio-only .chat-tile-name,
.chat-tile.idle .chat-tile-name {
  position: static;
  background: transparent;
  text-shadow: none;
  color: #cbd5e1;
  padding: 0;
  flex: 1;
}
.chat-tile-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 10px;
  background: rgba(0,0,0,0.5);
  border-radius: 4px;
  padding: 1px 4px;
}
.chat-tile.audio-only .chat-tile-badge,
.chat-tile.idle .chat-tile-badge {
  position: static;
}
.chat-tile.self {
  border-color: #c084fc66;
}

/* Floating tab when collapsed so it's obvious */
.chat-sidebar.collapsed .chat-sidebar-header {
  writing-mode: horizontal-tb;
  justify-content: center;
  border-bottom: none;
  border-left: 2px solid #00f3ff;
}
