﻿/* Header inline search pill styling */
.Paper__title {
    gap: 12px;
}

    .Paper__title .newExam {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        white-space: nowrap;
        margin-left: 10px;
        flex-shrink: 1;
        flex-wrap: nowrap;
        min-width: 0;
    }

        .Paper__title .newExam a {
            margin-left: 0;
        }

.header-search {
    flex: 1;
    max-width: 700px;
    margin-left: auto;
}

    .header-search .input-group {
        border: 1px solid #cfe2ff;
        border-radius: 9999px;
        overflow: hidden;
        background: #ffffff;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }

    .header-search .form-control {
        border: none !important;
        box-shadow: none !important;
        height: 40px;
        padding: 6px 14px;
    }

#btnViewAll {
    background: #1363df;
    color: #fff;
    border: 0;
    /*  height: 40px;*/
    line-height: 40px;
    padding: 0 14px;
    border-radius: 0 9999px 9999px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    #btnViewAll i {
        font-size: 14px;
    }

@media (max-width: 768px) {
    .Paper__title {
        flex-wrap: wrap;
        align-items: flex-start;
    }

        .Paper__title h1 {
            font-size: 18px !important;
        }

        .Paper__title .newExam {
            font-size: 12px;
            gap: 6px;
        }

            .Paper__title .newExam a {
                font-size: 12px;
                white-space: nowrap;
                display: inline-block;
            }
   

    .header-search {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        margin-top: 8px;
    }

        .header-search .form-control {
            height: 38px;
        }

    #btnViewAll {
        /* height: 38px;*/
        line-height: 38px;
        padding: 0 12px;
        /* font-size: 13px;*/
    }
}

@media (max-width: 1024px) {
    .Paper__title {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 8px !important;
    }

        .Paper__title h1 {
            font-size: 18px !important;
            width: 100%;
            padding-left: 15px;
        }

        .Paper__title .newExam a {
            font-size: 12px;
        }

        .Paper__title .header-search {
            width: 100% !important;
            max-width: 100% !important;
            margin-left: 0 !important;
        }

    .header-search .input-group {
        flex-wrap: nowrap;
    }
}

@media (max-width: 400px) {
    .Paper__title h1 {
        font-size: 15px !important;
    }

    .Paper__title .newExam {
        gap: 4px;
    }

        .Paper__title .newExam a {
            padding: 0 2px;
        }
}
#svgContainer {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.docWrapper-product {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Desktop: 3 columns horizontal */
.col-left, .col-middle, .col-right {
    flex: 1;
    min-width: 200px; /* optional minimum width */
}

/* Mobile: vertical stack */
@media (max-width: 768px) {
    .docWrapper-product {
        flex-direction: column;
    }

    .col-left, .col-middle, .col-right {
        flex: 100%;
    }
}


.exam-date {
    font-size: 18px;
    font-weight: bold;
    color: #0070c0; /* blue date */
    line-height: 10px;
}

.exam-updated-text {
    font-size: 16px;
    font-weight: 500;
    color: #333; /* normal text */
}
/*--------10 OCT-------------------------*/
.docWrapper-product.form__wrapper {
    display: flex;
    align-items: stretch;
    gap: 20px;
}

/* Right info block styling */
.right-block {
    margin-left: auto; /* push to far right */
    order: 3; /* ensure it stays last in the row */
    min-width: 240px;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    background: #fff;
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

    .right-block ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        gap: 10px;
    }

    .right-block li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        color: #0b3561;
        font-weight: 600;
        letter-spacing: 0.2px;
    }

    .right-block .tick {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: #ff7a00;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 12px;
        box-shadow: 0 2px 6px rgba(255,122,0,0.35);
        flex: 0 0 22px;
    }

    .right-block .pass-badge {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: 1px solid #e6eef8;
        background: #fff;
        border-radius: 24px;
        padding: 6px 10px;
        text-decoration: none;
        transition: box-shadow .2s ease;
    }

        .right-block .pass-badge:hover {
            box-shadow: 0 6px 16px rgba(19, 99, 223, 0.15);
        }

        .right-block .pass-badge .rate {
            color: #25a244; /* light green like screenshot */
            font-weight: 800;
            font-size: 16px;
        }



/* Responsive: keep it neat on small screens */
@media (max-width: 767px) {
    .right-block {
        order: 3;
        min-width: 100%;
    }
}

/*@media (max-width: 600px) {
    .button-wrapper {
        flex-direction: column;
        align-items: flex-start;*/ /* or center if you prefer centered buttons */
    /*}
}*/


.exam-name {
    color: rgb(20, 164, 77);
    font-style: italic;
    display: inline-block;
    max-width: 100%;
    line-height: 1.3em;
    word-break: break-word;
    margin-bottom: 15px !important;
}

.crx {
    display: none;
    cursor: pointer;
    z-index: 10;
    user-select: none;
}

.content-block {
    flex: 1;
    min-width: 250px;
}

.docWrapper-h4 {
    font-size: 1.125rem; /* 18px but scalable */
    margin-bottom: 0.25rem;
}

.desc-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.desc-left {
    flex: 1;
    padding-right: 0.625rem;
}

.desc-right {
    text-align: right;
    padding-left: 0.625rem;
}



.button-wrapper {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

/* Hide mobile right block by default */
.right-block-mobile {
    display: none;
}

/* Show .right-block-mobile only on small screens */
@media screen and (max-width: 768px) {
    .right-block {
        display: none !important; /* Hide original right block */
    }

    .right-block-mobile {
        display: block;
        margin-top: 15px;
        min-width: 240px;
        max-width: 280px;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items:center;
        gap: 10px;
        background: #fff;
        border-radius: 12px;
        padding: 12px 14px;
        box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    }
        .right-block-mobile .tick {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: #ff7a00;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 12px;
            box-shadow: 0 2px 6px rgba(255, 122, 0, 0.35);
            flex: 0 0 22px;
        }
        .right-block-mobile ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: grid;
            gap: 10px;
        }

        .right-block-mobile li {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            color: #0b3561;
            font-weight: 600;
            letter-spacing: 0.2px;
        }
       

            

}

/* Default (desktop) */
span.fw-bolder.text-success {
    display: flex;
    justify-content: center;
}

/* For mobile (screen width ≤ 768px) */
@media (max-width: 768px) {
    span.fw-bolder.text-success {
        display: block !important;
        justify-content: unset !important;
        text-align: left; /* optional: aligns text normally */
    }
}


