/* ==========================================================================
   SkillAid Student Mobile Application Stylesheet - Premium Dark/Light Themes
   ========================================================================== */

/* 1. THEME DEFINITIONS & VARIABLES */
:root {
  /* Brand colors (logo mapping) */
  --student-primary: #1a3a6b;      /* Logo Navy Blue */
  --student-secondary: #1e5cbf;    /* Logo Electric Blue */
  --student-gold: #f5a623;         /* Logo Warm Gold */
  --student-gold-rgb: 245, 166, 35;
  --student-green: #22c55e;
  --student-red: #ef4444;
  
  /* Light Theme Variables (Default) */
  --student-bg-main: #f4f7fc;
  --student-bg-card: rgba(255, 255, 255, 0.9);
  --student-bg-input: #f8fafc;
  --student-text-main: #475569;
  --student-text-title: #0f172a;
  --student-border: #e2e8f0;
  --student-shadow: 0 10px 25px -5px rgba(26, 58, 107, 0.08), 0 8px 10px -6px rgba(26, 58, 107, 0.05);
  --student-card-border: 1px solid rgba(255, 255, 255, 0.6);
  --student-glass-bg: rgba(255, 255, 255, 0.7);
  --student-glass-blur: blur(16px);
  --student-status-bg: rgba(26, 58, 107, 0.05);
  
  /* Overlay Backdrop blur */
  --student-overlay-bg: rgba(15, 23, 42, 0.4);
}

/* Dark Theme Variables Override */
[data-theme="dark"] {
  --student-bg-main: #0b0f19;
  --student-bg-card: rgba(21, 30, 46, 0.85);
  --student-bg-input: #1e293b;
  --student-text-main: #94a3b8;
  --student-text-title: #f8fafc;
  --student-border: #1e293b;
  --student-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5), 0 5px 15px -5px rgba(0, 0, 0, 0.3);
  --student-card-border: 1px solid rgba(30, 41, 59, 0.5);
  --student-glass-bg: rgba(15, 23, 42, 0.75);
  --student-glass-blur: blur(20px);
  --student-status-bg: rgba(255, 255, 255, 0.05);
  
  /* Overlay Backdrop blur */
  --student-overlay-bg: rgba(0, 0, 0, 0.6);
}

/* 2. BASE RESET & INITIAL SETUP */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body {
  background-color: #111827; /* Deep desktop backdrop */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
}

/* 3. DEVICE SIMULATOR (SMARTPHONE WRAPPER) */
.phone-wrapper {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-case {
  background: #1e293b;
  width: 410px;
  height: 840px;
  border-radius: 46px;
  padding: 12px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), inset 0 2px 8px rgba(255,255,255,0.2);
  border: 4px solid #334155;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Speaker Notch */
.phone-notch {
  width: 140px;
  height: 24px;
  background: #1e293b;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  z-index: 999;
}

.phone-notch::before {
  content: '';
  width: 50px;
  height: 4px;
  background: #0f172a;
  border-radius: 4px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
}

/* Screen Area */
.phone-screen {
  background-color: var(--student-bg-main);
  flex-grow: 1;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.3);
}

/* Mock Android Status Bar */
.status-bar {
  height: 38px;
  background: var(--student-status-bg);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 24px 6px 24px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--student-text-main);
  z-index: 998;
  user-select: none;
}

.status-icons {
  display: flex;
  gap: 6px;
  align-items: center;
}

/* RESPONSIVE DESIGN: Fallback to full screen on real mobile devices */
@media (max-width: 480px) {
  body {
    background-color: var(--student-bg-main);
  }
  .phone-wrapper {
    padding: 0;
    width: 100vw;
    height: 100vh;
  }
  .phone-case {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    padding: 0;
    border: none;
    box-shadow: none;
  }
  .phone-notch {
    display: none;
  }
  .phone-screen {
    border-radius: 0;
    border: none;
  }
  .status-bar {
    padding-top: 10px;
    height: 44px;
  }
}

/* 4. APP HEADER STYLE */
.app-header {
  background-color: var(--student-glass-bg);
  backdrop-filter: var(--student-glass-blur);
  border-bottom: 1px solid var(--student-border);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 99;
  height: 56px;
}

.brand-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.action-btn {
  background: var(--student-status-bg);
  border: 1px solid var(--student-border);
  color: var(--student-text-title);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  position: relative;
  transition: all 0.2s ease;
}

.action-btn:hover {
  transform: scale(1.08);
  background: var(--student-border);
}

.action-btn:active {
  transform: scale(0.92);
}

.action-btn svg {
  color: var(--student-text-title);
}

.action-btn .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--student-red);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 10px;
  border: 2px solid var(--student-bg-main);
  min-width: 18px;
  text-align: center;
  line-height: 1;
}

/* 5. MAIN CONTENT SCROLLER */
.app-content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 16px;
  padding-bottom: 80px; /* Space for bottom navigation */
}

/* Hide scrollbar for layout cleanliness */
.app-content::-webkit-scrollbar {
  display: none;
}

/* Tab Panels */
.app-tab-panel {
  display: none;
  flex-direction: column;
  gap: 16px;
  animation: tabFadeIn 0.3s ease;
}

.app-tab-panel.active {
  display: flex;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 6. COMPONENT STYLING (CARDS, BUTTONS, BADGES) */
.app-card {
  background: var(--student-bg-card);
  border: var(--student-card-border);
  box-shadow: var(--student-shadow);
  border-radius: 20px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.card-section-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--student-text-title);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--student-text-title);
  margin: 4px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Welcome Banner */
.welcome-banner {
  margin-bottom: 4px;
}

.welcome-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--student-text-title);
}

.welcome-student-name {
  background: linear-gradient(135deg, var(--student-secondary), var(--student-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.welcome-subtext {
  font-size: 0.8rem;
  color: var(--student-text-main);
  font-weight: 500;
  margin-top: 2px;
}

/* Progress Ring Card */
.progress-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, var(--student-primary), var(--student-secondary));
  color: #fff;
  border: none;
}

.progress-info h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.progress-info p {
  font-size: 0.82rem;
  opacity: 0.9;
  margin-bottom: 10px;
}

.progress-details {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 4px 8px;
  display: inline-block;
}

.progress-details span {
  font-size: 0.72rem;
  font-weight: 600;
}

.progress-visual {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-ring-svg {
  transform: rotate(-90deg);
}

.progress-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 6;
}

.progress-ring-indicator {
  fill: none;
  stroke: var(--student-gold);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 238.76; /* 2 * PI * r (38) */
  stroke-dashoffset: 238.76;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-percentage {
  position: absolute;
  font-size: 1.15rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
}

/* Grid Metrics */
.metric-row {
  display: flex;
  justify-content: space-between;
}

.metric-col {
  display: flex;
  flex-direction: column;
  width: 48%;
}

.metric-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--student-text-main);
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: 0.2px;
}

.metric-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--student-text-title);
}

.text-green {
  color: var(--student-green) !important;
}

.grade-badge {
  background: rgba(245, 166, 35, 0.15);
  color: var(--student-gold);
  padding: 2px 10px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.85rem;
  align-self: flex-start;
}

/* Teacher Review Feedback */
.feedback-card {
  border-left: 4px solid var(--student-secondary);
}

.feedback-text {
  font-style: italic;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--student-text-title);
  margin-top: 6px;
}

.feedback-author {
  font-size: 0.72rem;
  font-weight: 800;
  text-align: right;
  margin-top: 8px;
  color: var(--student-secondary);
}

/* Referral Scheme Component */
.referral-card {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.08), rgba(245, 166, 35, 0.02));
  border: 1px dashed rgba(var(--student-gold-rgb), 0.5);
}

.referral-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.referral-title-pack h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--student-gold);
  font-size: 0.95rem;
  font-weight: 800;
}

.referral-title-pack p {
  font-size: 0.75rem;
  color: var(--student-text-main);
}

.gift-icon {
  font-size: 1.5rem;
}

.referral-code-box {
  background: var(--student-bg-input);
  border: 1px solid var(--student-border);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.referral-code-box:hover {
  border-color: var(--student-gold);
}

.ref-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--student-text-main);
}

.ref-code-action {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ref-code-action strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--student-text-title);
  letter-spacing: 0.5px;
}

.copy-icon {
  font-size: 0.9rem;
}

.referral-rewards-bar {
  margin-top: 10px;
  text-align: center;
  font-weight: 700;
  color: var(--student-gold);
}

/* 7. SOCIAL FEED COMPONENT STYLES */
.share-post-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post-input {
  background: var(--student-bg-input);
  border: 1px solid var(--student-border);
  color: var(--student-text-title);
  border-radius: 12px;
  padding: 12px;
  font-size: 0.82rem;
  resize: none;
  height: 70px;
  outline: none;
  line-height: 1.4;
}

.post-input:focus {
  border-color: var(--student-secondary);
}

.post-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.media-type-select {
  background: var(--student-bg-input);
  color: var(--student-text-main);
  border: 1px solid var(--student-border);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.btn-post {
  background: var(--student-secondary);
  color: #fff;
  border: none;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.8rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(30, 92, 191, 0.2);
}

.btn-post:active {
  transform: scale(0.95);
}

.social-feed-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1.5px solid var(--student-border);
}

.post-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-user-details h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--student-text-title);
}

.post-user-details span {
  font-size: 0.65rem;
  color: var(--student-text-main);
  font-weight: 500;
}

.btn-follow {
  background: rgba(30, 92, 191, 0.1);
  color: var(--student-secondary);
  border: none;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  cursor: pointer;
}

.btn-follow.following {
  background: rgba(34, 197, 94, 0.12);
  color: var(--student-green);
}

.post-body p {
  font-size: 0.82rem;
  color: var(--student-text-title);
  line-height: 1.45;
}

.post-media-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-top: 6px;
  border: 1px solid var(--student-border);
}

/* Workshop Slides inside Posts (Community Redesign) */
.post-slideshow-container {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 6px;
  border: 1px solid var(--student-border);
}

.post-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.post-slide-img.active {
  display: block;
}

.slide-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  font-size: 0.8rem;
}

.slide-nav-btn.prev { left: 8px; }
.slide-nav-btn.next { right: 8px; }

.slide-indicator-label {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 8px;
  z-index: 2;
  font-weight: 700;
}

.post-footer {
  display: flex;
  border-top: 1px solid var(--student-border);
  padding-top: 8px;
  margin-top: 2px;
}

.btn-like {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--student-text-main);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-like.liked {
  color: var(--student-red);
}

.btn-like.liked .heart-icon {
  animation: pulseHeart 0.3s ease;
}

@keyframes pulseHeart {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* 8. CERTIFICATES SCREEN STYLING */
.certificate-header {
  text-align: center;
  margin-bottom: 4px;
}

.certificate-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--student-text-title);
}

.certificate-header p {
  font-size: 0.78rem;
  color: var(--student-text-main);
}

.cert-canvas-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  background: #1e293b;
  border: 2px solid #334155;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
}

#student-cert-canvas {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.btn-cert-download {
  background: linear-gradient(135deg, var(--student-gold), #e0961b);
  color: var(--student-primary);
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-weight: 800;
  font-size: 0.85rem;
  width: 100%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.2);
  text-align: center;
}

.btn-cert-download:active {
  transform: scale(0.98);
}

.cert-locked-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  background: var(--student-bg-card);
  border: var(--student-card-border);
  box-shadow: var(--student-shadow);
  border-radius: 20px;
}

.lock-graphic {
  font-size: 3rem;
  margin-bottom: 12px;
  animation: floatLock 3s ease-in-out infinite;
}

@keyframes floatLock {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.cert-locked-state h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--student-text-title);
  margin-bottom: 6px;
}

.cert-locked-state p {
  font-size: 0.78rem;
  color: var(--student-text-main);
  line-height: 1.5;
  margin-bottom: 24px;
}

.progress-bar-container {
  width: 100%;
}

.progress-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--student-text-title);
  text-align: left;
  margin-bottom: 4px;
}

.progress-bar-outer {
  width: 100%;
  height: 8px;
  background-color: var(--student-border);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-inner {
  height: 100%;
  background: linear-gradient(90deg, var(--student-secondary), var(--student-gold));
  border-radius: 4px;
  transition: width 0.5s ease-out;
}

/* 9. BOTTOM NAVIGATION BAR */
.bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background-color: var(--student-glass-bg);
  backdrop-filter: var(--student-glass-blur);
  border-top: 1px solid var(--student-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 99;
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
}

@media (max-width: 480px) {
  .bottom-nav {
    border-radius: 0;
    position: fixed;
  }
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--student-text-main);
  cursor: pointer;
  width: 20%;
  height: 100%;
  transition: all 0.2s ease;
}

.nav-icon {
  font-size: 1.35rem;
  margin-bottom: 2px;
  transition: all 0.2s ease;
}

.nav-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.nav-item.active {
  color: var(--student-secondary);
}

.nav-item.active .nav-icon {
  transform: translateY(-4px) scale(1.1);
  filter: drop-shadow(0 4px 6px rgba(30, 92, 191, 0.25));
}

/* 10. TOAST NOTIFICATION STYLING */
.toast-notification {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(15, 23, 42, 0.95);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================
   11. REDESIGNED COURSE STORE (TAB-STORE)
   ========================================== */

/* Points Balance Header Card */
.points-balance-card {
  background: linear-gradient(135deg, var(--student-primary), var(--student-secondary));
  color: #fff;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--student-shadow);
}

.points-balance-left .lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
  font-weight: 700;
}

.points-balance-left .val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: 2px;
}

.points-balance-left .coin-icon {
  margin-right: 4px;
}

.btn-redeem-gold {
  background: linear-gradient(135deg, var(--student-gold), #e0961b);
  color: var(--student-primary);
  border: none;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.8rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(245, 166, 35, 0.2);
}

.btn-redeem-gold:active {
  transform: scale(0.95);
}

/* Search & Filter Bar */
.search-filter-bar {
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-input-wrap {
  flex-grow: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon-inside {
  position: absolute;
  left: 14px;
  font-size: 0.85rem;
  color: var(--student-text-main);
  pointer-events: none;
}

.search-input-wrap input {
  width: 100%;
  background: var(--student-bg-input);
  border: 1px solid var(--student-border);
  color: var(--student-text-title);
  border-radius: 14px;
  padding: 12px 14px 12px 38px;
  font-size: 0.82rem;
  outline: none;
  font-weight: 500;
}

.search-input-wrap input:focus {
  border-color: var(--student-secondary);
}

.filter-toggle-btn {
  background: var(--student-bg-input);
  border: 1px solid var(--student-border);
  color: var(--student-text-title);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.filter-toggle-btn:active {
  transform: scale(0.95);
}

/* Category Pills */
.category-pills-container {
  overflow-x: auto;
  margin: -4px -16px;
  padding: 4px 16px;
}

.category-pills-container::-webkit-scrollbar {
  display: none;
}

.category-pills {
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.category-pill {
  background: var(--student-bg-input);
  color: var(--student-text-main);
  border: 1px solid var(--student-border);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}

.category-pill.active {
  background: var(--student-secondary);
  color: #fff;
  border-color: var(--student-secondary);
  box-shadow: 0 4px 10px rgba(30, 92, 191, 0.15);
}

/* Promo Banner Card */
.promo-banner-card {
  background: linear-gradient(135deg, rgba(30, 92, 191, 0.12), rgba(245, 166, 35, 0.08));
  border: 1px solid rgba(var(--student-gold-rgb), 0.25);
  border-radius: 20px;
  padding: 20px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible;
  margin-top: 10px;
  margin-bottom: 10px;
}

.promo-content {
  width: 65%;
  z-index: 2;
}

.promo-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--student-secondary);
  margin-bottom: 4px;
}

.promo-content p {
  font-size: 0.76rem;
  color: var(--student-text-main);
  line-height: 1.4;
  margin-bottom: 12px;
}

.btn-promo-explore {
  background: var(--student-secondary);
  color: #fff;
  border: none;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 0.72rem;
  cursor: pointer;
}

.promo-mascot {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 140px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.15));
}

/* Section headers slider dots */
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.slider-dots {
  display: flex;
  gap: 4px;
}

.slider-dots .dot {
  width: 6px;
  height: 6px;
  background: var(--student-border);
  border-radius: 50%;
  cursor: pointer;
}

.slider-dots .dot.active {
  background: var(--student-secondary);
  width: 14px;
  border-radius: 3px;
}

/* Top Courses Slider */
.top-courses-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  margin: 0 -16px;
  padding: 4px 16px 16px 16px;
  scroll-snap-type: x mandatory;
}

.top-courses-slider::-webkit-scrollbar {
  display: none;
}

/* Premium Course Card */
.course-slider-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: var(--student-bg-card);
  border: var(--student-card-border);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--student-shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.card-top-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--student-secondary);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 8px;
  z-index: 2;
  text-transform: uppercase;
}

.btn-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-size: 0.85rem;
  color: var(--student-text-main);
  z-index: 2;
  transition: all 0.2s ease;
}

.btn-wishlist.active {
  color: var(--student-red);
}

.course-card-visual {
  height: 120px;
  background: linear-gradient(135deg, rgba(30, 92, 191, 0.05), rgba(26, 58, 107, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  margin-top: 10px;
  overflow: hidden;
}

.course-card-details h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--student-text-title);
  margin-bottom: 2px;
  line-height: 1.3;
}

.course-card-meta {
  font-size: 0.72rem;
  color: var(--student-text-main);
  font-weight: 500;
}

.course-card-rating {
  font-size: 0.75rem;
  color: var(--student-gold);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
}

.course-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--student-border);
  padding-top: 10px;
  margin-top: 2px;
}

.course-price-wrapper {
  display: flex;
  flex-direction: column;
}

.course-price-wrapper .price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--student-secondary);
}

.course-price-wrapper .original {
  font-size: 0.7rem;
  text-decoration: line-through;
  opacity: 0.6;
  color: var(--student-text-main);
}

.btn-add-cart {
  background: var(--student-secondary);
  color: #fff;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(30, 92, 191, 0.2);
  transition: all 0.2s ease;
}

.btn-add-cart:active {
  transform: scale(0.9);
}

/* Deals of the Day Timer and Card */
.countdown-timer-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--student-text-main);
}

.deals-timer-box {
  background: var(--student-red);
  color: #fff;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.deal-card {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(245, 166, 35, 0.04));
  border: 1.5px solid rgba(239, 68, 68, 0.3);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--student-shadow);
}

.deal-gift-icon {
  font-size: 2.2rem;
}

.deal-details {
  flex-grow: 1;
}

.deal-badge {
  background: var(--student-red);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 4px;
}

.deal-details h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--student-text-title);
  line-height: 1.2;
}

.deal-details p {
  font-size: 0.72rem;
  color: var(--student-text-main);
  margin-bottom: 6px;
}

.deal-prices {
  display: flex;
  align-items: center;
  gap: 8px;
}

.deal-prices .price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--student-red);
}

.deal-prices .original-price {
  font-size: 0.75rem;
  text-decoration: line-through;
  opacity: 0.6;
}

.btn-deal-buy {
  background: var(--student-red);
  color: #fff;
  border: none;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 0.78rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.2);
}

.btn-deal-buy:active {
  transform: scale(0.95);
}

/* Recommended Courses Grid */
.recommended-courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.recommended-course-card {
  background: var(--student-bg-card);
  border: var(--student-card-border);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: var(--student-shadow);
  display: flex;
  gap: 12px;
  align-items: center;
  position: relative;
}

.rec-visual {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(30, 92, 191, 0.1), rgba(26, 58, 107, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.rec-details {
  flex-grow: 1;
}

.rec-details h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--student-text-title);
  line-height: 1.2;
}

.rec-details .meta {
  font-size: 0.68rem;
  color: var(--student-text-main);
  margin-top: 1px;
}

.rec-details .rating {
  font-size: 0.7rem;
  color: var(--student-gold);
  font-weight: 700;
  margin-top: 2px;
}

.rec-prices-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.rec-prices-action .price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--student-secondary);
}

.btn-rec-buy {
  background: var(--student-secondary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
}

/* Why Learn with SkillAid Row */
.features-scroll-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin: 0 -16px;
  padding: 4px 16px;
}

.features-scroll-row::-webkit-scrollbar {
  display: none;
}

.feature-badge-item {
  background: var(--student-bg-input);
  border: 1px solid var(--student-border);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--student-text-title);
  white-space: nowrap;
}

.feature-badge-item .feat-icon {
  font-size: 1rem;
}

/* Points System Footer */
.points-system-footer-card {
  background: linear-gradient(135deg, rgba(26, 58, 107, 0.05), rgba(30, 92, 191, 0.03));
  border: 1px solid var(--student-border);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-points-content h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--student-text-title);
  margin-bottom: 2px;
}

.footer-points-content p {
  font-size: 0.68rem;
  color: var(--student-text-main);
  line-height: 1.4;
}

.footer-points-graphic {
  font-size: 2rem;
}

/* ==========================================
   12. MY REWARDS TAB STYLING (TAB-REWARDS)
   ========================================== */
.rewards-header-area {
  margin-bottom: 4px;
}

.rewards-header-area h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--student-text-title);
}

.rewards-header-area p {
  font-size: 0.78rem;
  color: var(--student-text-main);
  margin-top: 1px;
}

/* Rewards Banner Card */
/* Rewards Banner Card */
.rewards-banner-card {
  background: var(--student-bg-card);
  border: var(--student-card-border);
  box-shadow: var(--student-shadow);
  border-radius: 24px;
  padding: 20px;
  display: flex;
  gap: 16px;
  position: relative;
  overflow: visible;
  margin-bottom: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

[data-theme="dark"] .rewards-banner-card {
  background: linear-gradient(135deg, #111a2e, #0a0f1d);
  border: 1px solid rgba(255,255,255,0.05);
}

.rewards-banner-left {
  width: 42%;
  display: flex;
  flex-direction: column;
  z-index: 2;
  flex-shrink: 0;
}

.rewards-banner-left .points-lbl {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--student-text-main);
  font-weight: 700;
}

.rewards-banner-left .points-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
  color: #1e40af;
}

[data-theme="dark"] .rewards-banner-left .points-num {
  color: #ffffff;
}

.rewards-banner-left .cash-eq {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--student-text-main);
  margin-top: 4px;
}

.btn-redeem-now {
  background: #2563eb;
  color: #fff;
  border: none;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.8rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
  margin-top: 14px;
  width: fit-content;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-redeem-now:active {
  transform: scale(0.96);
}

.rewards-banner-mid {
  width: 32%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  z-index: 2;
  border-left: 1px solid var(--student-border);
  padding-left: 16px;
}

.rewards-banner-mid .stat-mini {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.rewards-banner-mid .stat-mini .icon {
  font-size: 1rem;
  margin-top: 1px;
}

.rewards-banner-mid .stat-mini .stat-text {
  display: flex;
  flex-direction: column;
}

.rewards-banner-mid .stat-mini .lbl {
  font-size: 0.58rem;
  text-transform: uppercase;
  color: var(--student-text-main);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.rewards-banner-mid .stat-mini strong {
  font-size: 0.85rem;
  font-weight: 800;
  color: #1e40af;
  margin-top: 1px;
}

[data-theme="dark"] .rewards-banner-mid .stat-mini strong {
  color: #ffffff;
}

.rewards-banner-mid .stat-mini .exp-date {
  font-size: 0.55rem;
  color: var(--student-text-main);
  opacity: 0.8;
  margin-top: 1px;
}

.rewards-mascot {
  position: absolute;
  right: 5px;
  bottom: -2px;
  width: 120px;
  height: auto;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.15));
}

.mascot-glow-bg {
  position: absolute;
  right: -10px;
  top: 10px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.25) 0%, rgba(245, 166, 35, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

[data-theme="dark"] .mascot-glow-bg {
  background: radial-gradient(circle, rgba(245, 166, 35, 0.3) 0%, rgba(245, 166, 35, 0) 70%);
}

/* Rewards Sub-navigation Row */
.rewards-sub-nav {
  display: flex;
  overflow-x: auto;
  margin: 0 -16px;
  padding: 6px 16px;
  gap: 6px;
  border-bottom: 1px solid var(--student-border);
  background: var(--student-bg-main);
}

.rewards-sub-nav::-webkit-scrollbar {
  display: none;
}

.sub-nav-btn {
  background: var(--student-bg-card);
  border: 1px solid var(--student-border);
  color: var(--student-text-main);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  flex: 1;
  justify-content: center;
  min-width: 0;
  transition: all 0.2s ease;
}

.sub-nav-icon {
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sub-nav-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  font-size: 0.58rem;
  font-weight: 800;
  text-align: left;
}

.sub-nav-text span {
  display: block;
  white-space: nowrap;
}

.sub-nav-btn.active {
  background: var(--student-secondary);
  color: #fff;
  border-color: var(--student-secondary);
}

.sub-nav-btn.active .sub-nav-text {
  color: #fff;
}

/* Section layouts */
.rewards-section-container {
  margin-top: 18px;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.section-title-row h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--student-text-title);
}

.view-all-link {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--student-secondary);
  text-decoration: none;
}

/* How You Earn Points V2 Grid */
.earn-points-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.earn-card-v2 {
  background: var(--student-bg-card);
  border: var(--student-card-border);
  box-shadow: var(--student-shadow);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.earn-card-v2:active {
  transform: scale(0.96);
}

.earn-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 2px;
}

.earn-icon-circle.blue { background: rgba(30, 92, 191, 0.1); color: var(--student-secondary); }
.earn-icon-circle.green { background: rgba(34, 197, 94, 0.1); color: var(--student-green); }
.earn-icon-circle.purple { background: rgba(168, 85, 247, 0.1); color: #a855f7; }
.earn-icon-circle.orange { background: rgba(249, 115, 22, 0.1); color: #f97316; }

.earn-card-v2.blue { background: rgba(30, 92, 191, 0.03); }
.earn-card-v2.green { background: rgba(34, 197, 94, 0.03); }
.earn-card-v2.purple { background: rgba(168, 85, 247, 0.03); }
.earn-card-v2.orange { background: rgba(249, 115, 22, 0.03); }

.earn-card-v2 h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--student-text-title);
  margin: 0;
}

.earn-card-v2 .pts-val {
  font-size: 0.85rem;
  font-weight: 800;
  margin-top: 1px;
}

.earn-card-v2.blue .pts-val { color: var(--student-secondary); }
.earn-card-v2.green .pts-val { color: var(--student-green); }
.earn-card-v2.purple .pts-val { color: #a855f7; }
.earn-card-v2.orange .pts-val { color: #f97316; }

.earn-card-v2 .pts-desc {
  font-size: 0.6rem;
  color: var(--student-text-main);
  opacity: 0.8;
}

/* Redeem Your Points V3 Grid */
.redeem-grid-v3 {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin: 0 -16px;
  padding: 4px 16px 10px 16px;
}

.redeem-grid-v3::-webkit-scrollbar {
  display: none;
}

.redeem-card-v3 {
  flex: 0 0 105px;
  background: var(--student-bg-card);
  border: var(--student-card-border);
  box-shadow: var(--student-shadow);
  border-radius: 16px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.redeem-card-v3:active {
  transform: scale(0.95);
}

.brand-logo-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--student-shadow-sm);
  background: var(--student-bg-input);
}

.brand-logo-circle.google { background: #e8f0fe; color: #4285f4; }
.brand-logo-circle.amazon { background: #ffeeda; color: #ff9900; }
.brand-logo-circle.paytm { background: #e6f7ff; color: #00baf2; }
.brand-logo-circle.starbucks { background: #e6f4ea; color: #00704a; }
.brand-logo-circle.skillaid { background: var(--student-status-bg); color: var(--student-secondary); }

.redeem-card-v3 h5 {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--student-text-title);
  line-height: 1.3;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.coin-tag {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--student-gold);
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.2);
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

/* History V3 List */
.rewards-split-section-v3 {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.transactions-column-v3 {
  width: 100%;
}

.transactions-list-wrapper-v3 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.transaction-item-v3 {
  display: flex;
  align-items: center;
  background: var(--student-bg-card);
  border: var(--student-card-border);
  border-radius: 16px;
  padding: 12px;
  gap: 12px;
  box-shadow: var(--student-shadow-sm);
}

.tx-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.tx-icon-circle.blue { background: rgba(30, 92, 191, 0.1); color: var(--student-secondary); }
.tx-icon-circle.blue-light { background: rgba(30, 92, 191, 0.08); color: #0088ff; }
.tx-icon-circle.yellow { background: rgba(245, 166, 35, 0.1); color: var(--student-gold); }
.tx-icon-circle.purple { background: rgba(168, 85, 247, 0.1); color: #a855f7; }
.tx-icon-circle.green { background: rgba(34, 197, 94, 0.1); color: var(--student-green); }
.tx-icon-circle.orange { background: rgba(249, 115, 22, 0.1); color: #f97316; }

.tx-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.tx-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--student-text-title);
}

.tx-date {
  font-size: 0.6rem;
  color: var(--student-text-main);
  opacity: 0.7;
  margin-top: 1px;
}

.tx-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  text-align: right;
  flex-shrink: 0;
}

.transaction-item-v3.positive .tx-amount {
  color: var(--student-green);
}

.transaction-item-v3.negative .tx-amount {
  color: #f97316;
}

.promotion-column-v3 {
  width: 100%;
}

.trophy-promo-card-v3 {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  color: #fff;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(30, 92, 191, 0.25);
}

.trophy-icon-v3 {
  font-size: 2.5rem;
  animation: floatLock 3s ease-in-out infinite;
}

.trophy-promo-card-v3 h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin: 0;
}

.trophy-promo-card-v3 p {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  margin: 0;
}

.btn-promo-courses-v3 {
  background: #fff;
  color: #1d4ed8;
  border: none;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.75rem;
  cursor: pointer;
  margin-top: 4px;
  transition: all 0.2s ease;
}

.btn-promo-courses-v3:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* ========================================================
   12b. REWARDS SUBPANELS, DIGITAL TICKETS & VOUCHERS
   ======================================================== */

.rewards-subpanel {
  display: none;
  animation: panelFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.rewards-subpanel.active {
  display: block;
}

@keyframes panelFadeIn {
  0% { transform: translateY(8px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Redeem Vouchers V2 Grid */
.redeem-grid-v2 {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.redeem-voucher-card {
  background: var(--student-bg-card);
  border: var(--student-card-border);
  box-shadow: var(--student-shadow);
  border-radius: 16px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.redeem-voucher-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--student-secondary);
}

.redeem-voucher-card.google::before { background: linear-gradient(90deg, #4285f4, #34a853, #fbbc05, #ea4335); }
.redeem-voucher-card.amazon::before { background: #ff9900; }
.redeem-voucher-card.paytm::before { background: #00baf2; }
.redeem-voucher-card.starbucks::before { background: #00704a; }
.redeem-voucher-card.skillaid::before { background: linear-gradient(90deg, var(--student-secondary), var(--student-primary)); }

.voucher-glow {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 92, 191, 0.1) 0%, transparent 70%);
  right: -20px;
  bottom: -20px;
  pointer-events: none;
}

.voucher-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.voucher-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--student-text-title);
}

.voucher-cost {
  font-size: 0.68rem;
  font-weight: 800;
  background: var(--student-status-bg);
  border: 1px solid var(--student-border);
  color: var(--student-secondary);
  padding: 2px 8px;
  border-radius: 6px;
}

.voucher-mid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.value-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--student-gold);
}

.voucher-mid p {
  font-size: 0.68rem;
  color: var(--student-text-main);
  line-height: 1.35;
}

.btn-claim-voucher {
  background: var(--student-secondary);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 0.76rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-claim-voucher:hover {
  background: var(--student-primary);
}

.btn-claim-voucher:active {
  transform: scale(0.97);
}

/* Claimed Coupon Tickets */
.coupons-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.coupon-ticket {
  display: flex;
  background: var(--student-bg-card);
  border: 1px solid var(--student-border);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--student-shadow);
  height: 96px;
  transition: all 0.3s ease;
}

.coupon-ticket:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.06);
}

.ticket-left {
  width: 38%;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  position: relative;
}

.coupon-ticket.google .ticket-left { background: linear-gradient(135deg, #4285f4, #34a853); }
.coupon-ticket.amazon .ticket-left { background: linear-gradient(135deg, #ff9900, #146eb4); }
.coupon-ticket.paytm .ticket-left { background: linear-gradient(135deg, #00baf2, #002e6e); }
.coupon-ticket.starbucks .ticket-left { background: linear-gradient(135deg, #00704a, #004d33); }
.coupon-ticket.skillaid .ticket-left { background: linear-gradient(135deg, var(--student-secondary), var(--student-primary)); }

.ticket-brand {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.ticket-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: 2px;
}

.ticket-divider {
  position: relative;
  width: 1px;
  border-left: 2px dashed var(--student-border);
  background: transparent;
  height: 100%;
  flex-shrink: 0;
}

.ticket-divider .cutout {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--student-bg-main);
  border-radius: 50%;
  left: -7px;
  border: 1px solid var(--student-border);
  z-index: 10;
}

.ticket-divider .cutout.top {
  top: -7px;
}

.ticket-divider .cutout.bottom {
  bottom: -7px;
}

.ticket-right {
  flex-grow: 1;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.ticket-code-label {
  font-size: 0.55rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--student-text-main);
  letter-spacing: 0.5px;
}

.ticket-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--student-bg-input);
  border: 1px solid var(--student-border);
  padding: 5px 8px;
  border-radius: 8px;
}

.code-text {
  font-family: monospace;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--student-text-title);
  letter-spacing: 0.5px;
}

.btn-copy-code {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  color: var(--student-secondary);
  display: flex;
  align-items: center;
  padding: 0;
  transition: transform 0.2s ease;
}

.btn-copy-code:active {
  transform: scale(0.85);
}

.ticket-date {
  font-size: 0.55rem;
  color: var(--student-text-main);
  opacity: 0.75;
}

.empty-coupons-msg {
  text-align: center;
  padding: 30px 10px;
  color: var(--student-text-main);
}

.empty-coupons-msg .icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 6px;
}

.empty-coupons-msg .sub {
  font-size: 0.65rem;
  opacity: 0.8;
}

/* History V2 log layout */
.rewards-split-section-v2 {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.transactions-column-v2 {
  width: 100%;
}

.promotion-column-v2 {
  width: 100%;
}

.trophy-promo-card-v2 {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.1), rgba(245, 166, 35, 0.02));
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.trophy-promo-card-v2 .trophy-icon-v2 {
  font-size: 2rem;
  animation: floatLock 3s ease-in-out infinite;
}

.trophy-promo-card-v2 h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--student-gold);
}

.trophy-promo-card-v2 p {
  font-size: 0.68rem;
  color: var(--student-text-main);
  line-height: 1.4;
}

.btn-promo-courses-v2 {
  background: var(--student-secondary);
  color: #fff;
  border: none;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.72rem;
  cursor: pointer;
  margin-top: 4px;
}

.transaction-item.negative .transaction-item-amount {
  color: #f97316 !important;
}

.transaction-item.positive .transaction-item-amount {
  color: var(--student-green) !important;
}

/* ==========================================
   13. REDESIGNED STUDENT PROFILE (TAB-PROFILE)
   ========================================== */

/* Profile Header Card */
.profile-header-card {
  background: var(--student-bg-card);
  border: var(--student-card-border);
  box-shadow: var(--student-shadow);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-avatar-area {
  display: flex;
  gap: 16px;
  align-items: center;
}

.avatar-wrapper {
  position: relative;
  width: 76px;
  height: 76px;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--student-secondary);
}

.btn-edit-avatar {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--student-secondary);
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.profile-name-details {
  display: flex;
  flex-direction: column;
}

.name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.name-row h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--student-text-title);
}

.verified-badge {
  background: var(--student-secondary);
  color: #fff;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
}

.profile-title {
  font-size: 0.72rem;
  color: var(--student-text-main);
  font-weight: 600;
  margin-top: 1px;
}

.location-badge {
  background: var(--student-status-bg);
  border: 1px solid var(--student-border);
  color: var(--student-text-main);
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 10px;
  width: fit-content;
  margin-top: 4px;
  font-weight: 600;
}

/* Social Links Row */
.profile-social-row {
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--student-border);
  padding-top: 14px;
}

.social-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}

.social-circle.linkedin { background: #0077b5; }
.social-circle.instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.social-circle.twitter { background: #1da1f2; }
.social-circle.github { background: #333; }

/* Reward Points Card */
.profile-rewards-row-card {
  background: var(--student-bg-card);
  border: var(--student-card-border);
  box-shadow: var(--student-shadow);
  border-radius: 16px;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
}

.profile-rewards-row-card .pts-info,
.profile-rewards-row-card .join-info {
  display: flex;
  flex-direction: column;
}

.profile-rewards-row-card .lbl {
  font-size: 0.62rem;
  text-transform: uppercase;
  color: var(--student-text-main);
  font-weight: 700;
}

.profile-rewards-row-card strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--student-text-title);
  margin-top: 1px;
}

/* Profile Metrics Row */
.profile-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.metric-card {
  border-radius: 16px;
  padding: 12px 6px;
  text-align: center;
  box-shadow: var(--student-shadow);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-card.bg-m1 { background: linear-gradient(135deg, rgba(30, 92, 191, 0.08), rgba(30, 92, 191, 0.02)); border-bottom: 3px solid var(--student-secondary); }
.metric-card.bg-m2 { background: linear-gradient(135deg, rgba(245, 166, 35, 0.08), rgba(245, 166, 35, 0.02)); border-bottom: 3px solid var(--student-gold); }
.metric-card.bg-m3 { background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(34, 197, 94, 0.02)); border-bottom: 3px solid var(--student-green); }
.metric-card.bg-m4 { background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(168, 85, 247, 0.02)); border-bottom: 3px solid #a855f7; }

.metric-card .val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--student-text-title);
}

.metric-card .lbl {
  font-size: 0.58rem;
  color: var(--student-text-main);
  font-weight: 700;
  text-transform: uppercase;
}

/* Ongoing Course Section */
.ongoing-course-card {
  background: var(--student-bg-card);
  border: var(--student-card-border);
  box-shadow: var(--student-shadow);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.course-header-row h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--student-text-title);
}

.course-header-row .course-meta {
  font-size: 0.72rem;
  color: var(--student-text-main);
  font-weight: 500;
}

.course-header-row .pct-badge {
  background: rgba(34, 197, 94, 0.12);
  color: var(--student-green);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 8px;
}

.progress-bar-wrapper {
  width: 100%;
}

.course-footer-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--student-text-main);
  font-weight: 600;
}

/* Learning Hub Grid (3x2 grid) */
.learning-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hub-item {
  background: var(--student-bg-card);
  border: var(--student-card-border);
  box-shadow: var(--student-shadow);
  border-radius: 16px;
  padding: 14px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
}

.hub-item:active {
  transform: scale(0.95);
}

.hub-item .icon {
  font-size: 1.4rem;
}

.hub-item .lbl {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--student-text-title);
  text-align: center;
}

.hub-item .badge {
  position: absolute;
  top: 6px;
  right: 6px;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 8px;
  line-height: 1;
}

.hub-item .badge.red { background: var(--student-red); }
.hub-item .badge.blue { background: var(--student-secondary); }
.hub-item .badge.green { background: var(--student-green); }

/* Updates & Reviews Split Columns */
.profile-split-columns {
  display: flex;
  gap: 16px;
}

.split-col {
  width: 50%;
}

.updates-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.update-item {
  background: var(--student-bg-input);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  box-shadow: var(--student-shadow);
}

.update-item .icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.update-item .text p {
  font-size: 0.72rem;
  color: var(--student-text-title);
  line-height: 1.35;
  font-weight: 500;
}

.update-item .text span {
  font-size: 0.58rem;
  color: var(--student-text-main);
  opacity: 0.8;
  display: block;
  margin-top: 2px;
}

/* Instructor Feedback Card */
.instructor-feedback-card {
  background: var(--student-bg-card);
  border: var(--student-card-border);
  box-shadow: var(--student-shadow);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}

.instructor-info {
  display: flex;
  gap: 8px;
  align-items: center;
}

.instructor-avatar {
  width: 28px;
  height: 28px;
  background: var(--student-secondary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.instructor-info h5 {
  font-size: 0.78rem;
  color: var(--student-text-title);
  font-weight: 700;
}

.instructor-info span {
  font-size: 0.58rem;
  color: var(--student-text-main);
  display: block;
}

.instructor-rating {
  font-size: 0.65rem;
  color: var(--student-gold);
  font-weight: 700;
}

.instructor-text {
  font-style: italic;
  font-size: 0.7rem;
  line-height: 1.4;
  color: var(--student-text-title);
}

.btn-view-feedback {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--student-secondary);
  text-decoration: none;
  align-self: flex-start;
  margin-top: 4px;
}

/* Emergency Contacts Pill Boxes */
.contacts-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-pill-box {
  background: var(--student-bg-input);
  border: 1px solid var(--student-border);
  border-radius: 14px;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--student-shadow);
}

.contact-pill-box .role {
  font-size: 0.62rem;
  text-transform: uppercase;
  color: var(--student-text-main);
  font-weight: 700;
  width: 25%;
}

.contact-pill-box .name {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--student-text-title);
  width: 50%;
}

.btn-call {
  background: var(--student-green);
  color: #fff;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}

/* ==========================================
   14. MODALS & OVERLAYS STYLING
   ========================================== */
.overlay-container {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--student-overlay-bg);
  backdrop-filter: blur(4px);
  z-index: 1000;
  justify-content: flex-end; /* Slide up from bottom alignment */
  flex-direction: column;
  animation: overlayFadeIn 0.3s ease;
}

.overlay-container.active {
  display: flex;
}

@keyframes overlayFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.overlay-content {
  background: var(--student-bg-card);
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  border-top: 1px solid var(--student-border);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.15);
  max-height: 80%;
  display: flex;
  flex-direction: column;
  animation: sheetSlideUp 0.3s cubic-bezier(0.1, 0.76, 0.55, 0.94);
}

@keyframes sheetSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.overlay-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--student-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.overlay-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--student-text-title);
}

.close-overlay-btn {
  background: none;
  border: none;
  color: var(--student-text-main);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.overlay-body {
  padding: 20px;
  overflow-y: auto;
  flex-grow: 1;
}

.overlay-body::-webkit-scrollbar {
  display: none;
}

.overlay-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--student-border);
  background-color: var(--student-bg-input);
}

.btn-primary-action {
  background: var(--student-secondary);
  color: #fff;
  border: none;
  font-weight: 800;
  padding: 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  width: 100%;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 10px rgba(30, 92, 191, 0.2);
}

.btn-primary-action:active {
  transform: scale(0.97);
}

.btn-secondary-action {
  background: var(--student-status-bg);
  border: 1px solid var(--student-border);
  color: var(--student-text-title);
  font-weight: 700;
  padding: 10px;
  border-radius: 10px;
  font-size: 0.78rem;
  width: 100%;
  cursor: pointer;
  text-align: center;
}

/* Shopping Cart list styles */
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--student-text-title);
}

.cart-total-row strong {
  font-size: 1.15rem;
  color: var(--student-secondary);
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--student-bg-input);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 10px;
  border: 1px solid var(--student-border);
}

.cart-item-info h5 {
  font-size: 0.82rem;
  color: var(--student-text-title);
  font-weight: 700;
}

.cart-item-info span {
  font-size: 0.7rem;
  color: var(--student-secondary);
  font-weight: 700;
}

.btn-remove-item {
  background: none;
  border: none;
  color: var(--student-red);
  font-size: 1.1rem;
  cursor: pointer;
}

/* Notifications list styles */
.notif-item {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  margin-bottom: 10px;
  background: var(--student-bg-input);
  border-left: 3px solid transparent;
}

.notif-item.unread {
  background: rgba(30, 92, 191, 0.05);
  border-left-color: var(--student-secondary);
}

.notif-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.notif-text p {
  font-size: 0.78rem;
  color: var(--student-text-title);
  line-height: 1.35;
}

.notif-text span {
  font-size: 0.6rem;
  color: var(--student-text-main);
  opacity: 0.7;
  display: block;
  margin-top: 3px;
}

/* Settings panel styles */
.settings-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.settings-section {
  border-bottom: 1px solid var(--student-border);
  padding-bottom: 14px;
}

.settings-section:last-child {
  border-bottom: none;
}

.settings-section h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: var(--student-text-main);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 800;
}

.settings-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--student-text-title);
  font-weight: 600;
}

.profile-select-input {
  background: var(--student-bg-input);
  color: var(--student-text-title);
  border: 1px solid var(--student-border);
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.76rem;
  outline: none;
}

.settings-toggle-btn {
  background: var(--student-status-bg);
  border: 1px solid var(--student-border);
  color: var(--student-text-title);
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.76rem;
  cursor: pointer;
}

.status-pill {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 8px;
  color: #fff;
}

.status-pill.online { background: var(--student-green); }
.status-pill.offline { background: var(--student-gold); }

.settings-link {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--student-secondary);
  text-decoration: none;
  margin-top: 10px;
}

/* Points Redemption Voucher list */
.points-summary-card {
  background: linear-gradient(135deg, var(--student-primary), var(--student-secondary));
  color: #fff;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  margin-bottom: 16px;
}

.points-summary-card span {
  font-size: 0.7rem;
  text-transform: uppercase;
  opacity: 0.8;
  font-weight: 700;
}

.points-summary-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  margin-top: 4px;
}

.points-summary-card small {
  font-size: 0.78rem;
  opacity: 0.9;
  display: block;
  margin-top: 2px;
}

.section-subtitle {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--student-text-main);
  font-weight: 800;
  margin-bottom: 10px;
}

.redeem-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.redeem-option-item {
  background: var(--student-bg-input);
  border: 1px solid var(--student-border);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.redeem-option-item:hover {
  border-color: var(--student-secondary);
}

.voucher-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  flex-shrink: 0;
}

.voucher-icon.amazon { background: #ff9900; }
.voucher-icon.play { background: #4285f4; }
.voucher-icon.paytm { background: #00baf2; }
.voucher-icon.skillaid { background: var(--student-secondary); }

.voucher-info {
  flex-grow: 1;
}

.voucher-info h5 {
  font-size: 0.78rem;
  color: var(--student-text-title);
  font-weight: 700;
}

.voucher-info span {
  font-size: 0.68rem;
  color: var(--student-text-main);
  font-weight: 600;
}

.btn-redeem-item {
  background: var(--student-secondary);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.68rem;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* ==========================================
   15. PREMIUM COMMUNITY STYLES (TAB-SOCIAL)
   ========================================== */

/* Floating Chat Action Button (FAB) */
.floating-chat-fab {
  position: absolute;
  bottom: 80px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--student-secondary), var(--student-primary));
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(30, 92, 191, 0.4), inset 0 2px 4px rgba(255,255,255,0.2);
  cursor: pointer;
  z-index: 98;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (max-width: 480px) {
  .floating-chat-fab {
    position: fixed;
    bottom: 84px;
  }
}

.floating-chat-fab:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(30, 92, 191, 0.5);
}

.floating-chat-fab:active {
  transform: scale(0.9);
}

.floating-chat-fab svg {
  color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Stories Bar Row */
.stories-bar-container {
  overflow-x: auto;
  margin: -4px -16px;
  padding: 8px 16px;
}

.stories-bar-container::-webkit-scrollbar {
  display: none;
}

.stories-scroll {
  display: flex;
  gap: 14px;
  align-items: center;
}

.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
  width: 60px;
}

.story-avatar {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5px;
}

/* Colorful gradient rings representing story statuses */
.story-avatar.unread {
  background: linear-gradient(45deg, #f5a623, #ef4444, #1e5cbf);
}

.story-avatar.read {
  background: var(--student-border);
}

.story-avatar.instructor {
  background: linear-gradient(45deg, var(--student-gold), #ffd700);
}

.story-avatar.director {
  background: linear-gradient(45deg, var(--student-secondary), #00ffff);
}

.story-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--student-bg-main);
  background: var(--student-bg-input);
}

.story-avatar .instructor-tag-inside,
.story-avatar .director-tag-inside {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  border: 2px solid var(--student-bg-main);
}

.story-avatar .instructor-tag-inside { background: var(--student-gold); }
.story-avatar .director-tag-inside { background: var(--student-primary); }

/* You / active user story specific plus badge */
.story-item.active-user .story-avatar {
  background: none;
  padding: 0;
  border: 2.5px solid var(--student-border);
}

.story-item.active-user img {
  border: none;
}

.add-story-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--student-secondary);
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  border: 2px solid var(--student-bg-main);
}

.story-name {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--student-text-main);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

/* Community Event Slider */
.community-banner-slider-wrapper {
  margin-bottom: 4px;
}

.banner-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.banner-slider::-webkit-scrollbar {
  display: none;
}

.event-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  border-radius: 16px;
  padding: 16px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--student-shadow);
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 70%;
}

.event-badge {
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 6px;
  width: fit-content;
  text-transform: uppercase;
}

.event-details h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.event-details p {
  font-size: 0.7rem;
  opacity: 0.85;
  line-height: 1.35;
}

.btn-event-register {
  background: var(--student-gold);
  color: var(--student-primary);
  border: none;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.72rem;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn-event-register:active {
  transform: scale(0.95);
}

/* Discussion Channel Navigation Pills */
.channels-nav-container {
  overflow-x: auto;
  margin: -4px -16px;
  padding: 4px 16px;
}

.channels-nav-container::-webkit-scrollbar {
  display: none;
}

.channels-list {
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.channel-pill {
  background: var(--student-bg-input);
  color: var(--student-text-main);
  border: 1px solid var(--student-border);
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.channel-pill.active {
  background: var(--student-primary);
  color: #fff;
  border-color: var(--student-primary);
}

/* Redesigned Share Post Card */
.share-post-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.share-post-top .post-avatar {
  flex-shrink: 0;
}

.share-post-top .post-avatar img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.share-post-top .post-input {
  flex-grow: 1;
  border: none;
  background: none;
  font-size: 0.8rem;
  height: 50px;
  padding: 4px 0;
  color: var(--student-text-title);
}

.post-buttons-wrap {
  display: flex;
  gap: 8px;
}

/* Post Cards Comment Action Buttons */
.btn-comment-action {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--student-text-main);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  margin-left: 20px;
}

.btn-comment-action svg {
  color: var(--student-text-main);
}

/* Expandable Comments Drawer */
.comments-section {
  display: none;
  border-top: 1px solid var(--student-border);
  padding-top: 12px;
  margin-top: 8px;
  flex-direction: column;
  gap: 12px;
  background: var(--student-status-bg);
  margin-left: -16px;
  margin-right: -16px;
  margin-bottom: -16px;
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 16px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  animation: tabFadeIn 0.3s ease;
}

.comments-section.active {
  display: flex;
}

.comments-list-inside {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 160px;
  overflow-y: auto;
}

.comments-list-inside::-webkit-scrollbar {
  display: none;
}

.comment-card-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.comment-avatar-mini {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.comment-avatar-mini-letters {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--student-secondary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
}

.comment-details-box {
  background: var(--student-bg-card);
  border: var(--student-card-border);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 85%;
}

.comment-details-box h6 {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--student-text-title);
}

.comment-details-box p {
  font-size: 0.72rem;
  color: var(--student-text-main);
  line-height: 1.35;
}

.comment-details-box .time {
  font-size: 0.58rem;
  opacity: 0.6;
  margin-top: 1px;
}

/* Comment inputs box */
.comment-input-area {
  display: flex;
  gap: 8px;
  align-items: center;
  border-top: 1px solid var(--student-border);
  padding-top: 8px;
}

.comment-textbox {
  flex-grow: 1;
  background: var(--student-bg-card);
  border: 1px solid var(--student-border);
  color: var(--student-text-title);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.76rem;
  outline: none;
}

.comment-textbox:focus {
  border-color: var(--student-secondary);
}

.btn-send-comment {
  background: var(--student-secondary);
  color: #fff;
  border: none;
  border-radius: 10px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-send-comment:active {
  transform: scale(0.9);
}

/* Story View Modal Overlay Styling */
.story-view-overlay {
  background-color: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(10px);
  justify-content: center;
}

.story-viewer-content {
  width: 100%;
  max-width: 410px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  animation: overlayFadeIn 0.3s ease;
}

.story-progress-bar-wrap {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  overflow: hidden;
  z-index: 1001;
}

.story-progress-bar-inner {
  height: 100%;
  background: #fff;
  width: 0%;
}

.story-viewer-header {
  position: absolute;
  top: 26px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1001;
}

.story-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-viewer-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--student-gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  border: 1.5px solid #fff;
  overflow: hidden;
}

.story-viewer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#story-viewer-username {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.close-story-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.story-viewer-body {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.story-viewer-body img {
  max-width: 100%;
  max-height: 80%;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.story-text-container {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.5;
  padding: 30px;
  font-family: 'Outfit', sans-serif;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* ========================================================
   14. STARTUP TRANSITIONS & PREMIUM AUTH STYLING
   ======================================================== */

/* Splash Base Overlay */
.splash-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: opacity 0.5s ease;
}

.splash-screen.active {
  display: flex;
}

/* Cinematic SkillAid Splash Screen */
#high-tech-splash {
  background: #070a13;
  color: #fff;
  font-family: 'Outfit', sans-serif;
}

.cinematic-particles-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.cinematic-particles-bg .particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  bottom: -15px;
  animation: floatUp 8s infinite linear;
}

.cinematic-particles-bg .particle.p-1 { left: 10%; width: 3px; height: 3px; animation-duration: 6s; }
.cinematic-particles-bg .particle.p-2 { left: 30%; width: 5px; height: 5px; animation-delay: 1.5s; animation-duration: 9s; background: rgba(30, 92, 191, 0.3); }
.cinematic-particles-bg .particle.p-3 { left: 50%; width: 2px; height: 2px; animation-delay: 3s; animation-duration: 7s; }
.cinematic-particles-bg .particle.p-4 { left: 70%; width: 4px; height: 4px; animation-delay: 0.5s; animation-duration: 10s; background: rgba(245, 166, 35, 0.25); }
.cinematic-particles-bg .particle.p-5 { left: 85%; width: 3px; height: 3px; animation-delay: 2s; animation-duration: 8s; }
.cinematic-particles-bg .particle.p-6 { left: 20%; width: 4px; height: 4px; animation-delay: 4.5s; animation-duration: 11s; }

.cinematic-logo-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(30, 92, 191, 0.35) 0%, rgba(245, 166, 35, 0.08) 55%, transparent 70%);
  filter: blur(25px);
  border-radius: 50%;
  z-index: 1;
  animation: glowPulse 2.5s infinite alternate ease-in-out;
}

.splash-rings-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.splash-logo-container {
  width: 110px;
  height: 110px;
  z-index: 10;
  animation: scaleLogo 1.2s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

.splash-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cinematic-logo-title {
  position: absolute;
  top: calc(50% + 90px);
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Outfit', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: 9px;
  color: #fff;
  z-index: 2;
  margin-top: 0;
  text-shadow: 0 4px 15px rgba(255,255,255,0.05), 0 0 25px rgba(30, 92, 191, 0.3);
  white-space: nowrap;
}

.cinematic-logo-subtitle {
  position: absolute;
  top: calc(50% + 140px);
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--student-gold);
  margin-top: 0;
  z-index: 2;
  white-space: nowrap;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@keyframes scaleLogo {
  0% { transform: scale(0.3); }
  100% { transform: scale(1); }
}

/* Cinematic Parent Company Splash Screen */
#parent-brand-splash {
  background: #080c16;
  font-family: 'Inter', sans-serif;
  color: #fff;
}

.parent-branding-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: scaleBrand 3.5s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

.powered-by-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 12px;
}

.parent-logo-box {
  position: relative;
  width: 220px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
}

#parent-powered-logo-canvas {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.shine-sweep-overlay {
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  animation: shineSweep 2.5s infinite ease-in-out;
  pointer-events: none;
}

.parent-company-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--student-gold);
  margin-top: 12px;
  text-shadow: 0 0 10px rgba(245, 166, 35, 0.25);
}

/* Premium Student Login Page Overlay */
.login-screen-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  background: var(--student-bg-main);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.login-screen-overlay.active {
  display: flex;
}

.login-card-container {
  background: var(--student-bg-card);
  border: var(--student-card-border);
  box-shadow: var(--student-shadow);
  border-radius: 24px;
  padding: 28px 24px;
  width: 100%;
  max-width: 320px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: loginCardFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.login-logo-header {
  text-align: center;
}

.login-skillaid-logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 10px rgba(30, 92, 191, 0.2));
}

.login-logo-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--student-text-title);
  margin-bottom: 4px;
}

.login-logo-header p {
  font-size: 0.72rem;
  color: var(--student-text-main);
}

.login-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.login-form-group label {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--student-text-title);
  letter-spacing: 0.5px;
}

.login-input-field {
  background: var(--student-bg-input);
  border: 1.5px solid var(--student-border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--student-text-title);
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.login-input-field:focus {
  outline: none;
  border-color: var(--student-secondary);
  box-shadow: 0 0 0 3px rgba(30, 92, 191, 0.15);
}

.login-error-text {
  font-size: 0.65rem;
  color: var(--student-red);
  font-weight: 600;
  margin-top: 2px;
  display: none;
}

.login-btn {
  padding: 12px;
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 12px;
  width: 100%;
}

.login-branding-footer {
  text-align: center;
  margin-top: 8px;
  border-top: 1px solid var(--student-border);
  padding-top: 16px;
}

.login-branding-footer .powered-by {
  font-size: 0.6rem;
  text-transform: uppercase;
  color: var(--student-text-main);
  letter-spacing: 1px;
}

.footer-logo-box {
  width: 160px;
  height: 48px;
  margin: 4px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#login-powered-logo-canvas {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.login-branding-footer .parent-company {
  font-size: 0.68rem;
  font-weight: bold;
  color: var(--student-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Vertical Delivery Timeline / Milestones */
.milestones-card {
  margin-top: 14px;
}

.milestones-stepper {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 20px;
  margin-top: 8px;
}

.milestones-stepper::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-left: 2px dashed var(--student-border);
  z-index: 1;
}

.milestone-step {
  display: flex;
  position: relative;
  padding-bottom: 20px;
  z-index: 2;
}

.milestone-step:last-child {
  padding-bottom: 0;
}

.step-bullet {
  position: absolute;
  left: -20px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--student-bg-card);
  border: 2px solid var(--student-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.step-bullet-icon {
  font-size: 0.55rem;
  font-weight: bold;
  color: var(--student-text-main);
}

.step-details {
  padding-left: 14px;
}

.step-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--student-text-title);
  line-height: 1.2;
}

.step-desc {
  font-size: 0.65rem;
  color: var(--student-text-main);
  margin-top: 2px;
  line-height: 1.3;
}

.step-badge {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  margin-top: 4px;
  text-transform: uppercase;
}

.completed-badge {
  background: rgba(34, 197, 94, 0.1);
  color: var(--student-green);
}

.active-badge {
  background: rgba(30, 92, 191, 0.1);
  color: var(--student-secondary);
}

/* Status specific overrides for Milestones */
.milestone-step.completed .step-bullet {
  border-color: var(--student-green);
  background: var(--student-green);
}
.milestone-step.completed .step-bullet-icon {
  color: #fff;
}
.milestone-step.completed::before {
  border-left-color: var(--student-green);
}

.milestone-step.active .step-bullet {
  border-color: var(--student-secondary);
  background: var(--student-bg-card);
  box-shadow: 0 0 8px rgba(30, 92, 191, 0.4);
}
.milestone-step.active .step-bullet-icon {
  color: var(--student-secondary);
  font-size: 0.6rem;
}
.milestone-step.active .step-title {
  color: var(--student-secondary);
}

.milestone-step.locked .step-bullet {
  border-color: var(--student-border);
  background: var(--student-bg-input);
}
.milestone-step.locked .step-bullet-icon {
  color: var(--student-text-main);
  opacity: 0.5;
}
.milestone-step.locked .step-title {
  opacity: 0.6;
}
.milestone-step.locked .step-desc {
  opacity: 0.6;
}

/* Notch sliding Android notification banner */
.notch-notification {
  position: absolute;
  top: -80px;
  left: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.95);
  color: #fff;
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 10000;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.notch-notification.slide-down {
  transform: translateY(115px); /* Position it right below status bar / notch area */
}

.notification-app-icon {
  font-size: 1.3rem;
  background: rgba(255,255,255,0.1);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-content {
  flex-grow: 1;
}

.notification-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0;
  color: #fff;
}

.notification-body {
  font-size: 0.68rem;
  margin: 2px 0 0 0;
  color: #d1d5db;
  line-height: 1.2;
}

/* Keyframe Animations */
@keyframes scanTimeline {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

@keyframes rotateCW {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes rotateCCW {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes logoPulse {
  0% { transform: scale(0.9); filter: drop-shadow(0 0 5px rgba(0,255,204,0.3)); }
  100% { transform: scale(1.05); filter: drop-shadow(0 0 15px rgba(0,255,204,0.7)); }
}

@keyframes textGlitch {
  0% { transform: skew(0deg); }
  20% { transform: skew(-2deg); }
  40% { transform: skew(2deg); }
  60% { transform: skew(-1deg); }
  80% { transform: skew(3deg); }
  100% { transform: skew(0deg); }
}

@keyframes floatCloud {
  0% { transform: translateX(-10px); }
  50% { transform: translateX(10px); }
  100% { transform: translateX(-10px); }
}

@keyframes blockBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes coinJump {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  50% { transform: translateY(-30px) rotateY(180deg) scale(1.1); opacity: 1; }
  100% { transform: translateY(0) rotateY(360deg) scale(0.8); opacity: 0; }
}

@keyframes blinkText {
  0% { opacity: 0.2; }
  100% { opacity: 1; }
}

@keyframes loginCardFadeIn {
  0% { transform: scale(0.9) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes floatLock {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(5deg); }
}

/* ========================================================
   14. MARIO RUNNER SPLASH SCENE & RETRO ARCADE STYLING
   ======================================================== */
.mario-track-container {
  position: absolute;
  bottom: 220px;
  left: 0;
  width: 100%;
  height: 70px;
  overflow: hidden;
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mario-sprite-box {
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 36px;
  height: 36px;
  will-change: transform;
}

.mario-ground-bricks {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    #c2410c,
    #c2410c 12px,
    #f97316 12px,
    #f97316 14px
  );
  border-top: 2px solid #ea580c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.retro-arcade-font {
  font-family: 'Press Start 2P', monospace, sans-serif;
  text-shadow: 2px 2px 0px #000;
  letter-spacing: 1px;
  text-align: center;
  width: 100%;
}

#retro-parent-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

#retro-parent-branding .powered-by-text {
  font-size: 0.65rem;
  color: #fbbf24;
  margin-bottom: 16px;
}

#retro-parent-branding .retro-logo-text {
  font-size: 0.95rem;
  color: #ef4444;
  margin-bottom: 20px;
  animation: blinkText 0.6s infinite alternate;
}

#retro-parent-branding .parent-company-text {
  font-size: 0.52rem;
  color: #3b82f6;
}

.retro-text-flash {
  animation: retroScaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes retroScaleUp {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}


