/*This css file added academy version 5.4*/

@font-face {
    font-family: 'Kommon Grotesk Normal' !important;
    src: url('../fonts/KommonGrotesk-Normal.ttf') format('truetype') !important; /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3â€”5 */
}  

a{
    text-decoration: none;
}

.cropped-home-banner{
    position: absolute;
    width: 0px;
    height: 0px;
    top: 0;
    border-left: 0px solid #f1f7f800;
    border-right: 70px solid #13d76203;
}


@media only screen and (max-width: 766px){
    .cropped-home-banner{
        display: none;
    }
    .home-banner-area{
        background: none !important;
        padding: 80px 0 75px !important;
    }
    .home-banner-wrap{
        max-width: 100% !important;
        text-align: center;
    }
}
.bg-background{
    background: #f1f7f8;
}
.bg-transparent{
    background: #00000000 !important;
}
.top-categories{
    width: 100%;
    min-height: 90px;
    background-color: #f5f9fa;
    padding: 20px 15px;
    display: inline-flex;
    border: 1px solid #cccdcd;
    border-radius: 10px;
    text-decoration: none;
}
.top-categories:hover, .top-categories:focus{
    background-color: #36ad47;
    border: 1px solid #36ad47;
}
.category-icon{
    width: 36px;
    height: 36px;
    background-color: #fff;
    border-radius: 5px;
    text-align: center;
    line-height: 36px;
    margin-top: 7px;
    font-size: 20px;
    position: absolute;
}
.top-categories:hover .category-icon, .top-categories:focus .category-icon{
    background-color: #f5f9fa;
    color: #000;
}
.category-title{
    padding-left: 50px;
    font-weight: 600;
}
.top-categories:hover .category-title, .top-categories:focus .category-title{
    color: #fff;
}
.category-title p{
    color: #b4b4b4;
    font-size: 14px;
    font-weight: 400 !important;
    margin-top: 2px;
    margin-bottom: 1px;
}
.top-categories:hover .category-title p, .top-categories:focus .category-title p{
    color: #efdcdc;
}
.divider-1{
    background-color: #b8c3c5;
    margin-left: -15px;
    margin-right: -10px;
    margin-top: 12px;
    margin-bottom: 6px;
}
.compare-row{
    margin-top: 25px;
    background-color: #fff;
    border: 1px solid #f1f7f8;
    border-radius: 10px;
    padding: 28px 10px;
}
.brn-compare-sm{
    border: 1px solid #5ca1b4;
    color: #5d5d1c;
    background: #fff;
    font-size: 11px;
    border-radius: 6px;
    padding: 2.5px 8px 2.5px 8px;
}
.brn-compare-sm:hover, .brn-compare-sm:focus{
    border: 1px solid #5ca1b4;
    color: #fff;
    background: #5ca1b4;
    font-size: 11px;
    border-radius: 6px;
    padding: 2.5px 8px 2.5px 8px;
}
.badge-sub-warning{
    background-color: #eceb98 !important;
    color: #3c3c2d !important;
    padding: 5px 10px 5px 10px;
    border-radius: 6px;
}
.floating-user{
    width: auto;
    height: 30px;
}
.floating-user img{
    border-radius: 15px;
    position: absolute;
}
.floating-user img:hover, .floating-user img:focus{
    z-index: 999;
}
.become-user-label{
    background-color: #36ad47;
    color: white;
    padding: 50px 15px;
    border-radius: 10px;
}
.become-user-label a{
    border: none;
    background-color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 5px;
    color: #626262;
    text-decoration: none;
}
.become-user-label a:hover{
    box-shadow: 0px 3px 31px 1px #b44b4b;
}
.text-sub-warning{
    color: #eceb98 !important;
}
.badge-sub-warning{
    background-color: #eceb98 !important;
    color: #5c5c4c !important;
    padding: 6px 15px 6px 15px;
    border-radius: 6px;
}
.footer-hover-link{
    text-decoration: none;
    font-size: 14px;
}
.footer-hover-link:hover{
    color: #000000 !important;
    text-shadow: 0px 0px 10px #d8d8d8;
}

.language_selector{
    border-radius: 5px;
    padding: 2px 10px;
    font-size: 14px;
    background: #f1f7f8;
    border-color: #b1b1b1;
}
ul.footer-social-link{
    list-style: none;
    padding-left: 0px;
    height: 60px;
    padding-top: 15px;
}
ul.footer-social-link li{
    float: left;
    background-color: #36ad47;
    color: #fff;
    margin: 0px 15px 0px 0px;
    border-radius: 50%;
    height: 37px;
    width: 37px;
    line-height: 37px;
    text-align: center;
    box-shadow: 0px 2px 13px 2px #e0e0e0;
}
ul.footer-social-link li a{
    display: block;
    color: #fff;
    font-size: 15px;
}
ul.footer-social-link li a:hover{
    color: #ddd;
}
section.featured-instructor{
    background: white;
    padding: 35px 0px;
}
.top-instructor-img{
    max-width: 250px;
}
.top-instructor-img img{
    border-radius: 12px;
}
.top-instructor-details{
    padding: 0px 22px;
}
p.top-instructor-arrow span{
    background-color: #000;
    color: #e9e9e9;
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    font-size: 16px;
}
p.top-instructor-arrow span i{
    line-height: 30px;
}
.slick-list.draggable{
    border-radius: 10px;
}
.hover-shadow-1:hover{
    box-shadow: 0px 0px 5px 0px #9090902e !important;
}


.image-placeholder-1{
    position: absolute;
    width: 100%;
    height: 100% !important;
    background: linear-gradient(91deg, rgb(0 0 0 / 24%) 0%, rgba(0,35,51,0) 100%) !important;
}
.image-placeholder-2{
    position: absolute;
    width: 100%;
    height: 100% !important;
    background: linear-gradient(91deg, rgb(0 0 0 / 50%) 0%, rgb(0 0 0 / 50%) 100%) !important;}
}

.compare-row{
    margin-top: 25px;
    background-color: #fff;
    border: 1px solid #f1f7f8;
    border-radius: 10px;
    padding: 28px 10px;
}
.compare-row-icon{
    height: 26px;
    width: 26px;
    line-height: 26px;
    background: #444;
    border-radius: 5px;
    font-size: 13px;
    color: #fff;
    text-align: center;
}
.skill-level-icon{
    width: 24px;
    height: 24px;
    background-color: transparent;
}
.skill-level-icon span{
    background-color: #dcdee1;
    margin-left: 1.5px;
    margin-right: 1.5px;
    float: left;
}
.skill-level-icon .active{
    background-color: #36ad47;
}
.skill-level-icon span:first-of-type{
    width: 5px;
    height: 8px;
    margin-top: 16px;
}
.skill-level-icon span:nth-of-type(2n){
    width: 5px;
    height: 16px;
    margin-top: 8px;
}
.skill-level-icon span:last-of-type{
    width: 5px;
    height: 24px;
}

.marge-input-box input{
    border-radius: 10px 0px 0px 10px;
    border-right: 0px;
    font-size: 13px;
}

.marge-input-box .input-group-append{
    border: 1px solid #cccfe7;
    border-radius: 0px 10px 10px 0px;
    border-left: none !important;
}
.marge-input-box button{
    background: #36ad47;
    color: #fff;
    font-weight: 500;
    margin: 5px;
    font-size: 13px;
    border-radius: 8px;
}
.marge-input-box button:hover{
    background: #cd4f4f;
    color: #fff;
}








/*Signup & sign in page login*/
.sign-up-form{
    background: #fff;
    padding: 35px 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px -1px #ebebeb;
}
.sign-up-form .form-group{ margin-bottom: 15px; }
.sign-up-form .form-group label{
    color: #5c5c5c;
    font-weight: 600;
}
.sign-up-form .form-group .input-group span{
    border-right: none;
    padding: 12px 8px 12px 15px;
    border-radius: 10px;
    color: #878787;
    font-size: 15px;
    font-weight: 500;
}
.sign-up-form .form-group .input-group input{
    border-left: none;
    padding: 12px 5px;
    border-radius: 10px;
    color: #878787;
    font-size: 13px;
    font-weight: 500;
}
/*End Signup & sign in page login*/




/*used on Home page*/
.animated-loader{
    width: 100px;
    height: 100px;
    line-height: 100px;
    padding: 0px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.common-search-box{
    margin-right: 50px;
    padding: 0px 0;
}
.common-search-box input{
    background-color: hsl(192deg 33% 97%);
    border: 1px solid hsl(192deg 33% 97%);
    height: 40px;
    padding: 0 15px;
    border-radius: 5px 0 0 5px;
    font-size: 13px;
}
.common-search-box input:focus{
    background-color: #fff;
    border-color: #dedfe0;
    border-right-color: transparent;
}
.common-search-box input:focus + .input-group-button{
    background-color: #fff !important;
    border-top: 1px solid #dedfe0 !important;
    border-right: 1px solid #dedfe0 !important;
    border-bottom: 1px solid #dedfe0 !important;
    padding: 5px 9px 5px 10px !important;
}
.common-search-box button{
    background-color: #36ad47 !important;
    border-color: #36ad47;
    color: #fff;
    padding: 1px 6px;
    border-radius: 6px;
}
.common-search-box button:hover{
    color: #efefef;
}
.common-search-box .input-group-button {
    background-color: hsl(192deg 33% 97%);
    padding: 6px 10px 6px 10px;
    border-radius: 0px 5px 5px 0px;
}

/*Custom print content*/
    @media print{
        .print-content{
            position: fixed !important;
            margin: 0 !important;
            top: 0 !important;
            bottom: 0 !important;
            left: 0 !important;
            right: 0!important;
            z-index: 3333 !important;
            width: 100% !important;
            background: #fff !important;
        }
        footer, nav, title{
            display: none !important    ;
        }
        body{
            overflow: hidden !important ;
        }
    }
/*End Custom print content*/





/*BLOG start*/
    .blog-search-input{
        height: 42px;
        background-color: #f1f7f8;
        border-bottom: 1px solid #cdcdcd;
        border-top: none;
        border-left: none;
        border-right: none;
        border-radius: 0px;
    }
    .blog-search-button{
        display: none;
        padding: 0px 20px;
        border: none;
        border-bottom: 1px solid #cdcdcd;
        background-color: #fff;
    }
    .ellipsis-line-2{
        display: -webkit-box!important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
    }
    .ellipsis-line-3{
        display: -webkit-box!important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: normal !important;
    }
/*End Blog*/

/*CART CSS*/
.fade:not(.show) {
  opacity: 0;
}

.gbemodal-sidebar .gbemodal-content {
    margin-top: 50px !important;
}
#cartModal {
    direction: rtl;
}

.h5, h5 {
    line-height: 1.5;
}

@media (max-width: 767.98px){
.h5, h5 {
    font-size: 0.9rem;
}
}

.w-100 {
    width: 100%!important;
}

@media (min-width: 768px){
.mb-md-0 {
    margin-bottom: 0!important;
}}
@media (min-width: 768px){
.d-md-inline-block {
    display: inline-block!important;
}
}
.mb-4 {
    margin-bottom: 1rem!important;
}
.btn-sm-wide, .btn-x-wide {
    min-width: 11.25rem;
}



.gbemodal {
  display: none;
  height: 100%;
  outline: 0;
  overflow-x: hidden;
  overflow-y: auto;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1055;
}
.fade {
  transition: opacity 0.15s linear;
}

.gbemodal-backdrop.show {
  opacity: 0.8;
}
.gbemodal-backdrop.fade {
  opacity: 0;
}
.gbemodal-backdrop {
  background-color: #161c2d;
  height: 100vh;
  position: fixed;
  right: 0;
  top: 0;
  width: 100vw;
  z-index: 1050;
}

.gbemodal-sidebar.right .gbemodal-dialog {
  margin-left: auto;
  margin-right: 0;
}
.gbemodal.show .gbemodal-dialog {
  transform: none;
}
.gbemodal.fade .gbemodal-dialog {
  transform: translateY(-50px);
  transition: transform 0.3s ease-out;
}
.gbemodal-sidebar .gbemodal-dialog {
  display: flex;
  height: 100vh;
  margin-bottom: 0;
  margin-top: 0;
  max-width: 300px;
}


@media (min-width: 768px) {
  .gbemodal-sidebar .gbemodal-dialog {
    max-width: 460px;
  }
}

@media (min-width: 576px) {
  .gbemodal-dialog {
    margin: 1.75rem auto;
    max-width: 500px;
  }
}
.gbemodal-dialog {
  margin: 0.5rem;
  pointer-events: none;
  position: relative;
  width: auto;
}
.gbemodal-content {
  background-clip: padding-box;
  background-color: #fff;
  border: 1px solid rgba(22, 28, 45, 0.2);
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  outline: 0;
  pointer-events: auto;
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {
  .gbemodal-sidebar .gbemodal-content {
    padding: 2.75rem 2.5rem;
  }
}
.gbemodal-sidebar .gbemodal-content {
  border-radius: 0;
  border-width: 0;
  box-shadow: none;
  padding: 1.75rem 1.5rem;
}

.gbemodal-sidebar .gbemodal-body,
.gbemodal-sidebar .gbemodal-header {
  padding: 0;
}
.gbemodal-sidebar .gbemodal-header {
  border-width: 0;
  margin-bottom: 2.5rem;
}
.gbemodal-header {
  align-items: center;
  border-bottom: 1px solid #e7e7ec;
  border-top-left-radius: calc(0.5rem - 1px);
  border-top-right-radius: calc(0.5rem - 1px);
  display: flex;
  flex-shrink: 0;
  justify-content: space-between;
  padding: 2.5rem;
}

.gbemodal-sidebar .gbemodal-body,
.gbemodal-sidebar .gbemodal-header {
  padding: 0;
}

.gbemodal-body {
  flex: 1 1 auto;
  padding: 2.5rem;
  position: relative;
}
.gbemodal-title {
  line-height: 1.6;
  margin-bottom: 0;
}

.gbemodal-sidebar .close {
  opacity: 1;
}
.gbemodal-header .close {
  margin: -1rem auto -1rem -1rem;
  padding: 1rem;
}
.btn:not([class*='btn-outline']) {
  border-color: transparent !important;
}
[type='button']:not(:disabled),
[type='reset']:not(:disabled),
[type='submit']:not(:disabled),
button:not(:disabled) {
  cursor: pointer;
}
button.close {
  background-color: transparent;
  border: 0;
  padding: 0;
}
.w-26px {
  width: 26px;
}
img,
svg {
  vertical-align: middle;
}

.card {
  position: relative;
  transition: all 0.3s ease;
  width: 100%;
}
.card {
  word-wrap: break-word;
  background-clip: border-box;
  background-color: #fff;
  border: 0 solid #e7e7ec;
  border-radius: 0.375rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

@media (min-width: 768px) {
  .d-md-flex {
    display: flex !important;
  }
}
.justify-content-center {
  justify-content: center !important;
}

.card > .list-group:last-child {
  border-bottom-left-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
  border-bottom-width: 0;
}

.card > .list-group:first-child {
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
  border-top-width: 0;
}
.card > .list-group {
  border-bottom: inherit;
  border-top: inherit;
}
.mb-5 {
  margin-bottom: 1.5rem !important;
}
.list-group-flush {
  border-radius: 0;
}
.list-group {
  border-radius: 0.375rem;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  padding-right: 0;
}

.list-group-flush .list-group-item:last-child {
  border-bottom: 0;
  padding-bottom: 0 !important;
}
.list-group-flush .list-group-item:first-child {
  border-top: 0;
  padding-top: 0 !important;
}
.list-group-flush > .list-group-item:last-child {
  border-bottom-width: 0;
}
.list-group-flush .list-group-item {
  padding-left: 0;
  padding-right: 0;
}
.list-group-flush > .list-group-item {
  border-width: 0 0 1px;
}
.list-group-item:last-child {
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
}
.list-group-item:first-child {
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}
.py-0 {
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}
.border-0 {
  border: 0 !important;
}
.list-group-item {
  background-color: #fff;
  border: 1px solid #e7e7ec;
  color: #2f2d51;
  display: block;
  padding: 1.5rem 2rem;
  position: relative;
}

.mb-5 {
  margin-bottom: 1.5rem !important;
}
.justify-content-between {
  justify-content: space-between !important;
}
.d-flex {
  display: flex !important;
}
.h-60p {
  height: 60px;
}

.w-60p {
  width: 60px;
}
.rounded {
  border-radius: 0.375rem !important;
}

.d-flex {
  display: flex !important;
}
.overflow-hidden {
  overflow: hidden !important;
}
.h-100 {
  height: 100% !important;
}
.m-auto {
  margin: auto !important;
}
.ms-4 {
  margin-right: 1rem !important;
}
.mt-1 {
  margin-top: 0.25rem !important;
}
.flex-grow-1 {
  flex-grow: 1 !important;
}

.text-muted {
  --bs-text-opacity: 1;
  color: #8c98a4 !important;
}
.mt-1 {
  margin-top: 0.25rem !important;
}
.d-block {
  display: block !important;
}

.btn:not([class*='btn-outline']) {
  border-color: transparent !important;
}
[type='button']:not(:disabled),
[type='reset']:not(:disabled),
[type='submit']:not(:disabled),
button:not(:disabled) {
  cursor: pointer;
}
.btn {
  transition: all 0.5s ease;
}
.fw-bold {
  font-weight: 700 !important;
}

.px-0 {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
}

.count-badge {
  font-size: 8px;
}

.font-weight-bold,
.fw-bold {
  font-weight: 700;
}
.w-16 {
  width: 16px !important;
}
.fw-bold {
  font-weight: 700 !important;
}
.px-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.ms-n2 {
  margin-right: -0.5rem !important;
}
.mt-n1 {
  margin-top: -0.25rem !important;
}
.badge-float {
  position: absolute;
  z-index: 100;
}
.badge-rounded-circle {
  border-radius: 10rem;
  height: calc(1em + 0.5rem);
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.icon-xs > svg {
  height: 1.25rem;
  width: 1.25rem;
}

.navbar-light .navbar-nav .nav-link {
  color: #77838f;
}
@media (min-width: 1200px) {
  .navbar-expand-xl .navbar-nav .nav-link {
    padding-left: 1.64rem;
    padding-right: 1.64rem;
  }
}
.navbar-nav .nav-link {
  font-weight: 500;
}
.navbar-nav .nav-link {
  padding-left: 0;
  padding-right: 0;
}
@media (min-width: 768px) {
  .px-md-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}
.px-3 {
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}
.position-relative {
  position: relative !important;
}
.d-flex {
  display: flex !important;
}
.nav-link {
  color: #090761;
  display: block;
  padding: 1.5rem 1rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out;
}
.gbemodal-backdrop.fade {
  opacity: 0;
}
.gbemodal-backdrop.show {
  opacity: 0.8;
}

.h-5 {
  height: 1.25rem;
}

.w-5 {
  width: 1.25rem;
}
.text-danger {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important;
}



/* Student dashboard enhancements */
.student-dashboard {
    background: #f5f7fb;
}

:root {
    --student-primary: #198754;
    --student-secondary: #20c997;
}

.student-dashboard .card {
    border-radius: 16px;
}

.student-dashboard {
    background: #f5f7fb;
}


.student-gap-sm {
    gap: 0.5rem;
}

.student-gap-md {
    gap: 1rem;
}

.student-dashboard-sidebar {
    border-radius: 16px;
}

.student-profile-info .profile-image {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #edf1ff;
    margin-bottom: 1rem;
}

.student-profile-info h5 {
    font-weight: 600;
}

.student-dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-profile-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
    color: #1f2937;
    text-decoration: none;
    transition: all 0.2s ease;
    background: #f7f9fc;
    font-weight: 500;
}

.btn-profile-menu:hover {
    background: #e8f6ef;
    color: var(--student-primary);
}

.btn-profile-menu.active {
    background: var(--student-primary);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(25, 135, 84, 0.18);
}

.btn-profile-menu .badge {
    margin-left: auto;
}

.student-dashboard-nav .external {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.student-dashboard-nav .external:hover {
    color: var(--student-primary);
    border-color: var(--student-primary);
}

.student-dashboard-hero {
    background: linear-gradient(135deg, rgba(32, 201, 151, 0.12), rgba(25, 135, 84, 0.08));
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.student-dashboard-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}

.student-dashboard-hero .breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.student-dashboard-hero .breadcrumb-item + .breadcrumb-item::before {
    content: '\203A';
    color: rgba(15, 23, 42, 0.4);
    padding: 0 0.5rem;
    display: inline-block;
}

.student-dashboard-hero .breadcrumb-item a {
    color: rgba(15, 23, 42, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
}

.student-dashboard-hero .breadcrumb-item a:hover {
    color: #54b56f;
}

.student-dashboard-hero .breadcrumb-item.active {
    color: #54b56f;
    font-weight: 500;
}

.student-dashboard-hero .breadcrumb-item.active > span {
    color: #54b56f;
    font-weight: 500;
    font-size: 0.9rem;
}

.student-dashboard-hero .breadcrumb-item span {
    font-size: 0.9rem;
}

/* RTL Support for Breadcrumbs */
[dir="rtl"] .student-dashboard-hero .breadcrumb-item + .breadcrumb-item::before {
    content: '\2039';
    padding: 0 0.5rem;
}

[dir="ltr"] .student-dashboard-hero .breadcrumb-item + .breadcrumb-item::before {
    content: '\203A';
    padding: 0 0.5rem;
}

/* Old Breadcrumb Component Support */
.bread-crumb .breadcrumb {
    background: transparent;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}

.bread-crumb .breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.bread-crumb .breadcrumb-item + .breadcrumb-item::before {
    content: '\203A';
    color: rgba(15, 23, 42, 0.4);
    padding: 0 0.5rem;
    display: inline-block;
}

.bread-crumb .breadcrumb-item a {
    color: rgba(15, 23, 42, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
}

.bread-crumb .breadcrumb-item a:hover {
    color: #54b56f;
}

.bread-crumb .breadcrumb-item.active {
    color: #54b56f;
    font-weight: 500;
}

.bread-crumb .breadcrumb-item.active > span {
    color: #54b56f !important;
    font-weight: 500;
    font-size: 0.9rem;
}

.bread-crumb li.breadcrumb-item.active > span {
    color: #54b56f !important;
    font-weight: 500;
    font-size: 0.9rem;
}

.bread-crumb .breadcrumb-item span {
    font-size: 0.9rem;
}

/* RTL Support for Old Breadcrumb */
[dir="rtl"] .bread-crumb .breadcrumb-item + .breadcrumb-item::before {
    content: '\2039';
    padding: 0 0.5rem;
}

[dir="ltr"] .bread-crumb .breadcrumb-item + .breadcrumb-item::before {
    content: '\203A';
    padding: 0 0.5rem;
}

[dir="rtl"] .bread-crumb .fas.fa-chevron-right {
    transform: scaleX(-1);
}

.student-dashboard-hero .page-title {
    font-weight: 700;
    color: #132f25;
}

.my-course-1-full-body-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
    gap: 1.5rem;
}

.my-course-1-img img {
    width: 240px;
    max-width: 240px;
    border-radius: 14px;
    object-fit: cover;
}

.my-course-1-text-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.my-course-1-text-heading h3 {
    font-size: 1.125rem;
    line-height: 1.6;
}

.my-course-1-lesson-text {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.my-course-1-lesson-text .icon-1 {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #475569;
    font-weight: 500;
}

.my-course-1-lesson-text .icon-1 i {
    color: var(--student-primary);
}

.my-course-1-skill .skill-bar-container {
    position: relative;
    flex: 1 1 auto;
    height: 8px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.skill-bar {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--student-primary), var(--student-secondary));
    border-radius: 999px;
}

.my-course-1-last {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.my-course-1-last .icon-img img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.5rem;
}

.my-course-1-last .star {
    display: flex;
    gap: 0.25rem;
}

.my-course-1-last .star i {
    color: #cbd5f5;
}

.my-course-1-last .star .gold {
    color: #f59e0b;
}

.my-course-1-btn .btn {
    min-width: 160px;
}

.empty-dashboard {
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}
@media (max-width: 991.98px) {
    .my-course-1-img img {
        width: 100%;
    }

    .student-dashboard .card,
    .student-dashboard-sidebar {
        border-radius: 12px;
    }
}

/* ========================================
   RTL & LTR Support
   ======================================== */

/* Text Alignment */
[dir="rtl"] .text-start {
    text-align: right !important;
}

[dir="rtl"] .text-end {
    text-align: left !important;
}

[dir="ltr"] .text-start {
    text-align: left !important;
}

[dir="ltr"] .text-end {
    text-align: right !important;
}

/* Margins - Start/End */
[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

[dir="rtl"] .me-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

[dir="ltr"] .ms-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

[dir="ltr"] .me-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

/* Margins - Individual spacing classes */
[dir="rtl"] .me-1 { margin-left: 0.25rem !important; margin-right: 0 !important; }
[dir="rtl"] .me-2 { margin-left: 0.5rem !important; margin-right: 0 !important; }
[dir="rtl"] .me-3 { margin-left: 1rem !important; margin-right: 0 !important; }
[dir="rtl"] .me-4 { margin-left: 1.5rem !important; margin-right: 0 !important; }
[dir="rtl"] .me-5 { margin-left: 3rem !important; margin-right: 0 !important; }

[dir="rtl"] .ms-1 { margin-right: 0.25rem !important; margin-left: 0 !important; }
[dir="rtl"] .ms-2 { margin-right: 0.5rem !important; margin-left: 0 !important; }
[dir="rtl"] .ms-3 { margin-right: 1rem !important; margin-left: 0 !important; }
[dir="rtl"] .ms-4 { margin-right: 1.5rem !important; margin-left: 0 !important; }
[dir="rtl"] .ms-5 { margin-right: 3rem !important; margin-left: 0 !important; }

/* Paddings - Start/End */
[dir="rtl"] .ps-1 { padding-right: 0.25rem !important; padding-left: 0 !important; }
[dir="rtl"] .ps-2 { padding-right: 0.5rem !important; padding-left: 0 !important; }
[dir="rtl"] .ps-3 { padding-right: 1rem !important; padding-left: 0 !important; }
[dir="rtl"] .ps-4 { padding-right: 1.5rem !important; padding-left: 0 !important; }
[dir="rtl"] .ps-5 { padding-right: 3rem !important; padding-left: 0 !important; }

[dir="rtl"] .pe-1 { padding-left: 0.25rem !important; padding-right: 0 !important; }
[dir="rtl"] .pe-2 { padding-left: 0.5rem !important; padding-right: 0 !important; }
[dir="rtl"] .pe-3 { padding-left: 1rem !important; padding-right: 0 !important; }
[dir="rtl"] .pe-4 { padding-left: 1.5rem !important; padding-right: 0 !important; }
[dir="rtl"] .pe-5 { padding-left: 3rem !important; padding-right: 0 !important; }

/* Floats */
[dir="rtl"] .float-start {
    float: right !important;
}

[dir="rtl"] .float-end {
    float: left !important;
}

[dir="ltr"] .float-start {
    float: left !important;
}

[dir="ltr"] .float-end {
    float: right !important;
}

/* Border Radius */
[dir="rtl"] .rounded-start {
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

[dir="rtl"] .rounded-end {
    border-top-left-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* Dropdown Menu Alignment */
[dir="rtl"] .dropdown-menu-end {
    right: auto !important;
    left: 0 !important;
}

[dir="ltr"] .dropdown-menu-end {
    right: 0 !important;
    left: auto !important;
}

/* Icons and Font Awesome */
[dir="rtl"] .fa-chevron-right::before {
    content: "\f053" !important; /* chevron-left */
}

[dir="rtl"] .fa-chevron-left::before {
    content: "\f054" !important; /* chevron-right */
}

[dir="rtl"] .fa-arrow-right::before {
    content: "\f060" !important; /* arrow-left */
}

[dir="rtl"] .fa-arrow-left::before {
    content: "\f061" !important; /* arrow-right */
}

/* List Indentation */
[dir="rtl"] ul,
[dir="rtl"] ol {
    padding-right: 2rem;
    padding-left: 0;
}

[dir="ltr"] ul,
[dir="ltr"] ol {
    padding-left: 2rem;
    padding-right: 0;
}

/* Responsive Text Alignment */
@media (min-width: 576px) {
    [dir="rtl"] .text-sm-start { text-align: right !important; }
    [dir="rtl"] .text-sm-end { text-align: left !important; }
}

@media (min-width: 768px) {
    [dir="rtl"] .text-md-start { text-align: right !important; }
    [dir="rtl"] .text-md-end { text-align: left !important; }
    [dir="rtl"] .float-md-start { float: right !important; }
    [dir="rtl"] .float-md-end { float: left !important; }
}

@media (min-width: 992px) {
    [dir="rtl"] .text-lg-start { text-align: right !important; }
    [dir="rtl"] .text-lg-end { text-align: left !important; }
}

/* Custom Components RTL Support */
[dir="rtl"] .card .card-body {
    text-align: right;
}

[dir="ltr"] .card .card-body {
    text-align: left;
}

/* Navigation and Menus */
[dir="rtl"] .navbar-nav {
    padding-right: 0;
}

[dir="ltr"] .navbar-nav {
    padding-left: 0;
}

/* Forms RTL Support */
[dir="rtl"] .form-check {
    padding-right: 1.5em;
    padding-left: 0;
}

[dir="rtl"] .form-check-input {
    float: right;
    margin-right: -1.5em;
    margin-left: 0;
}

[dir="ltr"] .form-check {
    padding-left: 1.5em;
    padding-right: 0;
}

[dir="ltr"] .form-check-input {
    float: left;
    margin-left: -1.5em;
    margin-right: 0;
}

/* Modal RTL Support */
[dir="rtl"] .modal-header .btn-close {
    margin: -0.5rem auto -0.5rem -0.5rem;
}

[dir="ltr"] .modal-header .btn-close {
    margin: -0.5rem -0.5rem -0.5rem auto;
}

/* Offcanvas RTL Support */
[dir="rtl"] .offcanvas-start {
    right: 0;
    left: auto;
    border-right: none;
    border-left: 1px solid rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
}

[dir="rtl"] .offcanvas-end {
    left: 0;
    right: auto;
    border-left: none;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
}

/* Toast RTL Support */
[dir="rtl"] .toast {
    direction: rtl;
}

/* Pagination RTL Support */
[dir="rtl"] .pagination {
    padding-right: 0;
}

[dir="ltr"] .pagination {
    padding-left: 0;
}

/* ========================================
   Responsive Sidebar Enhancements
   ======================================== */

/* Mobile Sidebar - Full Width */
@media (max-width: 991.98px) {
    .student-dashboard-sidebar {
        margin-bottom: 1.5rem;
    }
    
    .student-dashboard-sidebar .card-body {
        padding: 1.25rem;
    }
    
    .student-profile-info .profile-image {
        width: 80px;
        height: 80px;
    }
    
    .btn-profile-menu {
        padding: 0.75rem 1rem;
        font-size: 14px;
    }
}

/* Tablet Adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
    .student-dashboard-sidebar {
        max-width: 100%;
    }
}

/* Desktop - Sticky Sidebar */
@media (min-width: 992px) {
    .student-dashboard-sidebar {
        position: sticky;
        top: 80px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
    
    .student-dashboard-sidebar::-webkit-scrollbar {
        width: 4px;
    }
    
    .student-dashboard-sidebar::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    
    .student-dashboard-sidebar::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
    }
    
    .student-dashboard-sidebar::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
}

/* Ensure proper spacing */
.student-dashboard .row {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.student-dashboard .row > * {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* RTL Sidebar Support */
[dir="rtl"] .student-dashboard-sidebar {
    text-align: right;
}

[dir="rtl"] .btn-profile-menu {
    text-align: right;
}

/* ======================================
   Cart Modal Styles
   ====================================== */

/* Modal Body */
.gbemodal-body {
    padding: 0;
    max-height: 80vh;
    overflow-y: auto;
}

/* Cart Items Container */
.cart-modal-items {
    padding: 20px;
    max-height: 50vh;
    overflow-y: auto;
}

/* Individual Cart Item */
.cart-modal-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    margin-bottom: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.cart-modal-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Cart Item Image */
.cart-item-image {
    position: relative;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Item Type Badge */
.item-type-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(0, 123, 255, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.item-type-badge i {
    font-size: 10px;
}

/* Cart Item Details */
.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 5px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cart-item-meta {
    margin-bottom: 8px;
}

.item-type-text {
    display: inline-block;
    padding: 2px 8px;
    background: #e9ecef;
    border-radius: 4px;
    font-size: 11px;
    color: #6c757d;
    font-weight: 500;
}

/* Cart Item Price */
.cart-item-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.cart-item-price .current-price {
    font-size: 16px;
    font-weight: 700;
    color: #28a745;
}

.cart-item-price .original-price {
    font-size: 13px;
    color: #6c757d;
    text-decoration: line-through;
}

/* Remove Button */
.cart-item-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #dc3545;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.cart-item-remove:hover {
    background: #dc3545;
    color: white;
}

/* Cart Summary */
.cart-modal-summary {
    padding: 20px;
    border-top: 2px solid #e9ecef;
    border-bottom: 2px solid #e9ecef;
    background: white;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-label {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
}

.summary-value {
    font-size: 20px;
    font-weight: 700;
    color: #28a745;
}

/* Cart Actions */
.cart-modal-actions {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-modal-actions .btn {
    width: 100%;
    padding: 12px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cart-modal-actions .btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
}

.cart-modal-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.cart-modal-actions .btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
    background: white;
}

.cart-modal-actions .btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
}

/* Empty Cart State */
.cart-modal-empty {
    padding: 60px 20px;
    text-align: center;
}

.cart-modal-empty i {
    font-size: 64px;
    color: #dee2e6;
    margin-bottom: 20px;
    display: block;
}

.cart-modal-empty p {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 20px;
}

.cart-modal-empty .btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
}

/* RTL Support for Cart Modal */
[dir="rtl"] .cart-modal-item {
    direction: rtl;
}

[dir="rtl"] .cart-item-remove {
    left: 10px;
    right: auto;
}

[dir="rtl"] .item-type-badge {
    left: auto;
    right: 5px;
}

[dir="rtl"] .cart-item-price {
    flex-direction: row-reverse;
}

[dir="rtl"] .summary-row {
    flex-direction: row-reverse;
}

/* Scrollbar Styling */
.cart-modal-items::-webkit-scrollbar {
    width: 6px;
}

.cart-modal-items::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.cart-modal-items::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.cart-modal-items::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.gbemodal-body::-webkit-scrollbar {
    width: 6px;
}

.gbemodal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.gbemodal-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.gbemodal-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cart-modal-item {
        padding: 12px;
        gap: 12px;
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
    }

    .cart-item-title {
        font-size: 13px;
    }

    .cart-item-price .current-price {
        font-size: 14px;
    }

    .cart-item-remove {
        padding: 6px;
        font-size: 12px;
    }

    .summary-label {
        font-size: 14px;
    }

    .summary-value {
        font-size: 18px;
    }

    .cart-modal-actions .btn {
        padding: 10px;
        font-size: 14px;
    }
}

/* Platform typography: keep LMS pages aligned with the public React app. */
html,
body,
button,
input,
select,
textarea,
.course-box,
.course-box-2,
.course-card,
.category-course-list-area,
.header-area,
.footer-area {
    font-family: 'Cairo', 'Tajawal', 'Amiri', sans-serif !important;
}
