/* ============================================================
   COURSE DETAIL PAGE
   Two columns: 8/12 accordion + 4/12 sidebar
   ============================================================ */

.edu_course_detail_section {
    padding: 140px 0 80px;
    background: #ffffff;
}

/* Page title (e.g. "CLINICAL GENOMICS") */
.edu_course_detail_title {
    color: #00918A;
    font-weight: 700;
    font-size: 24px;
    margin: 0px 0 0px;
    text-transform: uppercase;
}

.edu_course_detail_row {
    align-items: flex-start;
}

/* ============================================================
   LEFT COLUMN — accordion
   ============================================================ */
.edu_course_accordion {
    --bs-accordion-border-color: transparent;
    --bs-accordion-bg: transparent;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.edu_course_accordion_item {
    border:2px solid rgb(207, 229, 255);
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

/* Header button */
.edu_course_accordion_btn {
    background: #ffffff;
    color: #00918A;
    font-weight: 600;
    font-size: 1rem;
    padding: 18px 24px;
    text-transform: uppercase;
    box-shadow: none !important;
    border: none;
    transition: background 0.25s ease, color 0.25s ease;
}

.edu_course_accordion_btn:not(.collapsed) {
    background: #00918A;
    color: #ffffff;
}

.edu_course_accordion_btn:focus {
    outline: none;
    box-shadow: none;
}

/* Chevron — recolored for both states */
/* Chevron — collapsed state (navy outline on white header) */
.edu_course_accordion_btn::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='3' stroke='%2300918A'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    transition: transform 0.5s ease;
    background-size: 1.4rem 1.4rem;
}

/* Chevron — expanded state (white outline on navy header) */
.edu_course_accordion_btn:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='3' stroke='%23ffffff'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
}

/* Body */
.edu_course_accordion_body {
    padding: 22px 10px 26px;
    background: #ffffff;
}

.edu_course_topic_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.edu_course_topic_item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #2a3a52;
    font-size: 16px;
    line-height: 1.5;
}

.edu_course_topic_check {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    object-fit: contain;
}

.edu_course_topic_text {
    color: #2a3a52;
}

/* ============================================================
   RIGHT COLUMN — Course Details sidebar
   ============================================================ */
.edu_course_details_card {
    border: 2px solid rgb(207, 229, 255);
    border-radius: 12px;
    background: #ffffff;
    padding: 0px 9px 15px;
    position: sticky;
    top: 20px;
}

.edu_course_details_header {
    text-align: center;
    color: #00918A;
    font-weight: 700;
    font-size: 1.05rem;
    border-bottom: 1px solid rgb(207 229 255/var(--tw-border-opacity,1));
}
.edu_course_details_block {
    display: flex;
    padding: 10px 3px 0 ;
}
/* One row = icon (left) + content (right) */
.edu_course_details_block {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.edu_course_details_apply_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 18px;
}
/* Circular navy icon */
.edu_course_details_icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #F05165;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F05165;
    font-size: 1.15rem;  /* was 1.5rem — icon now smaller inside circle */
}

.edu_course_details_content {
    flex: 1;
    min-width: 0;
}

.edu_course_details_label {
    color: #00918A;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
}

.edu_course_details_value {
    color: #6c7a93;
    font-size: 0.9rem;
}

.edu_course_details_list_item {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
    color: #6c7a93;
    font-size: 0.88rem;
    line-height: 1.5;
}

.edu_course_details_list_item p {
    margin: 0;
}

.edu_course_details_dash {
    flex-shrink: 0;
    color: #6c7a93;
}

/* APPLY NOW button */
.edu_course_details_apply_wrapper {
    text-align: center;
    margin-top: 8px;
}

.edu_apply_now_btn {
    display: inline-block;
    background: #00918A;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.6px;
    padding: 12px 38px;
    border-radius: 30px;
    transition: background 0.25s ease, transform 0.15s ease;
}

.edu_apply_now_btn:hover {
    background: #F05165;
    color: #ffffff;
    transform: translateY(0px);
}

/* ============================================================
   Breadcrumb (kept consistent with listing page)
   ============================================================ */
.edu_breadcrumb_list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: px;
    padding: 0;
    margin: 0 0 8px;
    font-size: 0.9rem;
}

.edu_breadcrumb_item a {
    color: #6c7a93;
    text-decoration: none;
    transition: color 0.2s ease;
}

.edu_breadcrumb_item a:hover {
    color: #0e3a78;
}

.edu_breadcrumb_separator {
    color: #b6c0d3;
}

.edu_breadcrumb_active {
    color: #00918A;
    font-weight: 500;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991px) {
    .edu_course_details_card {
        position: static;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .edu_course_detail_title {
        font-size: 1.5rem;
    }

    .edu_course_accordion_btn {
        font-size: 0.9rem;
        padding: 14px 18px;
    }

    .edu_course_accordion_body {
        padding: 18px 20px 20px;
    }

    .edu_course_topic_item {
        font-size: 0.92rem;
    }

    .edu_course_details_icon {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }
}
/* ============================================================
   APPLY NOW MODAL
   ============================================================ */
.edu_apply_modal .modal-dialog {
    max-width: 760px;
}

.edu_apply_modal_content {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(26, 77, 136, 0.25);
}

.edu_apply_modal_header {
    background: #2f72b8;
    color: #ffffff;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.edu_apply_modal_title {
    margin: 0;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.edu_apply_modal_close {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.edu_apply_modal_close:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

.edu_apply_modal_body {
    padding: 28px 32px 24px;
    background: #ffffff;
}

.edu_apply_honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.edu_apply_label {
    display: block;
    color: #1A4D88;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.edu_apply_required {
    color: #e53935;
    margin-left: 2px;
}

.edu_apply_input {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.95rem;
    color: #2a3a52;
    background: #ffffff;
    border: 1.5px solid #d9e2f1;
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.edu_apply_input::placeholder {
    color: #b6c0d3;
    font-weight: 400;
}

.edu_apply_input:focus {
    outline: none;
    border-color: #1A4D88;
    box-shadow: 0 0 0 3px rgba(26, 77, 136, 0.12);
}

.edu_apply_input.is-invalid {
    border-color: #e53935;
}

.edu_apply_input.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15);
}

.edu_apply_textarea {
    resize: vertical;
    min-height: 100px;
}

.edu_apply_error {
    color: #e53935;
    font-size: 0.8rem;
    margin-top: 4px;
    min-height: 0;
}

.edu_apply_submit_wrapper {
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

.edu_apply_submit_btn {
    background: #ffffff;
    color: #6ab43e;
    border: 1.5px solid #6ab43e;
    padding: 8px 36px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
    min-width: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.edu_apply_submit_btn:hover:not(:disabled) {
    background: #6ab43e;
    color: #ffffff;
}

.edu_apply_submit_btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.edu_apply_status {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
}

.edu_apply_status_success {
    background: #e7f7e6;
    color: #2d6a1f;
    border: 1px solid #b5dfa9;
}

.edu_apply_status_error {
    background: #fdecea;
    color: #a32a26;
    border: 1px solid #f3b5b3;
}

@media (max-width: 576px) {
    .edu_apply_modal_body {
        padding: 20px 18px;
    }
    .edu_apply_modal_title {
        font-size: 1rem;
    }
}