@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #9F2063;
  --font-primary: 'Montserrat', sans-serif;
}

body, h1, h2, h3, h4, h5, h6, p, span, a, div, button, input, select, textarea {
  font-family: var(--font-primary);
}

p {
  margin-top: 0;
  margin-bottom: 0rem;
}

/* Start of Selection */
a[href]:not(.btn-primary, .btn-secondary, .fe_btn, .start-course, .btn-teacher-primary, .btn-principal-primary) {
  color: #2d9ca9 !important;
}
/* End of Selection */

dl,
ol,
ul {
  margin-top: 0;
  margin-bottom: 0rem;
}

ol,
ul {
  padding-left: 0rem;
}

/* ---------- */
.navbar-tp {
  background: #FFF;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.14);
}

.navbar-items {
  display: flex;
  align-items: center;
  gap: 20px;
}

.john-link {
  display: flex;
  gap: 20px;
  align-items: center;
}

.john-link a:hover svg path {
  stroke: #65318F;
  color: #65318F;
}

.checkpath:hover svg path {
  fill: #65318F;
}

.select2-selection__rendered {
  padding: 10px;
}

/* Style for hover background */
.select2-results__option:hover {
  background-color: #f0f0f0;
 
}
.main-jhon {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-jhon-doe {
  display: flex;
  gap: 26px;
  align-items: center;
}

.main-jhon-doe select {
  border: none;
  appearance: none;
  color: #3B3B3B;
  font-family: Droid Sans;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding: 4px;
}

.dropdown2 button {
  border: none;
  background: transparent;
}

.dropdown-nav button {
  display: flex;
  align-items: center;
  border: none;
  background: transparent;
}

.dropdown-nav button .jh-p {
  color: #3B3B3B;
  font-family: Droid Sans;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.dropdown-nav button .av-p {
  color: #3B3B3B;
  font-family: Droid Sans;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

a:link:not(.btn-primary, .btn-secondary, .fe_btn, .start-course, .btn-teacher-primary, .btn-principal-primary) {
  color: #008ccd;
  text-decoration: none;
}

a:hover {
  color: #00bced;
}

a:action {
  color: #008ccd;
}

/*******************************/
/********* USEFUL PART *********/
/*******************************/
#topBar {
  /* position: fixed; */
  width: 100%;
  padding: 0 15px;
  top: 0;
  left: 0;
  z-index: 1000;
  height: 62px;
  border-radius: 8px;
  background: #FFF;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.14);
  padding: 11px;
}

#topBar ul li {
  position: relative;
  display: inline-block;
}

#topBar a {
  display: inline-block;
  padding: 0px 20px;
  line-height: 1.2rem;
  color: #3B3B3B;
  transition: 0.2s ease-out;
  color: #2C2C2C;
  font-family: var(--font-primary);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}

#topBar a:hover,
#topBar>.navbar-items>li.active {
  border-radius: 4px;
  color: #E9E7FD;
  background: linear-gradient(225deg, #D096FF 0%, #65318F 99.2%);
  box-shadow: -1px 1px 8px 0px rgba(126, 114, 242, 0.58);
}

li:hover .fa-angle-down:before,
li.active .fa-angle-down:before {
  color: #E9E7FD;
}

#topBar>.navbar-items>li:hover svg path,
#topBar>.navbar-items>li.active svg {
  fill: #E9E7FD;
}

#topBar>.navbar-items>li:hover>a span,
#topBar>.navbar-items>li.active>a span {
  color: #E9E7FD;
}

#topBar>.navbar-items>li:active svg path,
#topBar>.navbar-items>li:hover svg rect,
#topBar>.navbar-items>li:hover svg circle,
#topBar>.navbar-items>li.active svg path {
  fill: #E9E7FD;
}

#topBar>.navbar-items>li:hover svg.ai-tools circle #topBar>.navbar-items>li.active svg.ai-tools circle {
  fill: white;

}

ul.subMenu {
  box-sizing: border-box;
  position: absolute;
  top: 100%;
  left: 0;
  width: 170%;
  border-radius: 4px;
  background: #FFF;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.14);
  padding-left: 0;
  opacity: 1;
  z-index: 1;
  display: none;
  max-height: 0;
  transition: max-height 0.3s ease;
}

li.active>ul.subMenu {
  max-height: fit-content;
  transition: max-height 0.3s ease;
  display: block !important;
  min-width: 200px;
  width: fit-content;
}

li.active:last-child>ul.subMenu,
li.active:nth-child(8)>ul.subMenu {
  right: 0;
  left: unset;
}

ul.subMenu li {
  width: 100%;
  border-radius: 4px;
  background: #FFF;
  color: #2C2C2C;
  font-family: Droid Sans;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 40px;
  /* 285.714% */
}

#topBar ul.subMenu li a {
  width: 100%;
  padding: 0rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  /* white-space: nowrap; */
}

#topBar ul.subMenu li a:hover,
#topBar ul.subMenu li.active>a {
  background: #F2F4F4;
  color: black;
  padding-left: 1.1rem;
}

ul.subMenu ul.subMenu {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
}

.responsive-nav {
  margin-top: 26px;
  padding: 6px 8px;
  border-radius: 4.667px;
  background: #FFF;
  box-shadow: 0px 1.167px 4.667px 0px rgba(0, 0, 0, 0.14);
  display: none;
  gap: 50px;
}

.responsive-nav .bash-mob {
  display: flex;
  gap: 5px;
  align-items: center;
  border-radius: 2.392px;
  background: linear-gradient(225deg, #D096FF 0%, #65318F 99.2%);
  box-shadow: -0.598px 0.598px 4.784px 0px rgba(126, 114, 242, 0.58);
  color: #E9E7FD;
  font-family: Droid Sans;
  font-size: 9.739px;
  font-style: normal;
  font-weight: 400;
  line-height: 16.286px;
  width: fit-content;
  padding: 5px;
}

/*search-bar-icons  */
.search-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.secrh-input {
  position: absolute;
  right: 22px;
  transition: clip-path 0.9s ease;
  clip-path: polygon(100% 0, 100% 100%, 100% 100%, 100% 0);
}

.secrh-input input {
  border-radius: 6px;
  border: 1.201px solid var(--Gray-300, #73777c);
  background: var(--White, #FFF);
  box-shadow: 0px 1.201px 2.402px 0px rgba(9, 15, 29, 0.05);
  padding: 3px 5px 3px 10px;
  font-family: "Droid Sans";
  font-size: 12.213px;
  font-style: normal;
  font-weight: 400;
  line-height: 20.82px;
}

.secrh-input input::placeholder {
  color: #565660;
  /* 150% */
}

.secrh-input.show {
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0);
}

.search-icon.active .secrh-input {
  display: flex;
}

.search-icon button {
  background: transparent;
  border: none;
}

/*============== char--css=========== */
.chart-wrapper {
  /* width: 100%; */
  height: 100%;
  /* background-color: #0d0d0d; */
  /* position: absolute; */
}

.chart-wrapper path {
  /* stroke: #0d0d0d; */
  /* stroke-width: 5px; */
  cursor: pointer;
  transition: fill 250ms;
}

.chart-wrapper path:hover {
  /* stroke-width: 10px; */
  fill: #fff;
}



.chart-wrapper polyline {
  fill: none;
  stroke: #fff;
  stroke-width: 2px;
  stroke-dasharray: 5px;
}


/* chart-css-close */

#nav-toggler {
  color: blueviolet;
}

@media screen and (max-width: 1572px) {
  #topBar a {
    padding: 0 10px;
    gap: 6px;
  }

  .navbar-items {
    justify-content: space-between;
  }

  li.active:nth-child(7)>ul.subMenu li:nth-child(3) ul.subMenu,
  li.active:nth-child(7)>ul.subMenu li:nth-child(4) ul.subMenu,
  li.active:nth-child(8)>ul.subMenu li:nth-child(3) ul.subMenu,
  li.active:nth-child(8)>ul.subMenu li:nth-child(4) ul.subMenu {

    left: -100%;
  }
}

@media screen and (max-width: 1400px) {
  #topBar a {
    padding: 0 5px;
    gap: 6px;
  }

  .navbar-items {
    gap: 14px;
  }
}

@media screen and (max-width: 1200px) {
  #topBar a {
    gap: 5px;
    font-size: 12px;
  }

  .navbar-items li a svg {
    width: 12px;
  }

  .workshop-icon {
    width: 17px !important;
  }

  li.active:nth-child(6)>ul.subMenu li:nth-child(3) ul.subMenu,
  li.active:nth-child(6)>ul.subMenu li:nth-child(4) ul.subMenu {
    left: -100%;
  }
}

@media screen and (max-width: 992px) {
  .navbar-items a span {
    display: none;
  }

  .workshop-icon {
    width: 24px !important;
    height: 24px;
  }

  .navbar-items li a svg {
    width: 24px;
  }

  .navbar-items {
    gap: 17px;
    justify-content: space-between;
  }

  #topBar a {
    padding: 7px 10px;
  }

  li.active>ul.subMenu {
    min-width: 174px;
  }
}

@media screen and (max-width: 768px) {
  .navbar-items li a svg {
    width: 14px;
    height: 14px;
  }

  .navbar-items {
    gap: 8px;
  }

  li.active:nth-child(7)>ul.subMenu {
    right: 0;
    left: unset;
  }

  #topBar {
    height: fit-content;
  }

  .workshop-icon {
    width: 18px !important;
    height: 18px !important;
  }

  li.active:nth-child(5)>ul.subMenu li:nth-child(3) ul.subMenu,
  li.active:nth-child(5)>ul.subMenu li:nth-child(4) ul.subMenu {
    left: -100%;
  }
}

@media screen and (max-width: 550px) {
  .responsive-nav {
    display: flex;
  }

  .navbar-items {
    width: 100%;
    max-width: 185px;
    flex-direction: column;
    align-items: flex-start;
  }

  /* #topBar{
    clip-path: polygon(0 0, 0 100%, 0 100%, 0 0);
    transition: clip-path .7s ease;
  }
  #topBar.show{
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0);
  } */
  #topBar {
    clip-path: polygon(0 0, 100% 0%, 100% 0, 0 0);
    transition: clip-path .7s ease;
  }

  #topBar.show {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);

  }

  #topBar {
    height: fit-content;
    position: absolute;
    top: -16px;
    width: 95%;
    margin: 0 10px;
  }

  ul.subMenu ul.subMenu {
    position: absolute;
    top: 43px;
    left: 0;
  }

  .navbar-items a span {
    display: block;
    line-height: normal;
  }

  .dropdown-nav button .jh-p {
    font-size: 12px;
    white-space: nowrap;
  }

  li.active:last-child>ul.subMenu,
  li.active:nth-child(7)>ul.subMenu,
  li.active:nth-child(8)>ul.subMenu {
    right: unset;
    left: 0;
  }

  li.active:last-child>ul.subMenu,
  li.active:nth-child(7)>ul.subMenu,
  li.active:nth-child(8)>ul.subMenu {
    top: unset;
    bottom: 0;
  }

  li.active:nth-child(5)>ul.subMenu li:nth-child(3) ul.subMenu,
  li.active:nth-child(5)>ul.subMenu li:nth-child(4) ul.subMenu,
  li.active:nth-child(6)>ul.subMenu li:nth-child(3) ul.subMenu,
  li.active:nth-child(6)>ul.subMenu li:nth-child(4) ul.subMenu,
  li.active:nth-child(7)>ul.subMenu li:nth-child(3) ul.subMenu,
  li.active:nth-child(7)>ul.subMenu li:nth-child(4) ul.subMenu,
  li.active:nth-child(8)>ul.subMenu li:nth-child(3) ul.subMenu,
  li.active:nth-child(8)>ul.subMenu li:nth-child(4) ul.subMenu {
    left: 0%;
  }

  .navbar-items {
    gap: 20px;
  }

  /* .workshop-icon{
  width:18px !important;
  height: 18px !important;
    } */
  .workshop-icon,
  .navbar-items li a svg {
    width: unset !important;
    height: unset !important;
  }
}

@media screen and (max-width: 420px) {
  .main-jhon-doe {
    display: flex;
    gap: 6px;
  }
}

@media screen and (max-width: 375px) {

  .main-jhon-doe {

    gap: 0px;
  }
}
/*  Lujain Added these */
.ellips-img img{
  border-radius: 50%;
  width:150px;
  height:150x;
  border: 2px solid #65318F;
  
}

.expert-card1 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

 
.expert-card1.show {
    opacity: 1 !important;
    transform: translateY(0);
}

      /* Spinner style */
        #spinner {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgb(255, 255, 255);
            z-index: 9999;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        #spinner .loader {
            border: 16px solid #f3f3f3; /* Light grey */
            border-top: 16px solid #a41a5e; /* Blue */
            border-radius: 50%;
            width: 120px;
            height: 120px;
            animation: spin 2s linear infinite;
        }

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

  .course-card {
            position: relative;
            overflow: hidden;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            margin-bottom: 30px;
            background-color: #fff;
        }

        .course-card:hover {
            transform: translateY(0px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        }

        .course-card img {
            transition: transform 0.3s ease;
            width: 100%;
            /* height: 200px;  */
            object-fit: cover;
        }

        .course-card:hover img {
            transform: scale(1.1);
        }

        .course-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(45, 156, 169, 0.9), rgba(123, 179, 43, 0.7));
            color: white;
            padding: 20px;
            transition: transform 0.3s ease;
        }

        .course-card:hover .course-overlay {
            transform: translateY(0px);
        }

        .course-title {
            font-size: 1rem;
            font-weight: bold;
            margin-bottom: 10px;
            color: white;
            text-transform: none;
            font-family: var(--font-primary);
        }

        .course-info {
            font-size: 0.9rem;
            margin-bottom: 15px;
            color: white;
            font-family: var(--font-primary);
        }

        .progress {
            height: 6px;
            margin-bottom: 15px;
            background-color: rgba(255, 255, 255, 0.3);
        }

        .progress-bar {
            background-color: #ffffff;
        }

        .course-status {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-family: var(--font-primary);
        }

        .start-course {
            color: white;
            text-decoration: none;
            font-weight: bold;
            transition: transform 0.3s ease;
            display: inline-flex;
            align-items: center;
            color: white !important;
            font-family: var(--font-primary);
        }

        .start-course:hover {
            transform: translateX(5px);
        }

        .start-course i {
            margin-left: 5px;
            color:white;
        }

        .completed-ribbon {
            position: absolute;
            top: 15px;
            right: -35px;
            transform: rotate(45deg);
            background-color: #28a745;
            color: white;
            padding: 5px 40px;
            font-size: 0.8rem;
            font-weight: bold;
            font-family: var(--font-primary);
        }
         .locked-ribbon {
            position: absolute;
            top: 15px;
            right: -35px;
            transform: rotate(45deg);
            background-color: #dc3545;
            color: white;
            padding: 5px 40px;
            font-size: 0.8rem;
            font-weight: bold;
            z-index: 2;
            font-family: var(--font-primary);
        }

        .list-view .course-card {
            display: flex;
            flex-direction: row;
            height: 200px;
        }

        .list-view .course-card img {
            width: 35%;
            height: 100%;
        }

        .list-view .course-overlay {
            position: relative;
            width: 65%;
        }

        .default-main {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .search-bar {
            display: flex;
            align-items: center;
        }

        .search-bar input {
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px 0 0 5px;
        }

        .search-bar button {
            padding: 10px;
            background-color: #700877;
            border: none;
            border-radius: 0 5px 5px 0;
        }

        .select-coursr, .filter-drop {
            position: relative;
        }

        .custom_select {
            cursor: pointer;
        }

        .select_title {
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .select_menu {
            display: none;
            position: absolute;
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 5px;
            list-style-type: none;
            padding: 0;
            margin: 0;
            z-index: 1;
        }

        .select_menu li {
            padding: 10px;
            cursor: pointer;
        }

        .select_menu li:hover {
            background-color: #f0f0f0;
        }

        .filter-drop button {
            background: none;
            border: none;
        }

        .view-toggle {
            display: flex;
            align-items: center;
        }
    .view-toggle button.active i {
         
            color: #700877;
        
        }
        .view-toggle button {
            background: none;
            border: none;
            font-size: 1.5rem;
            color: #700877;
            margin-left: 10px;
            cursor: pointer;
        }

        @media (max-width: 767px) {
            .course-card {
                margin-bottom: 20px;
            }
            .course-title {
                font-size: 1.1rem;
            }
            .course-info {
                font-size: 0.85rem;
            }
            .course-overlay {
                padding: 15px;
            }
            .list-view .course-card {
                flex-direction: column;
                height: auto;
            }
            .list-view .course-card img {
                width: 100%;
                height: 200px;
            }
            .list-view .course-overlay {
                width: 100%;
            }
            .default-main {
                flex-wrap: wrap;
            }
            .search-bar, .select-coursr, .filter-drop, .view-toggle {
                margin-bottom: 10px;
            }
        }
         .course-info span,.course-info span i, .course-status span{
            color:white;
            font-size: 14.5px;
        }

/* Lujain Added this  */
.custom-card {
  border: none;
  border-radius: 15px;
  transition: all 0.3s ease;
  background-color: #ffffff;
  overflow: hidden;
}
.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(159, 32, 99, 0.1);
}
.custom-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid var(--primary-color);
}
.custom-title {
  color: var(--primary-color);
  font-weight: bold;
}
.custom-text {
  color: #6c757d;
}
.custom-btn {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transition: all 0.3s ease;
}
.custom-btn:hover {
  background-color: #7a1a4d;
  border-color: #7a1a4d;
  transform: translateY(-2px);
}

.progress-value {
    position: relative;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    font-family: var(--font-primary);
}

/* Top cards styling */
.congratulation-card {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2D9CA9 0%, #7BB32B 100%);
    color: #fff;
    padding: 36px 24px;
    box-shadow: 0 6px 32px rgba(45, 156, 169, 0.10);
}

.demo-dash {
    padding: 20px 15px;
    height: 100%;
}

.demo-dash > div:first-child {
    margin-bottom: 10px;
}

.demo-dash > div:first-child p {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 0;
}

.demo-dash .progress-circle-container {
    margin: 15px auto;
}

/* Style for the progress circles */
.progress-circle {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.progress-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/* Points-specific styling */
.points-dash .progress-circle {
    background: linear-gradient(135deg, #65318F 0%, #9F2063 100%) !important;
}

.points-dash .progress-value {
    color: white;
    font-size: 28px;
}

/* Make the circles consistent size */
.progress-circle {
    width: 100px !important;
    height: 100px !important;
}

.progress-circle::before {
    width: 80px !important;
    height: 80px !important;
}

@media (max-width: 767px) {
    .progress-circle {
        width: 80px !important;
        height: 80px !important;
    }
    
    .progress-circle::before {
        width: 64px !important;
        height: 64px !important;
    }
}

/* Make cards the same height */
.col-lg-6 .demo-dash {
    min-height: 220px;
}

/* Leaf progress styling */
.leaf-container {
    position: relative;
    width: 120px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.leaf-progress {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.leaf-progress:hover {
    transform: scale(1.05);
}

.leaf-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.1));
}

.leaf-bg {
    fill: #f5f5f5;
    stroke: #ddd;
    stroke-width: 1;
}

.leaf-fill {
    fill: url(#leafGradient);
    stroke: none;
    clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
    transition: clip-path 1s ease-in-out;
}

.points-value {
    position: absolute;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    font-family: var(--font-primary);
    z-index: 2;
    bottom: 60px;
}

/* Point levels for leaf fill */
[data-points="0"] .leaf-fill {
    clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
}

[data-points="1"] .leaf-fill {
    clip-path: polygon(0% 90%, 100% 90%, 100% 100%, 0% 100%);
}

[data-points="2"] .leaf-fill {
    clip-path: polygon(0% 80%, 100% 80%, 100% 100%, 0% 100%);
}

[data-points="3"] .leaf-fill {
    clip-path: polygon(0% 70%, 100% 70%, 100% 100%, 0% 100%);
}

[data-points="4"] .leaf-fill {
    clip-path: polygon(0% 60%, 100% 60%, 100% 100%, 0% 100%);
}

[data-points="5"] .leaf-fill {
    clip-path: polygon(0% 50%, 100% 50%, 100% 100%, 0% 100%);
}

[data-points="6"] .leaf-fill {
    clip-path: polygon(0% 40%, 100% 40%, 100% 100%, 0% 100%);
}

[data-points="7"] .leaf-fill {
    clip-path: polygon(0% 30%, 100% 30%, 100% 100%, 0% 100%);
}

[data-points="8"] .leaf-fill {
    clip-path: polygon(0% 20%, 100% 20%, 100% 100%, 0% 100%);
}

[data-points="9"] .leaf-fill, 
[data-points="10"] .leaf-fill {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* Add text below points value */
.points-label {
    position: absolute;
    bottom: 40px;
    font-size: 14px;
    color: #666;
    font-family: var(--font-primary);
}

/* Make the circles consistent size */
.progress-circle {
    width: 100px !important;
    height: 100px !important;
}

@media (max-width: 767px) {
    .leaf-container {
        width: 100px;
        height: 130px;
    }
    
    .points-value {
        font-size: 20px;
        bottom: 50px;
    }
    
    .points-label {
        font-size: 12px;
        bottom: 35px;
    }
}

@media (max-width: 575px) {
    .leaf-container {
        width: 90px;
        height: 120px;
    }
    
    .points-value {
        font-size: 18px;
        bottom: 45px;
    }
    
    .points-label {
        font-size: 11px;
        bottom: 30px;
    }
}

/* Add tooltip for points */
.leaf-container {
    position: relative;
}

.points-tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    width: 150px;
    text-align: center;
    z-index: 1000;
}

.points-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.7) transparent transparent transparent;
}

.leaf-container:hover .points-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Navigation icons styling */
.nav-icon {
    font-size: 18px;
    color: #333;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f5f5f5;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-icon:hover {
    background-color: #e9e9e9;
    color: #7bb32b;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-decoration: none;
}

.nav-icon:active {
    transform: translateY(0);
}

/* Make sure the home icon gets a slightly different color on hover */
.nav-icon.me-3:hover {
    color: #2d9ca9;
}

/* Global Button Styles */
button,
.btn,
input[type="submit"],
input[type="button"] {
    border-radius: 12px !important;
}

/* Ensure specific buttons also get the radius */
.start-course,
.custom-btn,
.game-btn,
.student-login-button,
.fe_btn, .fe_btn_navigation, .fe_btn_navigation_next, .fe_btn_navigation_prev {
    border-radius: 12px !important;
}
/* Start of Selection */
.wpcw_fe_progress_box_success{
    background-color: #a8d95a !important;
    color: #2c5a0f !important;
    border: 1px solid #8bc34a !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(123, 179, 43, 0.2);
}
/* End of Selection */