
.ecg_main_section {
    margin-top:20px;
}
            .ECG_main_caliper_slider {
                position: relative;
                padding: 0;
                -webkit-user-select: none;
                -ms-user-select: none;
                user-select: none;
            }

           .ECG_main_caliper_slider .ECG_box_contant {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* background-color: #fff; */
    /* box-sizing: border-box; */
    /* border: 2px solid #24438e; */
    max-width: 1330px;
    margin: 16px auto;
}

            .ECG_main_caliper_slider .ecg-container {
                position: relative;
                overflow: hidden;
                cursor: default;
            }

            .ECG_main_caliper_slider .ecg-container.draggable {
                cursor: grab;
            }

            .ECG_main_caliper_slider .ecg-container .test-main .ecg-display {
                position: static;
                top: 0;
                left: 0;
                margin: 0 auto;
                width: 100%;
                height: auto;
                display: block;
                max-width: 1256px;
                text-align: center;
            }

            .ECG_main_caliper_slider .ecg-image {
                width: 100%;
                height: 100%;
                object-fit: contain;
                transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
                transform-origin: center center;
                filter: brightness(100%);
                transform: scale(1);
            }

            .ECG_main_caliper_slider .caliper-line-handle {
                width: 2px;
                height: 100%;
                position: absolute;
                top: 50%;
                transform: translateY(-50%) translateX(-50%);
                cursor: grab;
                display: none;
                background-color: blue;
                z-index: 12;
                cursor: e-resize !important;
                position: relative;
            }

            .ECG_main_caliper_slider .caliper-line-handle::after {
                content: "";
                position: absolute;
                top: -9px;
                width: 10px;
                height: 10px;
                background-color: blue;
                left: -4px;
                border-radius: 0px 0px 0px 36px;
                transform: rotate(136deg);
            }

            .ECG_main_caliper_slider .caliper-line-handle::before {
                content: "";
                position: absolute;
                bottom: -11px;
                width: 10px;
                height: 10px;
                background-color: blue;
                left: -4px;
                border-radius: 0px 0px 0px 36px;
                transform: rotate(314deg);
            }

            .ECG_main_caliper_slider .caliper-line-handle.left {
                left: 0;
            }

            .ECG_main_caliper_slider .caliper-line-handle.right {
                right: 0;
            }

            .ECG_main_caliper_slider .caliper-line {
                position: absolute;
                top: 0;
                bottom: 0;
                width: 0px;
                background-color: rgb(0, 0, 0);
                display: none;
                cursor: grab;
                /* Changed cursor to grab */
                height: 300px;
                transform: translateY(0);
            }

            .ECG_main_caliper_slider .caliper-line.left {
                left: 0;
            }

            .ECG_main_caliper_slider .caliper-line.right {
                left: 0;
            }

            .ECG_main_caliper_slider .caliper-info {
                background-color: transparent;
                color: blue;
                font-size: 18px;
                padding: 5px 10px;
                width: max-content;
                display: none;
                position: absolute;
                transform: translateY(-50%);
                top: 50% !important;
                right: 10px !important;
                font-size: 22px;
                font-weight: bold;
            }

            .ECG_main_caliper_slider .caliper-info span#timeInterval {
                color: blue;
            }

            .ECG_main_caliper_slider svg {
                height: auto;
                z-index: 0;
                display: block;
            }

            .ECG_main_caliper_slider #horizontalLine {
                position: absolute;
                top: 50%;
                display: none;
                z-index: 10;
                cursor: all-scroll;
                padding: 10px 0;
                width: 100%;
                /* Make it span the container */
                left: 0;
                /* Align to the left */
            }

            .ECG_main_caliper_slider .horizontal-line {
                height: 2px;
                background-color: blue;
                z-index: 10;
                position: absolute;
                bottom: 10px;
                width: 100%;
                /* Ensure it fills the parent */
            }

            .brightness-controls {
                position: absolute;
                top: 40px;
                left: 10px;
                display: none;
                flex-direction: column;
                align-items: center;
                gap: 10px;
                z-index: 100;
            }

            .brightness-controls label {
                font-size: 14px;
            }

            .brightness-controls input[type="range"] {
                width: 8px;
                height: 100px;
                -webkit-appearance: slider-vertical;
                appearance: slider-vertical;
                writing-mode: bt-lr;
                -webkit-writing-mode: vertical-lr;
            }

            .brightness-controls span {
                font-size: 12px;
            }

            .march-out-caliper {
                position: absolute;
                top: 10px;
                left: 50%;
                transform: translateX(-50%);
                background-color: rgba(0, 0, 0, 0.7);
                color: blue;
                padding: 10px;
                border-radius: 5px;
                display: none;
                /* Hidden by default */
                z-index: 100;
            }

            .march-out-line {
                position: absolute;
                top: 0;
                /* Anchor to the top */
                /* bottom: 0; Remove the bottom anchor */
                width: 2px;
                background-color: blue;
                display: none;
                z-index: 11;
                height: 300px;
                /* Set the fixed height */
                cursor: grab;
                /* Add a grab cursor to indicate it's draggable */
            }

            .march-out-line.left {
                left: 0;
            }

            .march-out-line.right {
                right: 0;
            }

            /* ... other CSS ... */

            #marchOutLinesContainer {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                pointer-events: none;
                /* Important: Allows clicks to pass through to the ecgContainer for caliper
            interaction */
            }

            .march-out-line {
                position: absolute;
                top: 0;
                width: 2px;
                background-color: blue;
                display: none;
                z-index: 11;
                height: 300px;
                cursor: grab;
            }

            .march-out-line.left {
                left: 0;
            }

            .march-out-line.right {
                right: 0;
            }

            #customContextMenu {
                position: absolute;
                background-color: #f9f9f9;
                border: 1px solid #dcdcdc;
                box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
                padding: 10px;
                z-index: 1000;
                display: none;
            }

            #customContextMenu button {
                display: block;
                width: 100%;
                padding: 8px 12px;
                border: none;
                background: transparent;
                text-align: left;
                cursor: pointer;
            }

            #customContextMenu button:hover {
                background-color: blue;
                color: #fff;
            }
            .ECG_button button {
    width: auto;
}

/*===========================*/

   /* ======================
   General Container Layout
====================== */
.ecg-toolbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fbfc;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

/* Timer Section */
.ecg-info-panel {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.ecg-timer i {
    margin-right: 6px;
    color: #0b8fac;
}

.ecg-question-number {
    background: #e8f4ff;
    padding: 6px 12px;
    border-radius: 6px;
    color: #0072b1;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.ecg-question-number:hover {
    background: #d6edff;
}

/* Mark Section */
.ecg-mark-section {
    background: #fff3cd;
    padding: 6px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #856404;
}

.mark-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ======================
   EKG Heading
====================== */
.ECG_Qun_name_heading {
    background: #fff;
    border-left: 4px solid #0b8fac;
    padding: 18px 22px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 0;
    margin-top: 25px;
}

.ECG_Qun_name_heading h2 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

/* ======================
   Button Controls
====================== */
.ECG_all_button {
    /* background: #f9f9f9; */
    /* padding: 15px 20px; */
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* gap: 15px; */
    /*box-shadow: 0 2px 6px rgba(0,0,0,0.04);*/
    margin-top: 21px;
}

.ECG_button button {
    background: white;
    border: 1px solid #ccc;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ECG_button button:hover {
    background: #0ed6d0;
    color: #fff;
    border-color: #0ed6d0;
}

.ECG_button img {
    width: 20px;
}

/* ======================
   Navigation + Mark
====================== */
.ECG_Qun_next_and_pre_mark {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mark_flex_div {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.button_custom {
    background: #0ed6d0;
    color: white;
    border: none;
    padding: 7px 12px;
    border-radius: 6px;
    transition: background 0.3s ease;
    text-decoration: none;
}

.button_custom:hover {
    background: #0b8fac;
    text-decoration: none;
}

/* Check icon */
.Q_check_srcall {
    font-size: 14px;
    color: #444;
}

.mark-question-box {
    background: #fff3cd;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 15px;
    color: #856404;
}

.question-box {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 10px  15px;
    border-left: 5px solid #0ed6d0;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}
.ecg-image-section {
    background: #ffffff;
    border: 1px solid #dee2e6;
    padding: 8px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1.5rem;
    height: 460px;
}
.answers-title {
    position: relative;
    /*background-color: #fff;*/
    width: 100%;
    border: none;
    color: #000;
}
.answers-title h2 {
    font-weight: 700;
    color: #000;
}
.ecg_answers {
    display: block;
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 24px;
    -moz-column-gap: 24px;
    column-gap: 15px;
    width: 100%;
}
.ecg_answers_items_list {
    border: 1px solid #24438e29;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
    margin: 8px 0;
    display: inline-block;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}
.ecg_answers_items_list h3 {
    font-size: 14px;
    font-weight: 600;
    /* background: linear-gradient(to right, #000000, #FFC0CB); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
}
.ecg_answers_items_list ul li {
    padding: 0px 0;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* border-bottom: 1px solid #ddd; */
    font-size: 12px;
    font-style: italic;
}
.ecg_answers_items_list ul li input {
    position: relative;
    top: 2px;
    width: 19px;
    height: 17px;
    cursor: pointer;
}
.ecg_answers_items_list ul li a, .ecg_answers_items_list ul li span {
    font-size: 12px;
    color: #000;
    font-weight: 600;
    font-size: 12px;
    font-style: italic;
}
.ecg_answers_items_list ul li i {
    font-size: 16px;
    color: #000;
    cursor: pointer;
}
img.ecg_heard_img_line {
    width: 22px;
    position: relative;
    top: -2px;
}
ul {
    padding: 0;
    margin: 0;
}
    .brightness-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #0ed6d0;
    padding: 8px;
    transition: color 0.3s ease;
}

.brightness-button:hover {
    color: #0b8fac;
}

/* Brightness Controls Box */
.brightness-controls {
    display: none;
    position: absolute;
    top: 35px;
    right: 0;
    background: #fff;
    border: 1px solid #0ed6d0;
    border-radius: 6px;
    padding: 10px 15px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    min-width: 180px;
}

/* Slider */
.brightness-controls input[type="range"] {
    width: 100%;
    margin: 5px 0;
    accent-color: #0ed6d0;
}

.brightness-controls label {
    font-size: 14px;
    font-weight: 500;
    color: #0b8fac;
}

#brightnessValue {
    font-size: 13px;
    font-weight: 600;
    color: #0b8fac;
    display: block;
    text-align: right;
}
/*===========  MOdal  ===============*/


   /* Blur Background for Modal */
.modal-backdrop.show {
    backdrop-filter: blur(6px);
    background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content Styling */
.Quntion_modal {
    border-radius: 12px;
    border: none;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.4s ease-out;
    background: #ffffff;
    padding: 20px;
}

/* Close Button */
.modal__close {
    display: flex;
    justify-content: flex-end;
    padding: 5px 10px;
}

.modal__close i {
    font-size: 20px;
    color: #0b8fac;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.modal__close i:hover {
    transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
    padding: 10px 20px;
}

/* Heading */
.Q_show_plus_icons h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #0b8fac;
    font-weight: 600;
}

/* Question Number List */
.Q_show_plus_icons ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.Q_show_plus_icons ul li {
    border: 1px solid #0ed6d0;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 0;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.Q_show_plus_icons ul li a {
    text-decoration: none;
    color: #0b8fac;
    display: block;
}
.Q_show_plus_icons ul li:hover {
    background-color: #0ed6d0;
    color: #fff;
    font-weight: bold;
    border-color: #0ed6d0;
}
.Q_show_plus_icons ul li.active {
    background-color: #0ed6d0;
    color: #fff;
    font-weight: bold;
    border-color: #0ed6d0;
}

.Q_show_plus_icons ul li.active a {
    color: #fff;
}

/* Slide animation */
@keyframes slideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/*===========================*/
.Mark_and_button_next_prev {
    display: flex;
    align-items: center;
}
.Mark_and_button_next_prev .ecg-mark-section {
    margin-right: 17px;
}



/*=========== Details ============*/
.ekg_deatils_total_section_main {
    display: flex;
    gap: 0;
    align-items: center;
    margin-top: 45px;
    margin-bottom: 45px;
}

.ekg_deatils_total_section_circle_wrapper {
    /* flex: 1; */
    /* display: flex; */
    /* justify-content: center; */
    height: 100%;
    margin-right: 25px;
}

.ekg_deatils_total_section_circle {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    background-color: #0b8fac;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ekg_deatils_total_section_circle h4 {
    font-size: 18px;
    margin: 0;
}

.ekg_deatils_total_section_circle span {
    font-size: 28px;
    font-weight: bold;
}

.ekg_deatils_total_section_stats {
    flex: 3;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.ekg_deatils_total_section_stat_card {
    display: flex;
    background: #f8f9fb;
    border-radius: 12px;
    padding: 16px 20px;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.ekg_deatils_total_section_stat_card:hover {
    transform: translateY(-4px);
}

.ekg_deatils_total_section_stat_card i {
    font-size: 30px;
    margin-right: 15px;
}

.ekg_deatils_total_section_stat_card .content p {
    margin: 0;
    font-size: 15px;
    color: #333;
}

.ekg_deatils_total_section_stat_card .content strong {
    font-size: 22px;
    font-weight: 600;
    color: #000;
}

/* Icon Colors */
.correct { color: #28a745; }
.incorrect { color: #dc3545; }
.total { color: #007bff; }
.missed { color: #ffc107; }
.wrong { color: #ff5722; }

/*================*/

   .answer-section {
    /* background: #f7f9fc; */
    /* padding: 30px; */
    border-radius: 12px;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.05); */
    /* font-family: 'Segoe UI', sans-serif; */
    /* margin-bottom: 30px; */
}
    .answer-section h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        color: #333;
        font-weight: 600;
    }

    .answer-columns {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        margin-top:30px;
    }

    .answer-box {
        flex: 1;
        min-width: 280px;
        background: #fff;
        border: 1px solid #dee2e6;
        border-radius: 10px;
        padding: 20px;
    }

    .answer-box h4 {
        font-size: 1.2rem;
        margin-bottom: 15px;
        color: #007bff;
        border-bottom: 1px solid #eee;
        padding-bottom: 8px;
    }

    .answer-box ul {
        list-style-type: none;
        padding-left: 0;
    }

    .answer-box li {
        margin-bottom: 8px;
        padding: 8px 12px;
        background: #f1f1f1;
        border-radius: 6px;
        font-size: 0.95rem;
    }

    .answer-box li.correct {
        background-color: #d4edda;
        color: #155724;
        font-weight: bold;
    }

    .answer-box li.incorrect {
        background-color: #f8d7da;
        color: #721c24;
        font-weight: bold;
    }

    .note {
        font-style: italic;
        margin-top: 15px;
        font-size: 0.9rem;
        color: #6c757d;
    }
    
.question-description img ,.Qbank_main_box img {
    max-width: 100%;
   
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 20px;
    width: 100%!important;
    height: 440px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}
.question-description img:hover ,.Qbank_main_box img:hover{
    transform: scale(1.02);       /* Slight zoom on hover */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* Deeper shadow on hover */
}
/*=========================*/

  .table_angiogram {
        padding: 2rem;
        background-color: #f9f9f9;
        border-radius: 12px;
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
        overflow-x: auto;
    }

    .table_angiogram table {
        width: 100%;
        border-collapse: collapse;
    }

    .table_angiogram thead th {
        background-color: #0ed6d0;
        color: white;
        font-weight: 600;
        text-align: center;
        padding: 12px;
        border: 1px solid #e0e0e0;
        position: sticky;
        top: 0;
        z-index: 2;
    }

    .table_angiogram tbody td,
    .table_angiogram tbody th {
        padding: 10px;
        text-align: center;
        vertical-align: middle;
        border: 1px solid #ddd;
        background-color: #fff;
    }

    .table_angiogram tbody th {
        text-align: left;
        font-weight: 500;
        background-color: #f4f9f9;
    }

    .form-check-input {
        width: 20px;
        height: 20px;
        accent-color: #0ed6d0;
    }

   .echo_text_ans_box_data,.echo_text_and_mix_check_table {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #0ed6d0;
    border-radius: 8px;
    background: #ffffff;
}

    .echo_text_ans_box_data h5 {
        font-weight: bold;
        color: #0ed6d0;
        margin-bottom: 0.5rem;
    }

    .echo_text_ans_box_data label {
        display: inline-block;
        margin-right: 1rem;
        margin-bottom: 0.3rem;
    }

    .button_custom {
        background-color: #0ed6d0;
        border: none;
        padding: 12px 30px;
        color: white;
        font-weight: 600;
        font-size: 16px;
        border-radius: 8px;
        cursor: pointer;
        margin-top: 1rem;
        transition: background-color 0.3s ease;
    }

    .button_custom:hover {
        background-color: #0bc4bd;
    }

    @media screen and (max-width: 768px) {
        .table_angiogram thead {
            display: none;
        }

        .table_angiogram table,
        .table_angiogram tbody,
        .table_angiogram tr,
        .table_angiogram td,
        .table_angiogram th {
            display: block;
            width: 100%;
        }

        .table_angiogram td {
            text-align: left;
            padding-left: 50%;
            position: relative;
        }

        .table_angiogram td::before {
            content: attr(data-label);
            position: absolute;
            left: 10px;
            top: 10px;
            font-weight: bold;
            color: #0ed6d0;
        }
    }
    
    
    /*==============================================*/
    
  #myVideo {
    width: 100%;
    height:460px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    outline: none;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background-color: #000;
    animation: fadeInVideo 0.8s ease-out;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

/* On hover: elevate the video */
#myVideo:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Fade-in animation */
@keyframes fadeInVideo {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 768px) {
    .custom-video {
        border-radius: 8px;
    }
}
.angiogram_test_Q_slider .owl-nav {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 0;
}

.angiogram_test_Q_slider .owl-nav button.owl-prev, .angiogram_test_Q_slider .owl-nav button.owl-next {
    background-color: #0ed6d0;
    border: none;
    padding: 0;
    border-radius: 50px;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    margin: 0;
    border-radius: 0;
    height: auto;
    width: 79px;
}
.angiogram_test_Q_slider .owl-nav button span {
    /* height: auto; */
    display: block;
    line-height: normal;
    position: relative;
    top: -5px;
    font-size: 35px;
}

.angiogram_test_Q_slider .owl-nav button.owl-prev:hover,
.angiogram_test_Q_slider .owl-nav button.owl-next:hover {
    background-color: #0cc1bd;
    transform: scale(1.05);
}

/* Hide dots */
.angiogram_test_Q_slider .owl-dots {
    display: none !important;
}
.angiogram_banner {
    margin-top: 28px;
    margin-bottom: 20px;
}

.question-description {
    margin-top: 14px;
}


/*============== button ==========*/
.button {
    position: relative;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    padding-block: 0.5rem;
    padding-inline: 1.25rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffff;
    gap: 10px;
    font-weight: bold;
    border: 3px solid #ffffff4d;
    outline: none;
    overflow: hidden;
    font-size: 15px;
    background: linear-gradient(to right, #0ed6d0, #0b8fac);
}
.button_center {
    margin: 0 auto;
}

.button i {
  transition: all 0.3s ease-in-out;
}

.button:hover {
  transform: scale(1.05);
  border-color: #fff9;
}

.button:hover i {
  transform: translate(4px);
}

.button:hover::before {
  animation: shine 1.5s ease-out infinite;
}

.button::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0) 70%
  );
  top: 0;
  left: -100px;
  opacity: 0.6;
}

@keyframes shine {
  0% {
    left: -100px;
  }

  60% {
    left: 100%;
  }

  to {
    left: 100%;
  }
}

.ECG_Q_ANS_main_box_submit_wrapper button.button, .clear-results-btn-wrapper button.button  {
    margin: 0 auto;
}

/*==================== result ===================*/

.result-summary-section {
    /*background: #f0f7f9;*/
    padding: 60px 20px;
    padding-bottom:30px;
}

.result-summary-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #0ed6d0;
    margin-bottom: 25px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.result-summary-title p {
    margin: 0;
}

.result-summary-title i {
    color: #0ed6d0;
}
.result-summary-box {
    max-width: 100%;
    margin: auto;
    position: relative;
}
.result-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    align-items: center;
}
.result-stat-card {
    /* display: flex; */
    background: #fff;
    border-radius: 12px;
    padding: 12px 17px;
    box-shadow: 0 4px 14px rgba(11, 143, 172, 0.1);
    transition: all 0.3s ease;
    align-items: center;
    gap: 18px;
    border-left: 5px solid #0ed6d0;
    height: 100%;
}
.total_Score_headeign_fle {
    display: block;
}
.total_Score_headeign_fle p#yourScoreLabel {
    text-align: right;
    font-size: 19px;
}
.all_sr_test_heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.all_sr_test_heading p {
    margin: 0;
}
.tests-circle-value {
    font-size: 23px;
    font-weight: 800;
    color: #000000;
    text-align: center;
    padding-top: 0px;
    margin: 0;
}

.result-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(11, 143, 172, 0.2);
}

.result-summary-section .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.result-summary-section  .bg-blue {
    background: #0ed6d0;
}

.result-summary-section  .bg-green {
    background: #28a745;
}

.result-summary-section .bg-purple {
    background: #6f42c1;
}

.result-summary-section  .stat-content .stat-label {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-summary-section  .stat-content .stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0ed6d0;
}

      .circle-container {
    position: relative;
}

       .circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(#58c757 0%,
                    #58c757 var(--percent),
                    #ffd5d5 var(--percent),
                    #ffd5d5 calc(var(--percent) + 10%),
                    #dce7fd calc(var(--percent) + 10%),
                    #dce7fd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

        .circle-inner {
            width: 75%;
            height: 75%;
            border-radius: 50%;
            background-color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }

        .circle-inner .percentage {
            font-size: 20px;
            font-weight: bold;
            color: #000;
        }

        .circle-inner .label {
            font-size: 12px;
            color: #7f8c8d;
        }

        /* === Horizontal Progress Bar === */
        .bar-container {
            position: relative;
            width: 100%;
            max-width: 600px;
            height: 50px;
            background: #e0e0e0;
            border-radius: 10px;
            margin: 30px 0;
            box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
        }

        .bar-fill {
            height: 100%;
            background: #0ed6d0;
            width: 0%;
            border-radius: 10px 0 0 10px;
            position: relative;
            z-index: 1;
            transition: width 0.5s ease;
        }

        .average-line {
            position: absolute;
            height: 100%;
            width: 2px;
            background: gray;
            left: 64%;
            top: 0;
            z-index: 2;
            display:none;
        }

        .average-label {
            position: absolute;
            top: 100%;
            left: 64%;
            transform: translateX(-50%);
            margin-top: 10px;
            background: #d9d9d9;
            color: black;
            font-size: 14px;
            padding: 4px 8px;
            border-radius: 4px;
            display:none;
        }

        .score-label {
            text-align: center;
            margin-top: 10px;
            font-weight: bold;
            color: #333;
        }
.tests-circle-progress {
    transform: rotate(-90deg);
}

.tests-circle-progress circle {
    fill: none;
    stroke-linecap: round;
}

.tests-circle-progress .bg {
    stroke: #e6e6e6;
}

.tests-circle-progress .progress {
    stroke: #0ed6d0;
    stroke-dasharray: 327; /* 2πr = 2 * π * 52 */
    stroke-dashoffset: 327;
    transition: stroke-dashoffset 1s ease-out;
}
.tests-circle_main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    width: 100%;
}
.tests-circle_main_data {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.tests-circle-label {
    /* position: absolute; */
    font-size: 21px;
    font-weight: bold;
    color: #2c3e50;
    margin-top: 43px;
}
/*================*/

 .ekg-glass-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
    max-width: 100%;
    margin: auto;
}

.ekg-glass-card {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.ekg-glass-card:hover {
    transform: translateY(-4px);
}


.bg-secondary {
    background: #6c757d;
}

.ekg-glass-content {
    flex: 1;
    padding: 20px;
    border-left: 9px solid #0ed6d0;
}

.ekg-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0ed6d0;
    margin-bottom: 10px;
    display: flex;
    /*align-items: center;*/
    width: 85%;
}
.ekg-title i {
    position: relative;
    top: 3px;
    width: 18px;
}

.ekg-glass-score {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}

.ekg-glass-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.3s ease;
}

.btn-glass.view {
    background: #0ed6d0;
}

.btn-glass.retake {
    background: #ffc107;
    color: #000;
}

.btn-glass.start {
    background: #0ed6d0;
}

.status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 30px;
    color: #fff;
    display: flex;
    align-items: center;
}

.status-badge.completed {
    background-color: #28a745;
}

.status-badge.pending {
    background-color: red;
}


.clear-results-btn-wrapper.aos-init.aos-animate {
    /*margin-top: 0;*/
    /*position: absolute;*/
    /*top: -47px;*/
    /*right: 0;*/
}
/*============== echo ============*/

/*.ans_sheet_echo_test_row {*/
/*    display: flex;*/
/*    flex-wrap: wrap;*/
/*    width: 100%;*/
/*    justify-content: space-around;*/
/*}*/
/*.ans_sheet_echo_test_colume_firt {*/
/*    width: 69%;*/
/*}*/
/*.echo_text_box_content {*/
    /* border: 1px solid #24438e; */
    /* padding: 8px; */
    /* width: 100%; */
    /* margin: 8px 0; */
/*    display: inline-block;*/
    /* background-color: #fff; */
    /* border-radius: 4px; */
/*}*/
/*.big_box_echO_content {*/
/*    display: block;*/
/*    -webkit-column-count: 3;*/
/*    -moz-column-count: 3;*/
/*    column-count: 3;*/
/*    -webkit-column-gap: 24px;*/
/*    -moz-column-gap: 24px;*/
/*    column-gap: 15px;*/
/*    width: 100%;*/
/*}*/
/*.echo_text_ans_box_data {*/
    /* width: 33%; */
/*    margin-bottom: 14px;*/
/*    display: inline-block;*/
/*}*/
/*.echo_text_ans_box_data h5 {*/
/*    font-size: 16px;*/
/*    font-weight: 600;*/
/*    margin-bottom: 6px;*/
/*}*/
/*.echo_text_ans_box_data_list label {*/
/*    font-size: 12px;*/
/*    width: 100%;*/
/*    margin-bottom: 5px;*/
/*    font-style: italic;*/
/*}*/
/*.echo_text_and_mix_check_table {*/
/*    width: 100%;*/
/*    display: inline-block;*/
/*    overflow: hidden;*/
/*    overflow-x: scroll;*/
/*}*/
/*.ans_sheet_echo_test table {*/
/*    border-collapse: collapse;*/
/*    width: 100%;*/
/*}*/
/*.ans_sheet_echo_test td, .ans_sheet_echo_test th {*/
/*    text-align: left;*/
/*    padding: 8px;*/
/*    font-size: 12px;*/
/*}*/
/*.ans_sheet_echo_test_colume_second {*/
/*    width: 29%;*/
/*    display: block;*/
/*    -webkit-column-count: 2;*/
/*    -moz-column-count: 2;*/
/*    column-count: 2;*/
/*    -webkit-column-gap: 24px;*/
/*    -moz-column-gap: 24px;*/
/*    column-gap: 15px;*/
/*}*/

.boardsmedi-footer {
    overflow: hidden!important;
}

        .angiogram_banner .owl-dots {
    display: none;
}
.angiogram_banner .owl-nav {
      display: flex!important;
    align-items: center !important;
        justify-content: end !important;
}
.angiogram_banner .owl-nav button {
    background: #0ed6d0!important;
    width: 40px;
    height: 40px;
    display: flex!important;
       justify-content: center !important;
    align-items: center!important;
    color: #000!important;
    font-size: 31px!important;
}



/*======= table ============*/
.echo_text_box_content {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

/* Section heading */
.echo_text_box_content > h5 {
    font-size: 18px;
    font-weight: 700;
    color: #0b8fac;
    margin-bottom: 15px;
    border-left: 4px solid #0ed6d0;
    padding-left: 10px;
}

/* Grid layout for checkbox groups */
.big_box_echO_content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 15px;
}
.Echo_othe_box_layout {
    width: 100%;
    display: block;
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 24px;
    -moz-column-gap: 24px;
    column-gap: 15px;
    width: 100%;
}
.Echo_othe_box_layout .echo_text_ans_box_data {
    display: inline-block;
    width: 100%;
}
/* Card for each option group */
.echo_text_ans_box_data {
    background: #f9fcfc;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #d8f1f1;
    transition: all 0.3s ease;
}

.echo_text_ans_box_data:hover {
    background: #f1fbfb;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 217, 223, 0.1);
}

/* Sub heading for each group */
.echo_text_ans_box_data h5 {
    font-size: 15px;
    font-weight: 600;
    color: #0b8fac;
    margin-bottom: 10px;
}

/* Checkbox list style */
.echo_text_ans_box_data_list label {
    display: block;
    padding: 5px 0;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: color 0.2s;
}

.echo_text_ans_box_data_list input[type="checkbox"] {
    accent-color: #0ed6d0;
    margin-right: 8px;
}

.echo_text_ans_box_data_list label:hover {
    color: #0b8fac;
}

/* Table styling */
.echo_text_and_mix_check_table {
    margin-top: 20px;
    overflow-x: auto;
}

.echo_text_and_mix_check_table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e0f2f2;
}

.echo_text_and_mix_check_table thead {
    background: #0ed6d0;
    color: #fff;
}

.echo_text_and_mix_check_table th,
.echo_text_and_mix_check_table td {
    padding: 10px 12px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid #e0f2f2;
}

.echo_text_and_mix_check_table tbody tr:hover {
    background: #f1fbfb;
}

/* Responsive fix */
@media (max-width: 768px) {
    .big_box_echO_content {
        grid-template-columns: 1fr;
    }
}



