/* 招聘页面样式 */

/* 职位列表容器 */
.job-list {
  margin: 40px 0;
}

/* 章节标题 */
.section-title {
  font-size: 28px;
  font-weight: 600;
  color: #2c3e50;
  margin: 40px 0 30px;
  padding-left: 20px;
  border-left: 4px solid #3498db;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 60px;
  height: 3px;
  background: #3498db;
  border-radius: 2px;
}

/* 职位卡片 */
.job-item {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.job-item:hover {
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transform: translateY(-3px);
  border-color: #3498db;
}

/* 职位头部 */
.job-header {
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.job-title {
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 15px 0;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.job-tags .tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #f8f9fa;
  border-radius: 20px;
  font-size: 14px;
  color: #666;
  transition: all 0.3s ease;
}

.job-tags .tag:hover {
  background: #3498db;
  color: #fff;
}

.job-tags .tag i {
  margin-right: 6px;
  color: #3498db;
}

.job-tags .tag:hover i {
  color: #fff;
}

/* 职位内容 */
.job-content {
  margin-bottom: 20px;
}

.job-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: #34495e;
  margin: 20px 0 10px 0;
  padding-left: 12px;
  border-left: 3px solid #5dade2;
}

.job-content p {
  color: #666;
  line-height: 1.8;
  margin: 10px 0;
}

/* 职位底部 */
.job-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.job-info {
  display: flex;
  gap: 20px;
}

.job-info span {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: #999;
}

.job-info span i {
  margin-right: 6px;
  color: #3498db;
}

.btn-apply {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: #fff;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(52,152,219,0.3);
}

.btn-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52,152,219,0.4);
  background: linear-gradient(135deg, #2980b9, #3498db);
}

/* 应聘方式 */
.apply-method {
  margin: 40px 0;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 40px;
}

.apply-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.apply-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: #fff;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.apply-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.apply-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
}

.apply-text {
  flex: 1;
}

.apply-text h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 10px 0;
}

.apply-text p {
  color: #666;
  line-height: 1.6;
  margin: 5px 0;
}

.apply-text p strong {
  color: #3498db;
  font-weight: 600;
}

/* 空状态 */
.job-empty {
  text-align: center;
  padding: 60px 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px dashed #ddd;
}

.job-empty .empty-icon {
  font-size: 64px;
  color: #ccc;
  margin-bottom: 20px;
}

.job-empty p {
  color: #999;
  font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .job-item {
    padding: 20px;
  }
  
  .job-title {
    font-size: 20px;
  }
  
  .job-tags {
    gap: 10px;
  }
  
  .job-tags .tag {
    font-size: 13px;
    padding: 6px 12px;
  }
  
  .job-footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .apply-content {
    grid-template-columns: 1fr;
  }
  
  .apply-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
