/* ==================== 课程标准管理系统样式 ==================== */

.course-subpanel {
  animation: customAlertFadeIn 0.25s ease;
}

.category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  color: #475569;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
}

.category-item:hover {
  background: #f1f5f9;
  color: var(--text-main);
  transform: translateX(2px);
}

.category-item.active {
  background: var(--accent-blue-light);
  color: var(--accent-blue);
  border-color: rgba(37, 99, 235, 0.15);
  font-weight: 700;
}

.category-item-delete {
  font-size: 10px;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 0.2s, color 0.2s;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-item:hover .category-item-delete {
  opacity: 1;
}

.category-item-delete:hover {
  color: var(--danger);
}

/* 微信小程序课程标准滑块及小卡片 */
.mini-sport-tabs::-webkit-scrollbar {
  display: none;
}

.mini-sport-tabs {
  scrollbar-width: none;
}

.mini-sport-tab {
  padding: 5px 12px;
  font-size: 11px;
  background: #f1f5f9;
  border-radius: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.mini-sport-tab.active {
  background: var(--accent-blue);
  color: #ffffff;
  font-weight: bold;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.25);
}

.mini-std-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 14px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
  transition: transform 0.2s;
}

.mini-std-card:hover {
  transform: translateY(-1px);
}

.mini-std-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 8px;
}

.mini-std-title {
  font-size: 12px;
  font-weight: bold;
  color: #0f172a;
  line-height: 1.4;
}

.mini-std-desc {
  font-size: 10.5px;
  color: #64748b;
  line-height: 1.5;
}

.mini-std-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9.5px;
  color: #94a3b8;
  border-top: 1px dashed #f1f5f9;
  padding-top: 8px;
  margin-top: 2px;
}

.btn-mini-std {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: bold;
  background: var(--accent-orange);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s;
}

.btn-mini-std:hover {
  opacity: 0.9;
}

.btn-mini-std-cyan {
  background: var(--accent-cyan);
}
