[v-cloak] { display: none; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #f5f7fa;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100vh;
  background: #304156;
  color: #fff;
  overflow-y: auto;
  z-index: 100;
}

.logo {
  height: 60px;
  line-height: 60px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  background: #263445;
  border-bottom: 1px solid #1f2d3d;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  color: #bfcbd9;
  text-decoration: none;
  transition: all 0.2s;
  border-left: 4px solid transparent;
}

.menu-item:hover,
.menu-item.active {
  color: #409eff;
  background: #263445;
  border-left-color: #409eff;
}

.menu-item i {
  margin-right: 12px;
  font-size: 18px;
}

.main-content {
  margin-left: 220px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: 60px;
  background: #fff;
  border-bottom: 1px solid #e4e7ed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 99;
}

.topbar h3 {
  margin: 0;
  font-weight: 500;
  color: #303133;
}

.content-body {
  flex: 1;
  padding: 24px;
}

.page-card {
  margin-bottom: 20px;
}

.section-title {
  margin: 0 0 16px;
  font-size: 16px;
  color: #303133;
  border-left: 4px solid #409eff;
  padding-left: 10px;
}

.stat-label {
  color: #909399;
  font-size: 14px;
  margin-bottom: 8px;
}

.stat-value {
  color: #303133;
  font-size: 28px;
  font-weight: bold;
}

.welcome-card {
  margin-top: 24px;
}

.welcome-card h4 {
  margin: 0 0 10px;
  color: #303133;
}

.welcome-card p {
  color: #606266;
  line-height: 1.6;
}

.url-text {
  color: #409eff;
  word-break: break-all;
  cursor: pointer;
}

.image-preview {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #dcdfe6;
}

.form-tip {
  color: #909399;
  font-size: 12px;
  margin-left: 8px;
}

.dialog-form {
  padding-right: 20px;
}

.upload-box {
  border: 2px dashed #d9d9d9;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  background: #fafafa;
  transition: border-color 0.2s;
}

.upload-box:hover {
  border-color: #409eff;
}

.avatar-uploader-icon {
  font-size: 28px;
  color: #8c939d;
}

.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.mr-2 { margin-right: 8px; }
