* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --white: #ffffff;
    --black: #000000;
    --violet: #6b2a76;
    --light-violet: #e6e6fa;
    --card-bg: #f9f9f9;
    --border-color: #efeff4;
    --green: #059541;
}
@font-face {
    font-family: "ClashDisplay-Extralight";
    src: url("../fonts/ClashDisplay-Extralight.woff2") format("woff2"),
        url("../fonts/ClashDisplay-Extralight.woff") format("woff");
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "ClashDisplay-Light";
    src: url("../fonts/ClashDisplay-Light.woff2") format("woff2"),
        url("../fonts/ClashDisplay-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "ClashDisplay-Regular";
    src: url("../fonts/ClashDisplay-Regular.woff2") format("woff2"),
        url("../fonts/ClashDisplay-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "ClashDisplay-Medium";
    src: url("../fonts/ClashDisplay-Medium.woff2") format("woff2"),
        url("../fonts/ClashDisplay-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "ClashDisplay-Semibold";
    src: url("../fonts/ClashDisplay-Semibold.woff2") format("woff2"),
        url("../fonts/ClashDisplay-Semibold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "ClashDisplay-Bold";
    src: url("../fonts/ClashDisplay-Bold.woff2") format("woff2"),
        url("../fonts/ClashDisplay-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "ClashDisplay-Variable";
    src: url("../fonts/ClashDisplay-Variable.woff2") format("woff2"),
        url("../fonts/ClashDisplay-Variable.woff") format("woff");
    font-weight: 200 700;
    font-style: normal;
}
body {
    font-family: "poppins", sans-serif;
    font-weight: 400;
    font-size: 16px;
    background-color: #efeff4;
}
figure {
    margin-bottom: 0;
}
.ClashDisplay-Light {
    font-family: "ClashDisplay-Light" !important;
}
.ClashDisplay-Regular {
    font-family: "ClashDisplay-Regular" !important;
}
.ClashDisplay-Medium {
    font-family: "ClashDisplay-Medium" !important;
}
.ClashDisplay-Semibold {
    font-family: "ClashDisplay-Semibold" !important;
}
.poppins {
    font-family: "poppins", sans-serif !important;
}
.bg-violet {
    background-color: var(--violet);
}
.bg-light-grey {
    background-color: #f9f9f9 !important;
}
.text-grey {
    color: #8a8a8f !important;
}
.text-violet {
    color: var(--violet) !important;
}
.font-weight-light {
    font-weight: 400;
}
.fs-40 {
    font-size: 40px;
}
.fs-18 {
    font-size: 18px !important;
}
.fs-16 {
    font-size: 16px !important;
}
.fs-14 {
    font-size: 14px !important;
}
.fw-medium {
    font-weight: 500 !important;
}
.w-35 {
    width: 35% !important;
}
.w-147 {
    width: 147px !important;
}
.w-fit {
    width: fit-content !important;
}
.flex-col {
    flex-direction: column !important;
}
.layout {
    margin-left: 300px;
    padding: 30px;
}
.three-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.overall-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding-block: 25px;
}
.overall-card .card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    background: transparent;
    flex-direction: row;
    border-right: 2px solid #c8c7cc;
    padding: 0 30px;
    border-radius: 0;
}
.overall-card .card:last-child {
    border-right: 0;
}
.overall-card .card figure {
    position: relative;
}
.overall-card .card figure h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "poppins", sans-serif;
    font-weight: 600;
    font-size: 32px;
    margin-bottom: 0;
}
.overall-card .card .left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 15px 0;
}
.overall-card .card h3 {
    font-size: 17px;
}
.btn {
    font-family: "poppins", sans-serif;
    font-weight: 500;
    font-size: 14px;
    width: fit-content;
    padding: 7px 10px;
    transition: 0.3s ease-in;
    width: 140px;
    /* border: 1px solid #000; */
}
.btn:hover {
    background-color: transparent !important;
    color: var(--black) !important;
    border: 1px solid var(--black);
}
.courseslist-card {
    padding: 25px 15px;
    border-radius: 25px;
    background-color: var(--white);
}
.courseslist-card .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 15px;
    margin-bottom: 20px;
}
.courseslist-card .header h3 {
    font-size: 20px;
    font-family: "ClashDisplay-Medium";
    margin-bottom: 0;
}
.courseslist-card .card {
    text-decoration: none;
}
.courseslist-card .card h3 {
    font-size: 17px;
    font-family: "poppins", sans-serif;
    font-weight: 500;
    margin-bottom: 5px;
}
.courseslist-card .card h3 span {
    color: #a180f8;
}
.courseslist-card .card p {
    font-size: 11px;
    font-weight: 300;
    font-family: "poppins", sans-serif;
}
.courseslist-card .card .course-duration {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666666;
    font-family: "poppins", sans-serif;
    font-size: 11px;
}
.courseslist-card .card .time {
    display: flex;
    align-items: center;
    gap: 5px;
}
.navbar {
    padding: 20px;
    background-color: var(--white);
    border-radius: 15px;
}
.page-details span,
.navbar .breadcrumb {
    font-family: "poppins", sans-serif;
    font-size: 14px;
    gap: 5px;
}
.page-details {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 5px;
}
.category {
    padding: 20px 10px;
    background-color: var(--white);
    border-radius: 25px;
}
.category .card {
    border: 0;
}
.category .card p {
    font-family: "poppins", sans-serif;
    font-size: 16px;
    color: var(--black);
    font-weight: 500;
}
.form-section {
    border: 1px solid #dadada;
    border-radius: 15px;
    padding: 15px;
}
.form-section .header {
    border-bottom: 1px solid #dadada;
    font-family: "ClashDisplay-Medium";
}
label {
    font-size: 14px;
    margin-bottom: 5px;
}
.select-options .options {
    position: relative;
    background-color: #e6e6fa;
}
.select-options .options svg {
    position: absolute;
    cursor: pointer;
    right: 7px;
}
.select-options .custom-dropdown {
    width: 100%;
}
.select-options .custom-dropdown .dropdown-selected {
    padding: 8px;
    border: 1px solid #efeff4;
    cursor: pointer;
    background-color: #caeed9;
    border-radius: 10px;
    position: relative;
}
.select-options .options,
input,
select,
textarea {
    width: 100%;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #dadada;
    padding: 8px 15px;
}

.multiple-select option {
    background-color: #fff; /* Default white background for dropdown */
    color: #000;
}
input:focus,
textarea:focus {
    outline: none;
    border: 1px solid #ababab;
}
input::placeholder {
    color: #dadada;
}
.btnprimary {
    background-color: var(--violet);
    border: 1px solid var(--violet);
    color: #fff;
    padding: 8px 15px;
}
.btnprimary:hover {
    border: 1px solid var(--violet);
    background-color: transparent;
    color: var(--violet) !important;
}
.btn.bg-danger:hover {
    color: #dc3545 !important;
    border: 1px solid #dc3545 !important;
}
.btn.bg-green {
    background-color: #8cc63f;
}
.btn.bg-green:hover {
    border: 1px solid #8cc63f !important;
    color: #8cc63f !important;
}

.custom-input {
    background-color: #e6e6fa;
    border: 1px solid #dadada;
}

.custom-input::placeholder {
    color: #666666; /* Dark placeholder color */
}

tbody,
td,
tfoot,
th,
thead,
tr {
    border: 0;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}
/* .table-header table {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  top: 25px;
} */
.table-header {
    background-color: var(--light-violet);
}
.table-header th {
    background-color: var(--light-violet);
    font-size: 14px;
    font-family: "poppins", sans-serif;
    color: var(--black);
    font-weight: 500;
    padding: 15px;
    text-align: center;
}
.table-body td {
    font-size: 14px;
    font-family: "poppins", sans-serif;
    color: var(--black);
    font-weight: 500;
    padding: 15px;
    text-align: center;
}

.table-section .table-body {
    border: 1px solid #dadada;
    overflow: hidden;
    border-radius: 10px;
}
.table_body tr:nth-child(2) td {
    background-color: #f9f9f9;
}
.status {
    text-align: center;
    display: flex;
    justify-content: center;
}

.status .tgl {
    display: none;
}
.status .tgl + .tgl-btn {
    outline: 0;
    display: block;
    width: 100px;
    height: 30px;
    position: relative;
    cursor: pointer;
    user-select: none;
    font-size: 12px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0;
}
.status .tgl + .tgl-btn:after,
.status .tgl + .tgl-btn:before {
    position: relative;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
}
.status .tgl + .tgl-btn:after {
    left: 0;
}
.status .tgl + .tgl-btn:before {
    display: inline;
    position: absolute;
    top: 5px;
}
.status .tgl:checked + .tgl-btn:after {
    left: 56.5%;
}

.status .tgl + .tgl-btn {
    overflow: hidden;
    background: #ff0000;
    border-radius: 5px;
    border: 1px solid #cecece;
    /* padding: 2px; */
    transition: all 0.4s ease;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.status .tgl + .tgl-btn:after {
    border-radius: 0;
    background: #fff;
    transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        padding 0.3s ease, margin 0.3s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
}
.status .tgl + .tgl-btn:before {
    content: "Inactive";
    left: 49px;
    color: var(--white);
    transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.status .tgl + .tgl-btn:active {
    box-shadow: inset 0 0 0 30px rgba(0, 0, 0, 0.1);
}
.status .tgl + .tgl-btn:active:after {
    padding-right: 0.4em;
}
.status .tgl:checked + .tgl-btn {
    background: var(--green);
}
.status .tgl:checked + .tgl-btn:active {
    box-shadow: inset 0 0 0 30px rgba(0, 0, 0, 0.1);
}
.status .tgl:checked + .tgl-btn:active:after {
    margin-left: -0.4em;
}
.status .tgl:checked + .tgl-btn:before {
    content: "Active";
    left: 4px;
    color: var(--white);
}

.action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.action .edit {
    border: 2px solid var(--green);
    padding: 2px 7px;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
}
.action .edit svg {
    stroke: var(--green);
}
.action .edit:hover {
    background-color: var(--green);
}
.action .edit:hover svg {
    stroke: var(--white);
}
.action .delete {
    border: 1px solid #ff0000;
    padding: 2px 7px;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
}
.action .delete svg {
    fill: #ff0000;
}
.action .delete:hover {
    background-color: #ff0000;
}
.action .delete:hover svg {
    fill: var(--white);
}

.action .permission {
    border: 1px solid #6b2a76;
    padding: 2px 7px;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
}
.action .permission svg {
    fill: #6b2a76;
}
.action .permission:hover {
    background-color: #6b2a76;
}
.action .permission:hover svg {
    fill: var(--white);
}

.action .no-permission {
    border: 1px solid #b58900;
    padding: 2px 7px;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
}
.action .no-permission svg {
    fill: #b58900;
}
.action .no-permission:hover {
    background-color: #b58900;
}
.action .no-permission:hover svg {
    fill: var(--white);
}

.custom-dropdown {
    position: relative;
    width: 250px;
    font-family: "poppins", sans-serif;
    font-size: 14px;
}

.dropdown-selected {
    padding: 8px 35px 8px 45px;
    border: 1px solid #efeff4;
    cursor: pointer;
    background-color: #f9f9f9;
    border-radius: 25px;
    position: relative;
}
.dropdown-selected svg {
    position: absolute;
}
.dropdown-selected .search {
    left: 12px;
}
.dropdown-selected .arrow {
    right: 10px;
}

.dropdown-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border: 1px solid #ccc;
    background: white;
    z-index: 10;
    margin-top: 5px;
    border-radius: 10px;
    overflow: hidden;
}

.dropdown-item {
    padding: 8px;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #ececec;
}

.show {
    display: block;
}
.badge {
    padding: 8px;
    width: 110px;
    font-family: "ClashDisplay-Medium";
    font-weight: 100;
}

.courseslist-card .card .completed,
.courseslist-card .card .progressing,
.courseslist-card .card .inactive,
.courseslist-card .card .active {
    position: absolute;
    right: 16px;
    top: 16px;
}
.courseslist-card .card .completed {
    background-color: #b5e970;
    color: #000000;
}
.courseslist-card .card .success {
    background-color: #b5e970;
    color: #000000;
}
.courseslist-card .card .progressing {
    background-color: #ffc163;
    color: #ffffff;
}
.courseslist-card .card .pending {
    background-color: #6b2a76;
    color: #ffffff;
}
.btn.bg-violet:hover {
    border: 1px solid var(--violet);
    color: var(--violet) !important;
}
.btn.bg-transparent {
    background-color: transparent;
    border: 1px solid var(--black);
}
.btn.bg-transparent:hover {
    background-color: var(--black) !important;
    color: var(--white) !important;
}

.custom-checkbox input {
    display: none;
}

/* Style the Custom Checkbox */
.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: transparent;
    border: 2px solid var(--black);
    border-radius: 4px;
    position: relative;
    margin-left: 8px;
    transition: background 0.3s;
}

/* Checkmark When Checked */
.custom-checkbox input:checked + .checkmark {
    background: transparent;
}

/* Add a Check Icon */
.custom-checkbox input:checked + .checkmark::after {
    content: "";
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDE2IDE2Ij4KCTxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIgZD0ibTIuNzUgOC43NWwzLjUgMy41bDctNy41IiAvPgo8L3N2Zz4=);
    background-size: contain;
    height: 15px;
    width: 15px;
    background-repeat: no-repeat;
    position: absolute;
    top: 1px;
    left: 1px;
}
.courseslist-card .card .course-select .custom-checkbox {
    display: block;
}
.courseslist-card
    .card
    .course-select
    .custom-checkbox
    input:checked
    + .checkmark::after {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDE2IDE2Ij4KCTxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjIiIGQ9Im0yLjc1IDguNzVsMy41IDMuNWw3LTcuNSIgLz4KPC9zdmc+);
}
.courseslist-card .card .course-select .custom-checkbox .checkmark {
    display: flex;
    position: absolute;
    top: 15px;
    border: 2px solid var(--white);
}
.course-list .active {
    top: 4px !important;
}
.course-list .course-select .custom-checkbox .checkmark {
    top: 4px !important;
    left: 8px !important;
}

.add-course-section {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
}
.add-course-section .breadcrumb nav a {
    text-decoration: none;
    font-size: 12px;
    font-family: "ClashDisplay-Medium";
    color: var(--black);
    padding: 10px 18px;
    border: 1px solid #dadada;
    border-radius: 10px;
    cursor: pointer !important;
}
.add-course-section .breadcrumb nav a.active {
    border: 1px solid var(--green);
}
.profile-card {
    border-radius: 15px;
    border: 1px solid #dadada !important;
    overflow: hidden;
}
.profile-section {
    background-color: #f1efff;
}
.profile-section .cover {
    position: relative;
}
.profile-section .cover .btn {
    position: absolute;
    right: 10px;
    top: 10px;
}
.profile-section .cover .btn:hover {
    color: #fff !important;
    border: 1px solid #fff !important;
}
.profile-section .profile-image {
    position: relative;
}
.profile-section .profile-image img {
    position: absolute;
    top: -92px;
}
.profile-section .profile-image p {
    padding-left: 127px;
    font-family: "ClashDisplay-Medium";
}

.tabs {
    display: flex;
    gap: 10px;
    padding-inline: 25px;
    padding-top: 10px;
}

.tab {
    padding: 10px 35px;
    border-radius: 0;
    border: none;
    background: var(--light-violet);
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
}

.tab.active {
    background: var(--violet);
    color: white;
}

.tab-content .content {
    display: none;
    padding: 20px;
}

.tab-content .content.active {
    display: block;
}

.upload-container {
    width: 100%;
    height: 250px;
    position: relative;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--light-violet);
    cursor: pointer;
    transition: 0.3s;
}

.upload-container:hover {
    border-color: #0056b3;
}

.image-preview {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 10px;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
}

.default-text {
    color: #8a8a8f;
    font-size: 14px;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.upload-file-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #dadada;
    border-radius: 10px;
    padding: 15px;
}
.upload-file-section p {
    max-width: 200px;
}
.upload-file-section .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 150px !important;
    background-color: rgba(230, 230, 250, 0.4);
}
.upload-preview {
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #dadada;
}
.upload-preview img {
    width: 70px;
    height: 42px;
    object-fit: cover;
    border-radius: 8px;
}
.upload-preview .tick-icon {
    height: 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--green);
    border-radius: 50%;
}
.upload-preview span {
    font-size: 12px;
    color: #666666;
}

.accordion {
    width: 100%;
    /* max-width: 1000px; */
    margin: 2rem auto;
}

.accordion-item {
    background-color: #fff;
    color: #111;
    margin: 1rem 0;
    /* border-radius: 15px; */
    border: 1px solid #dadada;
}

.accordion-item-header {
    padding: 0.5rem 1rem;
    min-height: 3.5rem;
    line-height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    cursor: pointer;
    font-family: "ClashDisplay-Medium";
}

.accordion-item-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.accordion-item-body-content {
    padding: 1rem;
    line-height: 1.5rem;
    border-top: 1px solid;
    border-image: linear-gradient(to right, transparent, #dadada, transparent) 1;
}
.accordion-item:first-of-type {
    border-top-left-radius: 15px !important;
    border-bottom-left-radius: 15px !important;
    border-top-right-radius: 15px !important;
    border-bottom-right-radius: 15px !important;
}
.accordion-item:not(:first-of-type) {
    border: 1px solid #dadada !important;
}
.accordion-item:last-of-type {
    border-top-left-radius: 15px !important;
    border-bottom-left-radius: 15px !important;
    border-top-right-radius: 15px !important;
    border-bottom-right-radius: 15px !important;
}

.course-details {
    display: flex;
    justify-content: space-between;
}
.course-details .right {
    display: flex;
    align-items: center;
    gap: 15px;
}
.course-details h2 {
    font-size: 28px;
    color: #a180f8;
    margin: 0;
}
.course-details p {
    font-size: 12px;
    margin: 0;
}
.course-detals .bg-black svg {
    stroke: #fff;
}
.course-detals .bg-black:hover svg {
    stroke: #000;
}
.course-detals .btn.bg-green svg {
    stroke: #000;
}
.course-detals .btn.bg-green svg {
    stroke: #fff;
}
.course-detals .btn.bg-green:hover svg {
    stroke: #8cc63f;
}
.course-detals .card p,
.course-detals .tab-content p {
    color: #8a8a8f;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
}
.course-detals .accordion-item-header::after {
    content: "";
    position: absolute;
    right: 13px;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KCTxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjIiIGQ9Im03IDEwbDUgNWw1LTUiIC8+Cjwvc3ZnPg==);
    background-repeat: no-repeat;
    height: 24px;
    width: 24px;
    background-size: contain;
    transition: 0.3s ease;
}

.course-detals .accordion-item-header.active::after {
    transform: rotate(180deg);
}
.course-detals .accordion-item-body-content {
    border-image: none;
    border: 0;
    padding-top: 0;
}
.course-detals .accordion-item-body-content .card {
    border: 0;
    background-color: #f1efff;
    border-radius: 15px;
    padding: 15px 15px 15px 25px;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 25px;
    margin-bottom: 15px;
}
.course-detals .accordion-item-body-content .card.disabled {
    background-color: #efeff4;
}
.course-detals .accordion-item-body-content .card:last-child {
    margin-bottom: 0;
}
.course-detals .accordion-item-body-content .card img {
    width: 25px;
}
.course-detals .accordion-item-body-content .card h6 {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    font-family: "poppins", sans-serif;
}
.course-detals .accordion-item-body-content .card span {
    font-size: 15px;
    color: #6b2a76;
}
.course-detals .course-completion {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 15px;
    border-radius: 15px;
    padding: 15px 15px 15px 25px;
}
.course-detals .course-completion .percentage {
    color: #6b2a76;
    border: 2px solid #6b2a76;
    border-radius: 50px;
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    font-family: "ClashDisplay-Medium";
}
.course-detals .course-completion h6 {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    font-family: "poppins", sans-serif;
}
.course-detals .course-completion span {
    font-size: 15px;
    color: #6b2a76;
}
.course-detals .certificate-completed,
.course-detals .certificate-completion {
    border: 1px solid #efeff4;
    padding: 25px;
    border-radius: 15px;
    background-color: #f9f9fd;
    position: relative;
}
.course-detals .certificate-completion .certified-icon {
    position: absolute;
    right: 10px;
    top: 10px;
}
.course-detals .certificate-completed h2,
.course-detals .certificate-completion h2 {
    font-family: "ClashDisplay-Medium";
    font-size: 20px;
}
.course-detals .certificate-completed .btn,
.course-detals .certificate-completion .btn-diabled {
    background-color: #8a8a8f;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #fff;
    font-size: 16px;
}
.course-detals .certificate-completed .btn {
    background-color: #8cc63f;
    border: 1px solid #8cc63f;
}
.course-detals .certificate-completed .btn svg {
    stroke: #fff;
}
.course-detals .certificate-completed .btn {
    background-color: #8cc63f;
    border: 1px solid #8cc63f;
}
.course-detals .certificate-completed .btn:hover {
    color: #8cc63f !important ;
    background-color: transparent;
}
.course-detals .certificate-completed .btn:hover svg {
    stroke: #8cc63f;
}
.certificates .course-duration {
    position: relative;
    display: block !important;
}
.certificates .course-duration h3 {
    font-family: "ClashDisplay-Medium";
    padding-top: 5px;
    color: var(--black);
}
.certificates .course-duration span {
    position: absolute;
    right: 0;
    top: -10px;
    font-size: 12px;
    color: #059541;
}
.certificates .course-duration p {
    color: #ffc163;
    font-size: 14px;
}
.certificates .course-duration .btn {
    background-color: #059541 !important;
    border: 1px solid #059541 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.certificates .course-duration .btn svg {
    fill: #fff;
}
.certificates .course-duration .btn:hover {
    color: #059541 !important;
    background-color: transparent !important;
}
.certificates .course-duration .btn:hover svg {
    fill: #059541 !important;
}
.certificates .list-column .course-duration span {
    position: relative;
    top: 0;
}
.certificates .list-column .course-duration .btn {
    width: fit-content !important;
    margin-right: auto;
    margin-left: inherit !important;
}
.mobile-menu-btn {
    display: none;
}
.flex-col-reverse {
    flex-direction: column-reverse;
}
.flex-md-row {
    flex-direction: row !important;
}
.gap-md-4 {
    gap: 1.5rem !important;
}
.w-md-25 {
    width: 25% !important;
}

.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* padding: 20px; */
    border-radius: 8px;
    width: 80%;
    max-width: 900px;
    position: relative;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    font-family: "ClashDisplay-Medium";
    font-size: 14px;
}
.close {
    transition: 0.3s ease-in-out;
    border-radius: 35px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.close svg {
    stroke: var(--violet);
}
.close:hover {
    background-color: var(--violet);
}
.close:hover svg {
    stroke: var(--white);
}
.modal-body {
    padding: 20px;
}
.modal-body .question {
    border: 1px solid #dadada;
    padding: 0.5rem 1rem;
    min-height: 3.5rem;
    line-height: 1.25rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.answer {
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #ccc;
    background-color: #e6e6fa;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 14px;
}

.answer:hover {
    background-color: #f0f0f0;
}

.answer.selected {
    background-color: #2ac870;
    color: white;
    border-color: #2ac870;
}
.msg {
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 15px;
    font-size: 14px;
}
.msg span {
    color: #059541;
}

.answer,
.answer-question {
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.answer:hover {
    background-color: #f0f0f0;
}

.answer.selected {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}
#tab2 .custom-checkbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 0;
    font-size: 14px;
}
#tab2 input[type="checkbox"] {
    display: none;
}

#tab2 .checkmark {
    min-width: 20px;
    height: 20px;
    border: 2px solid var(--black);
    border-radius: 4px;
    display: inline-block;
    margin-right: 8px;
    position: relative;
}
#tab2 input[type="checkbox"]:checked + .checkmark::after {
    content: "";
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDE2IDE2Ij4KCTxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIgZD0ibTIuNzUgOC43NWwzLjUgMy41bDctNy41IiAvPgo8L3N2Zz4=);
    background-size: contain;
    height: 15px;
    width: 15px;
    background-repeat: no-repeat;
    position: absolute;
    top: 1px;
    left: 1px;
}
#tab2 .course-list {
    border: 1px solid var(--border-color);
}
#tab2 .course-list .category-name {
    background-color: #c998d1;
    padding: 10px 15px;
    font-size: 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}
#tab2 .course-list .course-names {
    padding: 10px 15px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}
.manage-permissions {
    border: 1px solid var(--border-color);
    border-radius: 10px;
}
.manage-permissions label {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
}
.manage-permissions .custom-checkbox {
    padding: 10px;
    gap: 5px;
    margin: 0;
    border: 0;
}
.alert {
    line-height: 1.375rem;
}
.alert {
    --bs-alert-bg: transparent;
    --bs-alert-padding-x: 0.9375rem;
    --bs-alert-padding-y: 0.6875rem;
    --bs-alert-margin-bottom: 1rem;
    --bs-alert-color: inherit;
    --bs-alert-border-color: transparent;
    --bs-alert-border: var(--bs-border-width) solid var(--bs-alert-border-color);
    --bs-alert-border-radius: var(--bs-border-radius);
    --bs-alert-link-color: inherit;
    position: relative;
    padding: var(--bs-alert-padding-y) var(--bs-alert-padding-x);
    margin-bottom: var(--bs-alert-margin-bottom);
    color: var(--bs-alert-color);
    background-color: var(--bs-alert-bg);
    border: var(--bs-alert-border);
    border-radius: var(--bs-alert-border-radius);
}
.alert-solid-success {
    background-color: #28c76f;
    color: #fff;
}
.alert-solid-danger {
    background-color: #ff4c51;
    color: #fff;
}
.alert-outline-danger {
    border-color: #ff4c51;
    color: #ff4c51;
}
.alert[class*="alert-solid-"] .alert-icon {
    background-color: #fff;
    box-shadow: 0 0.0625rem 0.375rem 0 rgba(47, 43, 61, 0.1);
}
.alert .alert-icon {
    color: #fff;
    height: 1.875rem;
    width: 1.875rem;
    padding: 0.75rem;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-solid-success .alert-icon {
    color: #28c76f !important;
}
.alert-solid-danger .alert-icon {
    color: #ff4c51 !important;
}
.rounded {
    border-radius: 0.375rem !important;
    object-fit: cover;
}
.is-valid {
    border: 1px solid #198754; /* Bootstrap green */
    padding-right: 2.25rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23198754' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM6.5 10.5L3.5 7.5l1.5-1.5L6.5 7.5l4.5-4.5 1.5 1.5-6 6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.valid-feedback {
    display: block;
    color: #198754;
    font-size: 0.875em;
}
.is-invalid {
    border: 1px solid #dc3545; /* Bootstrap red */
    padding-right: 2.25rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875em;
}
.video-remove svg {
    fill: #ff0000;
}

/* New Style Rafnas */

.sidebar {
    width: 280px;
}

.sidebar .logo {
    padding-left: 20px;
    padding-right: 20px;
}

.sidebar .scrolling-section {
    padding-left: 20px;
    padding-right: 20px;
}

.layout {
    margin-left: 280px;
    padding: 20px;
}

.sidebar .profile .profile-details img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    object-position: center;
    border-radius: 100%;
    flex-shrink: 0 !important;
}

@media (min-width: 1450px) {
    .courseslist-card .card p {
        font-size: 14px;
    }
}

.breadcrumb a {
    color: #6b2a76;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb a:hover {
    color: #000;
}

.form-control {
    font-size: 14px;
    padding: 10px 15px;
    outline: none;
    box-shadow: none;
}

.form-control:focus,
.form-control:hover {
    outline: none;
    box-shadow: none;
    border-color: #6b2a76;
}

.form-submit-btn {
    min-height: 43px;
}

.select2-container .select2-selection--single {
    height: 43px !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    line-height: 43px !important;
    font-size: 14px !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 15px !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 9px !important;
    right: 15px !important;
    width: 20px !important;
}

/*.select2-container {
    width: 100% !important;
}*/

.btn {
    padding: 10px 15px;
    min-height: 43px;
}

.courseslist-card .header .filterWrapper {
    width: 60%;
}
.courseslist-card .header .filterWrapper .position-relative {
    width: 50%;
}

@media (max-width: 767.98px) {
    .courseslist-card .header {
        flex-wrap: wrap;
        grid-gap: 20px;
    }
    .courseslist-card .header .filterWrapper {
        width: 100%;
        flex-shrink: 0 !important;
    }
}

.course-select img.rounded-3.w-100 {
    height: 220px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1599.98px) {
    .course-select img.rounded-3.w-100 {
        height: 190px;
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 1399.98px) {
    .course-select img.rounded-3.w-100 {
        height: 190px;
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 1199.98px) {
    .course-select img.rounded-3.w-100 {
        height: 170px;
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 991.98px) {
    .course-select img.rounded-3.w-100 {
        height: 150px;
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 767.98px) {
    .course-select img.rounded-3.w-100 {
        height: 130px;
        object-fit: cover;
        object-position: center;
    }
}

.courseslist-card .card .course-duration {
    flex-wrap: wrap;
}

.courseslist-card p.mb-2.text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.courseslist-card .card.p-2.rounded-3 {
    height: 100%;
}

.courseslist-card .card.p-2.rounded-3 .course-select {
    height: 100% !important;
}

.courseslist-card .card.p-2.rounded-3 .course-select .custom-checkbox {
    height: 100% !important;
    display: flex;
    flex-direction: column;
}

.courseslist-card
    .course-list
    .card.p-2.rounded-3
    .course-select
    .custom-checkbox {
    flex-direction: row;
}

.staffGrid .course-select {
    display: flex;
    flex-direction: column;
    grid-gap: 15px;
}

textarea.form-control {
    min-height: 250px !important;
}

.accordion-button .commonAccordion {
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    outline: none;
}

.accordion-item {
    overflow: hidden;
}

.accordion-item {
    border-radius: 15px;
}

.accordion-button:not(.collapsed) {
    background: #8cc63f !important;
    color: #fff !important;
}

.editCover {
    background: #6b2a76 !important;
    right: 15px !important;
    top: 15px !important;
}

.cursor-pointer {
    cursor: pointer;
}

/* review form */

.star-rating {
    direction: rtl;
    font-size: 1.5rem;
    unicode-bidi: bidi-override;
    display: flex;
    justify-content: flex-end;
    gap: 0.3rem;
}

.star-rating input {
    display: none;
}

.star-rating label {
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
    font-size: 25px;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: gold;
}

/* override the form checkinput */

.form-check-input {
    padding: 8px 10px !important;
    margin-right: 5px !important;
}
.course-detals .accordion-item-body-content .card {
    border: 0;
    background-color: #f1efff;
    border-radius: 15px;
    padding: 15px 15px 15px 25px;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 25px;
    margin-bottom: 15px;
    cursor: pointer;
}

/* hf design for course thumbnail */

.banner-card {
       /* background: linear-gradient(to right, #4f4f81, #5f6188); */
       border-radius: 16px;
       color: #fff;
        
       width: 100%;
       padding: 24px;
       position: relative;
       overflow: hidden;
      
       background-repeat: no-repeat;
       background-size: cover;
}

.banner-card-header {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 8px;
}

.banner-card-header a {
    color: #cde;
    text-decoration: none;
}

.banner-card-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 16px;
}

.banner-card-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px;
    gap: 12px;
    margin-bottom: 24px;
}

.banner-card-info span {
    display: flex;
    align-items: center;
}

.banner-badge {
    background: #e0f3ff;
    color: #007bff;
    font-weight: bold;
    border-radius: 12px;
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.banner-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.banner-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 600;
}

.banner-continue {
    background-color: #6b2a76;
    color: white;
}

.banner-restart {
    background-color: #8cc63f;
    color: #333;
}

.banner-thumbnail {
    position: absolute;
    top: 50px;
    right: 24px;
    width: 140px;
    height: 90px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.banner-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-share {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 14px;
    opacity: 0.8;
    cursor: pointer;
    text-decoration: none;
    cursor: pointer;
    color: white;
}

.banner-stars {
    color: gold;
}

/* learning page styles by hf */

.learning-page {
    display: flex;
    min-height: 100vh;
    box-sizing: border-box;
}

.learning-sidebar {
    background: #f0f2f5;
    padding: 20px;
width: 400px;
    border-right: 1px solid #ccc;
    z-index: 99;
        max-height: 100vh;
    overflow: auto;
}

.learning-sidebar h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.learning-sidebar ul {
    list-style: none;
    padding: 0;
}


.learning-card{
    border: 0;
    background-color: #f1efff;
    border-radius: 15px;
    padding: 10px 15px 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 25px;
    margin-bottom: 15px;
    cursor: pointer;
}

.learning-card h6{
    margin-bottom: 0px;
}

.learning-card-selected{
    border: 2px solid #6b2a76
}
 .learning-card span {
    font-size: 15px;
    color: #6b2a76;
}

.learning-sidebar li {
    padding: 8px 10px;
    margin-bottom: 6px;
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.learning-sidebar li.learning-checked::before {
    content: "✅";
    margin-right: 8px;
    color: green;
}

.learning-test {
    margin-left: 20px;
}

.learning-sidebar button {
    width: 100%;
    padding: 10px;
    margin: 6px 0;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.learning-content {
    background-color: white;
    padding: 30px 100px;
    width:100%;
}

.learning-question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Shared button base */
.learning-question-header button {
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;
    font-weight: bold;
}

/* Back button */
.learning-btn-back {
    background-color: #6b2a76;
    height: 39px;
    color: white;
}

.learning-btn-back:hover {
    background-color: white;
    border: 2px solid #6b2a76;
    color: #6b2a76;
    box-sizing: border-box;
}

/* Secondary button */
.learning-btn-secondary {
    background-color: #e0e0e0;
    border: 1px solid #ccc;
    color: #333;
    margin-left: 8px;
}

.learning-btn-secondary:hover {
    background-color: #f5f5f5;
}

/* Primary button */
.learning-btn-primary {
    background-color: #6b2a76;
    border: 1px solid #6b2a76;
    color: white;
    margin-left: 8px;
}

.learning-question-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.learning-question-box p {
    font-size: 16px;
    color: #333;
}
.learning-options {
    margin: 20px 0;
}

.learning-options label {
    margin: 8px 0;
    font-size: 16px;
    color: #444;
    cursor: pointer;
}

.learning-options input {
    width: auto;
}

.learning-options input[type="radio"] {
    margin-right: 10px;
}

.learning-feedback {
    background: #e7f7e6;
    border: 1px solid #a0e3a0;
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
}

.learning-feedback strong {
    color: green;
    display: block;
    margin-bottom: 6px;
}

.learning-feedback em .answer-success{
    color: #d33;
    background: #fcdede;
    padding: 2px 4px;
    border-radius: 3px;
}

.learning-feedback em .answer-wrong{
    color: #d33;
    background: #fcdede;
    padding: 2px 4px;
    border-radius: 3px;
}

.learning-proceed-btn {
    margin-top: 30px;
    background: #28a745;
    color: white;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    font-weight: bold;
}

@media (max-width: 768px) {
    .learning-page {
        flex-direction: column;
    }
    .learning-content {
        background-color: white;
        padding: 20px;
        height: 100vh;
    }
    .learning-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ccc;
    }
    .learning-question-header {
        display: block;
    }
    .learning-btn-back {
        margin-bottom: 15px;
    }
    .learning-btn-secondary {
        margin-left: 0px;
    }
 


/* Hide sidebar on mobile */
 
    .learning-sidebar {
      position: fixed;
      top: 0;
      left: -250px;
      width: 250px;
      height: 100%;
      background-color: #fff;
      z-index: 1000;
      transition: left 0.3s ease;
      overflow-y: auto;
      box-shadow: 2px 0 5px rgba(0,0,0,0.3);
    }
  
    .learning-sidebar.active {
      left: 0;
    }
  
    .hamburger-icon {
      font-size: 24px;
      background: #6b2a76;
      border: none;
      margin-right: 15px;
      cursor: pointer;
      height: 39px;
      
    }
   .hamburger-icon img{
    width: 45px;
   }
    /* Optional overlay effect */
    .drawer-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0,0,0,0.5);
      z-index: 999;
      display: none;
    }
  
    .drawer-overlay.active {
      display: block;
    }
  }
  
