/* 深蓝色主题样式 */

/* 重置和基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "微软雅黑", sans-serif;
  color: #e6f4ff;
}

/* 响应式设计 */
@media (max-width: 768px) {
  * {
    font-size: 14px;
  }
}

/* 主体样式 */
body {
  background-color: #0f1419;
  background-image: linear-gradient(135deg, #0f1419 0%, #1a2332 100%);
  min-height: 100vh;
  overflow-y: auto;
}

/* 顶部标题栏 */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* 基本内边距 + 适配刘海/安全区顶部 */
  padding: 10px 20px;
  padding-top: calc(10px + constant(safe-area-inset-top));
  padding-top: calc(10px + env(safe-area-inset-top));
  background-color: #1a2332;
  border-bottom: 1px solid #2d3748;
  min-height: 70px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .header {
    padding: 8px 15px;
    padding-top: calc(8px + constant(safe-area-inset-top));
    padding-top: calc(8px + env(safe-area-inset-top));
    min-height: 60px;
    flex-direction: column;
    gap: 8px;
  }
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

@media (max-width: 768px) {
  .header-left {
    gap: 10px;
  }
}

.logo {
  width: 40px;
  height: 40px;
  background-color: #1890ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: bold;
}

@media (max-width: 768px) {
  .logo {
    width: 35px;
    height: 35px;
  }
}

.header-title {
  font-size: 18px;
  font-weight: bold;
  color: #e6f4ff;
}

@media (max-width: 768px) {
  .header-title {
    font-size: 16px;
  }
}

.header-title small {
  font-size: 12px;
  color: #a0aec0;
}

.header-middle {
  font-size: 22px;
  font-weight: bold;
  color: #e6f4ff;
}

@media (max-width: 768px) {
  .header-middle {
    font-size: 18px;
  }
}

.header-right {
  text-align: right;
  font-size: 12px;
  color: #e6f4ff;
}

@media (max-width: 768px) {
  .header-right {
    text-align: center;
    font-size: 11px;
  }
}

.header-right .time {
  color: #a0aec0;
}

/* 主容器 */
.main-container {
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  grid-template-rows: auto 1fr;
  gap: 15px;
  padding: 15px 20px;
  height: calc(100vh - 70px);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .main-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto;
    padding: 10px;
    height: auto;
    gap: 10px;
  }
}

/* 左侧导航栏 */
.left-nav {
  grid-row: 1 / 3;
  background-color: #1a2332;
  border: 1px solid #2d3748;
  border-radius: 8px;
  overflow: hidden;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .left-nav {
    grid-row: auto;
    grid-column: 1;
    order: 1;
  }
}

.nav-item {
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  background: linear-gradient(to bottom, #1e293b, #334155);
  border-bottom: 1px solid #374151;
  text-decoration: none;
  display: block;
  color: inherit;
}

.nav-item.active {
  background: linear-gradient(to bottom, #1890ff, #0ea5e9);
  color: #ffffff;
  font-weight: bold;
}

.nav-item:hover:not(.active) {
  background: linear-gradient(to bottom, #334155, #475569);
}

@media (max-width: 768px) {
  .nav-item {
    padding: 10px 15px;
    font-size: 14px;
  }
}

/* 左侧功能模块区 */
.left-modules {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 768px) {
  .left-modules {
    padding: 10px;
    gap: 15px;
  }
}

.module {
  background-color: #1e293b;
  border-radius: 6px;
  padding: 12px;
  border: 1px solid #334155;
}

.module-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #2d3748;
  color: #e6f4ff;
}

@media (max-width: 768px) {
  .module-title {
    font-size: 13px;
  }
}

/* 组织架构模块 */
.org-structure .org-item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.org-avatar {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background-color: #1890ff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.org-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.org-info .name {
  font-size: 14px;
  font-weight: bold;
  color: #e6f4ff;
}

.org-info .duty {
  font-size: 12px;
  color: #a0aec0;
  margin: 3px 0;
}

.org-info .tel {
  font-size: 12px;
  color: #a0aec0;
}

/* 积分排名模块 */
.score-rank .rank-item {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 5px;
}

.score-rank .rank-name {
  color: #e6f4ff;
}

.score-rank .rank-score {
  color: #38bdf8;
  font-weight: bold;
}

/* 重点工作模块 */
.key-work .work-item {
  margin-bottom: 10px;
  font-size: 12px;
}

.work-item .work-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
  color: #e6f4ff;
}

.work-progress {
  width: 100%;
  height: 8px;
  background-color: #1e293b;
  border-radius: 4px;
  overflow: hidden;
}

.work-progress-bar {
  height: 100%;
  background-color: #1890ff;
}

/* 顶部核心指标区域 */
.core-indicators {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  background-color: #1a2332;
  border: 1px solid #2d3748;
  border-radius: 8px;
  padding: 12px;
}

@media (max-width: 768px) {
  .core-indicators {
    grid-column: 1;
    grid-row: auto;
    order: 2;
  }
}

.core-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #2d3748;
  color: #e6f4ff;
}

.core-data {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

@media (max-width: 768px) {
  .core-data {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
}

.core-item {
  background-color: #1e293b;
  border-radius: 6px;
  padding: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #334155;
}

.core-item .core-name {
  font-size: 12px;
  color: #a0aec0;
  margin-bottom: 5px;
}

.core-item .core-value {
  font-size: 14px;
  font-weight: bold;
  color: #e6f4ff;
}

.core-value.red {
  color: #f87171;
}

.core-value.green {
  color: #34d399;
}

.core-value.blue {
  color: #1890ff;
}

/* 中间内容区 */
.middle-content {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 100%;
}

@media (max-width: 768px) {
  .middle-content {
    grid-column: 1;
    grid-row: auto;
    order: 3;
    height: auto;
  }
}

.middle-tabs {
  display: flex;
  gap: 10px;
  padding: 0 10px;
}

@media (max-width: 768px) {
  .middle-tabs {
    padding: 0;
    flex-wrap: wrap;
    gap: 8px;
  }
}

.middle-tab {
  padding: 5px 10px;
  font-size: 12px;
  background-color: #1a2332;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #334155;
  color: #e6f4ff;
}

.middle-tab.active {
  background: linear-gradient(to bottom, #1890ff, #0ea5e9);
  color: #ffffff;
}

/* 图片+数据卡片容器 */
.middle-img-card-container {
  display: grid;
  grid-template-columns: 6fr 0fr;
  gap: 15px;
  height: 380px;
}

@media (max-width: 768px) {
  .middle-img-card-container {
    grid-template-columns: 1fr;
    height: auto;
    gap: 10px;
  }
}

.middle-img {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #2d3748;
  height: 380px;
  background-color: #0f1419;
}

@media (max-width: 768px) {
  .middle-img {
    height: 250px;
  }
}

.middle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.middle-data-cards {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 768px) {
  .middle-data-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    gap: 8px;
  }
}

.small-data-card {
  background-color: #1e293b;
  border: 1px solid #2d3748;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.small-data-card .card-title {
  font-size: 12px;
  color: #a0aec0;
  margin-bottom: 3px;
}

.small-data-card .card-value {
  font-size: 18px;
  font-weight: bold;
  color: #e6f4ff;
}

/* 乡村经济模块 */
.village-economy {
  background-color: #1a2332;
  border: 1px solid #2d3748;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  min-height: 200px;
}

@media (max-width: 768px) {
  .village-economy {
    order: 4;
  }
}

.economy-title {
  font-size: 14px;
  font-weight: bold;
  color: #e6f4ff;
}

.economy-data {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

@media (max-width: 768px) {
  .economy-data {
    grid-template-columns: repeat(4, 1fr);
  }
}

.economy-item {
  background-color: #1e293b;
  border-radius: 6px;
  padding: 8px;
  text-align: center;
  border: 1px solid #334155;
}

.economy-item .eco-name {
  font-size: 12px;
  color: #a0aec0;
  margin-bottom: 5px;
}

.economy-item .eco-value {
  font-size: 14px;
  font-weight: bold;
  color: #e6f4ff;
}

.eco-value.red {
  color: #f87171;
}

.eco-value.green {
  color: #34d399;
}

.eco-value.blue {
  color: #1890ff;
}

/* 经济图表区域 */
.economy-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  flex: 1;
  min-height: 200px;
}

@media (max-width: 768px) {
  .economy-charts {
    grid-template-columns: 1fr;
    min-height: 150px;
  }
}

.chart-item {
  background-color: #1e293b;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  border: 1px solid #334155;
}

.chart-title {
  font-size: 12px;
  font-weight: bold;
  padding-bottom: 5px;
  border-bottom: 1px solid #2d3748;
  color: #e6f4ff;
}

.chart {
  flex: 1;
  width: 100%;
  min-height: 150px;
}

/* 右侧功能区 */
.right-content {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 100%;
}

@media (max-width: 768px) {
  .right-content {
    grid-column: 1;
    grid-row: auto;
    order: 5;
    height: auto;
  }
}

.right-module {
  background-color: #1a2332;
  border: 1px solid #2d3748;
  border-radius: 8px;
  padding: 12px;
  flex: 1;
  overflow-y: auto;
  min-height: 200px;
}

.right-module-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #2d3748;
  color: #e6f4ff;
}

.right-module-title .count {
  font-size: 12px;
  color: #a0aec0;
}

.public-task .task-item {
  font-size: 12px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #334155;
  color: #e6f4ff;
}

.task-item .task-name {
  font-weight: bold;
  margin-bottom: 3px;
}

.task-item .task-info {
  color: #a0aec0;
  margin-bottom: 2px;
}

.opinion-feedback .feedback-item {
  font-size: 12px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #334155;
  color: #e6f4ff;
}

.feedback-item .feedback-time {
  color: #a0aec0;
  margin-bottom: 3px;
}

.feedback-item .feedback-content {
  line-height: 1.5;
}

.feedback-item .feedback-status {
  color: #34d399;
  margin-top: 3px;
}

/* 独立页面样式 */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
  background-color: #0f1419;
  background-image: linear-gradient(135deg, #0f1419 0%, #1a2332 100%);
}

@media (max-width: 768px) {
  .page-container {
    padding: 15px;
  }
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  margin-bottom: 30px;
  border-bottom: 2px solid #2d3748;
}

@media (max-width: 768px) {
  .page-header {
    padding: 15px 0;
    margin-bottom: 20px;
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

.page-title {
  font-size: 28px;
  font-weight: bold;
  color: #e6f4ff;
}

@media (max-width: 768px) {
  .page-title {
    font-size: 24px;
  }
}

.page-subtitle {
  font-size: 16px;
  color: #a0aec0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #1890ff, #0ea5e9);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s;
}

.back-link:hover {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  transform: translateY(-2px);
}

.page-content {
  background-color: #1a2332;
  border: 1px solid #2d3748;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(24, 144, 255, 0.1);
}

@media (max-width: 768px) {
  .page-content {
    padding: 20px;
  }
}

/* 村民积分模块样式 */
.integral-module {
  background-color: #1a2332;
  border: 1px solid #2d3748;
  border-radius: 8px;
  padding: 12px;
  flex: 1;
  overflow-y: auto;
  min-height: 200px;
}

.integral-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #2d3748;
}

.integral-title {
  font-size: 14px;
  font-weight: bold;
  color: #e6f4ff;
}

.integral-total {
  font-size: 12px;
  color: #a0aec0;
  font-weight: bold;
}

.integral-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.integral-item {
  background-color: #1e293b;
  border-radius: 6px;
  padding: 12px;
  border: 1px solid #334155;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s;
}

.integral-item:hover {
  transform: translateY(-1px);
}

.integral-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1890ff, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: bold;
  font-size: 16px;
  flex-shrink: 0;
}

.integral-info {
  flex: 1;
}

.integral-info .name {
  font-size: 14px;
  font-weight: bold;
  color: #e6f4ff;
  margin-bottom: 2px;
}

.integral-info .rank {
  font-size: 12px;
  color: #a0aec0;
  margin-bottom: 3px;
}

.integral-info .score {
  font-size: 16px;
  font-weight: bold;
  color: #34d399;
}

.integral-score-badge {
  background: linear-gradient(135deg, #34d399, #10b981);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

/* 公益活动模块样式 */
.activity-module {
  background-color: #1a2332;
  border: 1px solid #2d3748;
  border-radius: 8px;
  padding: 12px;
  flex: 1;
  overflow-y: auto;
  min-height: 200px;
}

.activity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #2d3748;
}

.activity-title {
  font-size: 14px;
  font-weight: bold;
  color: #e6f4ff;
}

.activity-count {
  font-size: 12px;
  color: #a0aec0;
  font-weight: bold;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-item {
  background-color: #1e293b;
  border-radius: 8px;
  padding: 15px;
  border: 1px solid #334155;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.activity-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #34d399, #10b981);
}

.activity-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.2);
}

.activity-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.activity-name {
  font-size: 15px;
  font-weight: bold;
  color: #e6f4ff;
  margin-bottom: 5px;
}

.activity-status {
  background: linear-gradient(135deg, #34d399, #10b981);
  color: white;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: bold;
}

.activity-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #a0aec0;
}

.activity-detail {
  display: flex;
  align-items: center;
  gap: 5px;
}

.activity-detail::before {
  content: '•';
  color: #2d3748;
  font-weight: bold;
}

.activity-join {
  margin-top: 10px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #1890ff, #0ea5e9);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.activity-join:hover {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  transform: translateY(-1px);
}

/* 村民建议模块样式 */
.suggestion-module {
  background-color: #1a2332;
  border: 1px solid #2d3748;
  border-radius: 8px;
  padding: 12px;
  flex: 1;
  overflow-y: auto;
  min-height: 200px;
}

.suggestion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #2d3748;
}

.suggestion-title {
  font-size: 14px;
  font-weight: bold;
  color: #e6f4ff;
}

.suggestion-count {
  font-size: 12px;
  color: #a0aec0;
  font-weight: bold;
}

.suggestion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.suggestion-item {
  background-color: #1e293b;
  border-radius: 8px;
  padding: 15px;
  border: 1px solid #334155;
  transition: all 0.3s;
}

.suggestion-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.2);
}

.suggestion-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.suggestion-author {
  font-size: 13px;
  font-weight: bold;
  color: #e6f4ff;
}

.suggestion-time {
  font-size: 11px;
  color: #a0aec0;
}

.suggestion-content {
  font-size: 13px;
  color: #e6f4ff;
  line-height: 1.6;
  margin-bottom: 10px;
}

.suggestion-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.suggestion-status {
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: bold;
}

.suggestion-status.processing {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

.suggestion-status.completed {
  background: linear-gradient(135deg, #34d399, #10b981);
  color: white;
}

.suggestion-status.pending {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
}

.suggestion-actions {
  display: flex;
  gap: 8px;
}

.suggestion-action {
  padding: 4px 8px;
  border: none;
  border-radius: 4px;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}

.suggestion-action.support {
  background: linear-gradient(135deg, #34d399, #10b981);
  color: white;
}

.suggestion-action.support:hover {
  background: linear-gradient(135deg, #10b981, #059669);
}

.suggestion-action.comment {
  background: linear-gradient(135deg, #1890ff, #0ea5e9);
  color: #ffffff;
}

.suggestion-action.comment:hover {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

/* 帮扶项目模块样式 */
.aid-module {
  background-color: #1a2332;
  border: 1px solid #2d3748;
  border-radius: 8px;
  padding: 12px;
  flex: 1;
  overflow-y: auto;
  min-height: 200px;
}

.aid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #2d3748;
}

.aid-title {
  font-size: 14px;
  font-weight: bold;
  color: #e6f4ff;
}

.aid-count {
  font-size: 12px;
  color: #a0aec0;
  font-weight: bold;
}

.aid-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aid-item {
  background-color: #1e293b;
  border-radius: 8px;
  padding: 15px;
  border: 1px solid #334155;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.aid-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #3b82f6, #1d4ed8);
}

.aid-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.aid-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.aid-name {
  font-size: 15px;
  font-weight: bold;
  color: #e6f4ff;
  margin-bottom: 5px;
}

.aid-type {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: bold;
}

.aid-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #a0aec0;
  margin-bottom: 10px;
}

.aid-detail {
  display: flex;
  align-items: center;
  gap: 5px;
}

.aid-detail::before {
  content: '•';
  color: #2d3748;
  font-weight: bold;
}

.aid-progress {
  margin-bottom: 10px;
}

.aid-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #a0aec0;
  margin-bottom: 4px;
}

.aid-progress-bar {
  width: 100%;
  height: 6px;
  background-color: #1a2332;
  border-radius: 3px;
  overflow: hidden;
}

.aid-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #34d399, #10b981);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.aid-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.aid-status {
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: bold;
  color: white;
}

.aid-status.ongoing {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.aid-status.completed {
  background: linear-gradient(135deg, #34d399, #10b981);
}

.aid-status.planned {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.aid-view-detail {
  padding: 6px 12px;
  background: linear-gradient(135deg, #1890ff, #0ea5e9);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.aid-view-detail:hover {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  transform: translateY(-1px);
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #1a2332;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: #1890ff;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0ea5e9;
}

/* 主题切换按钮样式 */
.theme-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  gap: 10px;
}

.theme-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #e6f4ff;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.theme-btn:hover {
  transform: scale(1.1);
}

.theme-btn.active {
  border-color: #1890ff;
  box-shadow: 0 0 10px rgba(24, 144, 255, 0.5);
}

.theme-btn.light {
  background: linear-gradient(135deg, #f5e8c9, #e0d4b9);
  color: #5e4026;
}

.theme-btn.dark {
  background: linear-gradient(135deg, #0f1419, #1a2332);
  color: #e6f4ff;
}
