.sidebar-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--muted);
}
.sidebar-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
.empty-chats {
  text-align: center;
  color: var(--muted);
  padding: 40px 20px;
}
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  display: none;
}
.sidebar-overlay.show {
  display: block;
}

/* Creation Sidebar - глобальные стили для всех страниц */
.creation-sidebar {
  position: fixed !important;
  right: 0 !important;
  left: auto !important;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1000;
  padding-right: 0;
  min-width: 48px;
  align-items: flex-end;
  width: auto;
}

.creation-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-right: none;
  border-left: 1px solid var(--border);
  border-radius: 16px 0 0 16px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--text);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
             padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
             justify-content 0.4s cubic-bezier(0.4, 0, 0.2, 1),
             border-color 0.3s,
             background 0.3s,
             box-shadow 0.3s,
             filter 0.3s;
  pointer-events: auto;
  width: 200px;
  min-width: 200px;
  overflow: visible;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}

.creation-tab:hover {
  width: 200px;
  min-width: 200px;
  padding-left: 16px;
  background: linear-gradient(135deg, #1f1a12, #1a1610);
  justify-content: flex-start;
  border-color: #FFB800;
  box-shadow:
    0 0 20px rgba(255,184,0,0.6),
    0 0 40px rgba(255,184,0,0.4),
    0 0 60px rgba(255,184,0,0.2),
    0 4px 20px rgba(0,0,0,0.3);
  filter: drop-shadow(0 0 8px rgba(255,184,0,0.8));
  z-index: 1001;
}

.creation-tab.active {
  border-color: #FFB800;
  background: linear-gradient(135deg, rgba(255,184,0,0.08), rgba(255,215,0,0.05));
  box-shadow: 0 0 10px rgba(255,184,0,0.3);
}

.creation-tab.active:hover {
  width: 200px;
  min-width: 200px;
  padding-left: 16px;
  background: #0a0806;
  justify-content: flex-start;
  box-shadow:
    0 0 20px rgba(255,184,0,0.6),
    0 0 40px rgba(255,184,0,0.4),
    0 0 60px rgba(255,184,0,0.2),
    0 4px 20px rgba(0,0,0,0.3);
  filter: drop-shadow(0 0 8px rgba(255,184,0,0.8));
  z-index: 1001;
}

.creation-tab .tab-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, filter 0.3s;
}

.creation-tab .tab-icon svg {
  width: 24px;
  height: 24px;
  transition: filter 0.3s;
}

.creation-tab:hover .tab-icon {
  transform: scale(1.15);
}

.creation-tab.active .tab-icon {
  transform: scale(1.05);
}

.creation-tab.active:hover .tab-icon {
  transform: scale(1.15);
}

.creation-tab:hover .tab-icon svg {
  filter: drop-shadow(0 0 6px rgba(255,184,0,0.9)) drop-shadow(0 0 12px rgba(255,215,0,0.6));
}

.creation-tab.active .tab-icon svg {
  filter: drop-shadow(0 0 4px rgba(255,184,0,0.6));
}

.creation-tab.active:hover .tab-icon svg {
  filter: drop-shadow(0 0 6px rgba(255,184,0,0.9)) drop-shadow(0 0 12px rgba(255,215,0,0.6));
}

.creation-tab .tab-content {
  margin-left: 12px;
  opacity: 1 !important;
  transform: translateX(0) !important;
  transition: all 0.3s 0.1s;
  white-space: nowrap;
  overflow: visible;
  display: block;
  visibility: visible;
}

.creation-tab .tab-content h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  display: block;
  visibility: visible;
  opacity: 1 !important;
}

.creation-tab .tab-content p {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}

  .creation-sidebar {