/*
CTC Separate Stylesheet
Updated: 2025-08-08 05:26:26
*/
/* Container styling */
.my-courses-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.course-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 15px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fff;
  transition: box-shadow 0.2s ease;
}

.course-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.course-thumb img {
  width: 60px;
  height: auto;
  border-radius: 4px;
}

.course-info {
  flex: 1;
}

.course-info strong a {
  font-size: 16px;
  color: #333;
  text-decoration: none;
}

.course-info strong a:hover {
  color: #0073aa;
}

.course-downloads {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.course-downloads li {
  margin-bottom: 4px;
}

/* PDF icon styling */
.course-download-link.pdf {
  position: relative;
  padding-left: 26px;
  color: #0073aa;
  text-decoration: none;
}

.course-download-link.pdf:hover {
  text-decoration: underline;
}

/* Add PDF icon before link text */
.course-download-link.pdf::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23d32f2f" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6 2a2 2 0 0 0-2 2v16c0 1.103.897 2 2 2h12a2 2 0 0 0 2-2V8l-6-6H6zm7 1.5L18.5 9H13V3.5zM8 13h1.5v4H8v-4zm3 0h1.5a1.5 1.5 0 0 1 0 3H11v-3zm0 2h.5a.5.5 0 0 0 0-1H11v1zm3-2h2a1 1 0 0 1 0 2h-1v2h-1v-4z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateY(-50%);
}
.um-profile-courses .downloads-remaining {
  font-size: 12px;
  color: #666;
  margin-left: 4px;
}
.mycred-points-history-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.points-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.points-amount {
  font-weight: bold;
}

.points-amount::before {
  content: "🏆 ";
}

.points-date {
  font-size: 12px;
  color: #666;
}