.dashboard-wrapper {
  max-width: 860px;
  margin: 40px auto;
  padding: 0 16px;
}
/* NAV TABS */
.nav-pill-bar {
  background: #ffffff;
  border-radius: 50px;
  padding: 6px 8px;
  display: inline-flex;
  gap: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.nav-pill-bar .nav-link {
  border-radius: 50px;
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 7px 18px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.nav-pill-bar .nav-link:hover {
  color: #5b21b6;
  background: #f3f0ff;
}
.nav-pill-bar .nav-link.active {
  background: #ffffff;
  color: #111827;
  font-weight: 700;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
}
.nav-pill-bar .nav-link i {
  font-size: 1rem;
}
/* PLACEHOLDER TABS */
.tab-pane-placeholder {
  background: #ffffff;
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
}
.tab-pane-placeholder i {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
  color: #d1d5db;
}
/* COURSE CARD */
.course-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.course-card:hover {
  box-shadow: 0 6px 22px rgba(91, 33, 182, 0.13);
  transform: translateY(-2px);
  color: inherit;
}
.course-thumb-placeholder {
  width: 100px;
  height: 72px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  text-align: center;
  color: #fff;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.course-body {
  flex: 1;
  min-width: 0;
}
.course-title {
  font-size: 0.97rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
}
.course-author {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 10px;
}
.course-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}
.lessons-label {
  font-size: 0.78rem;
  color: #6b7280;
}
.percent-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b7280;
}
.progress {
  height: 6px;
  border-radius: 10px;
  background-color: #ede9fe;
}
.progress-bar {
  border-radius: 10px;
  background: linear-gradient(90deg, #7c3aed, #a855f7);
}
.badge-completed {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  white-space: nowrap;
}
.badge-completed i {
  font-size: 0.85rem;
}
.chevron-icon {
  color: #d1d5db;
  flex-shrink: 0;
  font-size: 1rem;
}
.course-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.order-card {
  border-radius: 14px;
  border: 1px solid #e5e7eb;
}
.divider {
  border-top: 1px solid #f3f4f6;
}
.badge-completed {
  background-color: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}
.badge-shipped {
  background-color: #faf5ff;
  color: #7c3aed;
  border: 1px solid #e9d5ff;
}
.view-details {
  color: #7c3aed;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}
.view-details:hover {
  color: #5b21b6;
}
.item-icon {
  color: #7c3aed;
}
.stat-card {
  border-radius: 14px;
  border: 1px solid #e5e7eb;
}
.history-card {
  border-radius: 14px;
  border: 1px solid #e5e7eb;
}
.icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #f3f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.credit-plus {
  color: #16a34a;
  font-weight: 700;
}
.stat-icon {
  font-size: 1.6rem;
}
.icon-purple {
  color: #7c3aed;
}
.icon-green {
  color: #16a34a;
}
.icon-pink {
  color: #db2777;
}
.forum-card {
  border-radius: 14px;
  border: 1px solid #e5e7eb;
}
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.hashtag {
  background-color: #f3f0ff;
  color: #7c3aed;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 14px;
  white-space: nowrap;
}
.meta-item {
  color: #9ca3af;
  font-size: 0.8rem;
}
.rprifile {
  line-height: 1.625;
  font-size: 0.875rem;
}
.back-link {
  color: #7c3aed;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}
.back-link:hover {
  color: #5b21b6;
}
.main-card {
  border-radius: 14px;
  border: 1px solid #e5e7eb;
}
.pay-card {
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  max-width: 340px;
}
.badge-completed {
  background-color: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 16px;
}
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
}
.col-header {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
}
.divider {
  border-top: 1px solid #f3f4f6;
}
.badge-type {
  background-color: #f3f4f6;
  color: #6b7280;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 2px 10px;
}
.link-action {
  color: #7c3aed;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
}
.link-action:hover {
  color: #5b21b6;
}
.icon-purple {
  color: #7c3aed;
}
