/* From index comp or component */
body {
  background: #010f18;
  font-family: "Inter", system-ui, sans-serif;
}

.max-w-8xl {
  max-width: min(88rem, 95vw);
  margin-left: auto;
  margin-right: auto;
}

/* Header Styles */

/* Mobile Menu - Updated to match the image */
.header-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 402;
}

.header-hamburger span {
  display: block;
  width: 24px;
  height: 4px;
  background: #222;
  margin: 3px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Menu - Fixed z-index and overlay issues */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(1, 15, 24, 0.6);
  backdrop-filter: blur(8px);
  z-index: 9999999;
}

.mobile-menu-overlay.active {
  display: block;
}

.mobile-menu-glass {
  display: none;
  position: fixed;
  top: 2vh;
  left: 50%;
  transform: translateX(-50%);
  width: 95vw;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.15);
  border-radius: 24px;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  z-index: 99999999;
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-glass.active {
  display: flex;
}

/* Prevent body scroll when menu is open */

.mobile-menu-glass nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
  margin-top: 1rem;
}

.mobile-menu-glass nav a {
  color: #333;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  transition: all 0.2s ease;
  position: relative;
}

.mobile-menu-glass nav a:hover {
  background: rgba(2, 245, 201, 0.1);
  color: #0ad1c2;
}

.mobile-menu-glass nav a.active {
  color: #0ad1c2;
  font-weight: 700;
  position: relative;
}

.mobile-menu-glass nav a.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: #02f5c9;
  border-radius: 0 4px 4px 0;
}

.mobile-menu-glass .join-btn {
  background: #00ffd1;
  color: #111;
  border: none;
  border-radius: 50px;
  padding: 1rem 0;
  font-weight: 700;
  font-size: 1.1rem;
  width: 45%;
  text-align: center;
  display: block;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: all 0.2s ease;
}

.mobile-menu-glass .join-btn:hover {
  background: #0ad1c2;
  transform: translateY(-1px);
}

.mobile-menu-glass .close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.8rem;
  color: #666;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 201;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.mobile-menu-glass .close-menu:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #333;
}

/* Responsive */
@media (max-width: 1250px) {
  .header-hamburger {
    display: flex !important;
  }

  .dm-header-v2 nav,
  .dm-header-v2 .join-btn {
    display: none !important;
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }
}

@media (min-width: 1536px) {

  .header-hamburger,
  .mobile-menu-glass,
  .mobile-menu-overlay {
    display: none !important;
  }

  .dm-header-v2 nav,
  .dm-header-v2 .join-btn {
    display: flex !important;
  }
}

@media (max-width: 900px) {
  .dm-header-v2 {
    padding: 1rem 1.5rem;
  }

  .dm-header-v2 .logo img {
    height: 36px;
  }
}

@media (max-width: 600px) {
  .dm-header-v2 {
    padding: 0.8rem 1rem;
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }

  .mobile-menu-glass {
    padding: 1.2rem 0.5rem;
    border-radius: 20px;
    width: 98vw;
    max-width: 99vw;
    top: 2vh;
  }
}

/* Explore More Course Div content */
@media (max-width: 600px) {
  .flex.items-center.gap-8.p-10.rounded-2xl.mt-10 {
    flex-direction: column !important;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }
}

/* See Related course div */
@media (max-width: 768px) {
  .flex.items-center.gap-6.mt-10 {
    display: flex;
    flex-direction: column !important;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0.5rem;
    margin-top: 1.2rem;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  /* For social  icons in the footer */
  @media (max-width: 768px) {
    .flex.gap-3 {
      justify-content: center;
    }
  }
}

/* CTA section- present in the body of website */
.flex-shrink-0 img {
  width: 150px;
  height: 125px;
  max-width: 100%;
  display: block;
}

/* Background Blur Effects */
.bg-blur-green {
  position: absolute;
  width: 220px;
  height: 220px;
  left: -80px;
  top: 120px;
  background: radial-gradient(ellipse at 50% 50%, #12ebd2 0%, #12ebd200 80%);
  filter: blur(60px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

.bg-blur-blue {
  position: absolute;
  width: 260px;
  height: 260px;
  right: -100px;
  bottom: 60px;
  background: radial-gradient(ellipse at 50% 50%, #11b8ff 0%, #11b8ff00 80%);
  filter: blur(120px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

/* Footer Blur */
.footer-blur-gradient {
  position: absolute;
  top: 24px;
  left: 0;
  width: 340px;
  height: 140px;
  background: radial-gradient(ellipse at 30% 40%, #12ebd2 0%, #12ebd200 80%);
  filter: blur(32px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

/* Fix horizontal overflow issues */
* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Fix table overflow */
.overflow-x-auto {
  max-width: 100vw;
  overflow-x: auto;
}

.overflow-x-auto table {
  min-width: 800px !important;
  width: 100%;
}

/* Fix events section overflow */
@media (max-width: 1200px) {
  .flex.gap-10.items-start {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .flex.justify-between.items-stretch.border-2.border-cyan-primary.rounded-3xl.p-10.bg-white.gap-10.shadow-sm {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Hide swiper buttons for smaller screens */
@media (max-width: 1151px) {

  .swiper-button-prev.text-dark-primary,
  .swiper-button-next.text-dark-primary {
    opacity: none;
    display: none;
    right: -60px;
  }
}

/* Fix winner cards positioning */
.absolute.-top-3.-left-15 {
  left: -0.75rem !important;
}

/* Ensure all containers respect viewport width */

/* Fix hero section responsive */
@media (max-width: 768px) {}

/* Fix search input responsive */
@media (max-width: 480px) {
  .w-80 {
    width: 90vw !important;
    max-width: 320px;
  }
}

/* Fix table cells text wrapping */
.overflow-x-auto table th,
.overflow-x-auto table td {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Prevent any element from exceeding viewport */
* {
  max-width: 100vw;
}

img {
  max-width: 100%;
  height: auto;
}

/* Font Classes */
.font-title {
  font-family: "Inter", system-ui, sans-serif;
}

.font-body {
  font-family: "Inter", system-ui, sans-serif;
}

/* Apply Inter to all headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", system-ui, sans-serif;
}

/* Apply Inter to paragraphs and body text */
p,
span,
div,
a,
button,
input,
textarea,
td,
th,
li {
  font-family: "Inter", system-ui, sans-serif;
}

/* userHome component*/
body {
  background: #010f18;
  font-family: "Inter", system-ui, sans-serif;
}

/* Header Styles */

/* Mobile Menu - Updated to match the image */
.header-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 402;
}

/* Hide header when mobile menu is active */

/* Prevent body scroll when menu is open */

.mobile-menu-glass nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
  margin-top: 1rem;
}

/* Responsive - UPDATED */
@media (max-width: 1250px) {
  .header-hamburger {
    display: flex !important;
  }

  .dm-header-v2 nav,
  .user-profile-container {
    display: none !important;
  }

  .dm-header-v2 {
    padding: 0.7rem 1.5rem;
    /* Reduced padding for mobile */
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }
}

@media (min-width: 1536px) {

  .header-hamburger,
  .mobile-menu-glass,
  .mobile-menu-overlay {
    display: none !important;
  }

  .dm-header-v2 nav,
  .user-profile-container {
    display: flex !important;
  }
}

@media (max-width: 900px) {
  .dm-header-v2 {
    padding: 1rem 1.5rem;
  }

  .dm-header-v2 .logo img {
    height: 36px;
  }
}

@media (max-width: 600px) {
  .dm-header-v2 {
    padding: 0.8rem 1rem;
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }

  .mobile-menu-glass {
    padding: 1.2rem 0.5rem;
    border-radius: 20px;
    width: 98vw;
    max-width: 99vw;
    top: 2vh;
  }
}

/* Explore More Course Div content */
@media (max-width: 600px) {
  .flex.items-center.gap-8.p-10.rounded-2xl.mt-10 {
    flex-direction: column !important;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }
}

/* See Related course div */
@media (max-width: 768px) {
  .flex.items-center.gap-6.mt-10 {
    display: flex;
    flex-direction: column !important;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0.5rem;
    margin-top: 1.2rem;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  /* For social  icons in the footer */
  @media (max-width: 768px) {
    .flex.gap-3 {
      justify-content: center;
    }
  }
}

/* Fix events section overflow */
@media (max-width: 1200px) {
  .flex.gap-10.items-start {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .flex.justify-between.items-stretch.border-2.border-cyan-primary.rounded-3xl.p-10.bg-white.gap-10.shadow-sm {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Hide swiper buttons for smaller screens */
@media (max-width: 1151px) {

  .swiper-button-prev.text-dark-primary,
  .swiper-button-next.text-dark-primary {
    opacity: none;
    display: none;
    right: -60px;
  }
}

/* Ensure all containers respect viewport width */

/* Fix hero section responsive */
@media (max-width: 768px) {}

/* Fix search input responsive */
@media (max-width: 480px) {
  .w-80 {
    width: 90vw !important;
    max-width: 320px;
  }
}

/* Fix footer responsive */
@media (max-width: 768px) {
  .flex.justify-between.items-start.flex-wrap.gap-8 {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .min-w-48.mx-10 {
    margin: 0;
    min-width: auto;
  }
}

/* Add these styles for the mobile notification bell */
.mobile-notification-bell {
  display: none;
  /* Hide by default on desktop */
}

@media (max-width: 1250px) {
  .mobile-notification-bell {
    display: block;
    /* Show on mobile screens */
  }

  /* Hide the original notification bell that is inside the main nav */
  #notification-bell-link {
    display: none;
  }
}

/*my Learning comp */
body {
  background: #010f18;
  font-family: "Inter", system-ui, sans-serif;
}

/* Utility class for wider containers */
.max-w-8xl {
  max-width: min(88rem, 95vw);
  margin-left: auto;
  margin-right: auto;
}

/* Header Styles - UPDATED */
.dm-header-v2 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3000000;
  max-width: 95vw !important;
  margin: 24px auto 0 auto;
  padding: 0.7rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 2.5rem;
  transition: all 0.3s cubic-bezier(0.4, 2, 0.6, 1);

  /* Background Color & Blur */
  background-color: rgba(249, 254, 255, 0.9);
  /* #F9FEFF with 90% opacity */
  -webkit-backdrop-filter: blur(10px);

  backdrop-filter: blur(10px);

  /*  Combined Shadows */
  box-shadow: inset 0px 2px 4px rgba(255, 255, 255, 0.15),
    inset 0px -1px 4px rgba(0, 0, 0, 0.05), 0px 0px 15px rgba(0, 0, 0, 0.1);
}

.dm-header-v2 .logo img {
  height: 44px;
}

.dm-header-v2 nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.dm-header-v2 nav a {
  color: #222;
  font-weight: 600;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  position: relative;
  font-size: 1.08rem;
  transition: color 0.2s;
}

.dm-header-v2 nav a.active {
  color: #0ad1c2;
}

.dm-header-v2 nav a.active::after {
  content: "";
  display: block;
  height: 3px;
  width: 24px;
  background: #0ad1c2;
  border-radius: 100px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -6px;
}

.dm-header-v2 .join-btn {
  background: #00ffd1;
  color: #06111b;
  border: none;
  border-radius: 2rem;
  padding: 0.6rem 1.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  margin-left: 2rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  text-decoration: none !important;
  box-shadow: 0 2px 8px 0 rgba(0, 255, 224, 0.08);
}

.dm-header-v2 .join-btn:hover {
  background: #0ad1c2;
  color: #fff;
}

/* Mobile Menu */
.header-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 402;
}

.header-hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #222;
  margin: 3px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(1, 15, 24, 0.6);
  backdrop-filter: blur(8px);
  z-index: 9999999;
}

.mobile-menu-glass nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
  margin-top: 1rem;
}

.mobile-menu-glass .join-btn {
  background: #00ffd1;
  color: #111;
  border: none;
  border-radius: 16px;
  padding: 1rem 0;
  font-weight: 700;
  font-size: 1.1rem;
  width: 100%;
  text-align: center;
  display: block;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: all 0.2s ease;
}

/* Responsive - UPDATED */
@media (max-width: 1250px) {
  .header-hamburger {
    display: flex !important;
  }

  .dm-header-v2 nav,
  .user-profile-container {
    display: none !important;
  }

  .dm-header-v2 {
    padding: 0.7rem 1.5rem;
    /* Reduced padding for mobile */
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }
}

@media (min-width: 1536px) {

  .header-hamburger,
  .mobile-menu-glass,
  .mobile-menu-overlay {
    display: none !important;
  }

  .dm-header-v2 nav,
  .user-profile-container {
    display: flex !important;
  }
}

@media (max-width: 900px) {
  .dm-header-v2 {
    padding: 1rem 1.5rem;
    margin: 16px auto 0 auto;
    /* Reduced margin */
  }

  .dm-header-v2 .logo img {
    height: 36px;
  }
}

@media (max-width: 600px) {
  .dm-header-v2 {
    padding: 0.8rem 1rem;
    margin: 12px auto 0 auto;
    /* Further reduced margin */
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }

  .mobile-menu-glass {
    padding: 1.2rem 0.5rem;
    border-radius: 20px;
    width: 98vw;
    max-width: 99vw;
    top: 2vh;
  }
}

/* My Learning Page Styles */
.mylearning-page-bg {
  background: #fff;
  min-height: 100vh;
}

.mylearning-hero-section {
  background: radial-gradient(ellipse at top left, #18313a 0%, #010f18 100%);
  padding: 150px 0 32px 0;
  color: #fff;
  min-height: 220px;
  position: relative;
  z-index: 10000;
  overflow: visible !important;
}

.mylearning-hero-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem;
  padding-left: 32px;
  padding-right: 32px;
  max-width: min(88rem, 95vw);
  margin: 0 auto;
}

.mylearning-hero-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mylearning-hero-title {
  font-size: 2.1rem;
  font-weight: 900;
  color: #00ffd1;
  line-height: 1.3;
}

.mylearning-hero-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: none;
  color: fff;
  border-radius: 1.2rem;
  padding: 0.32rem 1.1rem;
  font-size: 1.13rem;
  font-weight: 800;
  width: fit-content;
  margin-left: -1.4rem;
}

.mylearning-hero-stats {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.mylearning-hero-stat-card {
  background: #fff;
  color: #18313a;
  border-radius: 10px;
  padding: 10px 15px;
  min-width: 140px;
  box-shadow: 0 2px 8px 0 rgba(25, 246, 232, 0.1);
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1.01rem;
  gap: 0.1rem;
}

.mylearning-hero-stat-label {
  color: #010f18;
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.mylearning-hero-stat-value {
  font-size: 1.19rem;
  font-weight: 900;
  display: flex;
  gap: 0.5rem;
  color: #465359;
}

.mylearning-hero-right {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.mylearning-continue-box {
  background: #fff;
  border-radius: 25px;
  padding: 2rem 2rem 1.5rem 2rem;
  min-width: 400px;
  max-width: 600px;
  box-shadow: 0 2px 8px 0 rgba(25, 246, 232, 0.1);
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}

.mylearning-continue-title {
  color: #010f18;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

/* Desktop Continue Learning Cards */
.mylearning-continue-card {
  background-color: rgba(18, 235, 210, 0.1);
  border: 2px solid #12ebd2;
  color: #010f18;
  border-radius: 15px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.7rem;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.1rem 4rem;
  align-items: center;
  font-weight: 700;
  box-shadow: 0 2px 8px 0 rgba(25, 246, 232, 0.1);
  min-height: 80px;
}

.mylearning-continue-course-title {
  grid-column: 1;
  grid-row: 1;
  font-size: 1.1rem;
  /* font-weight: 900; */
  line-height: 1.3;
  margin: 0;
}

.mylearning-continue-rank {
  grid-column: 2;
  grid-row: 1;
  font-size: 1.02rem;
  font-weight: 700;
  color: #465359;
  line-height: 1.3;
  white-space: nowrap;
}

.mylearning-continue-rank::before {
  content: "▼";
  color: #cf2a2a;
  margin-right: 0.3rem;
}

.mylearning-continue-progress {
  grid-column: 1;
  grid-row: 2;
  font-size: 1.02rem;
  font-weight: 700;
  color: #465359;

  line-height: 1.3;
}

.mylearning-continue-progress::before {
  content: "▲";
  color: #66cf20;
  margin-right: 0.3rem;
}

.mylearning-continue-link-btn {
  margin-left: auto;
  grid-column: 2;
  grid-row: 2;
  background: transparent;
  color: #12ebd2 !important;
  border: none;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: underline;
}

.mylearning-continue-link-btn:hover {
  color: #0ad1c2;
  text-decoration: underline;
}

/* Mobile Continue Learning Cards */
/* Mobile Continue Learning Cards */
.mylearning-continue-card-mobile {
  background: #12ebd212;
  border: 2px solid #12ebd2;
  border-radius: 0.7rem;
  padding: 1rem 1.2rem;
  margin-bottom: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-weight: 700;
  box-shadow: 0 2px 8px 0 rgba(25, 246, 232, 0.1);
  min-height: 80px;
}

.mylearning-continue-card-mobile .mylearning-continue-course-title {
  color: #0a192f;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.mylearning-continue-card-mobile .mobile-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mylearning-continue-card-mobile .mobile-card-stats {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  /* min-width: 0; */
}

.mylearning-continue-card-mobile .mylearning-continue-btn {
  background: transparent;
  color: #12ebd2;
  border: none;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

/* Notice Section */
.mylearning-notice-section {
  background: #02f5c9;
  border-radius: 1.562rem;
  margin: 2.5rem auto 2.5rem auto;
  max-width: min(88rem, 95vw);
  padding: 2rem 2.5rem 1.5rem 2.5rem;
  box-shadow: 0 2px 8px 0 rgba(25, 246, 232, 0.1);
}

.mylearning-notice-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 1.1rem;
}

.mylearning-notice-card {
  background: #fff;
  border-radius: 0.9rem;
  padding: 1.1rem 1.2rem 0.7rem 1.2rem;
  margin-bottom: 0.7rem;
  box-shadow: 0 2px 8px 0 rgba(25, 246, 232, 0.1);
  position: relative;
}

.mylearning-notice-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.2rem;
}

.mylearning-notice-course {
  font-size: 1.25rem;
  font-weight: 600;
  color: #010f18;
}

.mylearning-notice-badge {
  background: #efefef;
  color: #465359;
  border-radius: 0.6rem;
  padding: 0.18rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 500;
}

.mylearning-notice-desc {
  color: #465359;
  font-size: 0.97rem;
  margin-bottom: 0.2rem;
  margin-top: 0.3rem;
}

.mylearning-notice-link {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  color: #11b8ff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.mylearning-notice-link:hover {
  color: #0ad1c2;
  text-decoration: underline;
}

/* Mobile Notice Section */
.mylearning-notice-section-mobile {
  background: #12ebd2;
  border-radius: 1.3rem;
  margin: 2.5rem auto 2.5rem auto;
  max-width: min(88rem, 95vw);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  box-shadow: 0 2px 8px 0 rgba(25, 246, 232, 0.1);
}

.mylearning-notice-section-mobile .mylearning-notice-title {
  color: #0a192f;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
}

.mylearning-notice-card-mobile {
  background: #fff;
  border-radius: 0.7rem;
  padding: 1.1rem 1.2rem 0.7rem 1.2rem;
  margin-bottom: 0.7rem;
  box-shadow: 0 2px 8px 0 rgba(25, 246, 232, 0.1);
}

.mylearning-notice-card-mobile .mylearning-notice-course {
  font-size: 1.08rem;
  font-weight: 900;
  color: #222;
  margin-bottom: 0.5rem;
}

.mylearning-notice-card-mobile .mylearning-notice-link {
  color: #12ebd2;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  display: block;
  margin-bottom: 0.8rem;
}

.mylearning-notice-card-mobile .mylearning-notice-badge {
  background: #e0f7fa;
  color: #666;
  border-radius: 0.5rem;
  padding: 0.18rem 0.7rem;
  font-size: 0.93rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.mylearning-notice-card-mobile .mylearning-notice-desc {
  color: #666;
  font-size: 0.97rem;
  margin: 0;
}

/* Main Content Layout */
.mylearning-main-content {
  max-width: min(88rem, 95vw);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.mylearning-left-column {
  flex: 2;
  min-width: 0;
}

.mylearning-right-column {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
}

/* Your Courses Section */
.mylearning-courses-section {
  margin-bottom: 2.5rem;
}

.mylearning-courses-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #0a192f;
  margin-bottom: 1.5rem;
  margin-top: 0;
  letter-spacing: -1px;
}

.mylearning-courses-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mylearning-courses-tabs {
  display: flex;
  gap: 1rem;
}

.mylearning-courses-tab {
  font-size: 1rem;
  font-weight: 600;
  color: #465359;
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  border: none;
  background: #f0f0f0;
  outline: none;
  border-radius: 2rem;
  transition: all 0.2s;
}

.mylearning-courses-tab.active {
  background: #02f5c9;
  color: #010f18;
  font-weight: 700;
}

.mylearning-courses-search {
  display: flex;
  align-items: center;
  position: relative;
}

.mylearning-courses-search input {
  width: 280px;
  padding: 0.6rem 3rem 0.6rem 1.2rem;
  border: 2px solid #020e1a38;
  border-radius: 3rem;
  outline: none;
  font-size: 1rem;
  background: #ffffff;
  color: #020e1a;
  transition: border 0.2s;
}

.mylearning-courses-search input::placeholder {
  color: #bbb;
}

.mylearning-courses-search button {
  background: #09dded;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  position: absolute;
  right: 4px;
  color: #0a192f;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.mylearning-courses-search button:hover {
  background: #0ad1c2;
}

.mylearning-courses-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mylearning-course-card {
  background: rgba(18, 235, 210, 0.1);
  border-radius: 30px;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #e8f8f7;
}

.mylearning-course-img {
  width: 230px;
  height: 180px;
  background: #d0d0d0;
  border-radius: 17px;
  flex-shrink: 0;
}

.mylearning-course-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.mylearning-course-title {
  font-size: 1.2rem;
  font-weight: 500;
  color: #010f18;
  margin: 0;
}

.mylearning-course-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.mylearning-tag {
  background: #12ebd226;
  color: #0a192f;
  border-radius: 10px;
  padding: 0.3rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
}

.mylearning-course-progress-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.mylearning-course-progress-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.mylearning-course-progress-label {
  color: #0a192f;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.mylearning-course-progress-bar-bg {
  background: #12ebd226;
  border-radius: 1rem;
  width: 200px;
  height: 8px;
  overflow: hidden;
}

.mylearning-course-progress-bar {
  background: #02f5c9;
  height: 100%;
  width: 43%;
  border-radius: 1rem;
}

.mylearning-course-rank {
  color: #0a192f;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.mylearning-course-actions-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mylearning-course-btn {
  background: #00ffd1;
  color: #0a192f;
  border: none;
  border-radius: 100px;
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.mylearning-course-btn:hover {
  background: #0ad1c2;
  color: #fff;
}

.mylearning-course-attention {
  color: #ff9800;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 0.05rem;
  margin-bottom: 2rem;
}

.divider-bold {
  width: 120px;
  height: 4px;
  background: #00ffd1;
  border-radius: 2px;
}

.divider-thin {
  flex: 1;
  height: 2px;
  background: #00ffd1;
  opacity: 0.3;
  border-radius: 1px;
}

/* Events Highlights Section */
.events-highlights-section {
  /* background: #f8fffe; */
  border-radius: 1.2rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px 0 rgba(25, 246, 232, 0.1);
}

.events-highlights-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #010f18;
  margin-bottom: 1.2rem;
}

.event-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.2rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 8px 0 rgba(25, 246, 232, 0.05);
  border: 2px solid #b8f5f0;
}

.event-card:last-child {
  margin-bottom: 0;
}

.event-title {
  color: #010f18;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.event-date {
  color: 465359;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.event-tags {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.event-tag {
  background: #12ebd226;
  color: #0a192f;
  border-radius: 0.8rem;
  padding: 0.2rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.event-winners {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-winner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.3rem 0.4rem;
  background: #12ebd226;
  border-radius: 12px;
}

.winner-trophy {
  width: 32px;
  height: 32px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
}

.winner-trophy img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.winner-info {
  flex: 1;
}

.winner-game {
  font-weight: 700;
  color: #0a192f;
  font-size: 0.9rem;
}

.winner-author {
  color: #666;
  font-size: 0.8rem;
}

.winner-link {
  color: #12ebd2;
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 600;
}

.winner-link:hover {
  text-decoration: underline;
}

/* hero Continue  > Section */
.mylearning-continue-link-btn {
  color: white;
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 600;
}

.mylearning-continue-link-btn:hover {
  text-decoration: underline;
}

/* Apply Inter to all headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", system-ui, sans-serif !important;
}

/* Apply Inter to paragraphs and body text */
p,
span,
div,
a,
button,
input,
textarea,
td,
th,
li {
  font-family: "Inter", system-ui, sans-serif !important;
}

.max-w-8xl {
  max-width: min(88rem, 95vw);
  margin-left: auto;
  margin-right: auto;
}

/* Suggested Courses Section */
.suggested-courses-section {
  background: #fff;
  padding: 60px 0;
  margin-top: 3rem;
}

.suggested-courses-container {
  max-width: min(88rem, 95vw);
  margin: 0 auto;
  padding: 0 32px;
}

.suggested-courses-title {
  font-size: 2rem;
  font-weight: 800;
  color: #0a192f;
  text-align: center;
  margin-bottom: 0.7rem;
}

.suggested-courses-subtitle {
  color: #222;
  font-size: 1.08rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.suggested-courses-underline {
  width: 120px;
  height: 4px;
  background: #e3eaea;
  border-radius: 2px;
  margin: 10px auto 80px auto;
}

.suggested-courses-search {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.5rem;
}

.suggested-courses-search input {
  width: 340px;
  padding: 0.7rem 1.2rem;
  border: 2px solid #222;
  border-radius: 2rem;
  outline: none;
  font-size: 1.05rem;
  background: #fff;
  color: #444;
  transition: border 0.2s;
}

.suggested-courses-search input::placeholder {
  color: #bdbdbd;
  opacity: 1;
}

.suggested-courses-search button {
  background: #02f5c9;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  margin-left: -48px;
  color: #222;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px 0 rgba(25, 246, 232, 0.1);
  transition: background 0.2s;
  z-index: 2;
}

.suggested-courses-search button:hover {
  background: #0ad1c2;
}

.suggested-courses-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.suggested-course-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 4px 16px 0 rgba(25, 246, 232, 0.08);
  overflow: hidden;
  border: 1.5px solid #02f5c9;
  transition: all 0.2s;
}

.suggested-course-card:hover {
  box-shadow: 0 8px 32px 0 rgba(25, 246, 232, 0.15);
  border-color: #0ad1c2;
  transform: translateY(-2px);
}

.suggested-course-img {
  width: 100%;
  height: 180px;
  background: #cfd8dc;
}

.suggested-course-content {
  padding: 1.5rem;
}

.suggested-course-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0a192f;
  margin-bottom: 0.7rem;
}

.suggested-course-desc {
  color: #6b7a85;
  font-size: 1.01rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.suggested-course-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.suggested-course-tag {
  background: #12ebd21a;
  color: #465359;
  border-radius: 1rem;
  padding: 0.3rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.suggested-course-btn {
  background: #02f5c9;
  color: #020e1a;
  border: none;
  border-radius: 1.2rem;
  padding: 0.8rem 0;
  font-size: 1.08rem;
  font-weight: 800;
  width: 100%;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: all 0.2s;
}

.suggested-course-btn:hover {
  background: #0ad1c2;
  color: #fff;
}

/* Hide mobile elements on desktop */
.mobile-only {
  display: none;
}

.desktop-only {
  display: block;
}

/* Responsive Design */

@media (max-width: 1250px) {
  .header-hamburger {
    display: flex !important;
  }

  .dm-header-v2 nav,
  .dm-header-v2 .join-btn {
    display: none !important;
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }
}

@media (max-width: 1200px) {
  .mylearning-main-content {
    flex-direction: column;
    gap: 2rem;
  }

  .mylearning-right-column {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .mylearning-hero-container {
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
    padding-left: 16px;
    padding-right: 16px;
  }

  .mylearning-hero-right {
    justify-content: start;
    line-height: normal;
  }

  .mylearning-continue-box {
    min-width: 0;
    max-width: 100%;
    margin-top: 2rem;
  }

  .mylearning-main-content {
    padding: 0 16px;
    display: block;
  }

  .mylearning-courses-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .mylearning-courses-search {
    width: 100%;
  }

  .mylearning-courses-search input {
    width: 100%;
  }

  .mylearning-course-card {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    min-height: 0;
  }

  .mylearning-course-img {
    width: 100%;
    max-width: 30rem;
    margin: 0 auto 0.7rem auto;
    /* height: 140px; */
  }
}

@media (max-width: 600px) {

  /* Show mobile elements, hide desktop */
  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none;
  }

  .mylearning-hero-section {
    padding: 110px 0 24px 0 !important;
  }

  .mylearning-hero-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .mylearning-hero-title {
    font-size: 1.8rem;
  }

  .mylearning-hero-stats {
    gap: 0.8rem;
  }

  .mylearning-hero-stat-card {
    min-width: 120px;
    padding: 0.6rem 1rem;
  }

  .mylearning-continue-title {
    font-size: 1.2rem;
  }

  .mylearning-continue-box {
    padding: 1rem 0.6rem 1.2rem 1rem !important;
    min-width: 0;
    margin-top: auto;
  }

  .mylearning-notice-section {
    padding: 1.5rem 1rem 1.2rem 1rem;
    margin: 2rem auto;
  }

  .mylearning-main-content {
    padding: 0 12px;
  }

  .mylearning-courses-title {
    font-size: 1.5rem;
  }

  .mylearning-courses-tabs {
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .mylearning-course-card {
    padding: 1rem;
  }

  .mylearning-course-img {
    width: 100%;
    /* max-width: 120px; */
    margin: 0 auto 0.5rem auto;
    /* height: 100px; */
  }

  .mylearning-course-progress-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .mylearning-course-progress-left {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .mylearning-course-progress-bar-bg {
    width: 100%;
  }

  .mylearning-course-actions-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .events-highlights-section {
    padding: 1.2rem;
  }

  .event-card {
    padding: 1rem;
  }

  .suggested-courses-container {
    padding: 0 12px;
  }

  .suggested-courses-title {
    font-size: 1.6rem;
  }

  .suggested-courses-search input {
    width: 90vw;
    max-width: 320px;
  }

  .suggested-courses-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .mylearning-notice-link {
    position: relative !important;
    top: 0.1rem;
    left: 0.5rem;
    right: 3rem;
    color: #12ebd2;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.2s;
  }
}

@media (max-width: 450px) {
  .mylearning-hero-title {
    font-size: 1.3rem;
  }

  .mylearning-hero-badge {
    margin-bottom: 0rem;
  }
}

/*home Yes Course Comp */

body {
  background: #010f18;
  font-family: "Inter", system-ui, sans-serif;
}

/* Mobile Menu - Updated to match the image */
.header-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 402;
  margin-left: auto;
  /* This fixes the positioning */
}

.mobile-user-profile {
  margin-top: 1rem;
}

.mobile-user-profile a:hover {
  background: rgba(2, 245, 201, 0.1) !important;
}

@media (max-width: 600px) {
  .mobile-menu-glass {
    padding: 1.2rem 0.5rem;
    border-radius: 20px;
    width: 98vw;
    max-width: 99vw;
    top: 2vh;
    max-height: 90vh;
    overflow-y: auto;
  }
}

/* Responsive - UPDATED */
@media (max-width: 1250px) {
  .header-hamburger {
    display: flex !important;
  }

  .dm-header-v2 nav,
  .user-profile-container {
    display: none !important;
  }

  .dm-header-v2 {
    padding: 0.7rem 1.5rem;
    /* Reduced padding for mobile */
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }
}

@media (min-width: 1536px) {

  .header-hamburger,
  .mobile-menu-glass,
  .mobile-menu-overlay {
    display: none !important;
  }

  .dm-header-v2 nav,
  .user-profile-container {
    display: flex !important;
  }
}

@media (max-width: 900px) {
  .dm-header-v2 {
    padding: 1rem 1.5rem;
    margin: 16px auto 0 auto;
    /* Reduced margin */
  }

  .dm-header-v2 .logo img {
    height: 36px;
  }
}

@media (max-width: 600px) {
  .dm-header-v2 {
    padding: 0.8rem 1rem;
    margin: 12px auto 0 auto;
    /* Further reduced margin */
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }

  .mobile-menu-glass {
    padding: 1.2rem 0.5rem;
    border-radius: 20px;
    width: 98vw;
    max-width: 99vw;
    top: 2vh;
  }
}

/* Explore More Course Div content */
@media (max-width: 600px) {
  .flex.items-center.gap-8.p-10.rounded-2xl.mt-10 {
    flex-direction: column !important;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }
}

/* See Related course div */
@media (max-width: 768px) {
  .flex.items-center.gap-6.mt-10 {
    display: flex;
    flex-direction: column !important;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0.5rem;
    margin-top: 1.2rem;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  /* For social  icons in the footer */
  @media (max-width: 768px) {
    .flex.gap-3 {
      justify-content: center;
    }
  }
}

/* Fix events section overflow */
@media (max-width: 1200px) {
  .flex.gap-10.items-start {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .flex.justify-between.items-stretch.border-2.border-cyan-primary.rounded-3xl.p-10.bg-white.gap-10.shadow-sm {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Hide swiper buttons for smaller screens */
@media (max-width: 1151px) {

  .swiper-button-prev.text-dark-primary,
  .swiper-button-next.text-dark-primary {
    opacity: none;
    display: none;
    right: -60px;
  }
}

/* Ensure all containers respect viewport width */
.max-w-8xl {
  max-width: min(88rem, 95vw);
  margin-left: auto;
  margin-right: auto;
}

/* Fix hero section responsive */
@media (max-width: 768px) {
  .flex.items-center.gap-6.mb-8.text-white.font-semibold {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .flex.items-center.gap-6.mb-8.text-white.font-semibold>div {
    border-right: none !important;
    padding-right: 0 !important;
    border-bottom: 2px solid #6b7280;
    padding-bottom: 0.5rem;
    width: 100%;
  }

  .flex.items-center.gap-6.mb-8.text-white.font-semibold>div:last-child {
    border-bottom: none !important;
  }

  /* .flex.items-center.gap-8.p-10.rounded-2xl.mt-10 {
                flex-direction: column !important;
                text-align: center;
                gap: 2rem;
                padding: 2rem 1rem;
            } */
}

/* Fix search input responsive */
@media (max-width: 480px) {
  .w-80 {
    width: 90vw !important;
    max-width: 320px;
  }
}

/*Continue learning cards for user course enrolled in Home and has Status */
.mylearning-hero-right {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.mylearning-continue-box {
  /* background: #fff;
            border-radius: 1.6rem;
            padding: 2rem 2rem 1.5rem 2rem;
            width: 550px;
            height: 287px;
            box-shadow: 0 2px 8px 0 rgba(25, 246, 232, 0.10);
            display: flex;
            flex-direction: column; */
  gap: 1.1rem;
}

.mylearning-continue-title {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
  color: #010f18;
}

/* Desktop Continue Learning Cards */
.mylearning-continue-card {
  width: 500px;
  height: 69px;
  background: #12ebd21a;
  border: 2px solid #12ebd2;
  color: #465359;
  border-radius: 25px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.7rem;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.5rem 1rem;
  align-items: center;
  font-weight: 700;
  box-shadow: 0 2px 8px 0 rgba(25, 246, 232, 0.1);
  min-height: 80px;
}

.mylearning-continue-course-title {
  grid-column: 1;
  grid-row: 1;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.3;
  margin: 0;
}

.mylearning-continue-rank {
  grid-column: 2;
  grid-row: 1;
  font-size: 1.02rem;
  font-weight: 700;
  color: #666;
  line-height: 1.3;
  white-space: nowrap;
}

.mylearning-continue-progress {
  grid-column: 1;
  grid-row: 2;
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

/*Updated Mobile Continue Learning Cards updated one */
.mylearning-continue-card-mobile {
  background: #12ebd212;
  border: 2px solid #12ebd2;
  border-radius: 0.7rem;
  padding: 1rem 1.2rem;
  margin-bottom: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-weight: 700;
  box-shadow: 0 2px 8px 0 rgba(25, 246, 232, 0.1);
  min-height: 80px;
}

.mylearning-continue-progress {
  grid-column: 1;
  grid-row: 2;
  font-size: 1.02rem;
  font-weight: 700;
  color: #666;
  line-height: 1.3;
}

/*Continue Learning desktop */
.mylearning-continue-link-btn {
  grid-column: 2;
  grid-row: 2;
  background: transparent;
  color: #11b8ff;
  border: none;
  padding: 0.5rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: underline;
}

.mylearning-continue-card-mobile .mylearning-continue-course-title {
  color: #0a192f;
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.mylearning-continue-card-mobile .mobile-card-stats {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  min-width: 0;
}

.mylearning-continue-card-mobile .mylearning-continue-course-title {
  color: #0a192f;
  font-size: 1.1rem;
  font-weight: 900;
}

.mylearning-continue-card-mobile .mylearning-continue-rank {
  color: #666;
  font-size: 0.95rem;
  font-weight: 600;
}

.mylearning-continue-card-mobile .mylearning-continue-rank::before {
  content: "▼";
  color: #cf2a2a;
  margin-right: 0.3rem;
}

.mylearning-continue-card-mobile .mylearning-continue-progress {
  color: #666;
  font-size: 0.95rem;
  font-weight: 600;
}

.mylearning-continue-card-mobile .mylearning-continue-progress::before {
  content: "▲";
  color: #66cf20;
  margin-right: 0.3rem;
}

/*To hide the this mobile "continue you learning card" in desktop mode*/
.mobile-only {
  display: none;
}

.desktop-only {
  display: block;
  margin-top: -1rem;
}

@media (max-width: 600px) {

  /* Show mobile elements, hide desktop */
  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none;
  }

  .mylearning-hero-section {
    padding: 110px 0 24px 0 !important;
  }

  .mylearning-hero-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .mylearning-hero-title {
    font-size: 1.8rem;
  }

  .mylearning-hero-stats {
    gap: 0.8rem;
  }

  .mylearning-hero-stat-card {
    min-width: 120px;
    padding: 0.6rem 1rem;
  }

  .mylearning-continue-title {
    font-size: 1.4rem;
  }

  .mylearning-continue-box {
    padding: 1.5rem 1rem 1.2rem 1rem;
    min-width: 0;
    height: auto;
  }
}

/* Hero Section Mobile Responsive */
@media (max-width: 1200px) {
  .max-w-8xl.mx-auto.px-4.flex.items-center.justify-between {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 2rem !important;
  }

  .mylearning-hero-right {
    justify-content: center !important;
    width: 100% !important;
  }

  .mylearning-continue-box {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  /* Ensure the left content takes full width on tablet */
  .max-w-2xl.relative.z-10 {
    max-width: 100% !important;
    width: 100% !important;
  }
}

@media (max-width: 768px) {

  /* Fix the stats cards layout on mobile */
  .flex.flex-wrap.gap-6 {
    /* justify-content: center !important; */
    gap: 1rem !important;
  }

  /* Adjust stats cards for mobile */
  .bg-white.text-\[#18313a\].rounded-\[0\.8rem\] {
    min-width: 120px !important;
    flex: 1 1 calc(50% - 0.5rem) !important;
    max-width: 160px !important;
  }
}

@media (max-width: 480px) {
  .mylearning-continue-box {
    padding: 1.5rem 1rem !important;
    margin: 0 0.5rem !important;
    height: auto;
  }

  .mylearning-continue-title {
    font-size: 1.3rem !important;
  }

  /* Make stats cards stack in single column on very small screens */
  .bg-white.text-\[#18313a\].rounded-\[0\.8rem\] {
    flex: 1 1 100% !important;
    max-width: 200px !important;
    margin: 0 auto !important;
  }
}

/* HOme No course */

body {
  background: #010f18;
  font-family: "Inter", system-ui, sans-serif;
}

.header-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 402;
  margin-left: auto;
  /* This fixes the positioning */
}

/* Hide header when mobile menu is active */

.mobile-menu-glass nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
  margin-top: 1rem;
}

.mobile-menu-glass nav a.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: #02f5c9;
  border-radius: 0 4px 4px 0;
}

.mobile-menu-glass .join-btn {
  background: #00ffd1;
  color: #111;
  border: none;
  border-radius: 16px;
  padding: 1rem 0;
  font-weight: 700;
  font-size: 1.1rem;
  width: 100%;
  text-align: center;
  display: block;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: all 0.2s ease;
}

@media (max-width: 600px) {
  .mobile-menu-glass {
    padding: 1.2rem 0.5rem;
    border-radius: 20px;
    width: 98vw;
    max-width: 99vw;
    top: 2vh;
    max-height: 90vh;
    overflow-y: auto;
  }
}

/* Responsive - UPDATED */
@media (max-width: 1250px) {
  .header-hamburger {
    display: flex !important;
  }

  .dm-header-v2 nav,
  .user-profile-container {
    display: none !important;
  }

  .dm-header-v2 {
    padding: 0.7rem 1.5rem;
    /* Reduced padding for mobile */
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }
}

@media (min-width: 1536px) {

  .header-hamburger,
  .mobile-menu-glass,
  .mobile-menu-overlay {
    display: none !important;
  }

  .dm-header-v2 nav,
  .user-profile-container {
    display: flex !important;
  }
}

@media (max-width: 900px) {
  .dm-header-v2 {
    padding: 1rem 1.5rem;
    margin: 16px auto 0 auto;
    /* Reduced margin */
  }

  .dm-header-v2 .logo img {
    height: 36px;
  }
}

@media (max-width: 600px) {
  .dm-header-v2 {
    padding: 0.8rem 1rem;
    margin: 12px auto 0 auto;
    /* Further reduced margin */
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }

  .mobile-menu-glass {
    padding: 1.2rem 0.5rem;
    border-radius: 20px;
    width: 98vw;
    max-width: 99vw;
    top: 2vh;
  }
}

/* Explore More Course Div content */
@media (max-width: 600px) {
  .flex.items-center.gap-8.p-10.rounded-2xl.mt-10 {
    flex-direction: column !important;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }
}

/* See Related course div */
@media (max-width: 768px) {
  .flex.items-center.gap-6.mt-10 {
    display: flex;
    flex-direction: column !important;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0.5rem;
    margin-top: 1.2rem;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  /* For social  icons in the footer */
  @media (max-width: 768px) {
    .flex.gap-3 {
      justify-content: center;
    }
  }
}

/* Background Blur Effects */
.bg-blur-green {
  position: absolute;
  width: 220px;
  height: 220px;
  left: -80px;
  top: 120px;
  background: radial-gradient(ellipse at 50% 50%, #12ebd2 0%, #12ebd200 80%);
  filter: blur(60px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

.bg-blur-blue {
  position: absolute;
  width: 260px;
  height: 260px;
  right: -100px;
  bottom: 60px;
  background: radial-gradient(ellipse at 50% 50%, #11b8ff 0%, #11b8ff00 80%);
  filter: blur(120px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

/* Footer Blur */
.footer-blur-gradient {
  position: absolute;
  top: 24px;
  left: 0;
  width: 340px;
  height: 140px;
  background: radial-gradient(ellipse at 30% 40%, #12ebd2 0%, #12ebd200 80%);
  filter: blur(32px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

/* Fix events section overflow */
@media (max-width: 1200px) {
  .flex.gap-10.items-start {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .flex.justify-between.items-stretch.border-2.border-cyan-primary.rounded-3xl.p-10.bg-white.gap-10.shadow-sm {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Hide swiper buttons for smaller screens */
@media (max-width: 1151px) {

  .swiper-button-prev.text-dark-primary,
  .swiper-button-next.text-dark-primary {
    opacity: none;
    display: none;
    right: -60px;
  }
}

/* Fix hero section responsive */
@media (max-width: 768px) {
  .flex.items-center.gap-6.mb-8.text-white.font-semibold {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .flex.items-center.gap-6.mb-8.text-white.font-semibold>div {
    border-right: none !important;
    padding-right: 0 !important;
    border-bottom: 2px solid #6b7280;
    padding-bottom: 0.5rem;
    width: 100%;
  }

  .flex.items-center.gap-6.mb-8.text-white.font-semibold>div:last-child {
    border-bottom: none !important;
  }

  /* .flex.items-center.gap-8.p-10.rounded-2xl.mt-10 {
                flex-direction: column !important;
                text-align: center;
                gap: 2rem;
                padding: 2rem 1rem;
            } */
}

/* Fix search input responsive */
@media (max-width: 480px) {
  .w-80 {
    width: 90vw !important;
    max-width: 320px;
  }
}

/* Fix footer responsive */
@media (max-width: 768px) {
  .flex.justify-between.items-start.flex-wrap.gap-8 {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .min-w-48.mx-10 {
    margin: 0;
    min-width: auto;
  }
}

/* Font Classes */
.font-title {
  font-family: "Inter", system-ui, sans-serif;
}

.font-body {
  font-family: "Inter", system-ui, sans-serif;
}

/* Apply Inter to all headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", system-ui, sans-serif;
}

/* Apply Inter to paragraphs and body text */
p,
span,
div,
a,
button,
input,
textarea,
td,
th,
li {
  font-family: "Inter", system-ui, sans-serif;
}

/*courses-new comp */

body {
  background: #010f18;
  font-family: "Inter", system-ui, sans-serif;
}

/* Mobile Menu - Updated to match the image */
.header-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 402;
}

/* Responsive - UPDATED */
@media (max-width: 1250px) {
  .header-hamburger {
    display: flex !important;
  }

  .dm-header-v2 nav,
  .user-profile-container {
    display: none !important;
  }

  .dm-header-v2 .join-btn {
    display: none !important;
  }

  .dm-header-v2 {
    padding: 0.7rem 1.5rem;
    /* Reduced padding for mobile */
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }
}

@media (min-width: 1536px) {

  .header-hamburger,
  .mobile-menu-glass,
  .mobile-menu-overlay {
    display: none !important;
  }

  .dm-header-v2 nav,
  .dm-header-v2 .join-btn {
    display: flex !important;
  }
}

@media (max-width: 900px) {
  .dm-header-v2 {
    padding: 1rem 1.5rem;
  }

  .dm-header-v2 .logo img {
    height: 36px;
  }
}

@media (max-width: 600px) {
  .dm-header-v2 {
    padding: 0.8rem 1rem;
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }

  .mobile-menu-glass {
    padding: 1.2rem 0.5rem;
    border-radius: 20px;
    width: 98vw;
    max-width: 99vw;
    top: 2vh;
  }
}

/* Explore More Course Div content */
@media (max-width: 600px) {
  .flex.items-center.gap-8.p-10.rounded-2xl.mt-10 {
    flex-direction: column !important;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }
}

/* See Related course div */
@media (max-width: 768px) {
  .flex.items-center.gap-6.mt-10 {
    display: flex;
    flex-direction: column !important;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0.5rem;
    margin-top: 1.2rem;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  /* For social  icons in the footer */
  @media (max-width: 768px) {
    .flex.gap-3 {
      justify-content: center;
    }
  }
}

/* Fix events section overflow */
@media (max-width: 1200px) {
  .flex.gap-10.items-start {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .flex.justify-between.items-stretch.border-2.border-cyan-primary.rounded-3xl.p-10.bg-white.gap-10.shadow-sm {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Hide swiper buttons for smaller screens */
@media (max-width: 1151px) {

  .swiper-button-prev.text-dark-primary,
  .swiper-button-next.text-dark-primary {
    opacity: none;
    display: none;
    right: -60px;
  }
}

/* Fix hero section responsive */
@media (max-width: 768px) {
  .flex.items-center.gap-6.mb-8.text-white.font-semibold {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .flex.items-center.gap-6.mb-8.text-white.font-semibold>div {
    border-right: none !important;
    padding-right: 0 !important;
    border-bottom: 2px solid #6b7280;
    padding-bottom: 0.5rem;
    width: 100%;
  }

  .flex.items-center.gap-6.mb-8.text-white.font-semibold>div:last-child {
    border-bottom: none !important;
  }

  /* .flex.items-center.gap-8.p-10.rounded-2xl.mt-10 {
                flex-direction: column !important;
                text-align: center;
                gap: 2rem;
                padding: 2rem 1rem;
            } */
}

/* Fix search input responsive */
@media (max-width: 480px) {
  .w-80 {
    width: 90vw !important;
    max-width: 320px;
  }
}

/* Fix footer responsive */
@media (max-width: 768px) {
  .flex.justify-between.items-start.flex-wrap.gap-8 {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .min-w-48.mx-10 {
    margin: 0;
    min-width: auto;
  }
}

/*course-details */

body {
  background: #010f18;
  font-family: "Inter", system-ui, sans-serif;
}

/* Responsive - UPDATED */
@media (max-width: 1250px) {
  .header-hamburger {
    display: flex !important;
  }

  .dm-header-v2 nav,
  .user-profile-container {
    display: none !important;
  }

  .dm-header-v2 {
    padding: 0.7rem 1.5rem;
    /* Reduced padding for mobile */
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }
}

@media (min-width: 1536px) {

  .header-hamburger,
  .mobile-menu-glass,
  .mobile-menu-overlay {
    display: none !important;
  }

  .dm-header-v2 nav,
  .dm-header-v2 .join-btn {
    display: flex !important;
  }
}

@media (max-width: 900px) {
  .dm-header-v2 {
    padding: 1rem 1.5rem;
  }

  .dm-header-v2 .logo img {
    height: 36px;
  }
}

@media (max-width: 600px) {
  .dm-header-v2 {
    padding: 0.8rem 1rem;
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }

  .mobile-menu-glass {
    padding: 1.2rem 0.5rem;
    border-radius: 20px;
    width: 98vw;
    max-width: 99vw;
    top: 2vh;
  }
}

/* Course Hero Section - OPTIMIZED */
.course-hero-section {
  background: radial-gradient(ellipse at top left, #18313a 0%, #0a192f 80%);
  padding: 140px 0 80px 0;
  color: #fff;
  position: relative;
  z-index: 100;
  overflow: visible;
}

.course-hero-container {
  max-width: min(88rem, 95vw);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  position: relative;
}

.course-hero-content {
  flex: 1;
  max-width: 600px;
}

.course-hero-breadcrumbs {
  color: #bdbdbd;
  font-size: 1.01rem;
  margin-bottom: 1.6rem;
}

.course-hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  color: #12ebd2;
  letter-spacing: -1px;
  line-height: 1.2;
}

.course-hero-desc {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
}

.course-hero-tags {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.course-hero-tags .selfpace {
  background: #12ebd21a;
  color: #9cadad;
  border-radius: 7px;
  padding: 0.4rem 1.2rem;
  font-weight: 700;
  font-size: 1.01rem;
  border: 1.5px solid #12ebd2;
}

.course-hero-tags .tag {
  background: #12ebd21a;
  color: #9cadad;
  border-radius: 7px;
  padding: 0.4rem 1.2rem;
  font-weight: 700;
  font-size: 1.01rem;
  border: 1.5px solid #465359;
}

.course-hero-rating {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}

.course-hero-rating .stars {
  color: #ffd600;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

.course-hero-rating .rating-label {
  color: #fff;
  font-weight: 600;
  font-size: 1.01rem;
}

.course-hero-meta {
  color: #bdbdbd;
  font-size: 1.01rem;
  margin-bottom: 1.5rem;
}

.course-hero-offer {
  color: #ffc72f;
  font-size: 1.08rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.offer-badge-right {
  color: #ff6a00;
  font-size: 1.08rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.course-hero-offer .offer-badge {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.course-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.enroll-btn {
  background: #00ffd1;
  color: #010f18;
  border-radius: 500px;
  padding: 1rem 2.5rem;
  font-size: 1.18rem;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 4px 16px 0 rgba(25, 246, 232, 0.15);
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

.enroll-btn:hover {
  background: #0ad1c2;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(25, 246, 232, 0.25);
}

.enroll-btn.secondary {
  background: #12ebd24d;
  color: #f9feff;
  border: 2px solid #9cadad;
}

.enroll-btn.secondary:hover {
  background: #0ad1c2;
  border-color: #0ad1c2;
}

.course-hero-start {
  color: #fff;
  font-size: 1.01rem;
  font-weight: 400;
}

.course-hero-start b {
  color: #fff;
  font-weight: 800;
}

/* Course Sidebar */
/* .course-sidebar {
  width: 450px;
  min-width: 380px;
  background: #f8fafd;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(25, 40, 56, 0.12);
  padding: 2rem 1.5rem;
  position: absolute;
  top: 0;
  right: 32px;
  z-index: 10;
} */

.enroll-btn.secondary.inside {
  background: #12ebd20d;
  border-color: #02f5c9;
  color: #010f18;
  border: 2px solid #02f5c9;
}

.enroll-btn.secondary.inside:hover {
  background: #0ad1c2;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(25, 246, 232, 0.25);
}

.course-video-placeholder {
  position: relative;
  background: #cfd8dc;
  border-radius: 1rem;
  width: 100%;
  height: 15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.course-video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.mobile-video-placeholder {
  display: none;
  position: relative;
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  overflow: hidden;
  background: #cfd8dc;
}

.mobile-video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-icon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.play-icon-overlay .fa-play {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  padding-left: 0.5rem;
  /* Optical alignment for play icon */
}

.course-includes {
  background: #f6f8fa;
  border-radius: 1.2rem;
  padding: 1.5rem 1.2rem;
  margin-bottom: 1.5rem;
}

.course-includes-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #010f18;
  margin-bottom: 1.2rem;
}

.course-includes-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  color: #010f18;
  font-size: 0.9rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-includes-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
}

.course-includes-list .icon {
  color: rgb(76, 72, 72);
  font-size: 1.15em;
}

.course-instructor-card {
  background: #adebf02e;
  border-radius: 1.5rem;
  padding: 1.5rem 1.2rem;
  margin-top: 1rem;
}

.course-instructor-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #010f18;
  margin-bottom: 1.2rem;
}

.course-instructor-info {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.course-instructor-info img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00ffd1;
  background: #fff;
}

.course-instructor-meta {
  font-weight: 600;
  color: #010f18;
  font-size: 1.18rem;
}

.course-instructor-org {
  color: #465359;
  font-size: 1.08rem;
  font-weight: 600;
  margin-top: 0.1rem;
}

.course-instructor-tags {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.course-instructor-tags span {
  background: #fff;
  border-radius: 0.7rem;
  padding: 0.4rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 8px 0 rgba(25, 40, 56, 0.06);
  border: none;
  color: #465359;
}

.course-instructor-tags .icon {
  color: #ff9800;
  font-size: 1.15em;
}

/* Main Content */
.course-main-content {
  background: #fff;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.course-content-container {
  max-width: min(88rem, 95vw);
  margin: 0 auto;
  padding: 0 32px;
  padding-right: 420px;
  display: block;
}

.course-main-left {
  width: 100%;
  max-width: 700px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #010f18;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.learn-list,
.req-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  list-style: none;
  padding: 0;
  margin-bottom: 3rem;
}

.learn-list li,
.req-list li {
  color: #010f18;
  font-size: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.learn-list .icon,
.req-list .icon {
  color: #49575e;
  font-size: 1.2em;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

@media (max-width: 450px) {
  .coursedetsvg {
    min-width: 0.8rem;
  }
}

/* Course Outline - UPDATED */
.course-outline {
  background: #12ebd20d;
  border: 2px solid #00ffd1;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.course-outline-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #010f18;
  margin-bottom: 0.5rem;
}

.accordion-item {
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 0;
  padding-bottom: 0.5rem;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.15rem;
  font-weight: 700;
  color: #010f18;
  padding: 1.2rem 0.5rem 0.8rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.accordion-header:hover {
  color: #02f5c860;
}

.lock-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.lock-icon.unlocked {
  color: #12ebd2;
}

.lock-icon.locked {
  color: #bdbdbd;
}

.accordion-arrow {
  margin-left: auto;
  font-size: 1.2em;
  transition: transform 0.2s;
  color: #bdbdbd;
}

.accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding: 0.5rem 0 1.5rem 3rem;
}

.accordion-item.active .accordion-content {
  display: block;
}

.outline-lessons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.outline-lessons li {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.3rem 0.5rem;
}

.outline-lessons li.unlocked {
  color: #11b8ff;
}

.outline-lessons li.locked {
  color: #010f18;
}

.lesson-icon {
  font-size: 1.2em;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.lesson-icon.video {
  color: #11b8ff;
}

.lesson-icon.document {
  color: #00ffd1;
}

.lesson-icon.locked {
  color: #bdbdbd;
}

.preview-link {
  margin-left: auto;
  color: #11b8ff;
  font-weight: 600;
  font-size: 0.9em;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  transition: color 0.2s;
}

.preview-link:hover {
  color: #0ad1c2;
}

/* Skills Section */
.skills-tags {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.skill-tag {
  background: #12ebd21a;
  color: #465359;
  border-radius: 1.2rem;
  padding: 0.5rem 1.2rem;
  font-size: 1.08rem;
  font-weight: 700;
  border: none;
}

/* Instructors Section */
.instructor-profile {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
}

.instructor-profile:last-child {
  border-bottom: none;
}

.instructor-main-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}

.instructor-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00ffd1;
  background: #fff;
}

.instructor-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #010f18;
}

.instructor-role {
  color: #465359;
  font-size: 1.12rem;
  font-weight: 500;
  margin-top: 0.2rem;
}

.instructor-badges {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.instructor-badge {
  background: #12ebd21a;
  color: #465359;
  border-radius: 5px;
  padding: 0.4rem 1.2rem;
  font-size: 1.01rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.instructor-desc {
  color: #010f18;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Suggested Courses */
.suggested-courses {
  background: #fff;
  /* padding: 10px 0; */
}

.suggested-courses-container {
  max-width: min(88rem, 95vw);
  margin: 0 auto;
  /* padding: 0 32px; */
}

.suggested-courses-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: #010f18;
  text-align: center;
  margin-bottom: 0.7rem;
}

.suggested-courses-underline {
  width: 120px;
  height: 4px;
  background: #e3eaea;
  border-radius: 2px;
  margin: 10px auto 50px auto;
}

.suggested-course-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .course-hero-container {
    flex-direction: column;
    gap: 2rem;
  }

  .course-sidebar {
    position: static;
    width: 100%;
    min-width: auto;
    right: auto;
  }

  .course-content-container {
    padding-right: 32px;
  }

  .course-main-left {
    max-width: 100%;
  }
}

@media only screen and (max-width: 770px) {
  .course-sidebar {
    display: none;
  }

  .mobile-video-placeholder {
    display: block;
  }
}

@media (max-width: 768px) {
  .course-hero-section {
    padding: 120px 0 40px 0;
  }

  .course-hero-container,
  .course-content-container,
  .suggested-courses-container {
    padding: 0 16px;
  }

  .course-hero-title {
    font-size: 2rem;
  }

  .course-hero-desc {
    font-size: 1.05rem;
  }

  .course-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .enroll-btn {
    text-align: center;
    padding: 1rem 1rem;
    width: fit-content;
  }

  .learn-list,
  .req-list {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .course-includes-list {
    grid-template-columns: 1fr;
  }

  .accordion-content {
    padding-left: 1.5rem;
  }

  .suggested-courses-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .course-hero-title {
    font-size: 1.8rem;
  }

  .course-hero-tags {
    gap: 0.5rem;
  }

  .course-hero-tags .tag {
    padding: 0.3rem 0.8rem;
    font-size: 0.9rem;
  }

  .course-outline {
    padding: 1.2rem;
  }

  .instructor-main-row {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .instructor-badges {
    justify-content: center;
  }
}

/* course-details enrolled comp*/

body {
  background: #010f18;
  font-family: "Inter", system-ui, sans-serif;
}

/*  Welcome Modal & Confetti */

#welcome-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#welcome-modal {
  background: white;
  color: #0a192f;
  padding: 2rem;
  border-radius: 24px;
  text-align: center;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Animation states */
#welcome-modal-overlay.visible {
  opacity: 1;
  visibility: visible;
}

#welcome-modal-overlay.visible #welcome-modal {
  transform: scale(1) translateY(0);
}

/* Modal content styling */
.modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon svg {
  width: 40px;
  height: 40px;
  color: #0ad1c2;
}

#welcome-modal h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0a192f;
  margin-bottom: 0.75rem;
}

#welcome-modal p {
  font-size: 1rem;
  color: #49575e;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.modal-button {
  display: block;
  width: 100%;
  background-color: #02f5c9;
  color: #010f18;
  border: none;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.modal-button:hover {
  background-color: #0ad1c2;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 600px) {
  #welcome-modal {
    padding: 1rem 1rem;
  }

  #welcome-modal h2 {
    font-size: 1.4rem;
  }

  #welcome-modal p {
    font-size: 0.8rem;
  }
}

/* Responsive - UPDATED */
@media (max-width: 1250px) {
  .header-hamburger {
    display: flex !important;
  }

  .dm-header-v2 nav,
  .user-profile-container {
    display: none !important;
  }

  .dm-header-v2 {
    padding: 0.7rem 1.5rem;
    /* Reduced padding for mobile */
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }
}

@media (min-width: 1536px) {

  .header-hamburger,
  .mobile-menu-glass,
  .mobile-menu-overlay {
    display: none !important;
  }

  .dm-header-v2 nav,
  .dm-header-v2 .join-btn {
    display: flex !important;
  }
}

@media (max-width: 900px) {
  .dm-header-v2 {
    padding: 1rem 1.5rem;
  }

  .dm-header-v2 .logo img {
    height: 36px;
  }
}

@media (max-width: 600px) {
  .dm-header-v2 {
    padding: 0.8rem 1rem;
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }

  .mobile-menu-glass {
    padding: 1.2rem 0.5rem;
    border-radius: 20px;
    width: 98vw;
    max-width: 99vw;
    top: 2vh;
  }
}

/* Course Hero Section  */
.course-hero-section {
  background: radial-gradient(ellipse at top left, #18313a 0%, #0a192f 80%);
  padding: 140px 0 80px 0;
  color: #fff;
  position: relative;
  z-index: 100;
  overflow: visible;
}

/*course info svg */
@media (max-width: 450px) {
  .coursedetsvg {
    min-width: 0.8rem;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .course-hero-container {
    flex-direction: column;
    gap: 2rem;
  }

  .course-sidebar {
    position: static;
    width: 100%;
    min-width: auto;
    right: auto;
  }

  .course-content-container {
    padding-right: 32px;
  }

  .course-main-left {
    max-width: 100%;
  }
}

@media only screen and (max-width: 770px) {
  .course-sidebar {
    display: none;
  }

  .mobile-video-placeholder {
    display: block;
  }
}

@media (max-width: 768px) {
  .course-hero-section {
    padding: 120px 0 40px 0;
  }

  .course-hero-container,
  .course-content-container,
  .suggested-courses-container {
    padding: 0 16px;
  }

  .course-hero-title {
    font-size: 2rem;
  }

  .course-hero-desc {
    font-size: 1.05rem;
  }

  .course-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .enroll-btn {
    text-align: center;
    padding: 1rem 1rem;
    width: fit-content;
  }

  .learn-list,
  .req-list {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .course-includes-list {
    grid-template-columns: 1fr;
  }

  .accordion-content {
    padding-left: 1.5rem;
  }

  .suggested-courses-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .course-hero-title {
    font-size: 1.8rem;
  }

  .course-hero-tags {
    gap: 0.5rem;
  }

  .course-hero-tags .tag {
    padding: 0.3rem 0.8rem;
    font-size: 0.9rem;
  }

  .course-outline {
    padding: 1.2rem;
  }

  .instructor-main-row {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .instructor-badges {
    justify-content: center;
  }
}

/* course-locked comp*/
body {
  background: #010f18;
  font-family: "Inter", system-ui, sans-serif;
}

/* Header Styles - UPDATED */
.dm-header-v2 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3000000;
  max-width: 95vw !important;
  margin: 24px auto 0 auto;
  padding: 0.7rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 2.5rem;
  transition: all 0.3s cubic-bezier(0.4, 2, 0.6, 1);

  /* 1. Background Color & Blur */
  background-color: rgba(249, 254, 255, 0.9);
  /* #F9FEFF with 90% opacity */
  -webkit-backdrop-filter: blur(10px);
  /* For Safari */
  backdrop-filter: blur(10px);

  /* 2. Combined Shadows */
  box-shadow: inset 0px 2px 4px rgba(255, 255, 255, 0.15),
    /* Inner shadow 1 */
    inset 0px -1px 4px rgba(0, 0, 0, 0.05),
    /* Inner shadow 2 */
    0px 0px 15px rgba(0, 0, 0, 0.1);
  /* Drop shadow */
}

@media (max-width: 1250px) {
  .header-hamburger {
    display: flex !important;
  }

  .dm-header-v2 nav,
  .user-profile-container {
    display: none !important;
  }

  .dm-header-v2 {
    padding: 0.7rem 1.5rem;
    /* Reduced padding for mobile */
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }
}

@media (min-width: 1536px) {

  .header-hamburger,
  .mobile-menu-glass,
  .mobile-menu-overlay {
    display: none !important;
  }

  .dm-header-v2 nav,
  .dm-header-v2 .join-btn {
    display: flex !important;
  }
}

@media (max-width: 900px) {
  .dm-header-v2 {
    padding: 1rem 1.5rem;
    margin: 16px auto 0 auto;
    /* Reduced margin */
  }

  .dm-header-v2 .logo img {
    height: 36px;
  }
}

@media (max-width: 600px) {
  .dm-header-v2 {
    padding: 0.8rem 1rem;
    margin: 12px auto 0 auto;
    /* Further reduced margin */
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }

  .mobile-menu-glass {
    padding: 1.2rem 0.5rem;
    border-radius: 20px;
    width: 98vw;
    max-width: 99vw;
    top: 2vh;
  }
}

.font-color-check {
  color: #222222d1;
}

/* Course Locked Nav BreadCrum as My Learning> Game Development Courses > Course Outline*/
.course-hero-breadcrumbs {
  color: #bdbdbd;
  font-size: 1.01rem;
  margin-bottom: 1.6rem;
}

.mylearning-hero-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mylearning-hero-title {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
  color: #12ebd2;
  line-height: 1.3;
}

.mylearning-hero-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: none;
  color: #ffffff;
  border-radius: 1.2rem;
  padding: 0.32rem 1.1rem;
  font-size: 1.13rem;
  font-weight: 800;
  width: fit-content;
  margin-bottom: 1.2rem;
  margin-left: -1.4rem;
}

.mylearning-hero-stats {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.mylearning-hero-stat-card {
  background: #fff;
  color: #18313a;
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  min-width: 140px;
  box-shadow: 0 2px 8px 0 rgba(25, 246, 232, 0.1);
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1.01rem;
}

.mylearning-hero-stat-value {
  color: #465359;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  /* Vertically aligns the icon and text */
  gap: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .mylearning-main-content {
    flex-direction: column;
    gap: 2rem;
  }

  .mylearning-right-column {
    max-width: 100%;
  }
}

@media (max-width: 1150px) {
  .mylearning-hero-container {
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
    padding-left: 16px;
    padding-right: 16px;
  }

  .mylearning-hero-right {
    justify-content: center;
  }
}

@media (max-width: 800px) {
  .mylearning-hero-right {
    display: none;
  }
}

@media (max-width: 600px) {
  .mylearning-hero-section {
    padding: 110px 0 24px 0 !important;
  }

  .mylearning-hero-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .mylearning-hero-title {
    font-size: 1.8rem;
  }

  /* .mylearning-hero-stats {
                gap: 0.8rem;
            }

            .mylearning-hero-stat-card {
                min-width: 120px;
                padding: 0.6rem 1rem;
                 margin:auto; 
            } */
}

@media (max-width: 450px) {
  .mylearning-hero-title {
    font-size: 1.3rem;
  }
}

/* Hero Learning Streak Progress bar */
.mylearning-course-progress-bar-bg {
  background: #00ffd039;
  border-radius: 1rem;
  width: 480px;
  height: 8px;
  overflow: hidden;
}

.mylearning-course-progress-bar {
  background: #00ffd1;
  height: 100%;
  width: 43%;
  border-radius: 1rem;
}

.mylearning-hero-stat-total-time {
  color: #49575eb3;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.3rem;
  width: 107%;
  margin-left: 7rem;
}

.mylearning-hero-stat-rem-time {
  color: #49575ebd;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.3rem;
  width: 100%;
}

.mylearning-hero-stat-percentage {
  display: flex;
  justify-content: flex-start;
  width: 111%;
}

/* Course Content Wrapper */
.course-content-wrapper {
  background: #fff;
  padding: 0 0 4rem 0;
}

.course-content-container {
  max-width: min(88rem, 95vw);
  margin: 0 auto;
  padding: 2rem 2rem;
}

/* Tab Navigation */
.course-tabs-nav {
  display: flex;
  border-bottom: 2px solid #00ffd0dc;
  margin-bottom: 2rem;
  gap: 0;
}

.course-tab {
  background: none;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.18rem;
  font-weight: 500;
  color: #00000080;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  position: relative;
}

.course-tab.active {
  color: #000000;
  border-bottom-color: #02f5c9;
  font-weight: 700;
  background: #12ebd226;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.course-tab:hover {
  color: #02f5c9;
}

/* Main Content Layout in tabs and to fix the width layout in progress and ranking*/
.course-main-content {
  /* display: block; */
  gap: 2rem;
  align-items: flex-start;
}

/* Left Sidebar - Course Outline - FIXED EXACTLY */
.course-outline-sidebar {
  flex: 0 0 380px;
  background: #fff;
  border: 2px solid #02f5c9;
  border-radius: 20px;
  padding: 0;
  height: auto;
  min-height: fit-content;
}

.course-outline-header {
  padding: 1.4rem 1.5rem 0.2rem 1.5rem;
  background: #02f5c806;
  border-radius: 14px 14px 0 0;
  position: relative;
}

.course-outline-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.8rem 0;
  position: relative;
}

/*round Checked  */
.rnd-checked-props {
  color: #222222d1;
}

/* Week Sections */
.course-week-section {
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  /* background: #02f5c806; */
}

.course-week-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem 0.5rem 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
  background: #02f5c806;
}

.course-week-header:hover {
  background: #02f5c806;
}

.course-week-header span {
  flex: 1;
  font-weight: 600;
  color: #010f18;
  font-size: 0.95rem;
}

.week-chevron {
  color: #9ca3af;
  font-size: 0.875rem;
  transition: transform 0.2s;
}

.course-week-header.expanded .week-chevron {
  transform: rotate(180deg);
}

/* Week Date - Always visible - EXACT STYLING */
.course-week-date {
  color: #1f2937a6;
  font-size: 0.7rem;
  font-weight: 500;
  margin: 0 1.5rem 1rem 1.5rem;
  padding: 0.3rem 0.6rem;
  background: #12ebd21a;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  /* border: 1px solid rgba(2, 245, 201, 0.3); */
}

/* .course-week-date::before {
            content: '';
            width: 6px;
            height: 6px;
            background: #02F5C9;
            border-radius: 50%;
        } */

/* Week Content */
.course-week-content {
  display: none !important;
  padding: 0 1.5rem 1rem 1.5rem;
  background: #02f5c806;
}

.course-week-content.expanded {
  display: block !important;
  background: #02f5c806;
}

/* Course Lessons - EXACT STYLING */
.course-lesson {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: #6b7280;
  font-size: 0.9rem;
  transition: all 0.2s;
  position: relative;
  border-radius: 6px;
  margin: 0.2rem 0;
}

.course-lesson.completed {
  color: #10b981;
}

/* Progress fill bar for active lesson */
.course-lesson.active {
  color: #02f5c8c5;
  font-weight: 600;
  background: linear-gradient(90deg, #02f5c9 0%, #02f5c9 0%, transparent 2%);
  padding: 0.5rem 0.5rem;
  border-radius: 10px;
  position: relative;
  background-color: #12ebd21a;
  margin-left: -5px;
}

.course-lesson.locked {
  color: #9ca3af;
}

.course-lesson:not(.locked):hover {
  color: #02f5c9;
  cursor: pointer;
}

/* Lesson Icons - EXACT STYLING */
.lesson-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  border: 2px solid #e5e7eb;
  background: #fff;
  flex-shrink: 0;
}

.lesson-icon.completed {
  background: #02f5c9;
  border-color: #02f5c9;
  color: white;
}

.lesson-icon.active {
  background: #02f5c9;
  border-color: #02f5c9;
  color: white;
}

.lesson-icon.locked {
  background: #f9fafb;
  border-color: #e5e7eb;
  color: #9ca3af;
}

/* Bottom separator line for weeks - EXACT MATCH */
.course-week-section:last-child {
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 0;
}

/* Right Content Area */
.course-content-main {
  flex: 1;
  border: 2px solid #02f5c9;
  border-radius: 20px;
  padding: 2rem;
}

.course-content-breadcrumb {
  color: #000000;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

.course-start-notice {
  margin-bottom: 2rem;
}

.course-start-notice h2 {
  color: #020e1a;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  position: relative;
  display: inline-block;
}

/* .course-start-notice h2::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 100%;
            height: 2px;
            background: #02F5C9;
        } */

.course-description-section {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  text-align: justify;
}

.course-description-section h3 {
  color: #000000;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.course-description-section p {
  color: #000000;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* Mobile Responsive */
@media (max-width: 1091px) {
  #outline-content.tab-content {
    display: flex;
    flex-direction: column-reverse;
  }

  .course-outline-sidebar {
    flex: none;
    width: 100%;
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .course-content-container {
    padding: 2rem 1rem;
  }

  .course-tabs-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .course-tab {
    white-space: nowrap;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
  }

  .course-content-main {
    padding: 1.5rem;
    line-height: normal;
    display: block !important;
  }

  .course-start-notice h2 {
    font-size: 1.3rem;
  }

  .section-divider-rightside {
    display: flex;
    align-items: center;

    margin-bottom: 2rem;
  }

  .divider-bold-rightside {
    width: 120px !important;
    height: 4px;
    background: #00ffd1;
    border-radius: 2px;
  }
}

/*Course Outline section divider */
.section-divider {
  display: flex;
  align-items: center;

  margin-bottom: 2rem;
}

.section-divider-rightside {
  display: flex;
  align-items: center;

  margin-top: -1.5rem;
  margin-bottom: 2rem;
}

.divider-bold-rightside {
  width: 320px;
  height: 4px;
  background: #00ffd1;
  border-radius: 2px;
}

.divider-thin-rightside {
  flex: 1;
  height: 2px;
  background: #00ffd1;
  opacity: 0.3;
  border-radius: 1px;
}

/* course-unlocked-outline*/
body {
  background: #010f18;
  font-family: "Inter", system-ui, sans-serif;
}

@media (max-width: 1250px) {
  .header-hamburger {
    display: flex !important;
  }

  .dm-header-v2 nav,
  .user-profile-container {
    display: none !important;
  }

  .dm-header-v2 {
    padding: 0.7rem 1.5rem;
    /* Reduced padding for mobile */
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }
}

@media (min-width: 1536px) {

  .header-hamburger,
  .mobile-menu-glass,
  .mobile-menu-overlay {
    display: none !important;
  }

  .dm-header-v2 nav,
  .dm-header-v2 .join-btn {
    display: flex !important;
  }
}

@media (max-width: 900px) {
  .dm-header-v2 {
    padding: 1rem 1.5rem;
    margin: 16px auto 0 auto;
    /* Reduced margin */
  }

  .dm-header-v2 .logo img {
    height: 36px;
  }
}

@media (max-width: 600px) {
  .dm-header-v2 {
    padding: 0.8rem 1rem;
    margin: 12px auto 0 auto;
    /* Further reduced margin */
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }

  .mobile-menu-glass {
    padding: 1.2rem 0.5rem;
    border-radius: 20px;
    width: 98vw;
    max-width: 99vw;
    top: 2vh;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .mylearning-main-content {
    flex-direction: column;
    gap: 2rem;
  }

  .mylearning-right-column {
    max-width: 100%;
  }
}

@media (max-width: 1150px) {
  .mylearning-hero-container {
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
    padding-left: 16px;
    padding-right: 16px;
  }

  .mylearning-hero-right {
    justify-content: center;
  }
}

@media (max-width: 800px) {
  .mylearning-hero-right {
    display: none;
  }
}

@media (max-width: 600px) {
  .mylearning-hero-section {
    padding: 110px 0 24px 0 !important;
  }

  .mylearning-hero-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .mylearning-hero-title {
    font-size: 1.8rem;
  }

  /* .mylearning-hero-stats {
                gap: 0.8rem;
            }

            .mylearning-hero-stat-card {
                min-width: 120px;
                padding: 0.6rem 1rem;
                 margin:auto; 
            } */
}

@media (max-width: 450px) {
  .mylearning-hero-title {
    font-size: 1.3rem;
  }
}

.course-tab {
  background: none;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.18rem;
  font-weight: 500;
  color: #9aa1ad;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  position: relative;
}

/* Mobile-only tabs inside course outline */
.mobile-outline-tabs {
  display: none;
  border-bottom: 1px solid #02f5c9db;
  margin-top: 1rem;
}

.mobile-outline-tab {
  background: none;
  border: none;
  padding: 0.75rem 1.74rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #9ca3af;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  margin-right: 1rem;
}

.mobile-outline-tab.active {
  color: #0f1110ce;
  border-bottom-color: #02f5c9;
  font-weight: 700;
}

.mobile-outline-tab:hover {
  color: #02f5c9;
}

@media (max-width: 364px) {
  .mobile-outline-tab {
    padding: 0.4rem !important;
  }
}

/* .course-week-date::before {
            content: '';
            width: 6px;
            height: 6px;
            background: #02F5C9;
            border-radius: 50%;
        }

        /* Right Content Area */


.course-content-breadcrumb {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

/*Course-Unlocked-Video-Player */

.course-video-placeholder {
  position: relative;
  background: #cfd8dc;
  border-radius: 20px;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.course-start-notice h2 {
  color: #010f18;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  position: relative;
  display: inline-block;
}

/* .course-start-notice h2::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 100%;
            height: 2px;
            background: #02F5C9;
        } */

.course-description-section {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  text-align: justify;
}

.course-description-section h3 {
  color: #010f18;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.course-description-section p {
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* Mobile Resources Content - Duplicate of desktop resources */
.mobile-resources-content {
  display: none;
  padding: 1.5rem;
}

.mobile-resources-content .course-start-notice-mobile {
  margin-bottom: 2rem;
}

.mobile-resources-content .course-start-notice-mobile h2 {
  color: #1f2937;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.mobile-resources-content .course-description-section-mobile {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  text-align: justify;
  margin-bottom: 2rem;
}

.mobile-resources-content .course-description-section-mobile h3 {
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.mobile-resources-content .course-description-section-mobile p {
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.mobile-resources-content .notes-section-mobile {
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.mobile-resources-content .notes-section-mobile h3 {
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.mobile-resources-content .notes-downloads-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-resources-content .download-link-mobile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #02f5c9;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.mobile-resources-content .download-link-mobile:hover {
  color: #0ad1c2;
}

.mobile-resources-content .download-link-mobile i {
  font-size: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 1091px) {
  #outline-content.tab-content {
    display: flex;
    flex-direction: column-reverse;
  }

  .course-outline-sidebar {
    flex: none;
    width: 100%;
    max-height: 400px;
  }

  /* Show mobile tabs inside course outline */
  .mobile-outline-tabs {
    display: block;
  }

  .course-content-main {
    border: none;
    padding: 1rem 1rem;
    margin-bottom: -3rem;
  }

  .course-start-notice {
    display: none;
  }

  .section-divider-resources {
    display: none;
  }

  .course-description-section {
    display: none;
  }

  /* Hide notes section on mobile */
  .notes-section {
    display: none;
  }
}

@media (max-width: 1585px) {
  .course-video-placeholder {
    position: relative;
    background: #cfd8dc;
    border-radius: 1rem;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
  }
}

/* @media (max-width: 1385px) {
  .course-video-placeholder {
    position: relative;
    background: #cfd8dc;
    border-radius: 1rem;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
  }
} */

@media (max-width: 768px) {
  .course-content-container {
    padding: 2rem 1rem;
  }

  .course-tabs-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .course-tab {
    white-space: nowrap;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
  }

  .course-content-main {
    padding: 1.5rem;
    line-height: normal;
  }

  .course-start-notice h2 {
    font-size: 1.3rem;
  }
}

/*Course Outline section divider */
.section-divider {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-bottom: 2rem;
}

.divider-thin-assignment {
  height: 2px;
  background: #9cadad;
  opacity: 0.3;
  border-radius: 1px;
}

/*resources in the right section resource divider */
.section-divider-resources {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-bottom: 2rem;
}

.divider-bold-resources {
  width: 120px;
  height: 4px;
  background: #00ffd1;
  border-radius: 2px;
}

.divider-thin-resources {
  flex: 1;
  height: 2px;
  background: #00ffd1;
  opacity: 0.3;
  border-radius: 1px;
}

.divider-thin-line-bel-desc {
  margin-top: 2rem;
  flex: 1;
  height: 2px;
  background: #292a2a;
  opacity: 0.3;
  border-radius: 1px;
}

/* Navigation Buttons */
.lesson-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.5rem 0 2rem 0;
  padding: 0 0.5rem;
}

.nav-btn {
  background: none;
  border: none;
  color: #465359;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  transition: color 0.2s;
}

.nav-btn:hover {
  color: #02f5c9;
}

.nav-btn:disabled {
  color: #d1d5db;
  cursor: not-allowed;
}

/* Notes Section */
.notes-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.notes-section h3 {
  color: #010f18;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.notes-downloads {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.download-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #11b8ff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.download-link:hover {
  color: #0ad1c2;
}

.download-link i {
  font-size: 0.875rem;
}

/* Mobile Responsive - video above course outline */
@media (max-width: 1091px) {
  #outline-content.tab-content {
    display: flex;
    flex-direction: column;
  }

  .course-outline-sidebar {
    order: 2;
    flex: none;
    width: 100%;
  }

  .course-outline-header {
    display: none !important;
  }

  .course-content-main {
    order: 1;
    border: none;
    padding: 1rem 1rem;
    margin-bottom: -3rem;
  }

  .course-start-notice {
    display: none;
  }

  .section-divider-resources {
    display: none;
  }

  .course-description-section {
    display: none;
  }

  /* Hide notes section on mobile */
  .notes-section {
    display: none;
  }
}

/* Progress & Rankings Styles - UPDATED */
.progress-rankings-container {
  display: flex;
  gap: 9rem;
  align-items: flex-start;
  width: 100%;
}

.progress-left-column {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.progress-right-column {
  flex: 0 0 350px;
  width: 350px;
}

.section-title {
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.section-divider-progress {
  display: flex;
  align-items: end;
  /* gap: 0.1rem; */
  margin-bottom: 2rem;
}

.divider-bold-progress {
  width: 120px;
  height: 4px;
  background: #02f5c9;
  border-radius: 2px;
}

.divider-thin-progress {
  flex: 1;
  height: 2px;
  background: #02f5c9;
  opacity: 0.3;
  border-radius: 1px;
}

/* Your Stats Section - CORRECTED LAYOUT */
.your-stats-section {
  margin-bottom: 3rem;
}

.stats-row-1 {
  display: grid;
  grid-template-columns: 0.9fr 0.9fr 2fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.stats-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: #12ebd21a;
  border: none;
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 80px;
}

/* For Rank and Streak cards */
.stat-card-small {
  /* For Rank and Streak cards */

  height: min-content;
}

.mylearning-hero-stat-card-progressrank {
  background: #12ebd214;
  color: #18313a;
  border-radius: 0.8rem;
  padding: 0.8rem 1.2rem;
  /* min-width: 140px; */
  box-shadow: 0 2px 8px 0 rgba(25, 246, 232, 0.1);
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1.01rem;
  line-height: normal;
}

.mylearning-hero-stat-label-progressrank {
  color: #49575e;
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.mylearning-hero-stat-percentage-progressrank {
  display: flex;
  width: 120%;
  font-size: 0.9rem;
}

.mylearning-hero-stat-total-time-progressrank {
  color: #465359;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.3rem;
  width: 104%;
  margin-left: 8rem;
  font-size: 0.7rem;
}

.mylearning-hero-stat-rem-time-progressrank {
  color: #49575ebd;
  font-size: 0.7rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.3rem;
  width: 100%;
}

.mylearning-course-progress-bar-progressrank {
  background: #00ffd1 !important;
  height: 100%;
  width: 45%;
  border-radius: 1rem;
}

.mylearning-course-progress-bar-bg-progressrank {
  background: #00ffd039;
  border-radius: 1rem;
  width: 420px;
  height: 8px;
  overflow: hidden;
}

.stat-card-large {
  /* For Learning Progress card */
}

.stat-card-medium {
  /* For Lessons, Quizzes, Assignments, Events cards */
}

.stat-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #010f18;
}

.stat-icon-up {
  color: #10b981;
  font-size: 0.8rem;
}

.stat-icon-down {
  color: #ef4444;
  font-size: 0.8rem;
}

.stat-value {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
}

.stat-value-icon {
  color: #02f5c9;
  font-size: 1rem;
}

.progress-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.total-hours {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 500;
}

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

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #02f5c9;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.remaining-time {
  font-size: 0.8rem;
  color: #9ca3af;
  text-align: right;
}

/* Submitted Assignments Section */
.submitted-assignments-section {
  margin-bottom: 2rem;
}

.assignments-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.assignment-item {
  background: #fff;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.assignment-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.assignment-title {
  color: #010f18;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.download-assignment {
  color: #11b8ff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.download-assignment:hover {
  color: #0ad1c2;
}

.assignment-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.submission-date {
  color: #465359;
  font-size: 0.85rem;
  background-color: #12ebd21a;
  padding: 2px 10px;
  border-radius: 5px;
}

.points-badge {
  background: #02f5c9;
  color: #465359;
  padding: 2px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Course Leaderboard Section - SCROLLABLE */
.leaderboard-section {
  background: #12ebd208;
  border: 2px solid #02f5c9;
  border-radius: 20px;
  padding: 1.5rem;
  height: 600px;
  display: flex;
  flex-direction: column;
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  flex: 1;
  padding-right: 0.5rem;
}

/* Custom Scrollbar for Leaderboard */
.leaderboard-list::-webkit-scrollbar {
  width: 8px;
}

.leaderboard-list::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.leaderboard-list::-webkit-scrollbar-thumb {
  background: #02f5c9;
  border-radius: 4px;
  border: 1px solid #f1f5f9;
}

.leaderboard-list::-webkit-scrollbar-thumb:hover {
  background: #0ad1c2;
}

/* Firefox scrollbar */
.leaderboard-list {
  scrollbar-width: thin;
  scrollbar-color: #09dded #d9d9d9;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: #12ebd214;
  border-radius: 15px;

  flex-shrink: 0;
}

.student-avatar {
  position: relative;
  flex-shrink: 0;
}

.student-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.rank-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  border: 2px solid #fff;
}

.rank-1 {
  background: #fbbf24;
  color: #fff;
}

.rank-2 {
  background: #fbbf24;
  color: #fff;
}

.rank-3 {
  background: #fbbf24;
  color: #fff;
}

.rank-4,
.rank-5,
.rank-6,
.rank-7,
.rank-8 {
  background: #fbbf24;
  color: #fff;
}

.student-info {
  flex: 1;
  min-width: 0;
}

.student-name {
  color: #010f18;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.student-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.progress-indicator {
  color: #10b981;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.streak-indicator {
  color: #465359;
  font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 1200px) {
  .progress-rankings-container {
    flex-direction: column;
    gap: 2rem;
  }

  .progress-right-column {
    flex: none;
    width: 100%;
  }

  .stats-row-1 {}

  .stats-row-2 {}

  .stat-card-large {
    grid-column: span 2;
  }
}

@media (max-width: 526px) {
  .mylearning-course-progress-bar-bg-progressrank {
    background: #00ffd039;
    border-radius: 1rem;
    width: 370px;
    height: 8px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 423px) {
  .mylearning-hero-stat-rem-time-progressrank {
    display: flex;
    justify-content: flex-start !important;
  }

  .mylearning-course-progress-bar-bg-progressrank {
    width: 295px !important;
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 373px) {
  .mylearning-course-progress-bar-bg-progressrank {
    width: 250px !important;
    display: flex;
    flex-wrap: wrap;
  }

  .mylearning-hero-stat-total-time-progressrank {
    margin-left: 2rem;
  }
}

@media (max-width: 323px) {
  .mylearning-course-progress-bar-bg-progressrank {
    width: 190px !important;
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 449px) {
  .mylearning-course-progress-bar-bg-progressrank {
    width: 350px;
  }
}

@media (max-width: 435px) {
  .mylearning-hero-stat-total-time-progressrank {
    margin-left: 4rem !important;
    font-size: 0.7rem;
  }
}

@media (max-width: 429px) {

  /* .mylearning-course-progress-bar-bg-progressrank {
                width: 350px;
            } */
  .mylearning-hero-stat-total-time-progressrank {
    margin-left: 4rem;
  }
}

@media (max-width: 394px) {
  .mylearning-hero-stat-total-time-progressrank {
    margin-left: 1rem !important;
    font-size: 0.6rem;
  }
}

@media (max-width: 768px) {
  .stats-row-2 {
    gap: 0.75rem;
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 721px) {
  .stats-row-1 {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .stats-row-1 {
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .stats-row-2 {
    gap: 0.75rem;
    display: flex;
    flex-wrap: wrap;
  }

  .stat-card-large {
    grid-column: span 1;
  }

  .assignment-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .assignment-right {
    align-items: flex-start;
    width: 100%;
  }

  .student-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .leaderboard-section {
    height: 400px;
  }
}

/* Mobile Progress & Rankings Container - NEW */
.mobile-progress-container {
  display: none;
  background: #fff;
  border: 2px solid #02f5c9;
  border-radius: 16px;
  margin: 0 1rem;
  overflow: hidden;
}

.mobile-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.mobile-progress-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-progress-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-progress-nav button {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
}

.mobile-progress-nav button:hover {
  color: #02f5c9;
}

.mobile-progress-tabs {
  display: flex;
  border-bottom: 2px solid #e2e8f0;
  background: #fff;
}

.mobile-progress-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  position: relative;
}

.mobile-progress-tab.active {
  color: #010f18;
  border-bottom-color: #02f5c9;
}

.mobile-progress-content {
  padding: 1.5rem;
  background: #fff;
}

.mobile-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mobile-stats-grid-large {
  grid-column: span 2;
}

/* Mobile Stat Cards in very low mobile pixel */
@media (max-width: 375px) {
  .mobile-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .mobile-stats-grid-large {
    grid-column: span 1;
  }
}

.mobile-stat-card {
  background: #12ebd214;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-stat-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b7280;
}

.mobile-stat-value {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
}

.mobile-leaderboard-section {
  margin-top: 2rem;
}

.mobile-leaderboard-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.mobile-leaderboard-divider {
  width: 60px;
  height: 3px;
  background: #02f5c9;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.mobile-leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #02f5c9 #f1f5f9;
}

.mobile-leaderboard-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #12ebd214;
  border-radius: 8px;
}

.mobile-assignments-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-assignment-item {
  background: #f8fafc;
  border-radius: 8px;
  padding: 1rem;
}

.mobile-assignment-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.mobile-assignment-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.mobile-assignment-download {
  color: #02f5c9;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-points-badge {
  background: #02f5c9;
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Show mobile container only on mobile */
@media (max-width: 768px) {
  .mobile-progress-container {
    display: block;
  }

  .progress-rankings-container {
    display: none;
  }
}

/* Events Container */
.events-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  width: 100%;
}

.events-left-column {
  flex: 1;
  min-width: 0;
}

.events-right-column {
  flex: 0 0 500px;
  width: 500px;
}

.section-title {
  color: #010f18;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.section-divider-events {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-bottom: 2rem;
}

.divider-bold-events {
  width: 120px;
  height: 4px;
  background: #02f5c9;
  border-radius: 2px;
}

.divider-thin-events {
  flex: 1;
  height: 2px;
  background: #02f5c9;
  opacity: 0.3;
  border-radius: 1px;
}

@media (max-width: 1000px) {
  .events-container {
    display: none;
  }

  .mobile-events-container {
    display: block !important;
  }

  .mobile-events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .mobile-event-card {
    background: #fff;
    border: 2px solid #02f5c9;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
  }

  .mobile-event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
  }

  .mobile-event-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
  }

  .mobile-event-content {
    display: none;
  }

  .mobile-event-content.expanded {
    display: block;
  }

  .mobile-winners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .mobile-winner-card-third {
    grid-column: 1 / -1;
    /* max-width: 150px; */
    margin: 0 auto;
    width: 60%;
  }
}

/* Event Cards - UPDATED*/
.events-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.event-card {
  background: #fff;
  border: 2px solid #02f5c9;
  border-radius: 20px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.event-card:hover {
  box-shadow: 0 8px 25px rgba(2, 245, 201, 0.15);
}

/* Event Header - UPDATED */
.event-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.event-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #010f18;
  margin: 0;
  flex: 1;
}

.event-status-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
}

.event-status-badge {
  background: #12ebd226;
  color: #465359;
  padding: 0.2rem 0.5rem;
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 600;
}

.event-chevron {
  color: #9ca3af;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.event-card.expanded .event-chevron {
  transform: rotate(180deg);
}

/* Event Description */
.event-description {
  color: #465359;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 500;
}

/* Event Dates - UPDATED TO MATCH IMAGES */
.event-dates {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.event-date-box {
  background: #efefef;
  padding: 0.1rem 0.5rem;

  border-radius: 8px;
  font-size: 0.9rem;
  color: #465359;
  font-weight: 500;
}

/* Expanded Content - HIDDEN BY DEFAULT */
.event-expanded-content {
  display: none;
  padding-top: 1.5rem;
  border-top: 2px solid #b5becf;
  margin-top: 1.5rem;
}

.event-card.expanded .event-expanded-content {
  display: block;
}

.event-detailed-description {
  color: #010f18;
  /* line-height: 1.6; */
  margin-bottom: 1.5rem;
  font-size: 1rem;
  text-align: justify;
  font-weight: 500;
}

/* Tech Tags - UPDATED */
.tech-tags {
  /* display: flex; */
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.tech-tag {
  background: #12ebd226;
  color: #020e1a;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

/* Download Link  */
.download-event-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #11b8ff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.download-event-link:hover {
  color: #0ad1c2;
}

/* Submit Button  */
.submit-project-btn {
  background: #02f5c9;
  color: #010f18;
  border: none;
  border-radius: 100px;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  width: fit-content;
}

.submit-project-btn:hover {
  background: #0ad1c2;
  transform: translateY(-1px);
}

/* Previous Events Section */
.previous-events-section {
  background: #12ebd20d;
  border: 2px solid #02f5c9;
  border-radius: 30px;
  padding: 1.5rem;
  height: fit-content;
}

.previous-events-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.previous-event-card {
  background: #fff;
  border: 1px solid #02f5c9;
  border-radius: 20px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.previous-event-card:hover {
  border-color: #02f5c9;
  box-shadow: 0 2px 8px rgba(2, 245, 201, 0.1);
}

.previous-event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.previous-event-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #010f18;
}

.collapse-expand-btn {
  background: #efefef;
  border: none;
  border-radius: 7px;
  padding: 0.2rem 0.8rem;

  color: #465359;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.previous-event-description {
  color: #465359;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.previous-event-date {
  background: #efefef;
  color: #465359;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  padding: 0.1rem 0.5rem;
  display: inline-block;
  border-radius: 8px;
  font-weight: 500;
}

/* Winners Section */
.winners-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1.6px solid #9cadad;
}

.winners-title {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
  position: relative;
}

.winners-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #02f5c9;
  border-radius: 2px;
}

.winners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1rem;
}

.winner-card {
  background: #8ff7eb0f;
  border: 2px solid #02f5c9;
  border-radius: 12px;

  text-align: center;
  position: relative;
  transition: transform 0.2s;
}

.winner-card:hover {
  transform: translateY(-2px);
}

.winner-badge {
  position: absolute;
  top: -10px;
  left: -18px;
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.winner-badge.first {
  /* background: #fbbf24; */
}

.winner-badge.second {
  /* background: #f97316; */
}

.winner-badge.third {
  /* background: #9ca3af; */
}

.winner-image {
  width: 60px;
  height: 60px;
  background: #e5e7eb;
  border-radius: 8px;
  margin: 0.5rem auto 0.75rem auto;
}

.winner-game-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.winner-author {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0.2rem;
}

.winner-author a {
  color: #6b7280;
  text-decoration: underline;
}

.winner-card-third {
  grid-column: 1 / -1;
  max-width: 200px;
  margin: 0 auto;
}

/* Mobile Events Container */
.mobile-events-container {
  display: none;
  background: #fff;
  border: 2px solid #02f5c9;
  border-radius: 16px;
  margin: 0 1rem;
  overflow: hidden;
}

.mobile-events-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.mobile-events-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-nav-btn {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
}

.mobile-nav-btn:hover {
  color: #02f5c9;
}

.mobile-events-tabs {
  display: flex;
  border-bottom: 2px solid #e2e8f0;
  background: #fff;
}

.mobile-events-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}

.mobile-events-tab.active {
  color: #010f18;
  border-bottom-color: #02f5c9;
}

.mobile-events-content {
  padding: 1.5rem;
  background: #fff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .mobile-events-container {
    display: block;
  }

  .events-container {
    display: none;
  }

  .mobile-events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .mobile-event-card {
    background: #fff;
    border: 2px solid #02f5c9;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
  }

  .mobile-event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
  }

  .mobile-event-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
  }

  .mobile-event-content {
    display: none;
  }

  .mobile-event-content.expanded {
    display: block;
  }

  .mobile-winners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .mobile-winner-card-third {
    grid-column: 1 / -1;
    /* max-width: 150px; */
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .mobile-events-content {
    padding: 1rem;
  }

  .event-date-box {
    display: flex;
    align-self: flex-start;
  }

  .event-dates {
    flex-direction: column;
    gap: 0.75rem;
  }

  .tech-tags {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .mobile-winners-grid {
    gap: 0.9rem;
  }

  /* .mobile-winner-card-third {
                width: -webkit-fill-available;
            } */
}

@media (max-width: 400px) {
  .tech-tags {
    display: flex !important;

    gap: 0.4rem;
  }

  .tech-tag {
    padding: 0.5rem 0.4rem;
    font-size: 0.8rem;
  }

  .mobile-event-title {
    font-size: 0.95rem;
  }

  .event-description {
    font-size: 0.89rem;
    font-weight: 500;
    text-align: left;
  }
}

@media (max-width: 384px) {
  .download-event-link {
    font-size: 0.89rem;
    font-weight: 500;
  }
}

/* Community Container Styles */
.community-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.section-divider-community {
  display: flex;
  align-items: end;
  /* gap: 0.1rem; */
  margin-bottom: 2rem;
}

.divider-bold-community {
  width: 120px;
  height: 4px;
  background: #02f5c9;
  border-radius: 2px;
}

.divider-thin-community {
  flex: 1;
  height: 2px;
  background: #02f5c9;
  opacity: 0.3;
  border-radius: 1px;
}

/* Community Cards List */
.community-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Community Card Styles */
.community-card {
  background: #f8fafc;
  border: 2px solid #02f5c9;
  border-radius: 20px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.community-card.discord-card {
  border-color: #ffa60099;
}

.community-card:hover {
  box-shadow: 0 8px 25px rgba(2, 245, 201, 0.15);
  transform: translateY(-2px);
}

.community-card.discord-card:hover {
  box-shadow: 0 8px 25px rgba(255, 152, 0, 0.15);
}

/* Community Card Header */
.community-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.community-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #010f18;
  margin: 0;
  flex: 1;
}

.community-card-meta {
  display: flex;
  /* flex-direction: column; */
  align-items: flex-end;
  gap: 0.5rem;
  margin-left: 1rem;
}

.community-badge {
  background: #e5e7eb;

  padding: 5px 10px;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 600;
}

.community-badge.compulsory {
  background: #efefef;
  color: #465359;
}

.community-points {
  color: #465359;
  background: #efefef;

  font-weight: 700;

  padding: 0.25rem 0.75rem;
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Community Description */
.community-description {
  color: #465359;
  font-size: 1rem;
  line-height: 0.99;
  margin-bottom: 1.3rem;
}

/* Community Join Button */
.community-join-btn {
  background: #02f5c9;
  color: #010f18;
  border: none;
  border-radius: 100px;
  padding: 10px 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  width: fit-content;
}

.community-join-btn:hover {
  background: #0ad1c2;
  transform: translateY(-1px);
}

/* Mobile Community Container */
.mobile-community-container {
  display: none;
  background: #fff;
  border: 2px solid #02f5c9;
  border-radius: 16px;
  margin: 0 1rem;
  overflow: hidden;
}

.mobile-community-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.mobile-community-nav {
  display: flex;
  align-items: center;
}

.mobile-community-tabs {
  display: flex;
  gap: 2rem;
}

.mobile-community-tab {
  background: none;
  border: none;
  padding: 0.5rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.mobile-community-tab.active {
  color: #02f5c9;
  border-bottom-color: #02f5c9;
}

.mobile-community-content {
  padding: 1.5rem;
  background: #fff;
}

.mobile-community-title {
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.mobile-community-divider {
  width: 60px;
  height: 3px;
  background: #02f5c9;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* Mobile Community Cards */
.mobile-community-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-community-card {
  background: #f8fafc;
  border: 2px solid #02f5c9;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-community-card.discord {
  border-color: #ff980091;
}

.mobile-community-card-header {
  display: flex;
  justify-content: left;
  align-items: flex-start;
  flex-direction: column;
}

.mobile-community-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  flex: 1;
  margin: 0;
}

.mobile-community-card-meta {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 0.25rem;
  margin-top: 0.4rem;
  /* margin-left: 1rem; */
}

.mobile-community-badge {
  background: #e5e7eb;
  color: #6b7280;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

.mobile-community-points {
  /* color: #374151;
            background: #e5e7eb;
            font-size: 0.9rem;
            font-weight: 700; */

  background: #e5e7eb;
  color: #6b7280;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

.mobile-community-description {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.4;
}

.mobile-community-join-btn {
  background: #00ffd1;
  color: #1f2937;
  border: none;
  border-radius: 20px;
  padding: 0.39rem 1.3rem;

  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  width: fit-content;
}

.mobile-community-join-btn:hover {
  background: #0ad1c2;
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .community-container {
    display: none;
  }

  .mobile-community-container {
    display: block;
  }
}

@media (max-width: 480px) {
  .mobile-community-content {
    padding: 1rem;
  }

  .mobile-community-card {
    padding: 0.75rem;
  }

  .mobile-community-card-title {
    font-size: 1rem;
  }

  .mobile-community-description {
    font-size: 0.85rem;
  }

  .mobile-community-tabs {
    gap: 1rem;
  }
}

/* edit profile comp*/

/* forgot password component*/

body {
  background: #010f18;
  font-family: "Rubik", system-ui, sans-serif;
}

/* Header Styles */
.dm-header-v2 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3000000;
  max-width: 95vw !important;
  margin: 24px auto 0 auto;
  padding: 0.7rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 2.5rem;
  transition: all 0.3s cubic-bezier(0.4, 2, 0.6, 1);

  /* Background Color & Blur */
  background-color: rgba(249, 254, 255, 0.9);

  -webkit-backdrop-filter: blur(10px);

  backdrop-filter: blur(10px);

  /* Combined Shadows */
  box-shadow: inset 0px 2px 4px rgba(255, 255, 255, 0.15),
    inset 0px -1px 4px rgba(0, 0, 0, 0.05), 0px 0px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive - UPDATED */
@media (max-width: 1250px) {
  .header-hamburger {
    display: flex !important;
  }

  .dm-header-v2 nav,
  .user-profile-container {
    display: none !important;
  }

  .dm-header-v2 .join-btn {
    display: none !important;
  }

  .dm-header-v2 {
    padding: 0.7rem 1.5rem;
    /* Reduced padding for mobile */
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }
}

@media (min-width: 1536px) {

  .header-hamburger,
  .mobile-menu-glass,
  .mobile-menu-overlay {
    display: none !important;
  }

  .dm-header-v2 nav,
  .dm-header-v2 .join-btn {
    display: flex !important;
  }
}

@media (max-width: 900px) {
  .dm-header-v2 {
    padding: 1rem 1.5rem;
  }

  .dm-header-v2 .logo img {
    height: 36px;
  }
}

@media (max-width: 600px) {
  .dm-header-v2 {
    padding: 0.8rem 1rem;
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }

  .mobile-menu-glass {
    padding: 1.2rem 0.5rem;
    border-radius: 20px;
    width: 98vw;
    max-width: 99vw;
    top: 2vh;
  }
}

.bg-blur-blue {
  position: absolute;
  width: 260px;
  height: 260px;
  right: -100px;
  bottom: 60px;
  background: radial-gradient(ellipse at 40% 50%, #11b8ff 0%, #11b8ff00 80%);
  filter: blur(120px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

/* Footer Blur */
.footer-blur-gradient {
  position: absolute;
  left: 0;
  width: 250px;
  height: 100px;
  background: radial-gradient(ellipse at 45% 40%, #12ebd2 0%, #12ebd200 80%);
  filter: blur(32px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

/* Mobile Login Card Improvements */
@media (max-width: 1024px) {

  /* Login Section Mobile */
  .login-section {
    padding: 120px 2rem 60px 2rem !important;
  }

  /* Grid Layout for Mobile */
  .login-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  /* Login Card Container */
  .login-grid>div:last-child {
    justify-content: center !important;
  }

  /* Login Card Mobile */
  .login-card {
    max-width: 100px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 2.5rem 2rem !important;
  }
}

@media (max-width: 768px) {
  .login-section {
    padding: 110px 1.5rem 50px 1.5rem !important;
  }

  .login-card {
    max-width: 500px !important;
    padding: 2rem 1.5rem !important;
  }
}

@media (max-width: 640px) {
  .login-section {
    padding: 110px 0.5rem 40px 0.5rem !important;
  }

  .login-card {
    max-width: 95% !important;
    width: 95% !important;
    padding: 1.5rem 1rem !important;
    border-radius: 1rem !important;
  }

  /* Form Elements Mobile */
  .login-card input {
    padding: 0.75rem !important;
    font-size: 1rem !important;
  }

  .login-card button {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
  }

  /* Header Text Mobile */
  .login-card h1 {
    font-size: 1.5rem !important;
  }

  .login-card p {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 600px) {
  .login-section {
    padding: 110px 0.75rem 40px 0.75rem !important;
  }

  .login-card {
    max-width: 92% !important;
    width: 92% !important;
    padding: 1.75rem 1.25rem !important;
  }
}

@media (max-width: 400px) {
  .login-section {
    padding: 100px 0.25rem 30px 0.25rem !important;
  }

  .login-card {
    padding: 1.25rem 0.75rem !important;
    margin: 0 0.25rem !important;
  }

  /* Very Small Screen Adjustments */
  .login-card input {
    padding: 0.6rem !important;
    font-size: 0.9rem !important;
  }

  .login-card label {
    font-size: 0.8rem !important;
  }

  .login-card h1 {
    font-size: 1.25rem !important;
    margin-bottom: 0.5rem !important;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/*Login component */
body {
  background: #010f18;
  font-family: "Rubik", system-ui, sans-serif;
}

/* Responsive - UPDATED */
@media (max-width: 1250px) {
  .header-hamburger {
    display: flex !important;
  }

  .dm-header-v2 nav,
  .user-profile-container {
    display: none !important;
  }

  .dm-header-v2 .join-btn {
    display: none !important;
  }

  .dm-header-v2 {
    padding: 0.7rem 1.5rem;
    /* Reduced padding for mobile */
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }
}

@media (min-width: 1536px) {

  .header-hamburger,
  .mobile-menu-glass,
  .mobile-menu-overlay {
    display: none !important;
  }

  .dm-header-v2 nav,
  .dm-header-v2 .join-btn {
    display: flex !important;
  }
}

@media (max-width: 900px) {
  .dm-header-v2 {
    padding: 1rem 1.5rem;
  }

  .dm-header-v2 .logo img {
    height: 36px;
  }
}

@media (max-width: 600px) {
  .dm-header-v2 {
    padding: 0.8rem 1rem;
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }

  .mobile-menu-glass {
    padding: 1.2rem 0.5rem;
    border-radius: 20px;
    width: 98vw;
    max-width: 99vw;
    top: 2vh;
  }
}

/* Hero Illustration Scaling for Large Screens */

/* Base style for smooth scaling transition */
.hero-illustration-img {
  transition: transform 0.4s ease-out;
}

@media (min-width: 1600px) {
  .hero-illustration-img {
    transform: scale(1.15) translateX(-4%);
  }
}

@media (min-width: 1900px) {
  .hero-illustration-img {
    transform: scale(1.25) translateX(-6%);
  }
}

/*Register component */
body {
  background: #010f18;
  font-family: "Rubik", system-ui, sans-serif;
}

/* Responsive - UPDATED */
@media (max-width: 1250px) {
  .header-hamburger {
    display: flex !important;
  }

  .dm-header-v2 nav,
  .user-profile-container {
    display: none !important;
  }

  .dm-header-v2 .join-btn {
    display: none !important;
  }

  .dm-header-v2 {
    padding: 0.7rem 1.5rem;
    /* Reduced padding for mobile */
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }
}

@media (min-width: 1536px) {

  .header-hamburger,
  .mobile-menu-glass,
  .mobile-menu-overlay {
    display: none !important;
  }

  .dm-header-v2 nav,
  .dm-header-v2 .join-btn {
    display: flex !important;
  }
}

@media (max-width: 900px) {
  .dm-header-v2 {
    padding: 1rem 1.5rem;
  }

  .dm-header-v2 .logo img {
    height: 36px;
  }
}

@media (max-width: 600px) {
  .dm-header-v2 {
    padding: 0.8rem 1rem;
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }

  .mobile-menu-glass {
    padding: 1.2rem 0.5rem;
    border-radius: 20px;
    width: 98vw;
    max-width: 99vw;
    top: 2vh;
  }
}

/* Font Classes */
.font-title {
  font-family: "Nunito", system-ui, sans-serif;
}

.font-body {
  font-family: "Rubik", system-ui, sans-serif;
}

/* Apply Nunito to all headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Nunito", system-ui, sans-serif;
}

/* Apply Rubik to paragraphs and body text */
p,
span,
div,
a,
button,
input,
textarea,
td,
th,
li {
  font-family: "Rubik", system-ui, sans-serif;
}

/* Reset Password*/
body {
  background: #010f18;
  font-family: "Rubik", system-ui, sans-serif;
}

/* Responsive - UPDATED */
@media (max-width: 1250px) {
  .header-hamburger {
    display: flex !important;
  }

  .dm-header-v2 nav,
  .user-profile-container {
    display: none !important;
  }

  .dm-header-v2 .join-btn {
    display: none !important;
  }

  .dm-header-v2 {
    padding: 0.7rem 1.5rem;
    /* Reduced padding for mobile */
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }
}

@media (min-width: 1536px) {

  .header-hamburger,
  .mobile-menu-glass,
  .mobile-menu-overlay {
    display: none !important;
  }

  .dm-header-v2 nav,
  .dm-header-v2 .join-btn {
    display: flex !important;
  }
}

@media (max-width: 900px) {
  .dm-header-v2 {
    padding: 1rem 1.5rem;
  }

  .dm-header-v2 .logo img {
    height: 36px;
  }
}

@media (max-width: 600px) {
  .dm-header-v2 {
    padding: 0.8rem 1rem;
  }

  .dm-header-v2 .logo img {
    height: 32px;
  }

  .mobile-menu-glass {
    padding: 1.2rem 0.5rem;
    border-radius: 20px;
    width: 98vw;
    max-width: 99vw;
    top: 2vh;
  }
}

/* Mobile Login Card Improvements */
@media (max-width: 1024px) {

  /* Login Section Mobile */
  .login-section {
    padding: 120px 2rem 60px 2rem !important;
  }

  /* Grid Layout for Mobile */
  .login-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  /* Login Card Container */
  .login-grid>div:last-child {
    justify-content: center !important;
  }

  /* Login Card Mobile */
  .login-card {
    max-width: 100px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 2.5rem 2rem !important;
  }
}

@media (max-width: 768px) {
  .login-section {
    padding: 110px 1.5rem 50px 1.5rem !important;
  }

  .login-card {
    max-width: 500px !important;
    padding: 2rem 1.5rem !important;
  }
}

@media (max-width: 640px) {
  .login-section {
    padding: 110px 0.5rem 40px 0.5rem !important;
  }

  .login-card {
    max-width: 95% !important;
    width: 95% !important;
    padding: 1.5rem 1rem !important;
    border-radius: 1rem !important;
  }

  /* Form Elements Mobile */
  .login-card input {
    padding: 0.75rem !important;
    font-size: 1rem !important;
  }

  .login-card button {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
  }

  /* Header Text Mobile */
  .login-card h1 {
    font-size: 1.5rem !important;
  }

  .login-card p {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 600px) {
  .login-section {
    padding: 110px 0.75rem 40px 0.75rem !important;
  }

  .login-card {
    max-width: 92% !important;
    width: 92% !important;
    padding: 1.75rem 1.25rem !important;
  }
}

@media (max-width: 400px) {
  .login-section {
    padding: 100px 0.25rem 30px 0.25rem !important;
  }

  .login-card {
    padding: 1.25rem 0.75rem !important;
    margin: 0 0.25rem !important;
  }

  /* Very Small Screen Adjustments */
  .login-card input {
    padding: 0.6rem !important;
    font-size: 0.9rem !important;
  }

  .login-card label {
    font-size: 0.8rem !important;
  }

  .login-card h1 {
    font-size: 1.25rem !important;
    margin-bottom: 0.5rem !important;
  }
}

/* Course Sidebar */
.course-sidebar {
  width: 450px;
  min-width: 380px;
  background: #f8fafd;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(25, 40, 56, 0.12);
  padding: 2rem 1.5rem;
  position: absolute;
  top: 0;
  right: 32px;
  z-index: 10;
}

.enroll-btn.secondary.inside {
  background: #12ebd20d;
  border-color: #02f5c9;
  color: #010f18;
  border: 2px solid #02f5c9;
}

.enroll-btn.secondary.inside:hover {
  background: #0ad1c2;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(25, 246, 232, 0.25);
}

.course-video-placeholder {
  position: relative;
  background: #cfd8dc;
  border-radius: 1rem;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.course-video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.mobile-video-placeholder {
  display: none;
  position: relative;
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  overflow: hidden;
  background: #cfd8dc;
}

.mobile-video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-icon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.play-icon-overlay .fa-play {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  padding-left: 0.5rem;
  /* Optical alignment for play icon */
}

.course-includes {
  background: #f6f8fa;
  border-radius: 1.2rem;
  padding: 1.5rem 1.2rem;
  margin-bottom: 1.5rem;
}

.course-includes-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #010f18;
  margin-bottom: 1.2rem;
}

.course-includes-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  color: #010f18;
  font-size: 0.9rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-includes-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
}

.course-includes-list .icon {
  color: rgb(76, 72, 72);
  font-size: 1.15em;
}

.course-instructor-card {
  background: #adebf02e;
  border-radius: 1.5rem;
  padding: 1.5rem 1.2rem;
  margin-top: 1rem;
}

.course-instructor-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #010f18;
  margin-bottom: 1.2rem;
}

.course-instructor-info {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.course-instructor-info img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00ffd1;
  background: #fff;
}

.course-instructor-meta {
  font-weight: 600;
  color: #010f18;
  font-size: 1.18rem;
}

.course-instructor-org {
  color: #465359;
  font-size: 1.08rem;
  font-weight: 600;
  margin-top: 0.1rem;
}

.course-instructor-tags {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.course-instructor-tags span {
  background: #fff;
  border-radius: 0.7rem;
  padding: 0.4rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 8px 0 rgba(25, 40, 56, 0.06);
  border: none;
  color: #465359;
}

.course-instructor-tags .icon {
  color: #ff9800;
  font-size: 1.15em;
}

/*Course-Unlocked-Video-Player */

@media (max-width: 1585px) {
  .course-video-placeholder {
    position: relative;
    background: #cfd8dc;
    border-radius: 1rem;
    width: auto;
    height: 15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
  }
}

.play-icon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.play-icon-overlay .fa-play {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  padding-left: 0.5rem;
}


.course-start-notice {
  margin-bottom: 2rem;
}

.course-start-notice h2 {
  color: #010F18;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  position: relative;
  display: inline-block;
}

/* .course-start-notice h2::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 100%;
            height: 2px;
            background: #02F5C9;
        } */

.course-description-section {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  text-align: justify;
}

.course-description-section h3 {
  color: #010F18;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.course-description-section p {
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* Mobile Resources Content - Duplicate of desktop resources */
.mobile-resources-content {
  display: none;
  padding: 1.5rem;
}

.mobile-resources-content .course-start-notice-mobile {
  margin-bottom: 2rem;
}

.mobile-resources-content .course-start-notice-mobile h2 {
  color: #1f2937;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.mobile-resources-content .course-description-section-mobile {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  text-align: justify;
  margin-bottom: 2rem;
}

.mobile-resources-content .course-description-section-mobile h3 {
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.mobile-resources-content .course-description-section-mobile p {
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.mobile-resources-content .notes-section-mobile {
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.mobile-resources-content .notes-section-mobile h3 {
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.mobile-resources-content .notes-downloads-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-resources-content .download-link-mobile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #02F5C9;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.mobile-resources-content .download-link-mobile:hover {
  color: #0ad1c2;
}

.mobile-resources-content .download-link-mobile i {
  font-size: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 1091px) {
  #outline-content.tab-content {
    display: flex;
    flex-direction: column-reverse;
  }

  .course-outline-sidebar {
    flex: none;
    width: 100%;
    max-height: 400px;
  }

  /* Show mobile tabs inside course outline */
  .mobile-outline-tabs {
    display: block;
  }

  .course-content-main {
    border: none;
    padding: 1rem 1rem;
    margin-bottom: -3rem;
  }

  .course-start-notice {
    display: none;
  }

  .section-divider-resources {
    display: none;
  }

  .course-description-section {
    display: none;
  }

  /* Hide notes section on mobile */
  .notes-section {
    display: none;
  }
}





@media (max-width: 768px) {
  .course-content-container {
    padding: 2rem 1rem;
  }

  .course-tabs-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .course-tab {
    white-space: nowrap;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
  }

  .course-content-main {
    padding: 1.5rem;
    line-height: normal;
  }

  .course-start-notice h2 {
    font-size: 1.3rem;
  }
}

/*Course Outline section divider */
.section-divider {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-bottom: 2rem;
}

.divider-bold {
  width: 120px;
  height: 4px;
  background: #00FFD1;
  border-radius: 2px;
}

.divider-thin {
  flex: 1;
  height: 2px;
  background: #00FFD1;
  opacity: 0.3;
  border-radius: 1px;
}

.divider-thin-assignment {

  height: 2px;
  background: #9CADAD;
  opacity: 0.3;
  border-radius: 1px;
}

/*resources in the right section resource divider */
.section-divider-resources {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-bottom: 2rem;
}

.divider-bold-resources {
  width: 120px;
  height: 4px;
  background: #00FFD1;
  border-radius: 2px;
}

.divider-thin-resources {
  flex: 1;
  height: 2px;
  background: #00FFD1;
  opacity: 0.3;
  border-radius: 1px;
}

.divider-thin-line-bel-desc {
  margin-top: 2rem;
  flex: 1;
  height: 2px;
  background: #292a2a;
  opacity: 0.3;
  border-radius: 1px;
}

/* Navigation Buttons */
.lesson-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.5rem 0 2rem 0;
  padding: 0 0.5rem;
}

.nav-btn {
  background: none;
  border: none;
  color: #465359;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  transition: color 0.2s;
}

.nav-btn:hover {
  color: #02F5C9;
}

.nav-btn:disabled {
  color: #d1d5db;
  cursor: not-allowed;
}

/* Notes Section */
.notes-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.notes-section h3 {
  color: #010F18;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.notes-downloads {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.download-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #11B8FF;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.download-link:hover {
  color: #0ad1c2;
}

.download-link i {
  font-size: 0.875rem;
}

/* Mobile Responsive - video above course outline */
@media (max-width: 1091px) {
  #outline-content.tab-content {
    display: flex;
    flex-direction: column;
  }

  .course-outline-sidebar {
    order: 2;
    flex: none;
    width: 100%;
  }

  .course-outline-header {
    display: none !important;
  }

  .course-content-main {
    order: 1;
    border: none;
    padding: 1rem 1rem;
    margin-bottom: -3rem;
  }

  .course-start-notice {
    display: none;
  }

  .section-divider-resources {
    display: none;
  }

  .course-description-section {
    display: none;
  }

  /* Hide notes section on mobile */
  .notes-section {
    display: none;
  }
}


/* Progress & Rankings Styles - UPDATED */
.progress-rankings-container {
  display: flex;
  gap: 9rem;
  align-items: flex-start;
  width: 100%;
}

.progress-left-column {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.progress-right-column {
  flex: 0 0 350px;
  width: 350px;
}

.section-title {
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.section-divider-progress {
  display: flex;
  align-items: end;
  /* gap: 0.1rem; */
  margin-bottom: 2rem;
}

.divider-bold-progress {
  width: 120px;
  height: 4px;
  background: #02F5C9;
  border-radius: 2px;
}

.divider-thin-progress {
  flex: 1;
  height: 2px;
  background: #02F5C9;
  opacity: 0.3;
  border-radius: 1px;
}

/* Your Stats Section - CORRECTED LAYOUT */
.your-stats-section {
  margin-bottom: 3rem;
}

.stats-row-1 {
  display: grid;
  grid-template-columns: 0.9fr 0.9fr 2fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.stats-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: #12EBD21A;
  border: none;
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 80px;
}

/* For Rank and Streak cards */
.stat-card-small {

  /* For Rank and Streak cards */

  height: min-content;
}

.mylearning-hero-stat-card-progressrank {
  background: #12ebd214;
  color: #18313a;
  border-radius: 0.8rem;
  padding: 0.8rem 1.2rem;
  /* min-width: 140px; */
  box-shadow: 0 2px 8px 0 rgba(25, 246, 232, 0.10);
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1.01rem;
  line-height: normal;
}

.mylearning-hero-stat-label-progressrank {
  color: #49575E;
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.mylearning-hero-stat-percentage-progressrank {
  display: flex;
  width: 120%;
  font-size: 0.9rem;
}

.mylearning-hero-stat-total-time-progressrank {
  color: #465359;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.3rem;
  width: 104%;
  margin-left: 8rem;
  font-size: 0.7rem;
}

.mylearning-hero-stat-rem-time-progressrank {
  color: #49575ebd;
  font-size: 0.7rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.3rem;
  width: 100%;
}

.mylearning-course-progress-bar-progressrank {
  background: #00FFD1 !important;
  height: 100%;
  width: 45%;
  border-radius: 1rem;
}

.mylearning-course-progress-bar-bg-progressrank {
  background: #00ffd039;
  border-radius: 1rem;
  width: 420px;
  height: 8px;
  overflow: hidden;
}



.stat-card-large {
  /* For Learning Progress card */

}

.stat-card-medium {
  /* For Lessons, Quizzes, Assignments, Events cards */
}

.stat-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #010F18;
}

.stat-icon-up {
  color: #10b981;
  font-size: 0.8rem;
}

.stat-icon-down {
  color: #ef4444;
  font-size: 0.8rem;
}

.stat-value {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
}

.stat-value-icon {
  color: #02F5C9;
  font-size: 1rem;
}

.progress-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.total-hours {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 500;
}

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

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #02F5C9;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.remaining-time {
  font-size: 0.8rem;
  color: #9ca3af;
  text-align: right;
}

/* Submitted Assignments Section */
.submitted-assignments-section {
  margin-bottom: 2rem;
}

.assignments-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.assignment-item {
  background: #fff;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.assignment-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.assignment-title {
  color: #010F18;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.download-assignment {
  color: #11B8FF;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.download-assignment:hover {
  color: #0ad1c2;
}

.assignment-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.submission-date {
  color: #465359;
  font-size: 0.85rem;
  background-color: #12EBD21A;
  padding: 2px 10px;
  border-radius: 5px;
}

.points-badge {
  background: #02F5C9;
  color: #465359;
  padding: 2px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Course Leaderboard Section - SCROLLABLE */
.leaderboard-section {
  background: #12EBD208;
  border: 2px solid #02F5C9;
  border-radius: 20px;
  padding: 1.5rem;
  height: 600px;
  display: flex;
  flex-direction: column;
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  flex: 1;
  padding-right: 0.5rem;
}

/* Custom Scrollbar for Leaderboard */
.leaderboard-list::-webkit-scrollbar {
  width: 8px;
}

.leaderboard-list::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.leaderboard-list::-webkit-scrollbar-thumb {
  background: #02F5C9;
  border-radius: 4px;
  border: 1px solid #f1f5f9;
}

.leaderboard-list::-webkit-scrollbar-thumb:hover {
  background: #0ad1c2;
}

/* Firefox scrollbar */
.leaderboard-list {
  scrollbar-width: thin;
  scrollbar-color: #09DDED #D9D9D9;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: #12ebd214;
  border-radius: 15px;

  flex-shrink: 0;
}

.student-avatar {
  position: relative;
  flex-shrink: 0;
}

.student-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.rank-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  border: 2px solid #fff;
}

.rank-1 {
  background: #fbbf24;
  color: #fff;
}

.rank-2 {
  background: #fbbf24;
  color: #fff;
}

.rank-3 {
  background: #fbbf24;
  color: #fff;
}

.rank-4,
.rank-5,
.rank-6,
.rank-7,
.rank-8 {
  background: #fbbf24;
  color: #fff;
}

.student-info {
  flex: 1;
  min-width: 0;
}

.student-name {
  color: #010F18;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.student-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.progress-indicator {
  color: #10b981;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.streak-indicator {
  color: #465359;
  font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 1200px) {
  .progress-rankings-container {
    flex-direction: column;
    gap: 2rem;
  }

  .progress-right-column {
    flex: none;
    width: 100%;
  }

  .stats-row-1 {}

  .stats-row-2 {}

  .stat-card-large {
    grid-column: span 2;
  }
}

@media (max-width:526px) {
  .mylearning-course-progress-bar-bg-progressrank {
    background: #00ffd039;
    border-radius: 1rem;
    width: 370px;
    height: 8px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width:423px) {
  .mylearning-hero-stat-rem-time-progressrank {
    display: flex;
    justify-content: flex-start !important;
  }

  .mylearning-course-progress-bar-bg-progressrank {
    width: 295px !important;
    display: flex;
    flex-wrap: wrap;
  }
}



@media (max-width:373px) {
  .mylearning-course-progress-bar-bg-progressrank {
    width: 250px !important;
    display: flex;
    flex-wrap: wrap;
  }

  .mylearning-hero-stat-total-time-progressrank {
    margin-left: 2rem;
  }


}

@media (max-width:323px) {
  .mylearning-course-progress-bar-bg-progressrank {
    width: 190px !important;
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width:449px) {
  .mylearning-course-progress-bar-bg-progressrank {
    width: 350px;
  }
}

@media (max-width:435px) {
  .mylearning-hero-stat-total-time-progressrank {

    margin-left: 4rem !important;
    font-size: 0.7rem;
  }
}


@media (max-width:429px) {

  /* .mylearning-course-progress-bar-bg-progressrank {
                width: 350px;
            } */
  .mylearning-hero-stat-total-time-progressrank {
    margin-left: 4rem;
  }
}

@media (max-width: 394px) {
  .mylearning-hero-stat-total-time-progressrank {
    margin-left: 1rem !important;
    font-size: 0.6rem;
  }
}

@media (max-width: 768px) {
  .stats-row-2 {
    gap: 0.75rem;
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 721px) {
  .stats-row-1 {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .stats-row-1 {

    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .stats-row-2 {

    gap: 0.75rem;
    display: flex;
    flex-wrap: wrap;
  }

  .stat-card-large {
    grid-column: span 1;
  }

  .assignment-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .assignment-right {
    align-items: flex-start;
    width: 100%;
  }

  .student-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .leaderboard-section {
    height: 400px;
  }
}




/* Mobile Progress & Rankings Container - NEW */
.mobile-progress-container {
  display: none;
  background: #fff;
  border: 2px solid #02F5C9;
  border-radius: 16px;
  margin: 0 1rem;
  overflow: hidden;
}

.mobile-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.mobile-progress-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-progress-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-progress-nav button {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
}

.mobile-progress-nav button:hover {
  color: #02F5C9;
}

.mobile-progress-tabs {
  display: flex;
  border-bottom: 2px solid #e2e8f0;
  background: #fff;
}

.mobile-progress-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  position: relative;
}

.mobile-progress-tab.active {
  color: #010F18;
  border-bottom-color: #02F5C9;
}

.mobile-progress-content {
  padding: 1.5rem;
  background: #fff;
}

.mobile-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mobile-stats-grid-large {
  grid-column: span 2;
}