/* ============================================================
   OKAKA FOOTBALL ACADEMY — Page-Specific Styles
   Premium editorial & interior page styling
   ============================================================ */

/* ---- Page Hero (Premium Football Club Style) ---- */
.page-hero {
  position: relative;
  padding: 230px 0 130px;
  background: linear-gradient(180deg, #07180f 0%, #0a2416 55%, #0c2b1a 100%);
  overflow: hidden;
  isolation: isolate;
}
/* Text-contrast overlay between image and content */
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(7,22,14,0.9) 0%, rgba(10,36,22,0.55) 45%, rgba(10,36,22,0.22) 75%, rgba(10,36,22,0.55) 100%),
    linear-gradient(180deg, rgba(7,20,13,0.55) 0%, rgba(7,20,13,0.2) 45%, rgba(9,26,16,0.82) 100%);
}
/* Curved dark-green bottom edge */
.page-hero::after {
  content: '';
  position: absolute;
  left: -1%; right: -1%;
  bottom: -1px;
  height: 84px;
  z-index: 2;
  background: #0b2a19;
  clip-path: ellipse(120% 100% at 50% 100%);
  pointer-events: none;
}
/* Curved green-and-white flowing accents at the hero bottom */
.page-hero-curve {
  position: absolute;
  left: -1%; right: -1%;
  bottom: 0;
  height: 64px;
  z-index: 3;
  pointer-events: none;
}
.page-hero-curve::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.95);
  clip-path: ellipse(120% 100% at 50% 100%);
}
.page-hero-curve::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 28px;
  height: 5px;
  background: linear-gradient(90deg, rgba(163,230,53,0) 0%, #A3E635 32%, var(--accent) 68%, rgba(163,230,53,0) 100%);
  clip-path: ellipse(120% 100% at 50% 100%);
}
.page-hero .hero-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(163,230,53,0.1);
  border: 1px solid rgba(163,230,53,0.32);
  padding: 7px 18px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #A3E635;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.badge-dot {
  width: 6px; height: 6px;
  background: #A3E635;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px rgba(163,230,53,0.9);
}
.page-hero .breadcrumb-custom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.page-hero .breadcrumb-custom a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.page-hero .breadcrumb-custom a:hover { color: #A3E635; }
.page-hero .breadcrumb-custom a i { font-size: 11px; }
.page-hero .breadcrumb-custom .separator { color: rgba(255,255,255,0.3); font-size: 11px; }
.page-hero .breadcrumb-custom .current { color: var(--accent-light); }
.page-hero .page-hero-title {
  position: relative; z-index: 2;
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
  line-height: 1.06;
  text-shadow: 0 4px 30px rgba(0,0,0,0.35);
}
.page-hero .page-hero-subtitle {
  position: relative; z-index: 2;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.74);
  max-width: 640px;
  line-height: 1.75;
  text-shadow: 0 2px 14px rgba(0,0,0,0.4);
}
.page-hero-sm { padding: 205px 0 110px; }
.article-meta-hero {
  position: relative; z-index: 2;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.article-meta-hero i { margin-right: 6px; color: var(--accent); }

/* ---- Page Hero Background Image ---- */
.page-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
}
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.5;
  transform: scale(1.02);
}
/* Dedicated overlay layer (above image, below content) */
.page-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 55% at 82% 28%, rgba(163,230,53,0.1) 0%, rgba(163,230,53,0) 60%),
    linear-gradient(180deg, rgba(7,20,13,0.35) 0%, rgba(7,20,13,0) 40%, rgba(9,26,16,0.55) 100%);
}

/* ---- Article Section ---- */
.article-section .article-featured-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 32px;
  position: relative;
}
.article-section .article-featured-image > img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.article-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.article-gallery-thumbs img {
  width: 80px; height: 52px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.45;
  border: 2px solid transparent;
  transition: var(--transition);
}
.article-gallery-thumbs img:hover { opacity: 0.7; }
.article-gallery-thumbs img.active { opacity: 1; border-color: var(--primary); }

.article-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--dark-gray);
  margin-bottom: 24px;
}
.article-content p:first-child {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--dark);
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.article-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.article-tags strong { font-weight: 700; color: var(--dark); }
.article-tags a {
  display: inline-block;
  padding: 4px 14px;
  background: var(--off-white);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  transition: var(--transition);
}
.article-tags a:hover { background: var(--primary); color: var(--white); }
.article-share {
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-share strong { font-size: 13px; font-weight: 700; color: var(--dark); }

/* ---- Article Prev/Next ---- */
.article-prev-next {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.article-nav-link {
  flex: 1;
  text-decoration: none;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}
.article-nav-link:hover { background: var(--primary); border-color: var(--primary); }
.article-nav-link:hover .article-nav-label,
.article-nav-link:hover .article-nav-title { color: var(--white); }
.article-nav-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
  margin-bottom: 6px;
  transition: color 0.3s ease;
}
.article-nav-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-nav-next { text-align: right; }

/* ---- Sidebar ---- */
.article-sidebar .sidebar-widget {
  margin-bottom: 32px;
}
.article-sidebar .sidebar-widget h4 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
  position: relative;
  padding-bottom: 12px;
}
.article-sidebar .sidebar-widget h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px; height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.sidebar-news-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}
.sidebar-news-item:last-child { margin-bottom: 0; }
.sidebar-news-item img {
  width: 80px; height: 60px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.sidebar-news-item h6 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}
.sidebar-news-item h6 a { color: var(--dark); }
.sidebar-news-item h6 a:hover { color: var(--primary); }
.sidebar-news-date { font-size: 11px; color: var(--gray); }
.sidebar-categories { display: flex; flex-direction: column; gap: 4px; }
.sidebar-categories li a {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-gray);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}
.sidebar-categories li a:hover { color: var(--primary); padding-left: 6px; }
.sidebar-categories li a span { color: var(--gray); font-size: 13px; }
.sidebar-cta {
  background: var(--darker);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  text-align: center;
}
.sidebar-cta h4 { color: var(--white) !important; }
.sidebar-cta h4::after { left: 50%; transform: translateX(-50%); }
.sidebar-cta p { color: rgba(255,255,255,0.5); font-size: 14px; margin-bottom: 20px; }

/* ---- Counter (defined in typography.css) ---- */

/* ---- Stats Grid ---- */
.stats-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat-item {
  text-align: center;
  padding: 24px;
}
.stat-item .stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
}
.stat-item .stat-label {
  font-size: 13px;
  color: var(--gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---- Responsive ---- */
@media (max-width: 1199px) {
  .page-hero { padding: 200px 0 115px; }
  .page-hero-sm { padding: 185px 0 100px; }
}
@media (max-width: 991px) {
  .page-hero { padding: 175px 0 90px; }
  .page-hero-sm { padding: 160px 0 80px; }
  .article-footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  .page-hero { padding: 150px 0 74px; }
  .page-hero-sm { padding: 138px 0 64px; }
  .page-hero .page-hero-title { font-size: 1.9rem; }
  .page-hero .page-hero-subtitle { font-size: 0.98rem; }
  .page-hero::after { height: 60px; }
  .page-hero-curve { height: 48px; }
  .page-hero-curve::after { bottom: 21px; }
  .article-prev-next { flex-direction: column; gap: 12px; }
  .article-nav-link { padding: 14px 18px; }
  .article-nav-title { font-size: 13px; }
  .article-gallery-thumbs img { width: 64px; height: 44px; }
  .sidebar-news-item img { width: 60px; height: 48px; }
  .stats-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 575px) {
  .page-hero { padding: 128px 0 56px; }
  .page-hero-sm { padding: 118px 0 48px; }
  .page-hero .page-hero-title { font-size: 1.55rem; }
  .page-hero .page-hero-subtitle { font-size: 0.92rem; }
  .page-hero .breadcrumb-custom { font-size: 11px; gap: 6px; letter-spacing: 1px; margin-bottom: 20px; }
  .page-hero .hero-badge { font-size: 10px; letter-spacing: 1.5px; padding: 6px 14px; margin-bottom: 18px; }
  .page-hero::after { height: 48px; }
  .page-hero-curve { height: 38px; }
  .page-hero-curve::after { bottom: 16px; }
  .stats-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .page-hero { padding: 112px 0 46px; }
  .page-hero-sm { padding: 104px 0 40px; }
  .page-hero .page-hero-title { font-size: 1.35rem; }
  .page-hero .page-hero-subtitle { font-size: 0.88rem; }
}

/* ============================================================
   USER DASHBOARD
   ============================================================ */
.dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}
.dashboard-sidebar {
  background: linear-gradient(180deg, var(--primary-dark) 0%, #0A3A21 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 34px rgba(13,79,43,0.28);
  padding: 20px 14px 14px;
  position: sticky;
  top: calc(var(--nav-height, 80px) + 20px);
  max-height: calc(100vh - var(--nav-height, 80px) - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.dashboard-sidebar::-webkit-scrollbar { width: 5px; }
.dashboard-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 3px; }
.dash-side-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 2px 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  margin-bottom: 16px;
  text-decoration: none;
}
.dash-side-brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--white);
  padding: 6px;
  flex-shrink: 0;
}
.dash-side-brand-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.dash-side-brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
  font-weight: 900;
  font-size: 14.5px;
  letter-spacing: 0.4px;
  color: var(--white);
  white-space: nowrap;
}
.dash-side-brand-name small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--accent-light);
  text-transform: uppercase;
}
.dashboard-user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  margin-bottom: 14px;
}
.dashboard-user-info {
  min-width: 0;
}
.dashboard-user-info strong {
  display: block;
  font-size: 14px;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dashboard-user-info span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-user-role { color: var(--accent-light); font-size: 11.5px; font-weight: 700; }
.dash-user-chevron { font-size: 9px; margin-left: 6px; opacity: 0.75; }
.dash-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.dash-avatar-xl { width: 84px; height: 84px; }
.dash-avatar-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.dash-avatar-xl.dash-avatar-initials { font-size: 28px; }
.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dash-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.76);
  text-decoration: none;
  transition: all 0.15s ease;
}
.dash-link i { width: 18px; text-align: center; font-size: 14px; }
.dash-link:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.dash-link.active {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(27,122,61,0.35);
}
.dash-logout {
  margin-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.09);
  padding-top: 14px;
  color: #fca5a5;
}
.dash-logout:hover { background: rgba(239,68,68,0.18); color: #ffe4e6; }

.dashboard-main { min-width: 0; }

.dash-welcome-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0f5a32 100%);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}
.dash-welcome-card h3 {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.dash-welcome-card p { color: rgba(255,255,255,0.75); margin: 0; font-size: 14px; }

.dash-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 24px rgba(13,79,43,0.22);
  padding: 18px;
  height: 100%;
}
.dash-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.16);
  color: var(--white);
}
.dash-stat-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.72);
}
.dash-stat-value {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  margin-top: 2px;
}

.dash-panel {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  height: 100%;
}
.dash-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}
.dash-panel-head h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-panel-head h4 i { color: var(--primary); font-size: 15px; }
.dash-panel-head a {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}
.dash-panel-head a:hover { text-decoration: underline; }

.dash-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.dash-list { list-style: none; margin: 0; padding: 0; }
.dash-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.dash-list li:last-child { border-bottom: none; }
.dash-list-day {
  width: 74px;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  background: rgba(27,122,61,0.08);
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
}
.dash-list-main { flex: 1; min-width: 0; }
.dash-list-main strong {
  display: block;
  font-size: 13.5px;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-list-main span {
  display: block;
  font-size: 12px;
  color: var(--gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-list-time {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
  text-align: right;
}

.dash-news-list { list-style: none; margin: 0; padding: 0; }
.dash-news-list li { padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.dash-news-list li:last-child { border-bottom: none; }
.dash-news-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--primary);
  background: rgba(27,122,61,0.08);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 5px;
}
.dash-news-list a {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  line-height: 1.45;
}
.dash-news-list a:hover { color: var(--primary); }
.dash-news-date {
  display: block;
  font-size: 11.5px;
  color: var(--gray);
  margin-top: 3px;
}
.dash-news-excerpt {
  font-size: 12.5px;
  color: var(--gray);
  margin: 6px 0 0;
  line-height: 1.6;
}

.dash-reg-number {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--primary);
}
.dash-reg-card {
  background: rgba(27,122,61,0.04);
  border: 1px solid rgba(27,122,61,0.12);
  border-radius: 12px;
  padding: 16px;
}
.dash-reg-card p { font-size: 13px; margin-top: 8px; }

.dash-empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--gray);
}
.dash-empty i {
  font-size: 34px;
  color: rgba(0,0,0,0.15);
  display: block;
  margin-bottom: 12px;
}
.dash-empty p { font-size: 13.5px; margin-bottom: 14px; }

.dash-quick-actions {
  margin-top: 24px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.dash-quick-actions h4 { font-size: 1.05rem; font-weight: 800; margin-bottom: 16px; }

.dash-profile-summary {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 8px 4px;
}
.dash-profile-summary h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.dash-profile-summary p { font-size: 13.5px; color: var(--gray); margin-bottom: 4px; }
.dash-profile-summary p i { width: 18px; color: var(--primary); }

.dash-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.dash-info-item {
  background: rgba(0,0,0,0.025);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 10px;
  padding: 14px 16px;
}
.dash-info-item span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray);
  margin-bottom: 4px;
}
.dash-info-item strong { font-size: 14px; color: var(--dark); }

.dash-timeline { padding: 8px 0; }
.dash-step {
  display: flex;
  gap: 14px;
  position: relative;
  padding-bottom: 26px;
}
.dash-step:last-child { padding-bottom: 0; }
.dash-step::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: rgba(0,0,0,0.08);
}
.dash-step:last-child::before { display: none; }
.dash-step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  background: rgba(0,0,0,0.06);
  color: var(--gray);
  flex-shrink: 0;
  z-index: 1;
}
.dash-step.done .dash-step-dot { background: var(--primary); color: var(--white); }
.dash-step.current .dash-step-dot { background: var(--accent); color: var(--dark); }
.dash-step strong { display: block; font-size: 14px; color: var(--dark); }
.dash-step span { display: block; font-size: 12.5px; color: var(--gray); }

.dash-check-list { list-style: none; margin: 0; padding: 0; }
.dash-check-list li {
  font-size: 13.5px;
  color: var(--dark);
  padding: 8px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.07);
}
.dash-check-list li:last-child { border-bottom: none; }
.dash-check-list li i { font-size: 7px; color: var(--accent); margin-right: 8px; vertical-align: middle; }
.dash-check-list a { color: var(--primary); font-weight: 600; text-decoration: none; }
.dash-check-list a:hover { text-decoration: underline; }

.dash-table { font-size: 13.5px; }
.dash-table thead th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray);
  background: rgba(0,0,0,0.02);
  border-bottom: 2px solid rgba(0,0,0,0.06);
  padding: 12px 14px;
}
.dash-table tbody td { padding: 12px 14px; border-color: rgba(0,0,0,0.05); }

.dash-stat-mini {
  background: rgba(0,0,0,0.025);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}
.dash-stat-mini span { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray); }
.dash-stat-mini strong { font-size: 1.5rem; font-weight: 900; color: var(--primary); }

.dash-gallery-item {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}
.dash-gallery-item img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.dash-gallery-item:hover img { transform: scale(1.05); }
.dash-gallery-item span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  padding: 18px 10px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-faq-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.dash-faq-item:last-child { border-bottom: none; }
.dash-faq-item h5 { font-size: 14px; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.dash-faq-item p { font-size: 13px; color: var(--gray); line-height: 1.65; margin: 0; }

.dashboard-main .form-premium .form-label { font-weight: 600; font-size: 13.5px; }
.dashboard-main .form-premium .form-control { font-size: 14px; }

/* ---- Dashboard responsive ---- */
.dash-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(3, 20, 10, 0.55);
}
@media (max-width: 991px) {
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 286px;
    max-width: 88vw;
    margin: 0;
    border-radius: 0;
    border: none;
    box-shadow: 0 0 44px rgba(0,0,0,0.28);
    z-index: 10001;
    overflow-y: auto;
    padding: 18px 14px 24px;
    transform: translateX(-104%);
    transition: transform 0.28s ease;
  }
  body.dash-side-open { overflow: hidden; }
  body.dash-side-open .dashboard-sidebar { transform: translateX(0); }
  body.dash-side-open .dash-mobile-overlay { display: block; }
  .dashboard-nav {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 2px;
    max-height: none;
    overflow-y: visible;
  }
  .dash-link { padding: 10px 12px; font-size: 13.5px; border-radius: 8px; background: transparent; }
  .dash-link.active { background: var(--primary); color: var(--white); }
  .dash-logout { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 12px; }
}
@media (max-width: 575px) {
  .dash-welcome-card { padding: 20px; flex-direction: column; align-items: flex-start; }
  .dash-info-grid { grid-template-columns: 1fr; }
  .dash-panel { padding: 18px 16px; }
  .dash-list li { flex-wrap: wrap; gap: 8px; }
  .dash-list-time { text-align: left; width: 100%; padding-left: 88px; }
  .dash-profile-summary { flex-direction: column; text-align: center; gap: 14px; }
  .dash-stat-card { padding: 14px; }
  .dash-gallery-item img { height: 110px; }
}

/* ---- Dashboard modules ---- */
.dash-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 6px;
  border-radius: 20px;
  background: var(--primary);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
}

/* ---- Dashboard page head (replaces hero, not a banner) ---- */
.dash-page { padding-top: 30px; padding-bottom: 72px; }
.auth-container.dash-page { padding-top: 30px; }
.dash-page-head { margin-bottom: 26px; }
.dash-page-head h1 {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--dark);
  margin: 0 0 6px;
}
.dash-page-head p {
  font-size: 13.5px;
  color: var(--gray);
  margin: 0;
  max-width: 680px;
}
.dash-page-head + .dashboard-layout,
.dash-page-head + .row { margin-top: 0; }

/* ---- Full-screen premium dashboard shell ---- */
body.dash-shell {
  background:
    radial-gradient(1100px 520px at 92% -12%, rgba(27,122,61,0.09), rgba(27,122,61,0) 62%),
    radial-gradient(860px 480px at -8% 112%, rgba(13,79,43,0.07), rgba(13,79,43,0) 55%),
    linear-gradient(180deg, #F5F8F6 0%, #EDF2EE 100%);
  background-attachment: fixed;
}
body.dash-shell .dash-page {
  background: none;
  padding-top: 26px;
  padding-bottom: 72px;
  min-height: calc(100vh - 64px);
}
body.dash-shell .dash-page > .container,
body.dash-shell .auth-container.dash-page > .container {
  max-width: 1440px;
}
@media (min-width: 1200px) {
  body.dash-shell .dashboard-layout { grid-template-columns: 292px 1fr; gap: 30px; }
}
body.dash-shell .dash-page-head h1 { font-size: 1.8rem; }
body.dash-shell .dash-page-head p { font-size: 14px; }

/* Mobile data tables scroll inside their cards instead of breaking the page */
@media (max-width: 767.98px) {
  body.dash-shell .dash-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.dash-shell .dash-table th,
  body.dash-shell .dash-table td { white-space: nowrap; }
}

/* ---- Dashboard polish ---- */
.dash-welcome-card { position: relative; overflow: hidden; }
.dash-welcome-card::after {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}
.dash-welcome-card > * { position: relative; z-index: 1; }
.dash-stat-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.dash-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13, 79, 43, 0.08);
}
.dash-panel { transition: box-shadow 0.2s ease; }
.dash-table tbody tr { transition: background-color 0.15s ease; }
.dash-table tbody tr:hover { background-color: rgba(27,122,61,0.03); }
.dash-badge { letter-spacing: 0.2px; }
.dash-empty i { color: rgba(27,122,61,0.22); }
.dash-list-main strong { font-size: 14px; }
.dash-link { font-size: 13.5px; }

@media (max-width: 991px) {
  .dash-page { padding-top: 22px; }
  .auth-container.dash-page { padding-top: 22px; }
}
@media (max-width: 575px) {
  .dash-page { padding-top: 16px; padding-bottom: 48px; }
  .dash-page-head { margin-bottom: 20px; }
  .dash-page-head h1 { font-size: 1.35rem; }
  .dash-page-head p { font-size: 12.5px; }
  .dash-panel-head { flex-wrap: wrap; }
  .dashboard-main .form-premium .form-control,
  .dashboard-main .form-premium .form-select,
  .dashboard-main .form-premium textarea.form-control { font-size: 16px; }
  .dash-quick-actions .btn-premium { width: 100%; justify-content: center; }
  .dash-step-dot { width: 32px; height: 32px; font-size: 12px; }
  .dash-step::before { left: 15px; top: 32px; }
  .dash-stat-value { font-size: 13.5px; }
  .dash-list-day { width: 64px; }
  .dash-list-time { padding-left: 78px; }
}

.dash-player-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: rgba(27,122,61,0.05);
  border: 1px solid rgba(27,122,61,0.15);
  border-radius: 12px;
  padding: 16px 18px;
}
.dash-player-banner h5 { font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; }
.dash-player-banner span { font-size: 12.5px; color: var(--gray); }

.dash-doc-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(0,0,0,0.025);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 16px;
  height: 100%;
}
.dash-doc-card strong { display: block; font-size: 14px; color: var(--dark); margin-bottom: 4px; }
.dash-doc-card p { margin-bottom: 4px; }
.dash-doc-card .btn-premium { margin-left: auto; flex-shrink: 0; }

.dash-programme-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.dash-programme-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}
.dash-programme-body { padding: 16px; }
.dash-programme-body h5 { font-size: 1rem; font-weight: 800; color: var(--dark); }
.dash-programme-body p { margin-bottom: 4px; }

.mono { font-family: 'Courier New', monospace; }

.dash-summary-table { border: 1px solid var(--border, rgba(0,0,0,0.08)); border-radius: 12px; overflow: hidden; }
.dash-summary-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border, rgba(0,0,0,0.08)); font-size: 14px; color: #666; }
.dash-summary-row strong { color: var(--dark); font-weight: 700; }
.dash-summary-total { border-bottom: none; background: rgba(27,122,61,0.06); font-size: 16px; font-weight: 800; color: var(--dark); }
.dash-summary-total strong { color: var(--primary); }
.dash-bank-card { background: rgba(27,122,61,0.04); border: 1px dashed rgba(27,122,61,0.35); border-radius: 12px; padding: 18px; font-size: 14px; color: var(--dark); margin-bottom: 16px; }
.dash-bank-card p { margin: 0; white-space: pre-line; }

/* ---- Dashboard home stats link ---- */
.dash-stat-card { align-items: flex-start; }
.dash-stat-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
}
.dash-stat-link:hover { color: var(--white); text-decoration: underline; }
.dash-stat-link i { font-size: 9.5px; }

/* ---- Dashboard applications list (home) ---- */
.dash-app-list { list-style: none; margin: 0; padding: 0; }
.dash-app-list > li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.dash-app-list > li:last-child { border-bottom: none; }
.dash-app-thumb {
  width: 46px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.dash-app-main { flex: 1; min-width: 0; }
.dash-app-main strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-app-main span {
  display: block;
  font-size: 12px;
  color: var(--gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-app-status { display: flex; align-items: center; gap: 6px; flex-shrink: 0; flex-wrap: wrap; }
.dash-app-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--primary);
  background: rgba(27,122,61,0.08);
  font-size: 12px;
  text-decoration: none;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.dash-app-link:hover { background: var(--primary); color: var(--white); }

/* ---- Dashboard notifications list (home) ---- */
.dash-notif-item {
  position: relative;
  padding: 12px 0 12px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.dash-notif-item:last-child { border-bottom: none; }
.dash-notif-item.unread::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.dash-notif-item strong {
  display: block;
  font-size: 13.5px;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-notif-item .dash-news-excerpt { color: var(--gray); }
.dash-notif-meta {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gray);
  margin-top: 3px;
}

/* ---- Sidebar role label + view-website link ---- */
.dash-user-role {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
}
.dash-user-role i { font-size: 9px; }
.dash-view-link {
  margin-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.09);
  padding-top: 12px;
  color: rgba(255,255,255,0.85);
}

/* ---- Application details (enrollments view) ---- */
.dash-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.dash-detail-header img {
  width: 92px;
  height: 62px;
  border-radius: 10px;
  object-fit: cover;
}
.dash-detail-title h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 4px;
}
.dash-detail-title p { font-size: 12.5px; color: var(--gray); margin: 0; }

@media (max-width: 575px) {
  .dash-app-list > li { flex-wrap: wrap; }
  .dash-app-status { width: 100%; padding-left: 58px; }
  .dash-detail-header img { width: 72px; height: 50px; }
  .dash-detail-title h3 { font-size: 1.05rem; }
}
