.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  background: #1890ff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.header-left {
  display: flex;
  align-items: center;
}

.logo {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  margin-left: 16px;
  transition: all 0.3s;
}

.header-right {
  display: flex;
  align-items: center;
}

.header-search {
  margin-right: 16px;
}

.dark-mode-toggle {
  margin: 0 16px;
}

.content {
  padding: 24px;
  background: #f0f2f5;
  overflow: auto;
  transition: all 0.3s;
}

.content-inner {
  background: #fff;
  padding: 24px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
  transition: all 0.3s;
}

/* 深色模式样式 */
body[data-theme="dark"] .content {
  background: #141414;
}

body[data-theme="dark"] .content-inner {
  background: #1f1f1f;
  color: #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 侧边栏折叠时的样式 */
.collapsed .logo {
  margin-left: 8px;
  font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .header {
    padding: 0 16px;
  }
  
  .logo {
    font-size: 16px;
    margin-left: 8px;
  }
  
  .header-search {
    width: 150px !important;
  }
  
  .content {
    padding: 16px;
  }
  
  .content-inner {
    padding: 16px;
  }
}
