﻿/* 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;*/
    /*}
}*/
.section-mr{
    padding-right:50px!important;
    padding-left:50px!important;
}
@media (max-width: 1024px) {
    .section-mr {
        padding-right:15px!important;
        padding-left:15px!important;
    }
}

    @media (max-width: 1024px) {
        .Paper__title {
            flex-wrap: wrap;
            align-items: flex-start;
            gap: 8px !important;
        }
            /*    --------------fix 6 feb---------------*/
            .Paper__title h2 {
                font-size: 18px !important;
                width: 100%;
                padding-left: 15px;
                display: flex;
                align-items: center;
            }

            /*----------------------------------------------*/
            .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 h2 {
            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 */
        }
    }

    /* ----------4-11-25--------*/

    .exam-card {
        position: relative;
        color: #fff;
        text-align: center;
        padding: 30px 20px;
        border-radius: 4px;
        /*font-weight: 600;*/
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease-in-out;
        overflow: visible;
        z-index: 1;
        height: 170px;
    }

        /* bottom + right border same as card color */
        .exam-card::before {
            content: '';
            position: absolute;
            bottom: -8px;
            right: -8px;
            width: 100%;
            height: 100%;
            border-right: 2px solid var(--border-color);
            border-bottom: 2px solid var(--border-color);
            border-radius: 4px;
            z-index: -1;
        }


        .exam-card a {
            color: #fff;
            text-decoration: none;
            display: block;
        }



    .exam-icon {
        font-size: 40px;
        margin-bottom: 10px;
        color: #fff !important;
    }

    .exam-title {
        font-size: 16px;
        line-height: 1.2;
    }

    /* Responsive design */
    @media (max-width: 768px) {
        .exam-card {
            margin-bottom: 20px;
        }
    }
    /*  ---------------04-02-26------------------------*/

    .premium-banner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 16px 22px;
        border-radius: 8px;
        background: linear-gradient(90deg, #1f5fff, #33b679);
        color: #fff !important;
        text-decoration: none;
        font-family: 'Segoe UI', sans-serif;
        box-shadow: 0 4px 10px rgba(0,0,0,0.08);
        transition: 0.2s ease;
    }

        .premium-banner:hover {
            transform: translateY(-1px);
            box-shadow: 0 5px 14px rgba(0,0,0,0.12);
        }

    .premium-baner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 16px 22px;
        border-radius: 8px;
        border: 1px solid black;
        background-color: #fff;
        color: #333 !important;
        text-decoration: none;
        font-family: 'Segoe UI', sans-serif;
        box-shadow: 0 4px 10px rgba(0,0,0,0.08);
        transition: 0.2s ease;
    }

        .premium-baner:hover {
            transform: translateY(-1px);
            box-shadow: 0 5px 14px rgba(0,0,0,0.12);
        }
    /* LEFT SIDE TEXT */
    .getAccess {
        font-size: 20px;
        font-weight: 700;
    }

    /* RIGHT SIDE BUTTON STYLE LOOK */
    .pdff_style {
        background: #fff;
        color: #222;
        padding: 8px 16px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        margin-left: auto;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .pdfff_style {
        background: #fff;
        color: black !important;
        padding: 8px 16px;
        border: 1px solid black;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        margin-left: auto;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    /* ICON */
    .pdff_style i {
        color: red;
        font-size: 15px;
    }

    .premaccess {
        margin-left: auto !important
    }
    /* 🔥 MOBILE FIX */
    @media (max-width: 600px) {
        .premium-banner {
            flex-direction: column; /* stack */
            align-items: stretch; /* full width */
            text-align: center;
            padding: 14px 16px;
        }

        .premium-baner {
            flex-direction: column; /* stack */
            align-items: stretch; /* full width */
            text-align: center;
            padding: 14px 16px;
        }

        .getAccess {
            font-size: 18px;
        }

        .pdff_style {
            width: 100%;
            margin: 10px 0 0 0;
            justify-content: center;
            font-size: 15px;
        }

        .pdfff_style {
            width: 100%;
            margin: 10px 0 0 0;
            justify-content: center;
            font-size: 15px;
        }

        .premaccess {
            margin-left: unset !important
        }
    }
    
