h1 {
    text-align: center;
}

.theme-section {
    border-radius: 10px;
    box-shadow: 0 4px 6px #d1d5db;
    margin: 20px 0;
    padding: 20px;
}

h2 {
    color: #3498db;
}

/* 进度条样式 */
.progress-bar {
    background: #9ca3af;
    border-radius: 10px;
    height: 20px;
    margin: 10px 0;
    position: relative;
    overflow: hidden;
}

.progress {
    background: #3498db;
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.progress-bar span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

/* 规划卡片样式 */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.plan-card {
    background: #ecf0f1;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.plan-card p {
    margin: 0;
    color: #333;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    /* 水平居中 */
    align-items: center;
    /* 垂直居中 */
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #000;
}

/* 规划项样式 */
.plan-item {
    margin: 10px 0;
}

.plan-item label {
    display: flex;
    align-items: center;
}

.plan-item input[type="checkbox"] {
    margin-right: 10px;
    cursor: not-allowed;
}

/* 规划项链接样式 */
.plan-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    /* 去掉下划线 */
    /* color: inherit; 继承父元素颜色 */
    cursor: pointer;
}

.plan-link:hover {
    text-decoration: underline;
    /* 鼠标悬停时显示下划线 */
}

/* 小进度条样式 */
/* 进度条容器 */
.mini-progress-bar {
    position: relative;
    width: 100%;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
  }
  
  /* 进度条 */
  .mini-progress {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #6dd5fa); /* 渐变色 */
    border-radius: 10px;
    transition: width 0.5s ease;
    position: relative;
  }
  
  /* 进度值 */
  .progress-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: bold;
    color: #333;
    mix-blend-mode: difference; /* 使文字颜色与背景对比 */
  }
  
  /* 创意效果：进度条发光 */
  .mini-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    animation: glow 1.5s infinite alternate;
  }
  
  @keyframes glow {
    from {
      opacity: 0.5;
    }
    to {
      opacity: 1;
    }
  }