/* 训练详情页样式 */
.training-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.training-header {
  margin-bottom: 2rem;
  text-align: center;
}

.training-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.training-meta {
  color: #666;
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.training-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* 训练视频/图片展示 */
.training-media {
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
}

.training-media img,
.training-media video {
  width: 100%;
  height: auto;
  display: block;
}

/* 训练步骤 */
.training-steps {
  margin-bottom: 2rem;
}

.step-item {
  margin-bottom: 2rem;
  padding: 1rem;
  background: #f5f5f5;
  border-radius: 8px;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.step-number {
  width: 40px;
  height: 40px;
  background: #2E3192;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.step-title {
  font-size: 1.2rem;
  font-weight: bold;
}

.step-content {
  line-height: 1.8;
}

.step-content img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
  border-radius: 4px;
}

/* 注意事项 */
.training-tips {
  margin-bottom: 2rem;
  padding: 1rem;
  background: #fff3cd;
  border-left: 4px solid #FFB81C;
  border-radius: 4px;
}

.tips-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tips-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.tips-list li:before {
  content: "!";
  position: absolute;
  left: 0;
  color: #FFB81C;
  font-weight: bold;
}

/* 教练推荐 */
.coach-section {
  margin-bottom: 2rem;
}

.coach-card {
  display: flex;
  gap: 2rem;
  padding: 1rem;
  background: #f5f5f5;
  border-radius: 8px;
}

.coach-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
}

.coach-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coach-info {
  flex: 1;
}

.coach-name {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.coach-title {
  color: #666;
  margin-bottom: 1rem;
}

/* 相关课程 */
.related-courses {
  margin-bottom: 2rem;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* 报名表单 */
.signup-section {
  margin-bottom: 2rem;
  padding: 2rem;
  background: #f5f5f5;
  border-radius: 8px;
}

.signup-form {
  display: grid;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: bold;
}

.form-group input,
.form-group select {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.price-info {
  margin: 1rem 0;
  padding: 1rem;
  background: #e9ecef;
  border-radius: 4px;
  text-align: center;
}

.price-amount {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2E3192;
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  background: #2E3192;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.back-to-top:hover {
  background: #1a1b5e;
}

.back-to-top.visible {
  display: flex;
} 