/* Hiding the BuddyBoss Theme Heading */
.page.buddyboss-theme header.entry-header {
    display: none;
}

/* Main Outer Container */
.crh-learner-intake-form-container {
    max-width: 850px;
    margin: 0 auto;
}

/* Learner Form */
#crh-learner-intake-form {
    padding: 40px;
    border-radius: 5px;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    /* box-shadow: 0 0px 5px rgba(0, 0, 0, 0.1); */
}

/* ===== Common CSS for Forms ===== */
/* Form Inner Sections */
.crh-form-section {
    margin-bottom: 25px;
}

/* Form Labels */
.crh-form-section label {
    margin: 0px !important;
    display: block;
    font-weight: bold;
}

/* Radio Buttons Container */
.crh-form-section .crh-evd-type-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Radio Buttons Inner Container */
.crh-form-section .crh-evd-type-flex>div {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* If New Evidence is Selected */
.crh-form-section .crh-evd-new-flex {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.crh-form-section input[type="text"],
.crh-form-section input[type="url"],
.crh-form-section textarea,
.crh-form-section select {
    width: 100%;
    margin-top: 3px !important;
    padding: 10px !important;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.crh-form-section textarea {
    resize: vertical;
}

.crh-form-section input[type="file"] {
    width: 100%;
    padding: 13px 10px 10px 0px !important;
}

.crh-form-section .crh-dec-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.crh-form-submit-container input[type="submit"] {
    width: 100%;
    max-width: 300px;
}

/* .crh-intake-form-select-unit-container .select2-selection.select2-selection--multiple {
    height: 41px;
    border: 1px solid #ccc;
} */

.crh-intake-form-select-unit-container .select2-container {
    z-index: 0;
}

.select2-container--open .select2-dropdown--below {
    top: 25px !important;
}

.crh-intake-form-select-unit-container .select2-container--default .select2-selection--multiple {
    padding: 0px !important;
    border: 0px !important;
}

.crh-intake-form-select-unit-container .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    border: 1px solid #ccc;
    border-radius: 5px;
}

.crh-intake-form-select-unit-container .select2-container--default .select2-search--inline .select2-search__field {
    margin-top: 0px !important;
}

.crh-intake-form-select-unit-container .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    font-size: 12px !important;
}

.select2-container .select2-dropdown {
    max-width: none !important;
}

.crh-intake-form-select-unit-container .crh-select-field-loader {
    position: relative;
}

.crh-intake-form-select-unit-container .crh-select-field-loader svg {
    position: absolute;
    right: 0px;
    display: none;
}

.crh-intake-form-select-unit-container.crh-intake-unit-loading-overlay {
    pointer-events: none;
    opacity: 0.6;
}

.crh-intake-form-select-unit-container.crh-intake-unit-loading-overlay .crh-select-field-loader svg {
    display: inline-block;
}

/* jQuery Validation Labels CSS */
.crh-form-section label.error {
    font-size: 12px !important;
    font-weight: 300;
}

/* ===== Evidence Mapping Section ===== */
.crh-evd-mapping-container {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Accordion Button */
.crh-evd-mapping-container>div .crh-evd-mapping-accordion {
    width: 100%;
    padding: 15px;
    font-size: 15px;
    text-align: left;
    border: none;
    border-radius: 0px !important;
    outline: none;
    color: #FFF;
    background-color: #263570;
    cursor: pointer;
    transition: 0.4s;
}

/* Accordion Button When Open */
.crh-evd-mapping-container>div .crh-evd-mapping-accordion.crh-evd-mapping-acc-active {
    background-color: #EB5847;
}

/* Plus Icon For the Accordion on Closed */
.crh-evd-mapping-accordion:before {
    content: '\002B';
    font-weight: bold;
    margin-right: 10px;
}

/* Minus Icon on Accordion when Accordion is Open */
.crh-evd-mapping-acc-active:before {
    content: "\2212";
}

/* Accordion Content Container */
.crh-evd-mapping-acc-content {
    display: none;
    padding: 15px;
    background-color: #FFF;
    box-shadow: 0px 0px 5px #DDD;
}



/* Mapping Table CSS */

:root {
    --table-border-color: #DDD;
}

.crh-evd-map-all-container {
    padding: 5px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.crh-evd-map-all-container>div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.crh-evd-map-all-container label {
    margin: 0px !important;
}

/* Mapping Table CSS */
.crh-evd-mapping-table {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid #ddd;
    border-bottom: 0px;
}

.crh-evd-mapping-table .crh-evd-map-heading {
    display: flex;
    background-color: #f2f2f2;
    font-weight: bold;
    border-bottom: 1px solid var(--table-border-color);
}

.crh-evd-mapping-table .crh-evd-map-row {
    display: flex;
    border-bottom: 1px solid var(--table-border-color);
}

.crh-evd-map-tb-cell {
    padding: 10px;
    box-sizing: border-box;
}

.crh-evd-map-tb-cell:first-child {
    min-width: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-right: 1px solid var(--table-border-color);
}

.crh-evd-map-tb-cell:nth-child(2) {
    flex: 1;
    border-right: 1px solid var(--table-border-color);
}

/* .crh-evd-map-tb-cell:nth-child(2) span {
    color: #EB5847;
    font-weight: bold;
} */

.crh-evd-map-tb-cell:nth-child(3) {
    min-width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.crh-evd-map-tb-cell:nth-child(3) .crh-evd-map-status,
.crh-evd-map-tb-cell:nth-child(3) .crh-evd-map-status-green {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #e3e3e3;
}

.crh-evd-map-tb-cell:nth-child(3) .crh-evd-map-status-green {
    background-color: #02b902;
}

.crh-evd-map-tb-cell:last-child {
    min-width: 95px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    display: none;
}

.crh-evd-map-row .crh-evd-map-tb-cell:last-child {
    display: none;
}

/* .crh-evd-map-row .crh-evd-map-tb-cell:nth-child(2) {
    border-right: none;
} */

/* Optional: Styling for checkboxes */
.crh-evd-map-tb-cell input[type="checkbox"] {
    display: block;
    margin: 0 auto;
}


/* Filters CSS */
.crh-lr-evd-list-filters-container .crh-lr-evd-list-filters {
    display: flex;
    gap: 20px;
}

.crh-lr-evd-list-filters-container .crh-lr-evd-list-filters>div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.crh-lr-evd-list-filters-container .crh-lr-evd-apply-filters {
    margin-top: 25px;
    text-align: right;
    margin-bottom: 50px;
}

.crh-lr-evd-list-filters-container .crh-lr-evd-list-filters.crh-sub-evd-list-three {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.crh-lr-evd-list-filters.crh-sub-evd-list-three .crh-lr-evd-list-filters-select-fields {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.crh-lr-evd-list-filters.crh-sub-evd-list-three .crh-lr-evd-list-filters-select-fields > div {
    flex: 1;
}

/* Pagination CSS */
.crh-lr-evd-list-pg-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.crh-lr-evd-list-pg-container .crh-lr-evd-list-pg {
    display: flex;
    align-items: center;
    gap: 10px;
}

.crh-lr-evd-list-pg-container .crh-lr-evd-list-pg button {
    padding: 5px 8px;
    min-width: 35px;
}

.crh-lr-evd-list-pg-container .crh-lr-evd-list-pg input {
    width: 70px;
}

/* Learner List Accordion Based Design */
.crh-lr-evd-list-wrapper .crh-learner-evd-list-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.crh-lr-evd-list-wrapper .crh-learner-evd-list-container>div {
    box-shadow: 0px 0px 5px #c5c5c5;
}

.crh-learner-evd-list-container>div .crh-learner-evd-single {
    width: 100%;
    padding: 15px;
    border: none;
    /* border-radius: 5px !important; */
    background-color: #FFF;
    border: 1px solid var(--table-border-color);
}

.crh-learner-evd-list-container>div .crh-learner-evd-single button.crh-accordion-btn {
    display: flex;
    padding: 0px;
    border: none;
    outline: none;
    box-shadow: 0px 0px 0px;
    background-color: transparent !important;
}

/* Rotate SVG when accordion is open */
.crh-accordion-btn svg.rotated {
    transform: rotate(-180deg);
    transition: transform 0.5s ease;
    /* Adjust duration as needed */
}

.crh-accordion-btn svg {
    transition: transform 0.5s ease;
}


/* Accordion Content Container */
.crh-learner-evd-single-content {
    display: none;
    padding: 15px;
    background-color: #FFF;
    border: 1px solid var(--table-border-color);
    border-top: 0px;
}

/* Inside the Accordion Design */
.crh-learner-evd-list-container .crh-learner-evd-single {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.crh-learner-evd-list-container .crh-learner-evd-single>div:first-child {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.crh-learner-evd-single .crh-learner-evd-profile-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.crh-learner-evd-single .crh-learner-evd-profile-container .crh-learner-evd-img {
    border: 1px solid #c5c5c5;
}

.crh-learner-evd-single .crh-learner-evd-profile-container .crh-learner-evd-img img {
    width: 80px;
    height: 90px;
    object-fit: cover;
}

.crh-learner-evd-profile-container .crh-evd-list-learner-name {
    font-size: 18px;
    color: #000;
}

.crh-learner-evd-profile-container .crh-learner-evd-progress-signals {
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    display: none;
}

.crh-learner-evd-progress-signals>div {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.crh-learner-evd-progress-signals .crh-lr-evd-progress-red {
    background-color: red;
}

.crh-learner-evd-progress-signals .crh-lr-evd-progress-yellow {
    background-color: #ffba00;
}

.crh-learner-evd-progress-signals .crh-lr-evd-progress-green {
    background-color: green;
}

.crh-learner-evd-progress-signals .crh-lr-evd-progress-red.crh-signal-disabled,
.crh-learner-evd-progress-signals .crh-lr-evd-progress-yellow.crh-signal-disabled,
.crh-learner-evd-progress-signals .crh-lr-evd-progress-green.crh-signal-disabled {
    background-color: #d9d9d9;
}

/* Content of the Learner */
.crh-learner-evd-single-content .crh-lr-evd-sub-details {
    display: flex;
    width: 100%;
    border: 1px solid #ddd;
    border-right: 0px;
}

.crh-lr-evd-sub-details .crh-lr-evd-sub-details-cell {
    width: 25%;
    /* padding: 10px; */
    box-sizing: border-box;
    border-right: 1px solid var(--table-border-color);
}

.crh-lr-evd-sub-details .crh-lr-evd-sub-details-cell>div {
    padding: 10px;
}

.crh-lr-evd-sub-details .crh-lr-evd-sub-details-cell>div:first-child {
    color: #3e3e3e;
    background-color: #f2f2f2;
    border-bottom: 1px solid var(--table-border-color);
}

.crh-lr-evd-sub-details-cell .crh-lr-evd-course-name {
    color: #333;
}

.crh-lr-evd-sub-details-cell .crh-lr-evd-units-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Units Colors CSS */
.crh-lr-evd-units-container .crh-lr-evd-unit-pending {
    color: red;
}

.crh-lr-evd-units-container .crh-lr-evd-unit-mapped {
    color: #ff8d00;
}

.crh-lr-evd-units-container .crh-lr-evd-unit-completed {
    color: green;
}

.crh-lr-evd-progress-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.crh-lr-evd-sub-details .crh-lr-evd-sub-details-cell .crh-lr-evd-progress-time-elapsed {
    margin-top: 5px;
    font-size: 14px;
    text-align: center;
    color: #0023c3;
    display: none;
}

.crh-lr-evd-sub-details-cell .crh-lr-evd-action-icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.crh-lr-evd-sub-details-cell .crh-lr-evd-action-icons img {
    width: 35px;
    height: auto;
}

/* ===== Submitted Evidence List For Learners CSS: Learner Specific Submission Evidence List ===== */
/* table.crh-lrspec-sub-evd-list, 
table.crh-lrspec-sub-evd-list th, 
table.crh-lrspec-sub-evd-list td {
    border: 1px solid #DDD;
}

table.crh-lrspec-sub-evd-list {
    border-collapse: collapse;
}

table.crh-lrspec-sub-evd-list th {
    padding: 18px 15px;
    background-color: #f2f2f2;
    text-align: center;
}

table.crh-lrspec-sub-evd-list td {
    padding: 8px 15px;
    text-align: center;
    vertical-align: middle !important;
} */

/* Learner Side Submitted Evidence List CSS */
.crh-lrspec-sub-evd-list-container {
    border: 1px solid #DDD;
    border-bottom: none;
    background-color: #FFF;
}

.crh-lrspec-sub-evd-list-container>div {
    display: flex;
    border-bottom: 1px solid #DDD;
}

.crh-lrspec-sub-evd-list-container .crh-lrspec-sub-evd-headers {
    background-color: #f5f5f5;
    color: #263570;
    font-weight: 600;
}

.crh-lrspec-sub-evd-list-container .crh-lrspec-sub-evd-details>div {
    padding: 8px 20px !important;
    display: flex;
    align-items: center;
}

.crh-lrspec-sub-evd-list-container .crh-lrspec-sub-evd-headers>div,
.crh-lrspec-sub-evd-list-container .crh-lrspec-sub-evd-details>div {
    padding: 20px;
    border-right: 1px solid #DDD;
}

.crh-lrspec-sub-evd-list-container .crh-lrspec-sub-evd-headers>div:last-child,
.crh-lrspec-sub-evd-list-container .crh-lrspec-sub-evd-details>div:last-child {
    border-right: none;
}

.crh-lrspec-sub-evd-list-container .crh-lrspec-sub-evd-id {
    min-width: 150px;
    max-width: 150px;
}

.crh-lrspec-sub-evd-list-container .crh-lrspec-sub-evd-student-name {
    min-width: 230px;
    max-width: 230px;
}

.crh-lrspec-sub-evd-list-container .crh-lrspec-sub-evd-name {
    flex: 1;
}

.crh-lrspec-sub-evd-list-container .crh-lrspec-sub-evd-units {
    min-width: 185px;
    max-width: 185px;
}

.crh-lrspec-sub-evd-list-container .crh-lrspec-sub-evd-date {
    min-width: 230px;
    max-width: 230px;
}

.crh-lrspec-sub-evd-list-container .crh-lrspec-sub-evd-actions {
    min-width: 120px;
    max-width: 120px;
}

.crh-lrspec-sub-evd-list-container .crh-lrspec-sub-evd-details span {
    display: none;
    color: #263570;
    font-weight: 600;
}

@media screen and (max-width: 950px) {
    .crh-lrspec-sub-evd-list-container .crh-lrspec-sub-evd-details span {
        display: inline-block;
        min-width: 125px;
    }

    .crh-lrspec-sub-evd-list-container>div {
        flex-direction: column;
    }

    .crh-lrspec-sub-evd-list-container .crh-lrspec-sub-evd-id,
    .crh-lrspec-sub-evd-list-container .crh-lrspec-sub-evd-units,
    .crh-lrspec-sub-evd-list-container .crh-lrspec-sub-evd-date,
    .crh-lrspec-sub-evd-list-container .crh-lrspec-sub-evd-actions {
        max-width: none;
    }

    .crh-lrspec-sub-evd-list-container .crh-lrspec-sub-evd-details>div {
        align-items: flex-start;
        border-right: none;
    }

    .crh-lrspec-sub-evd-list-container .crh-lrspec-sub-evd-headers {
        display: none;
    }
}


/* Tabs Based Section with Scrollbar */
.crh-tabs-section-tabs-container-new {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 5px;
    background-color: #ebebeb;
}

/* width */
.crh-tabs-section-tabs-container-new::-webkit-scrollbar {
    height: 6px;
}

/* Track */
.crh-tabs-section-tabs-container-new::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #ccc;
}

/* Handle */
.crh-tabs-section-tabs-container-new::-webkit-scrollbar-thumb {
    background: #0023c3;
}

.crh-tab-nav-label-new {
    display: inline-block;
    padding: 20px 30px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    background-color: #f1f1f1;
}

.crh-tab-nav-label-new:hover {
    background-color: #ddd;
}

.crh-tab-nav-label-new.active {
    color: #000;
    background-color: #FFF;
}

.crh-tab-section-content-new {
    display: none;
    padding: 20px;
    border-top: none;
    background-color: #ffffff;
    box-shadow: 0 48px 80px -32px rgba(0, 0, 0, 0.3);
}

.crh-tab-section-content-new.active {
    display: block;
}


/* ===== Learner Dashboard CSS ===== */
.crh-learner-dashboard-container {
    display: flex;
    gap: 20px;
}

.crh-learner-dashboard-container .crh-lr-db-learner-details {
    padding: 20px;
    width: 350px;
}

.crh-learner-dashboard-container .crh-lr-db-learner-details h2 {
    text-align: center;
}

.crh-learner-dashboard-container .crh-lr-db-learner-details img {
    display: block;
    margin: 0 auto 30px auto;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    box-shadow: 0px 0px 5px #CCC;
}

.crh-lr-db-learner-details .crh-learner-db-overview-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.crh-lr-db-learner-details h5 {
    margin-bottom: 15px;
    text-align: center;
}

/* Course Details - Accesssor Name, IQA, COurse Status */
.crh-lr-db-learner-details .crh-lr-db-course-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.crh-lr-db-learner-details .crh-lr-db-course-details > div {
    display: flex;
    gap: 10px;
}

.crh-lr-dashboard-accessor-details {
    display: flex;
    align-items: center;
    gap: 5px;
}

.crh-lr-dashboard-accessor-details .crh-lr-db-accessor-email a {
    display: flex;
    cursor: pointer;
}

.crh-learner-dashboard-container .crh-learner-db-course-spec-cards-container {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.crh-learner-dashboard-container .crh-learner-db-course-spec-cards-container > div {
    padding: 20px;
    background-color: #f8fcff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    border-radius: 5px;
    box-shadow: 0px 0px 5px #e1e1e1;
}

.crh-learner-db-course-spec-cards-container .crh-learner-db-individual-course-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.crh-learner-db-course-spec-cards-container > div .crh-lr-db-items-list {
    margin-top: 10px;
    padding: 10px 10px 10px 0px;
    height: 95px;
    overflow-y: auto;
    background-color: #FFF;
}

.crh-lr-db-items-list ul {
    margin-bottom: 0px !important;
}

/* Scrollbar Width */
.crh-lr-db-items-list::-webkit-scrollbar {
    width: 5px;
}

/* Scrollbar Track */
.crh-lr-db-items-list::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #ccc;
}

/* Scrollbar Handle */
.crh-lr-db-items-list::-webkit-scrollbar-thumb {
    background: #3550c9;
}

.crh-lr-db-items-list .crh-lr-db-individual-course-unit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.crh-lr-db-individual-course-unit .crh-lr-db-course-unit-pending,
.crh-lr-db-individual-course-unit .crh-lr-db-course-unit-ongoing,
.crh-lr-db-individual-course-unit .crh-lr-db-course-unit-completed {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #dc143c;
}

.crh-lr-db-individual-course-unit .crh-lr-db-course-unit-ongoing {
    background-color: #ff8d00;
}

.crh-lr-db-individual-course-unit .crh-lr-db-course-unit-completed {
    background-color: #039b03;
}