   /* styles.css */

   /* General Styles */
   body {
    font-family: "Filson Pro", sans-serif;
    background-color: #F9FAFB;
    margin: 0;
    padding: 0;
}

.catalog-title {
    font-size: 30px;
    font-weight: 500;
    line-height: 36px;
    color: #00359E;
}

.divider {
    width: 100%;
    height: 4px;
    background-color: #EAECF0;
    margin-top: 10px;
    display: block;
}

/* Filter Section */

.catalog-section .filter-section {
    min-width: 350px;
    display: flex;
    flex-direction: column;
    background-color: #F5F8FF;
    box-shadow: 0px 2px 4px -2px rgba(16, 24, 40, 0.06), 0px 4px 8px -2px rgba(16, 24, 40, 0.1);
    padding: 36px;
    align-self: flex-start;
    border-radius: 14px;
}

.filter-section+.course-listing {
    margin-left: 0px;
}
.course-listing{
	min-width:800px;
 }
.filter-header {
    border-bottom: 1px solid #D1E0FF;
    padding-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.catalog-section .filter-section .filter-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: #00359E;
    margin-bottom: 0px;
}

.d-none {
    display: none !important;
}

.filter-section .filter-header .clear-all {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    /* line-height: 20px; */
    color: #00359E;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin:0;
    padding:0;
}

.clear-all i {
    margin-left: 10px;
    margin-top: 5px;
}

.clear-all i::before {
    font-size: 21px;
    font-weight: 600 !important;
}

.filter-group {
    display:block !important;
    margin-top: 24px;
    border-bottom: 1px solid #D1E0FF;
    padding-bottom: 16px;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: #00359E;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    margin-right: 15px;
}

/* General Checkbox Styling */
.filter-section .form-check-input {
    width: 20px;
    height: 20px;
    border: 1px solid #98A2B3;
    border-radius: 6px;
    background-color: white;
    appearance: none;
    /* Remove default styles */
    outline: none;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    background-image: none;
    /* Remove default checkmark */
}

.filter-content {
    margin-bottom: 30px;
    cursor: pointer;
}

.filter-content.collapsed i {
    transform: rotate(0deg);
}


/* Checkbox Checked State */
.filter-section .form-check-input:checked {
    background-color: #EFF4FF !important;
    border-color: #155EEF !important;
    background-image: none;
}

.filter-section .form-check-input:checked::after {
    font-size: 16px;
    font-weight: bold;
    content: "";
    font-family: "Bootstrap Icons";
    font-size: 16px;
    color: #155EEF;
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url("../images/check-Icon.svg");
    background-repeat: no-repeat;
    background-position: center;
    width: 10px;
    height: 10px;
}

/* Checkbox and Label Alignment */
.filter-section .form-check-label {
    font-size: 16px;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
}

/* Label for Multiline Text */
.filter-section .form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.filter-section .form-check .form-check-label {
    word-wrap: break-word;
    line-height: 1.5;
    font-family: "Moderat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    /* line-height: 24px; */
    color: #344054;
    margin-left: 12px;
}

/* Search and Sort Section */
.top-search-area {
    margin-bottom: 30px;
    margin-right: 24px;
    gap: 70px;
}

.search-box {
    position: relative;
}

.top-search-area .search-box .search-input {
    padding: 8px 12px;
    height: 40px;
    min-width: 350px;
    border-radius: 8px;
    background-color: white;
    border: 1px solid #D0D5DD;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
}

.search-box .bi-search {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #667085;
}

.sorting-dropdown .sort-button {
    font-family: "Moderat", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #475467;
    border: none;
    background-color: transparent;
}

.sorting-dropdown .sort-button:after {
    display: none;
}

.sort-button i::before {
    content: "\f282";
    font-weight: bold !important;
    margin-left: 10px;
    color: #3538CD
}

.sort-button.show i::before {
    content: "\f286";
}

.sorting-dropdown .dropdown-menu.show {
    display: block;
    min-width: 100px;
    box-shadow: 0px 1px 2px 0px #1018280F;
    box-shadow: 0px 1px 2px 0px #1018280F, 0px 1px 3px 0px #1018281A;
    border-radius: 8px;
}

.sorting-dropdown .dropdown-menu.show .dropdown-item {
    font-family: "Moderat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    min-height: 24px;
    padding: 12px;
    display: block;
    color: #4A5578;
}

.sorting-dropdown .dropdown-menu.show .dropdown-item:hover {
    background-color: #EEF4FF;
}

/* Course Cards */
.course-catalog-card {
    height: 360px;
    max-height: 360px;
    border-radius: 25px;
    border: 1px solid #D0D5DD;
    background: #FFFFFF;
    box-shadow: 6px 6px 4px -2px rgba(16, 24, 40, 0.06);
    padding: 0px;
    text-align: left;
    overflow: hidden;
    margin-right: 24px;
    margin-bottom: 24px;
}

.course-catalog-card .course-image {
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: auto;
    background: #f0f0f0;
    height: 190px;
    position: relative;
    overflow: hidden;
    display: block;
}

.course-catalog-card .course-image img {
    width: 100%;
    height: 100% !important;
    display: block;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    object-fit: cover;
}

.course-catalog-card .bookmark-icon {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 20px;
    z-index: 9;
    background-color: white;
    min-height: 40px;
    border-radius: 10px;
    min-width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.course-catalog-card .bookmark-icon img {
    width: initial;
    height: auto;
    display: block;
    object-fit: none;
}

.course-catalog-card .course-info {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 5px 15px 5px;
}

.course-catalog-card .course-info .enrolled-btn {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    border: none;
    padding: 5px 10px;
    color: #00359E;
    line-height: 15px;
    background-color: #EFF4FF;
    border-radius: 20px;
}

.course-catalog-card .course-info .enrolled-btn:empty {
    display: none;
}

.course-catalog-card .course-info .status:empty {
    display: none;
}

.course-catalog-card .course-info .status {
    flex: 1;
}

.course-catalog-card .course-image .course-type {
    position: absolute;
    bottom: 25px;
    min-width: 150px;
    height: 32px;
    background-color: #00359E;
    border-radius: 0 14px 14px 0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10px;
    left:0;
}

.course-catalog-card .course-image .course-type span {
    position: relative;
    font-family: "Filson Pro", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 21px;
    text-align: left;
    color: #fff;
    padding-left: 35px;
    padding-right: 25px;
}

.course-catalog-card .course-image .course-type span::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-position: center;
}




.course-catalog-card .course-image.document .course-type span::before {
    background-image: url("../images/document-Icon.svg");
}

.course-catalog-card .course-image.curriculum .course-type span::before {
    background-image: url("../images/graduation-hat-Icon.svg");
}

.course-catalog-card .course-image.live-class .course-type span::before {
    background-image: url("../images/stand-Icon.svg");
}

.course-catalog-card .course-image.video .course-type span::before {
    background-image: url("../images/play-circle-Icon.svg");
}

.course-catalog-card .course-image.online-course .course-type span::before {
    background-image: url("../images/wolrd-Icon.svg");
}

.course-catalog-card .course-details {
    padding: 5px 15px;
    /* min-height: 110px; */
}

.course-catalog-card .course-details .category {
    padding: 0;
    margin-bottom: 0;
    font-family: "Filson Pro", Sans-Serif;
    font-size: 12px;
    font-weight: 400;
    color: #475467;
}

.course-catalog-card .course-details .course-title {
    font-size: 16px;
    font-weight: 600;
    color: #101828;
    padding: 0;
    margin-bottom: 5px;
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.course-catalog-card .course-details .course-title a {
    color: #101828;
    text-decoration: none;
}

.course-catalog-card .course-details .short-descp {
    font-family: "Moderat", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    text-align: left;
    color: #475467;

}

/* Pagination Styling */
.catalog-pagination {
    background-color: #F9FAFB;
    border-radius: 12px;
    box-shadow: 0px 1px 2px 0px #1018280F;
    box-shadow: 0px 1px 3px 0px #1018281A;
    border: 1px solid #EAECF0;
    min-height: 60px;


}

.catalog-pagination .pagination .page-link:hover {
    background: #EEF4FF;
    border-radius: 50%;
}

.catalog-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 0;
}

.catalog-pagination .pagination .page-item {
    flex: 1;
    max-width: 40px;
    text-align: center;
}

.catalog-pagination .pagination .page-link {
    padding: 8px 12px;
    font-size: 14px;
    color: #004EEB;
    border-width: 0;
    width: 40px;
    height: 40px;
}

.catalog-pagination .pagination .page-link:hover {
    background: #eef4ff;
    color: #101828;
}

.catalog-pagination .pagination .page-link:focus {
    outline: 2px solid #8098f9;
}

.catalog-pagination .pagination .page-item.active .page-link {
    background: #eef4ff;
    color: #101828;
    border-color: #eef4ff;
    border-radius: 50%;
}

/* Responsive Design */
@media (max-width: 768px) {
	.catalog-section .course-listing{
    	min-width:auto !important;
     }
     .catalog-section{
     	flex-direction:column;
     }
    /*.filter-section {
        display: none !important;
        
    }*/

    .search-input {
        min-width: 100%;
    }

    .course-card {
        margin: auto;
    }

    .pagination {
        justify-content: space-between;
    }

    .pagination .page-item {
        flex: 0 1 auto;
    }

    .pagination .page-link {
        padding: 6px 10px;
        font-size: 12px;
    }

    /* Hide numbers except 1, current, and last */
    .pagination .page-item:not(.active):not(:first-child):not(:last-child) {
        display: none;
    }

    .pagination .page-item:first-child,
    .pagination .page-item:last-child {
        display: inline-block;
    }

    .pagination .page-item.disabled {
        display: none;
    }

    .search-box {
        width: 200px;
    }

    .top-search-area {
        gap: 10px;
    }

    .top-search-area .search-box .search-input {
        min-width: auto;
    }
}

.without-content-result {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 32px auto;

}

.no-catalog-result .without-content-icon {
    background-image: url("../images/face-sad.png");
    background-repeat: no-repeat;
    background-position: center;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: contain;
}

.without-content-result p {
    font-family: "Filson Pro", sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 28px;
    text-align: center;
    color: #0040C1;

}

.without-content-result .text-small {
    font-family: "Moderat", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    text-align: center;
    color: #475467;

}

.no-catalog-result .link-black {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: #475467;
    text-decoration: none;
    margin-top: 18px;
    display: flex;
    align-items: center;

}

.no-catalog-result .link-black i:before {
    font-weight: bold !important;

}

.no-catalog-result .link-black i {
    margin-right: 5px;
}



.loader:before {
    display: none !important;
}

.loader {
    width: 35px;
    right: 5px;
    top: 5px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 4px solid #514b82;
    animation:
        l20-1 0.8s infinite linear alternate,
        l20-2 1.6s infinite linear;
}

@keyframes l20-1 {
    0% {
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%)
    }

    12.5% {
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 0%, 100% 0%, 100% 0%)
    }

    25% {
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 100%)
    }

    50% {
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%)
    }

    62.5% {
        clip-path: polygon(50% 50%, 100% 0, 100% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%)
    }

    75% {
        clip-path: polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 50% 100%, 0% 100%)
    }

    100% {
        clip-path: polygon(50% 50%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 0% 100%)
    }
}

@keyframes l20-2 {
    0% {
        transform: scaleY(1) rotate(0deg)
    }

    49.99% {
        transform: scaleY(1) rotate(135deg)
    }

    50% {
        transform: scaleY(-1) rotate(0deg)
    }

    100% {
        transform: scaleY(-1) rotate(-135deg)
    }
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.search-panel.show {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.suggestion-item {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: background 0.2s ease-in-out;
}

.suggestion-item:hover {
    background: #f7f7f7;
}

.search-panel p {
    margin: 10px;
    color: #666;
    text-align: center;
    font-size: 14px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-panel {
    display: none;
    /* Default state (hidden) */
    transition: all 0.3s ease;
    /* Smooth toggle animation */
}

.filter-panel.show {
    display: block;
    /* Expanded state */
}

.filter-group .filter-content {
    cursor: pointer;
    /* Indicate clickable header */
}

.filter-group .filter-content i {
    margin-left: 0px;
    margin-top: 5px;
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

.course-catalog-card .course-image img[src=""] {
    display: none;
}

#search-result-report {
    font-size: 12px;
    line-height: 13px;
    color: #344054;
    word-wrap: normal;
    margin-bottom: 0;
}

.catalog-pagination .pagination .page-item.disabled .page-link {
    background-color: transparent;
}