/* Main container */
.cw-custom-category-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Course grid layout */
.cw-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* Course card styling */
.cw-course-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.cw-course-card:hover {
    transform: translateY(-5px);
}

/* Thumbnail styling */
.cw-course-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* Meta information styling */
.cw-course-meta {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    background: #f8f9fa;
    font-size: 12px;
}

.cw-course-category {
    color: #2d3e50;
    font-weight: 600;
}

.cw-course-status {
    color: #6c757d;
}

/* Title styling with multiple lines */
.cw-course-title {
    padding: 15px;
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.cw-course-title span {
    display: block;
    margin-bottom: 5px;
}

/* Price styling */
.cw-course-price {
    padding: 0 15px 15px;
    font-weight: 700;
    font-size: 18px;
}

.original-price {
    text-decoration: line-through;
    color: #6c757d;
    margin-right: 10px;
    font-size: 14px;
}

.sale-price {
    color: #e74c3c;
}


.course_level {
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid #000;
    /* padding-bottom: 3px; */
    margin-bottom: 5px;
    color: #4D5E6F;
}
.mj-course-group {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    
}

.mj-course-filter-group {
   
}
.label-filter-section {
    display: flex;
    justify-content: right;
    gap: 20px;
}

.mj-level-filters {
    display: flex;
    flex-direction: column;
    width: 25%;
    min-width: 230px;
}

h3.course-title {
    font-size: 15px;
    font-weight: 500;
    border: 0;
    margin: 0;
}

.mj-filters {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    gap: 10px;
}
.mj-filters button {
    padding: 14px;
    width: 175px;
    background-color: #005a3d;
    border: 1px solid #005a3d;
    border-radius: 8px;
}
 .mj-filters button:hover {
          
            background-color:#005a3d ;
            border: 1px solid #005a3d;
        }
        .mj-filters button.active,
        .mj-level-filters button.active {
            background: #00000000;
            color: #000000;
              border: 1px solid #005a3d;
        }
        .mj-filters button.active:hover,
        .mj-level-filters button.active:hover {
            background: #00000000;
            color: #000000;
              border: 1px solid #005a3d;
        }
        .mj-course-group {
            display: none;
        }
        .mj-course-group.active {
            display: grid;
        }
        .mj-course-group ul {
            list-style: none;
            padding-left: 0;
        }
      
        

.mj-level-filters {
    display: flex;
    flex-wrap: wrap;
    /* align-items: center; */
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    /* margin-bottom: 20px; */
    border: 1px solid #000;
}
.mj-level-filters {
   
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
    border: 1px solid #000;
    height: fit-content;
  
}
.mj-level-filters strong {
    margin-right: 10px;
    font-size: 16px;
    color: #333;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    color: #555;
    transition: all 0.2s;
    font-weight: 700;
}

.custom-checkbox:hover {
    color: #333;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #005a3d;
    border: 2px solid #005a3d;
    border-radius: 4px;
    transition: all 0.2s;
}

.custom-checkbox:hover .checkmark {
    border-color: #495057;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #005a3d;
    border-color: #005a3d;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.label-text {
    margin-left: 5px;
}

 .mj-grouped-pages-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
   
}
.mj-grouped-pages-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}




        .mj-group-card {
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            background: #005a3d;
            text-align: center;
            box-shadow: 0px 0px 20px 0px #FFFFFF inset;
        }
.mj-group-card {
    width: 49%;
}
@media (max-width: 768px) {
  .mj-group-card {
    width: 100%;
}
}
        .mj-group-card h3 {
            margin-bottom: 10px;
            padding-bottom: 20px;
            font-family: "Cairo", Sans-serif;
            font-size: 40px;
            font-weight: 700;
            color: #f9f9f9;
            border-bottom: 2px solid #F0AD4E;
        }

     .mj-group-buttons .mj-btn {
    display: inline-block;
    margin: 5px;
    padding: 7px 17px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    width: 120px;
}

      


        .group-name {
        font-family: Cairo, sans-serif;
        font-size: 48px;
        font-weight: 600;
        color: #000000;
        margin-bottom: 15px;
    }

    
#DataTables_Table_0_previous{
    color:#fff !important;
background-color: #005a3d;
}

#DataTables_Table_0_next{
      color:#fff !important;
background-color: #005a3d;
}



a.cwMs-view-button {
    background-color: #005a3d;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
}
#DataTables_Table_0 > tbody  tr td{
 border: 1px solid #ddd !important;
}
#DataTables_Table_0 > thead  tr th{
 border: 1px solid #ddd !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
  
    color: unset !important;
  
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
  
    color: #fff !important;
  
}

#cwMscategoryTable_previous{
    color: #fff !important;
}

#cwMscategoryTable_next{
    color: #fff !important;
}

table #cwMscategoryTable >tbody>tr>th, table.dataTable>tbody>tr>td {
    padding: 8px 10px;
    text-align: center !important;
}


@media (max-width: 1024px) {

  .label-filter-section,
  .mj-filters {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .mj-course-group {
    display: grid;
    grid-template-columns: 1fr !important;
    margin-bottom: 20px;
  }

.mj-level-filters {
    width: 100%;
    max-width: 300px;
    margin-bottom: 0px;
}

 .group-name {
    font-size: 35.4px;
    text-align: center;
}

  h1.entry-title {
    font-size: 48px !important;
  }
.mj-group-card h3 {
    font-size: 33.6px;
}

.mj-filters button {
    width: 100%;
}
.mj-courses {
    width: 100%;
}
.mj-group-card {
    padding: 30px 0px;
}
}

@media(max-width:767px){
.mj-grouped-pages-wrapper {
    flex-direction: column;
    gap: 16px;
}

.mj-group-card {
    width: 100%;
    padding: 27px 0px;
}
}
a.cw-ms-delete-btn:hover, a.cw-ms-delete-btn:focus {
       background: #9d0202 !important;
    color: #fff !important;
}