/* 原型图风格导航菜单 */
.proto-nav {
  padding: 8px 0;
  overflow-y: auto;
  flex: 1;
}

.proto-nav .nav-group {
  margin-bottom: 8px;
}

.proto-nav .nav-title {
  padding: 10px 16px 6px;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.proto-nav .nav-new {
  display: inline-block;
  padding: 1px 5px;
  background: #fef3c7;
  color: #92400e;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.proto-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 16px;
  border: none;
  background: transparent;
  color: #cbd5e1;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  text-align: left;
}

.proto-nav button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.proto-nav button.active {
  background: rgba(5, 150, 105, 0.15);
  color: #fff;
  border-left: 3px solid #059669;
  padding-left: 13px;
}

.proto-nav button i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.8;
}

.proto-nav button span {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.proto-nav .new-badge {
  display: inline-block;
  padding: 1px 5px;
  background: #f59e0b;
  color: #fff;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  flex: none !important;
}

.proto-nav .nav-coming-soon {
  opacity: 0.6;
}

.proto-nav .nav-coming-soon:hover {
  opacity: 0.9;
}

.proto-nav b {
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 8px;
  min-width: 16px;
  text-align: center;
  flex: none !important;
}

/* 侧边栏整体样式调整 */
.sidebar {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  width: 230px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #334155;
}

.side-brand {
  padding: 16px;
  border-bottom: 1px solid #334155;
  display: flex;
  align-items: center;
  gap: 10px;
}

.side-brand strong {
  color: #fff;
  font-size: 14px;
  display: block;
}

.side-brand span {
  color: #94a3b8;
  font-size: 11px;
}

.sidebar-foot {
  padding: 12px 16px;
  border-top: 1px solid #334155;
}

.sidebar-foot .security-state {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 11px;
}

.sidebar-foot .security-state i {
  color: #059669;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    left: -230px;
    top: 0;
    bottom: 0;
    z-index: 1000;
    transition: left 0.3s ease;
  }
  .sidebar.open {
    left: 0;
  }
}
