/* 量化私募基金数据管理与应用解决方案 - 样式表 */

/* 重置与基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "SimHei", Arial, sans-serif;
  font-size: 14px;
  color: #333333;
  background-color: #F5F7FA;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: #3E7BFA;
}

a:hover {
  color: #1E4287;
}

ul, ol {
  list-style: none;
}

/* 颜色变量 */
:root {
  --primary-color: #1E4287;
  --primary-light: #3E7BFA;
  --danger-color: #F5222D;
  --success-color: #52C41A;
  --warning-color: #FAAD14;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-hint: #999999;
  --border-color: #E8E8E8;
  --bg-color: #F5F7FA;
  --component-bg: #FFFFFF;
}

/* 布局 */
.container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  display: flex;
  flex: 1;
}

/* 顶部导航栏 */
.top-navbar {
  height: 64px;
  background-color: #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  padding: 0 24px;
  position: relative;
  z-index: 1000;
}

.logo {
  height: 40px;
  margin-right: 48px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 32px;
  margin-right: 8px;
}

.logo-text {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary-color);
}

.top-menu {
  flex: 1;
  display: flex;
  justify-content: space-between;
}

.nav-links {
  display: flex;
}

.nav-links .nav-item {
  padding: 0 16px;
  line-height: 64px;
  cursor: pointer;
  position: relative;
}

.nav-links .nav-item:hover, 
.nav-links .nav-item.active {
  color: var(--primary-color);
}

.nav-links .nav-item.active:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background-color: var(--primary-color);
}

.user-menu {
  display: flex;
  align-items: center;
}

.user-menu .menu-item {
  margin-left: 16px;
  cursor: pointer;
  color: var(--text-secondary);
}

.user-menu .menu-item:hover {
  color: var(--primary-color);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

/* 侧边栏导航 */
.sidebar {
  width: 240px;
  background-color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  z-index: 900;
  overflow-y: auto;
  height: calc(100vh - 64px);
}

.sidebar.collapsed {
  width: 80px;
}

.sidebar-menu {
  padding: 16px 0;
}

.menu-group {
  margin-bottom: 16px;
}

.menu-title {
  padding: 8px 24px;
  color: var(--text-secondary);
  font-size: 12px;
}

.menu-item {
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
}

.menu-item:hover {
  background-color: rgba(62, 123, 250, 0.1);
}

.menu-item.active {
  background-color: rgba(62, 123, 250, 0.15);
  color: var(--primary-color);
  border-right: 3px solid var(--primary-color);
}

.menu-icon {
  margin-right: 12px;
  font-size: 16px;
}

/* 主内容区 */
.content {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  height: calc(100vh - 64px);
}

/* 卡片组件 */
.card {
  background-color: #FFFFFF;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

.card-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-primary);
}

.card-body {
  padding: 24px;
}

.card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
}

/* 表格组件 */
.table-container {
  width: 100%;
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.table th {
  background-color: #FAFAFA;
  font-weight: bold;
  color: var(--text-secondary);
}

.table tbody tr:hover {
  background-color: #F5F7FA;
}

/* 表单组件 */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: var(--primary-light);
  outline: none;
  box-shadow: 0 0 0 2px rgba(62, 123, 250, 0.2);
}

/* 按钮组件 */
.btn {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #173670;
  border-color: #173670;
}

.btn-danger {
  background-color: var(--danger-color);
  border-color: var(--danger-color);
  color: #FFFFFF;
}

.btn-danger:hover {
  background-color: #cf1322;
  border-color: #cf1322;
}

.btn-success {
  background-color: var(--success-color);
  border-color: var(--success-color);
  color: #FFFFFF;
}

.btn-success:hover {
  background-color: #389e0d;
  border-color: #389e0d;
}

/* 改进选项卡样式 */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.tab {
  padding: 12px 20px;
  cursor: pointer;
  position: relative;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.tab:hover {
  color: var(--primary-color);
}

.tab.active {
  color: var(--primary-color);
  font-weight: 600;
}

.tab.active:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary-color);
}

/* 筛选器组件 */
.notification-filter {
  display: flex;
  align-items: center;
}

.notification-filter .form-control {
  border-radius: 20px;
  background-color: #f5f7fa;
  border: 1px solid #e8e8e8;
  padding: 6px 12px;
  font-size: 13px;
}

/* 与选项卡相关的内容容器 */
.tab-content {
  display: none;
  padding: 16px 0;
}

.tab-content.active {
  display: block;
}

/* 消息与通知样式 */
.notification-list {
  margin-top: 20px;
}

.notification-item {
  display: flex;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  background-color: #FFFFFF;
  border: 1px solid #E8E8E8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.notification-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.notification-item.unread {
  border-left: 4px solid var(--primary-color);
  background-color: rgba(62, 123, 250, 0.05);
}

.notification-icon {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  font-size: 18px;
  color: #FFFFFF;
}

.notification-icon.system {
  background-color: var(--primary-color);
}

.notification-icon.business {
  background-color: var(--warning-color);
}

.notification-icon.announcement {
  background-color: var(--success-color);
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.notification-message {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.notification-time {
  font-size: 12px;
  color: var(--text-hint);
}

.notification-actions {
  display: flex;
  align-items: center;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--border-color);
}

.notification-action {
  display: flex;
  align-items: center;
  color: var(--primary-light);
  font-weight: 500;
  white-space: nowrap;
}

.notification-action i {
  margin-right: 4px;
}

.notification-actions a {
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.3s;
}

.notification-actions a:hover {
  background-color: rgba(62, 123, 250, 0.1);
}

/* 添加消息列表的悬停效果 */
.notification-list:hover .notification-item:not(:hover) {
  opacity: 0.7;
}

/* 添加分页样式 */
.notification-pagination {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.notification-pagination .btn {
  min-width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 4px;
}

/* 图表容器 */
.chart-container {
  width: 100%;
  height: 400px;
  margin-bottom: 24px;
}

/* 仪表盘卡片 */
.dashboard-card {
  background-color: #FFFFFF;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  padding: 24px;
  margin-bottom: 24px;
  height: 100%;
}

.dashboard-value {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin: 8px 0;
}

.dashboard-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.dashboard-trend {
  display: flex;
  align-items: center;
  margin-top: 8px;
}

.trend-up {
  color: var(--success-color);
}

.trend-down {
  color: var(--danger-color);
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .sidebar {
    width: 200px;
  }
}

@media (max-width: 992px) {
  .sidebar {
    width: 80px;
  }
  
  .menu-text {
    display: none;
  }
  
  .menu-item {
    justify-content: center;
    padding: 12px;
  }
  
  .menu-icon {
    margin-right: 0;
  }
  
  .menu-title {
    text-align: center;
    padding: 8px;
  }
}

@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    height: auto;
    max-height: 0;
    overflow: hidden;
  }
  
  .sidebar.expanded {
    max-height: 500px;
  }
  
  .content {
    padding: 16px;
  }
  
  .menu-text {
    display: inline;
  }
  
  .menu-item {
    justify-content: flex-start;
    padding: 12px 24px;
  }
  
  .menu-icon {
    margin-right: 12px;
  }
  
  .menu-title {
    text-align: left;
    padding: 8px 24px;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
}

/* 登录页样式优化 */
.login-container {
    display: flex;
    min-height: 100vh;
    background-color: #F5F7FA;
    overflow: hidden; /* 防止内容溢出 */
}

.login-left {
    flex: 1;
    position: relative;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1642790106117-e829e14a795f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2532&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    min-width: 50%;
}

.login-left-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(30, 66, 135, 0.75) 0%,
        rgba(62, 123, 250, 0.55) 100%);
    z-index: 1;
}

.login-left-text {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    max-width: 600px;
    width: 100%;
    padding: 0 24px;
}

.login-left-text h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.login-left-text p {
    font-size: 20px;
    margin-bottom: 48px;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.login-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    transition: all 0.3s ease;
}

.feature-item i {
    font-size: 42px;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.feature-item span {
    font-size: 18px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.login-right {
    width: 480px;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.login-right-content {
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 48px;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.login-logo i {
    font-size: 32px;
    color: var(--primary-color);
    margin-right: 12px;
}

.login-logo span {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.login-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

.login-form {
    margin-bottom: 32px;
}

.login-form .form-group {
    margin-bottom: 24px;
}

.login-form label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-weight: 500;
}

.login-form label i {
    margin-right: 8px;
    font-size: 16px;
    color: var(--primary-light);
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-hint);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: var(--primary-light);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.forgot-password {
    color: var(--primary-light);
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.login-button i {
    font-size: 18px;
}

.login-button.success {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.login-footer {
    text-align: center;
    margin-top: 32px;
}

.login-footer p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.register-link {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
}

.register-link:hover {
    text-decoration: underline;
}

.login-social {
    position: relative;
}

.login-social span {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
    position: relative;
}

.login-social span:before,
.login-social span:after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background-color: var(--border-color);
}

.login-social span:before {
    left: 0;
}

.login-social span:after {
    right: 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-light);
    color: white;
    transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .login-left {
        padding: 32px;
    }
    
    .feature-item {
        padding: 24px 16px;
    }
    
    .feature-item i {
        font-size: 32px;
    }
}

@media (max-width: 992px) {
    .login-left {
        display: none;
    }
    
    .login-right {
        width: 100%;
        padding: 32px;
    }
    
    .login-right-content {
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .login-right {
        padding: 24px;
    }
    
    .login-header h2 {
        font-size: 24px;
    }
    
    .login-logo span {
        font-size: 20px;
    }
    
    .form-options {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
}

/* 重新设计优先级标签 */
.todo-priority-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 50px 50px 0 0;
  transform-origin: top left;
  z-index: 1;
}

.todo-priority-indicator.high {
  border-color: rgba(245, 34, 45, 0.8) transparent transparent transparent;
}

.todo-priority-indicator.medium {
  border-color: rgba(250, 173, 20, 0.8) transparent transparent transparent;
}

.todo-priority-indicator.low {
  border-color: rgba(62, 123, 250, 0.8) transparent transparent transparent;
}

.todo-priority-text {
  position: absolute;
  top: 6px;
  left: 6px;
  color: white;
  font-size: 12px;
  font-weight: 600;
  transform: rotate(-45deg);
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 优化卡片边框和区隔 */
.todo-item {
  display: flex;
  padding: 20px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.todo-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* 移除顶部和底部粗边框 */
.todo-item:before, .todo-item:after {
  display: none;
}

/* 为不同优先级设置细微边框色差 */
.todo-item.high {
  border-left: 3px solid var(--danger-color);
}

.todo-item.medium {
  border-left: 3px solid var(--warning-color);
}

.todo-item.low {
  border-left: 3px solid var(--primary-light);
}

/* 优化待办分组 - 增强不同优先级区域区分 */
.todo-group {
  margin-bottom: 32px;
  transition: all 0.3s ease;
  background-color: #FAFAFA;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.todo-group-title {
  position: relative;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  justify-content: space-between;
}

.todo-group-title.high {
  background-color: rgba(245, 34, 45, 0.05);
  border-left: 3px solid var(--danger-color);
}

.todo-group-title.medium {
  background-color: rgba(250, 173, 20, 0.05);
  border-left: 3px solid var(--warning-color);
}

.todo-group-title.low {
  background-color: rgba(62, 123, 250, 0.05);
  border-left: 3px solid var(--primary-light);
}

/* 优化卡片内信息排版 */
.todo-content {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr max-content;
  grid-gap: 15px;
}

.todo-main-content {
  display: flex;
  flex-direction: column;
}

.todo-meta-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.todo-title {
  position: relative;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
  line-height: 1.3;
  display: inline-block;
  transition: all 0.3s ease;
}

.todo-info-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 16px;
  flex-wrap: wrap;
}

/* 优化操作按钮 */
.todo-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
}

.todo-action {
  padding: 6px 12px;
  border-radius: 6px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  cursor: pointer;
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap;
}

.todo-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.todo-action i {
  margin-right: 6px;
}

.todo-action:nth-child(1) {
  background-color: var(--primary-color);
}

.todo-action:nth-child(2) {
  background-color: var(--primary-light);
}

.todo-action.return {
  background-color: #ff9800;
}

/* 负责人字段优化 */
.todo-person {
  display: flex;
  align-items: center;
  padding: 5px 8px;
  background-color: #f8f9fa;
  border-radius: 20px;
  width: fit-content;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.todo-person:hover {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transform: translateY(-1px);
}

.todo-progress-container {
  margin-top: 12px;
  background-color: #f0f0f0;
  height: 6px;
}

.todo-progress-text {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* 标签组优化 */
.todo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.todo-tag {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

/* 优化待办列表容器 */
.todo-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.todo-list.collapsed {
  max-height: 0;
  overflow: hidden;
  margin: 0;
  opacity: 0;
}

/* 待办事项样式 */
.todo-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.todo-filter {
  display: flex;
  align-items: center;
  gap: 12px;
}

.todo-search {
  position: relative;
  width: 240px;
}

.todo-search input {
  padding-left: 32px;
  width: 100%;
}

.todo-search i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-hint);
}

.todo-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.todo-checkbox {
  margin-right: 16px;
}

.todo-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.todo-content {
  flex: 1;
  min-width: 0;
}

.todo-title.completed {
  text-decoration: line-through;
  color: var(--text-hint);
}

.todo-details {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-secondary);
  font-size: 13px;
}

.todo-detail {
  display: flex;
  align-items: center;
}

.todo-detail i {
  margin-right: 4px;
  font-size: 14px;
}

.todo-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 15px;
  flex-direction: column;
}

.todo-action {
  padding: 8px 12px;
  border-radius: 6px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  cursor: pointer;
  font-weight: 500;
  width: 100%;
  margin-bottom: 6px;
  font-size: 13px;
}

.todo-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.todo-action i {
  margin-right: 6px;
}

.todo-action:first-child {
  background-color: var(--primary-color);
}

.todo-action:nth-child(2) {
  background-color: var(--primary-light);
}

.todo-action.delete {
  background-color: var(--danger-color);
}

/* 待办分页控件 */
.todo-pagination {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.todo-pagination .btn {
  min-width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 4px;
}

/* 倒计时样式优化 */
.todo-countdown {
  display: flex;
  align-items: center;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.todo-countdown i {
  margin-right: 6px;
  font-size: 14px;
}

.todo-countdown.urgent {
  background-color: rgba(245, 34, 45, 0.1);
  color: var(--danger-color);
}

.todo-countdown.soon {
  background-color: rgba(250, 173, 20, 0.1);
  color: var(--warning-color);
}

.todo-countdown.normal {
  background-color: rgba(62, 123, 250, 0.1);
  color: var(--primary-light);
}

/* 优化进度条 */
.todo-progress-container {
  width: 100%;
  height: 6px;
  background-color: #f0f0f0;
  border-radius: 10px;
  margin-top: 12px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.todo-progress-bar {
  height: 100%;
  border-radius: 10px;
  transition: width 0.5s ease;
}

.todo-progress-bar.high {
  background-color: var(--danger-color);
}

.todo-progress-bar.medium {
  background-color: var(--warning-color);
}

.todo-progress-bar.low {
  background-color: var(--primary-light);
}

.todo-progress-bar.completed {
  background-color: var(--success-color);
}

/* 优先级和状态标签 */
.priority, .status {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.priority.high {
  background-color: rgba(245, 34, 45, 0.1);
  color: var(--danger-color);
}

.priority.medium {
  background-color: rgba(250, 173, 20, 0.1);
  color: var(--warning-color);
}

.priority.low {
  background-color: rgba(62, 123, 250, 0.1);
  color: var(--primary-light);
}

.status.pending {
  background-color: rgba(250, 173, 20, 0.1);
  color: var(--warning-color);
}

.status.in-progress {
  background-color: rgba(62, 123, 250, 0.1);
  color: var(--primary-light);
}

.status.completed {
  background-color: rgba(82, 196, 26, 0.1);
  color: var(--success-color);
}

/* 增强标签样式 */
.todo-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.todo-tag i {
  margin-right: 4px;
  font-size: 11px;
}

.todo-tag.project {
  background-color: rgba(62, 123, 250, 0.1);
  color: var(--primary-light);
}

.todo-tag.finance {
  background-color: rgba(82, 196, 26, 0.1);
  color: var(--success-color);
}

.todo-tag.risk {
  background-color: rgba(245, 34, 45, 0.1);
  color: var(--danger-color);
}

.todo-tag.data {
  background-color: rgba(250, 173, 20, 0.1);
  color: var(--warning-color);
}

/* 分组标题样式优化 */
.todo-group-count {
  background-color: rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 13px;
  margin-left: 12px;
  font-weight: 600;
}

.todo-group-actions {
  margin-left: 16px;
}

.btn-icon {
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: rgba(255, 255, 255, 0.3);
}

.btn-icon:hover {
  background-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.btn-icon i {
  font-size: 14px;
}

/* 负责人头像和信息 */
.todo-person-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  font-size: 12px;
}

.todo-person-info {
  display: flex;
  flex-direction: column;
}

.todo-person-name {
  font-weight: 500;
  font-size: 13px;
  color: var(--text-primary);
}

.todo-person-role {
  font-size: 11px;
  color: var(--text-secondary);
}

/* 新增数据导入相关样式 */
.modern-card {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  border: none;
  overflow: hidden;
  transition: all 0.3s ease;
}

.modern-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.modern-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #f0f0f0;
}

.modern-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
}

.modern-tabs {
  display: flex;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 12px;
  margin-bottom: 32px;
}

.modern-tab {
  font-size: 15px;
  padding: 8px 20px;
  position: relative;
  cursor: pointer;
  color: #666;
  transition: all 0.2s ease;
}

.modern-tab:hover {
  color: var(--primary-light);
}

.modern-tab.active {
  font-weight: 500;
  color: var(--primary-color);
}

.modern-tab.active:after {
  content: '';
  position: absolute;
  height: 3px;
  left: 0;
  right: 0;
  bottom: -12px;
  background: linear-gradient(to right, var(--primary-light), var(--primary-color));
  border-radius: 3px;
}

.upload-zone {
  border: 2px dashed #d9d9d9;
  padding: 36px;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 32px;
  background-color: #fafafa;
  transition: all 0.3s;
}

.upload-zone:hover {
  border-color: var(--primary-light);
  background-color: #f0f7ff;
  cursor: pointer;
}

.upload-icon {
  font-size: 56px;
  color: var(--primary-light);
  margin-bottom: 16px;
  display: block;
}

.upload-button {
  background: linear-gradient(to right, var(--primary-light), var(--primary-color));
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 15px;
  color: white;
  box-shadow: 0 4px 12px rgba(62, 123, 250, 0.2);
  transition: all 0.3s;
}

.upload-button:hover {
  box-shadow: 0 6px 16px rgba(62, 123, 250, 0.3);
  transform: translateY(-2px);
}

.config-section {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 32px;
}

.section-title {
  margin-bottom: 16px;
  font-weight: 500;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.section-title i {
  margin-right: 8px;
  color: var(--primary-light);
}

.data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.data-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.modern-form-group {
  margin-bottom: 16px;
}

.modern-form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.modern-form-control {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #E8E8E8;
  transition: all 0.3s;
}

.modern-form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 2px rgba(62, 123, 250, 0.2);
  outline: none;
}

.modern-table-container {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.modern-table {
  width: 100%;
  border-collapse: collapse;
}

.modern-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 500;
  color: #666;
  background-color: #f8f9fa;
  border-bottom: 1px solid #eee;
}

.modern-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
}

.modern-table tr:hover {
  background-color: #f9fbff;
}

.modern-table tr:last-child td {
  border-bottom: none;
}

.status-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  border: 1px solid transparent;
}

.status-tag i {
  margin-right: 4px;
}

.status-tag.success {
  background-color: #F6FFED;
  color: #52C41A;
  border-color: #B7EB8F;
}

.status-tag.warning {
  background-color: #FFF7E6;
  color: #FAAD14;
  border-color: #FFE58F;
}

.status-tag.error {
  background-color: #FFF1F0;
  color: #F5222D;
  border-color: #FFA39E;
}

.file-icon {
  margin-right: 8px;
  font-size: 16px;
}

.file-icon.excel {
  color: #52C41A;
}

.file-icon.csv {
  color: var(--primary-light);
}

.file-icon.text {
  color: #666;
}

.action-link {
  color: var(--primary-light);
  margin-right: 12px;
  font-size: 13px;
  text-decoration: none;
}

.action-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.action-link.danger {
  color: var(--danger-color);
}

.action-link.danger:hover {
  color: #c41d27;
}

.pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 16px;
}

.pagination-info {
  margin-right: 16px;
  color: #666;
  font-size: 13px;
}

.pagination-button {
  border: 1px solid #E8E8E8;
  padding: 6px 12px;
  border-radius: 4px;
  margin-right: 8px;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.pagination-button:hover:not(:disabled) {
  border-color: var(--primary-light);
  color: var(--primary-light);
}

.pagination-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.pagination-button.active {
  background: var(--primary-light);
  color: white;
  border-color: var(--primary-light);
}

.empty-state {
  text-align: center;
  padding: 40px 0;
}

.empty-icon {
  font-size: 64px;
  color: #d9d9d9;
  margin-bottom: 16px;
  display: block;
}

.empty-text {
  font-size: 16px;
  color: #666;
}

/* 响应式调整 */
@media (max-width: 992px) {
  .data-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .data-grid, .data-grid-2 {
    grid-template-columns: 1fr;
  }
  
  .modern-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .modern-header > div:last-child {
    margin-top: 12px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
  
  .modern-tabs {
    overflow-x: auto;
    padding-bottom: 8px;
  }
  
  .modern-tab {
    padding: 8px 16px;
    white-space: nowrap;
  }
} 