/* 侧边栏样式 */
.app-sider {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 100;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
}

/* Logo区域 */
.sider-header {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #303030;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon {
  color: #1890ff;
  font-size: 20px;
  font-weight: bold;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 144, 255, 0.1);
  border-radius: 4px;
}

/* 菜单样式 */
.side-menu {
  padding: 12px 0;
}

/* 紧凑菜单样式 */
.side-menu.compact .ant-menu-item {
  height: 56px;
  line-height: 56px;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  transition: all 0.2s;
}

.side-menu.compact .ant-menu-item:hover {
  color: #fff !important;
  background: rgba(24, 144, 255, 0.1) !important;
}

.side-menu.compact .ant-menu-item-selected {
  background: transparent !important;
  color: #1890ff !important;
  position: relative;
}

.side-menu.compact .ant-menu-item-selected::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 24px;
  background: #1890ff;
  border-radius: 0 2px 2px 0;
}

.side-menu.compact .ant-menu-item-selected::after {
  display: none;
}

/* 菜单项内容容器 */
.menu-item-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* 图标包装器 */
.menu-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 6px;
}

/* 菜单标签 */
.menu-label {
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  opacity: 0.85;
  font-weight: 400;
}

/* 图标和文字垂直排列 */
.side-menu.compact .ant-menu-item .ant-menu-item-icon {
  margin: 0;
  min-width: auto;
}

.side-menu.compact .ant-menu-title-content {
  margin: 0;
  padding: 0;
}

/* 分割线样式 */
.ant-menu-item-divider {
  margin: 12px 8px;
  border-color: #303030;
}

/* 移除默认的内边距 */
.side-menu.compact .ant-menu-inline {
  border: none;
}

.side-menu.compact .ant-menu-sub {
  background: transparent !important;
}