.project-details-content {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  margin: 30px 0 0;
  max-width: 1200px;
  width: 100%;
}

/* 收支统计样式 */
.finance-statistics {
  padding: 50px 0;
  background-color: #fff;
}

.statistics-cards {
  margin-bottom: 40px;
}

.stat-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat-card h3 {
  color: #666;
  font-size: 16px;
  margin-bottom: 10px;
}

.stat-value {
  color: #28c1ce;
  font-size: 24px;
  font-weight: 600;
  @media (max-width: 992px) {
    font-size: 16px;
  }
  @media (max-width: 768px) {
    font-size: 14px;
  }
  @media (max-width: 576px) {
    font-size: 12px;
  }
}

.stat-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.filter-section {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.select-wrapper select,
.filter-section input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.finance-search-btn,
.reset-btn {
  background-color: #28c1ce;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 10px;
}

.reset-btn {
  background-color: #f2f3f5;
  color: #4e5969;
}

.finance-table {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.table-luhu {
  width: 100%;
  border-collapse: collapse;
}

.table-luhu th,
.table-luhu td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.table-luhu th {
  background-color: #f5f7fa;
  font-weight: 600;
  color: #333;
}

.paginations a {
  display: block;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #666;
  text-decoration: none;
  white-space: nowrap;
}

.paginations li.active a {
  background-color: #28c1ce;
  color: #fff;
  border-color: #28c1ce;
}

.total-records {
  color: #666;
  font-size: 14px;
}

@media (max-width: 768px) {
  .statistics-cards {
    flex-wrap: wrap;
  }

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

  .filter-section .row {
    flex-direction: column;
  }

  .filter-section .col-md-2,
  .filter-section .col-md-3 {
    width: 100%;
    margin-bottom: 10px;
  }

  .load-more {
    flex-direction: column;
    align-items: flex-start;
  }

  .paginations {
    margin-top: 10px;
  }
}

/* 信息网格样式 */
.project-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

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

.info-item label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 15px;
}

.info-item span {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}

/* 宗旨部分样式 */
.project-mission {
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.project-mission h3 {
  color: #333;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.project-mission p {
  color: #666;
  font-size: 16px;
  line-height: 1.8;
  text-align: justify;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .project-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-details-content {
    padding: 20px;
  }

  .project-mission h3 {
    font-size: 18px;
  }

  .project-mission p {
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .project-details-content {
    padding: 15px;
  }

  .info-item label {
    font-size: 14px;
  }

  .info-item span {
    font-size: 15px;
  }
}

/* 确保统计卡片在小屏幕下能正确显示为两列 */
@media (max-width: 767px) {
  .stat-card-col {
    width: 50%;
    padding: 0 10px;
    float: left;
  }
}

/* 针对非常小的屏幕的额外保障 */
@media (max-width: 575px) {
  .stat-card-col {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}

/* 统一为捐赠公示表格样式（含移动端） */
.finance-table table {
  width: 100%;
}
.finance-table table tr {
  width: 100%;
  font-size: 20px;
  font-weight: 500;
  color: #333333;
}
.finance-table table tr:hover {
  color: #1a3b5e;
}
.finance-table table tr:nth-child(odd) {
  background: rgba(242, 243, 245, 0.58);
}
.finance-table table tr:nth-child(1) {
  background: #edeef1;
}
.finance-table table tr:nth-child(1):hover {
  color: #333333;
}
.finance-table table th {
  line-height: 52px;
  text-align: left;
  padding: 0 10px;
  white-space: nowrap;
}
.finance-table table td {
  padding: 10px;
  font-weight: 400;
  text-align: left;
  text-wrap: balance;
}
.finance-table table .title {
  width: 25% !important;
}
.finance-table table .amount {
  width: 10% !important;
}
.finance-table table .time {
  word-break: keep-all;
  width: 20% !important;
}
.finance-table table .balance {
  width: 10% !important;
}

@media screen and (max-width: 992px) {
  .finance-table table tr {
    font-size: 14px;
  }
  .finance-table table .title {
    width: 25% !important;
  }
  .finance-table table .time {
    width: 20% !important;
  }
}

@media (max-width: 576px) {
  .finance-table table tr {
    font-size: 10px;
  }
}

@media (max-width: 400px) {
  .finance-table table tr {
    font-size: 10px;
  }

  .finance-table table .title {
    word-break: break-all;
    width: 25% !important;
  }
  .finance-table table .amount {
    width: 10% !important;
  }
  .finance-table table .time {
    word-break: keep-all;
    width: 25% !important;
  }
  .finance-table table .balance {
    width: 10% !important;
  }
}
