/* 控制台样式 */
.dashboard-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 概览卡片 */
.overview-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background-color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.card-header h3 {
    font-size: 16px;
    color: var(--gray-dark);
    font-weight: 500;
}

.card-header i {
    font-size: 24px;
    color: var(--primary-color);
}

.card-body .main-value {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}

.compare {
    display: flex;
    align-items: center;
    font-size: 12px;
}

.compare .label {
    color: var(--gray-dark);
    margin-right: 5px;
}

.compare .value {
    display: flex;
    align-items: center;
}

.compare .value.up {
    color: var(--success-color);
}

.compare .value.down {
    color: var(--danger-color);
}

.compare .value i {
    margin-right: 2px;
}

/* 待办事项 */
.todo-section {
    background-color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 18px;
    font-weight: 500;
}

.todo-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.todo-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: var(--gray-light);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.todo-item:hover {
    background-color: #fff;
    box-shadow: var(--shadow);
}

.todo-checkbox {
    margin-right: 15px;
}

.todo-checkbox input[type="checkbox"] {
    display: none;
}

.todo-checkbox label {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid var(--gray);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

.todo-checkbox input[type="checkbox"]:checked + label::after {
    content: "\2714";
    position: absolute;
    top: -2px;
    left: 3px;
    color: var(--primary-color);
}

.todo-content {
    flex-grow: 1;
}

.todo-content h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.todo-content p {
    font-size: 14px;
    color: var(--gray-dark);
}

.todo-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.deadline {
    font-size: 14px;
    color: var(--gray-dark);
}

.priority {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.priority.high {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--danger-color);
}

.priority.medium {
    background-color: rgba(243, 156, 18, 0.1);
    color: var(--warning-color);
}

.priority.low {
    background-color: rgba(41, 128, 185, 0.1);
    color: var(--info-color);
}

/* 响应式 */
@media (max-width: 1200px) {
    .overview-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .todo-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .todo-checkbox {
        margin-bottom: 10px;
    }
    
    .todo-meta {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .overview-cards {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* 仪表盘样式 */
:root {
  --primary: #4361ee;
  --primary-light: #4895ef;
  --primary-dark: #3f37c9;
  --success: #4cc9f0;
  --warning: #f72585;
  --danger: #f94144;
  --info: #f8961e;
  --light: #f1faee;
  --dark: #1d3557;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --sidebar-width: 260px;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
}

/* 基础布局 */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background-color: #f9fafb;
  color: var(--gray-800);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.container {
  display: flex;
  min-height: 100vh;
}

/* 侧边栏样式 */
.sidebar {
  width: var(--sidebar-width);
  background: linear-gradient(180deg, var(--dark) 0%, #0f172a 100%);
  color: white;
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: var(--transition);
}

/* Logo 样式优化 */
.logo {
  display: flex;
  align-items: center;
  padding: 20px;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-icon:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(67, 97, 238, 0.4);
}

.logo-icon i {
  font-size: 22px;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.logo-text {
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(to right, #fff, #e0e0e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

/* 导航菜单 */
.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
  overflow-y: auto;
}

.nav-menu::-webkit-scrollbar {
  width: 4px;
}

.nav-menu::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.nav-menu li {
  margin: 2px 8px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-menu li a {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  color: var(--gray-400);
  text-decoration: none;
  transition: var(--transition);
  border-radius: var(--radius);
}

.nav-menu li a i {
  font-size: 18px;
  margin-right: 12px;
  opacity: 0.8;
  transition: var(--transition);
}

.nav-menu li a span {
  font-weight: 500;
  font-size: 15px;
}

.nav-menu li:hover a {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.nav-menu li:hover a i {
  opacity: 1;
}

.nav-menu li.active {
  background: rgba(67, 97, 238, 0.12);
}

.nav-menu li.active a {
  color: white;
  box-shadow: inset 4px 0 0 var(--primary);
}

.nav-menu li.active a i {
  color: var(--primary-light);
  opacity: 1;
}

/* 侧边栏底部 */
.sidebar-footer {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* 用户资料与头像优化 */
.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.user-profile:hover {
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.avatar {
  position: relative;
  width: 42px;
  height: 42px;
}

.avatar-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #4cc9f0 0%, #4361ee 100%);
  box-shadow: 0 3px 10px rgba(76, 201, 240, 0.3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar-image i {
  font-size: 22px;
  color: white;
}

.avatar:hover .avatar-image {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(76, 201, 240, 0.4);
}

.avatar-status {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--dark);
  bottom: 0;
  right: 0;
}

.avatar-status.online {
  background-color: #10b981;
}

.avatar-status.away {
  background-color: #f59e0b;
}

.avatar-status.offline {
  background-color: #6b7280;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.username {
  font-weight: 600;
  font-size: 15px;
  color: white;
  line-height: 1.2;
}

.user-role {
  font-size: 12px;
  color: var(--gray-400);
}

/* 主内容区域 */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 20px;
  transition: var(--transition);
}

/* 顶部栏 */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  background: white;
  border-radius: var(--radius);
  padding: 16px 24px;
  box-shadow: var(--shadow-sm);
}

.page-title h1 {
  margin: 0 0 4px 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--gray-900);
}

.date-info {
  margin: 0;
  font-size: 14px;
  color: var(--gray-500);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-box {
  display: flex;
  align-items: center;
  background-color: var(--gray-100);
  border-radius: 24px;
  padding: 0 16px;
  width: 200px;
  transition: var(--transition);
}

.search-box:focus-within {
  width: 260px;
  box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.1);
  background-color: white;
}

.search-box i {
  color: var(--gray-500);
  font-size: 16px;
  margin-right: 8px;
}

.search-box input {
  border: none;
  padding: 10px 0;
  width: 100%;
  background: transparent;
  color: var(--gray-800);
  font-size: 14px;
}

.search-box input:focus {
  outline: none;
}

.notification-icon, .help-icon {
  position: relative;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--gray-100);
  transition: var(--transition);
  cursor: pointer;
}

.notification-icon:hover, .help-icon:hover {
  background-color: var(--gray-200);
}

.notification-icon i, .help-icon i {
  font-size: 18px;
  color: var(--gray-700);
}

.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--warning);
  color: white;
  font-size: 11px;
  font-weight: 600;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid white;
}

/* 快速操作栏 */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.action-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.action-card i {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 8px;
}

.action-card span {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
}

/* 章节标题 */
.section-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 16px 0;
  position: relative;
  padding-left: 15px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background: var(--primary);
  border-radius: 2px;
}

/* 数据概览卡片 */
.overview-section {
    margin-bottom: 28px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.time-selector {
    display: flex;
    background: var(--gray-100);
    border-radius: 20px;
    padding: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: absolute;
    right: 0;
    top: 0;
}

.time-btn {
    border: none;
    background: none;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 18px;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.time-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.time-btn:hover:not(.active) {
    color: var(--gray-800);
    background: rgba(255, 255, 255, 0.5);
}

.overview-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.card {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 18px;
    transition: all 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.card-icon i {
    font-size: 22px;
    color: white;
}

.primary-gradient {
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
}

.success-gradient {
    background: linear-gradient(135deg, #4cc9f0 0%, #4895ef 100%);
}

.info-gradient {
    background: linear-gradient(135deg, #f72585 0%, #b5179e 100%);
}

.warning-gradient {
    background: linear-gradient(135deg, #fb8500 0%, #ffb703 100%);
}

.card-header-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
}

.card-trend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
}

.card-trend.up {
    color: #10b981;
}

.card-trend.down {
    color: #ef4444;
}

.card-body {
    position: relative;
    height: 75px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.card-value-wrapper {
    flex: 1;
}

.card-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.card-subvalue {
    font-size: 13px;
    color: var(--gray-500);
}

.card-chart {
    width: 110px;
    height: 60px;
}

.card-footer {
    padding-top: 14px;
    border-top: 1px solid var(--gray-100);
}

.kpi-metrics {
    display: flex;
    justify-content: space-between;
}

.kpi-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.kpi-label {
    font-size: 13px;
    color: var(--gray-500);
}

.kpi-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
}

/* 数据分析区域 */
.analytics-section {
  margin-bottom: 28px;
}

.analytics-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

/* 图表卡片 */
.chart-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.chart-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.chart-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0;
}

.chart-card .chart-filters {
  display: flex;
  gap: 8px;
}

.chart-btn {
  padding: 6px 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  font-size: 13px;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.2s ease;
}

.chart-btn:hover {
  background: var(--gray-100);
}

.chart-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.chart-container {
  width: 100%;
  height: 100%;
  min-height: 250px;
}

/* 产品排名 */
.ranking-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  height: 100%;
}

.ranking-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.ranking-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0;
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--gray-50);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.product-item:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.product-image {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  flex: 1;
}

.product-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.product-stats {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.product-price {
  color: var(--primary);
  font-weight: 500;
}

.product-sales {
  color: var(--gray-600);
}

.rank-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  color: white;
}

.rank-badge-1 {
  background: linear-gradient(135deg, #f6b73c, #f5a623);
}

.rank-badge-2 {
  background: linear-gradient(135deg, #b3b3b3, #929292);
}

.rank-badge-3 {
  background: linear-gradient(135deg, #cd7f32, #a35719);
}

.rank-badge-other {
  background: var(--gray-400);
}

@media (max-width: 992px) {
  .analytics-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
    .activity-section {
        grid-template-columns: 1fr;
    }
    
    .overview-value {
        font-size: 20px;
    }
    
    .overview-chart {
        width: 80px;
    }
}

@media (max-width: 576px) {
    .overview-section,
    .quick-actions {
        grid-template-columns: 1fr;
    }
}

/* 通用链接和按钮 */
.more-link {
  font-size: 14px;
  color: var(--gray-600);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.more-link:hover {
  color: var(--primary);
}

.more-link i {
  font-size: 16px;
  margin-left: 4px;
}

.icon-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--gray-500);
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background-color: var(--gray-100);
  color: var(--gray-800);
}

/* 渠道分析 */
.chart-select {
  padding: 6px 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  font-size: 13px;
  color: var(--gray-700);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 8px) center;
  padding-right: 28px;
}

.chart-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.channel-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.channel-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.channel-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-700);
}

.channel-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.channel-value {
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-800);
}

/* 活动区域（最新动态）样式 */
.activity-section {
  margin-bottom: 28px;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.activity-card {
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  height: 100%;
  transition: var(--transition);
}

.activity-card:hover {
  box-shadow: var(--shadow);
}

.activity-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.activity-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0;
}

/* 最新订单样式 */
.order-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  background-color: var(--gray-50);
  border-radius: var(--radius);
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.order-item:hover {
  background-color: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.order-item .order-info {
  flex: 1;
}

.order-item .order-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.order-item .order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--gray-600);
}

.order-status {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.order-status.success {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border-left-color: #10b981;
}

.order-status.warning {
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border-left-color: #f59e0b;
}

.order-status.info {
  background-color: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  border-left-color: #3b82f6;
}

.order-status.primary {
  background-color: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  border-left-color: #6366f1;
}

.order-item:hover .order-status {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 系统通知样式 */
.notification-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background-color: var(--gray-50);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.notification-item:hover {
  background-color: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.notification-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 18px;
  transition: all 0.2s ease;
}

.notification-item:hover .notification-icon {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.notification-icon.warning {
  background-color: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.notification-icon.info {
  background-color: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.notification-icon.success {
  background-color: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.notification-desc {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 6px;
  line-height: 1.4;
}

.notification-time {
  font-size: 12px;
  color: var(--gray-500);
  display: flex;
  align-items: center;
}

.notification-time::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--gray-400);
  margin-right: 6px;
}

.notification-actions {
  margin-left: auto;
  margin-top: 2px;
}

/* 响应式调整 */
@media (max-width: 992px) {
  .activity-grid {
    grid-template-columns: 1fr;
  }
} 