/* ============================================================
   LUYỆN ĐỀ - TỰ ĐÁNH GIÁ
   KHO ĐỀ KIỂM TRA PDF
============================================================ */

body.exam-library-open {
    overflow: hidden;
}


/* ============================================================
   DIALOG
============================================================ */

.exam-library-dialog {
    width:
        min(
            97vw,
            1320px
        );

    max-width:
        1320px;

    max-height:
        96dvh;

    padding: 0;

    border: 0;

    border-radius:
        28px;

    overflow: hidden;

    color:
        #153e60;

    background:
        #ffffff;

    box-shadow:
        0 30px 100px
        rgba(
            0,
            35,
            82,
            .40
        );
}


.exam-library-dialog::backdrop {
    background:
        rgba(
            4,
            25,
            57,
            .73
        );

    backdrop-filter:
        blur(7px);

    -webkit-backdrop-filter:
        blur(7px);
}


.exam-library-shell {
    position: relative;

    display: flex;

    flex-direction: column;

    max-height:
        96dvh;

    background:
        #ffffff;
}


/* ============================================================
   HEADER
============================================================ */

.exam-library-header {
    position: relative;

    z-index: 20;

    flex: 0 0 auto;

    min-height:
        91px;

    padding:
        17px
        88px
        16px
        22px;

    display: flex;

    align-items: center;

    border-bottom:
        1px solid
        #cceaf4;

    background:
        linear-gradient(
            115deg,
            #e5f8ff 0%,
            #f8efff 48%,
            #fff5c7 100%
        );
}


.exam-library-heading {
    display: flex;

    align-items: center;

    gap: 13px;

    min-width: 0;
}


.exam-library-heading-icon {
    width: 52px;
    height: 52px;

    flex: 0 0 auto;

    display: grid;

    place-items: center;

    border:
        3px solid
        rgba(
            255,
            255,
            255,
            .9
        );

    border-radius:
        18px;

    background:
        linear-gradient(
            145deg,
            #e3f6ff,
            #e7d6ff
        );

    font-size:
        29px;

    box-shadow:
        0 6px 14px
        rgba(
            66,
            72,
            130,
            .14
        );

    transform:
        rotate(-3deg);
}


.exam-library-title {
    margin: 0;

    color:
        #2732a0;

    font-size:
        clamp(
            23px,
            2.5vw,
            34px
        );

    line-height:
        1.2;

    font-weight:
        950;

    letter-spacing:
        -.02em;
}


.exam-library-subtitle {
    margin:
        5px
        0
        0;

    color:
        #5b7487;

    font-size:
        13px;

    line-height:
        1.45;
}


/* ============================================================
   CLOSE
============================================================ */

.exam-library-close {
    position: absolute;

    top: 13px;
    right: 16px;

    z-index: 50;

    width: 58px;
    height: 58px;

    padding: 0;

    display: grid;

    place-items: center;

    border: 0;

    background:
        transparent;

    cursor: pointer;

    transform-origin:
        center;

    transition:
        transform
        150ms ease,
        filter
        150ms ease;
}


.exam-library-close:hover {
    transform:
        scale(1.1)
        rotate(-5deg);

    filter:
        drop-shadow(
            0 7px 7px
            rgba(
                170,
                0,
                0,
                .24
            )
        );
}


.exam-library-close:active {
    transform:
        scale(.9)
        rotate(3deg);
}


.exam-library-close:focus-visible {
    outline:
        4px solid
        rgba(
            40,
            130,
            255,
            .30
        );

    outline-offset:
        2px;

    border-radius:
        16px;
}


.exam-library-close-icon {
    width: 52px;
    height: 52px;

    display: block;

    pointer-events: none;
}


/* ============================================================
   BODY
============================================================ */

.exam-library-body {
    position: relative;

    flex: 1;

    min-height: 0;

    padding:
        clamp(
            13px,
            2vw,
            23px
        )
        82px
        clamp(
            13px,
            2vw,
            23px
        )
        clamp(
            13px,
            2vw,
            23px
        );

    overflow-x:
        hidden;

    overflow-y:
        auto;

    overscroll-behavior:
        contain;

    scrollbar-gutter:
        stable;

    background:
        radial-gradient(
            circle at 18px 18px,
            rgba(
                72,
                181,
                239,
                .10
            )
            2px,
            transparent
            2.5px
        ),
        linear-gradient(
            135deg,
            #f4fcff,
            #fffaf1 50%,
            #faf3ff
        );

    background-size:
        38px 38px,
        auto;
}


/* ============================================================
   FLOATING UP / DOWN
============================================================ */

.exam-library-scroll-controls {
    position: absolute;

    z-index: 30;

    right: 12px;
    bottom: 18px;

    display: grid;

    gap: 7px;
}


.exam-library-scroll-button {
    width: 55px;
    height: 55px;

    padding: 0;

    display: grid;

    place-items: center;

    border: 0;

    background:
        transparent;

    cursor: pointer;

    transition:
        transform
        140ms ease,
        filter
        140ms ease;
}


.exam-library-scroll-button:hover {
    transform:
        scale(1.11)
        rotate(-3deg);

    filter:
        drop-shadow(
            0 6px 8px
            rgba(
                17,
                74,
                122,
                .20
            )
        );
}


.exam-library-scroll-button:active {
    transform:
        scale(.90);
}


.exam-library-scroll-button--down:hover {
    transform:
        scale(1.11)
        rotate(3deg);
}


.exam-library-nav-icon {
    width: 53px;
    height: 53px;

    display: block;

    pointer-events: none;
}


/* ============================================================
   INTRO
============================================================ */

.exam-library-home {
    display: grid;

    gap: 18px;
}


.exam-library-intro {
    position: relative;

    padding:
        18px
        21px;

    display: flex;

    align-items: center;

    gap: 17px;

    border:
        2px solid
        #cce9f6;

    border-radius:
        23px;

    background:
        linear-gradient(
            120deg,
            #f0fbff,
            #fffbe9
        );

    overflow: hidden;
}


.exam-library-intro::after {
    content: "✦";

    position: absolute;

    right: 19px;
    top: 9px;

    color:
        #f6b900;

    font-size:
        32px;

    opacity:
        .55;
}


.exam-library-intro-mascot {
    flex: 0 0 auto;

    font-size:
        61px;

    filter:
        drop-shadow(
            0 5px 4px
            rgba(
                36,
                79,
                110,
                .12
            )
        );
}


.exam-library-intro span {
    color:
        #a660a2;

    font-size:
        12px;

    font-weight:
        950;
}


.exam-library-intro h3 {
    margin:
        4px
        0;

    color:
        #18548d;

    font-size:
        clamp(
            19px,
            2.2vw,
            27px
        );

    font-weight:
        950;
}


.exam-library-intro p {
    margin: 0;

    color:
        #6b8090;

    line-height:
        1.6;
}


/* ============================================================
   CATEGORY GRID
============================================================ */

.exam-library-category-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(
                0,
                1fr
            )
        );

    gap: 14px;
}


.exam-library-category {
    position: relative;

    min-height:
        207px;

    padding:
        19px
        74px
        18px
        20px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    border:
        2px solid;

    border-radius:
        23px;

    text-align: left;

    cursor: pointer;

    overflow: hidden;

    box-shadow:
        0 8px 22px
        rgba(
            21,
            74,
            112,
            .09
        );

    transition:
        transform
        150ms ease,
        box-shadow
        150ms ease;
}


.exam-library-category:hover {
    transform:
        translateY(-4px);

    box-shadow:
        0 15px 29px
        rgba(
            21,
            74,
            112,
            .15
        );
}


.exam-library-category--blue {
    border-color:
        #83cdf0;

    background:
        linear-gradient(
            140deg,
            #f4fcff,
            #daf4ff
        );

    color:
        #155988;
}


.exam-library-category--orange {
    border-color:
        #f3ce6d;

    background:
        linear-gradient(
            140deg,
            #fffdf1,
            #ffedba
        );

    color:
        #805d13;
}


.exam-library-category--green {
    border-color:
        #91dca8;

    background:
        linear-gradient(
            140deg,
            #f6fff7,
            #dff9e8
        );

    color:
        #247143;
}


.exam-library-category--purple {
    border-color:
        #c7a9ef;

    background:
        linear-gradient(
            140deg,
            #fbf8ff,
            #eee3ff
        );

    color:
        #66369d;
}


.exam-library-category-number {
    width: 34px;
    height: 34px;

    display: grid;

    place-items: center;

    border:
        2px solid
        rgba(
            255,
            255,
            255,
            .95
        );

    border-radius:
        50%;

    background:
        rgba(
            255,
            255,
            255,
            .72
        );

    font-size:
        13px;

    font-weight:
        950;

    box-shadow:
        0 4px 9px
        rgba(
            32,
            65,
            92,
            .09
        );
}


.exam-library-category-icon {
    display: block;

    margin-top:
        12px;

    font-size:
        25px;
}


.exam-library-category strong {
    margin-top:
        5px;

    font-size:
        clamp(
            17px,
            1.8vw,
            22px
        );

    line-height:
        1.35;

    font-weight:
        950;
}


.exam-library-category small {
    margin-top:
        8px;

    max-width:
        420px;

    color:
        rgba(
            39,
            65,
            84,
            .72
        );

    font-size:
        11px;

    line-height:
        1.55;
}


.exam-library-category-mascot {
    position: absolute;

    right: 14px;
    top: 27px;

    font-size:
        57px;

    transform:
        rotate(4deg);

    filter:
        drop-shadow(
            0 4px 4px
            rgba(
                0,
                0,
                0,
                .10
            )
        );
}


.exam-library-category-open {
    margin-top: auto;

    padding-top:
        10px;

    display: flex;

    align-items: center;

    gap: 7px;

    font-size:
        11px;

    font-weight:
        950;
}


.exam-library-category-open b {
    width: 25px;
    height: 25px;

    display: grid;

    place-items: center;

    border-radius:
        50%;

    color:
        #ffffff;

    background:
        currentColor;

    text-shadow:
        0 0 0
        #ffffff;
}


.exam-library-tip {
    padding:
        10px
        13px;

    border:
        1px dashed
        #bfdaea;

    border-radius:
        14px;

    background:
        rgba(
            255,
            255,
            255,
            .74
        );

    color:
        #637e90;

    font-size:
        11px;

    text-align:
        center;
}


/* ============================================================
   TOOLBAR
============================================================ */

.exam-library-page-toolbar {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-bottom:
        13px;

    flex-wrap: wrap;
}


.exam-library-back,
.exam-library-refresh {
    min-height:
        43px;

    padding:
        6px
        12px;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    border:
        2px solid
        #cce3ed;

    border-radius:
        14px;

    background:
        #ffffff;

    color:
        #326481;

    font-family:
        inherit;

    font-size:
        11px;

    font-weight:
        900;

    cursor: pointer;
}


.exam-library-back:hover,
.exam-library-refresh:hover {
    border-color:
        #5db1df;

    background:
        #effaff;
}


.exam-library-back-chibi {
    width: 31px;
    height: 31px;

    display: grid;

    place-items: center;

    border:
        3px solid
        #ffffff;

    border-radius:
        50%;

    background:
        linear-gradient(
            145deg,
            #66d3ff,
            #238cd9
        );

    color:
        #ffffff;

    font-size:
        20px;

    font-weight:
        950;

    box-shadow:
        0 4px 8px
        rgba(
            30,
            105,
            151,
            .20
        );
}


/* ============================================================
   CATEGORY BANNER
============================================================ */

.exam-library-category-banner {
    position: relative;

    min-height:
        129px;

    padding:
        17px
        100px
        17px
        88px;

    display: flex;

    align-items: center;

    border:
        2px solid;

    border-radius:
        21px;

    overflow: hidden;
}


.exam-library-category-banner--blue {
    border-color:
        #8ed2ef;

    background:
        linear-gradient(
            120deg,
            #effaff,
            #ddf4ff
        );
}


.exam-library-category-banner--orange {
    border-color:
        #edcc72;

    background:
        linear-gradient(
            120deg,
            #fffdf2,
            #ffedbf
        );
}


.exam-library-category-banner--green {
    border-color:
        #8ed7a5;

    background:
        linear-gradient(
            120deg,
            #f5fff7,
            #e0f9e8
        );
}


.exam-library-category-banner--purple {
    border-color:
        #c3a4ec;

    background:
        linear-gradient(
            120deg,
            #fbf8ff,
            #eee3ff
        );
}


.exam-library-category-banner-mascot {
    position: absolute;

    left: 17px;

    font-size:
        58px;
}


.exam-library-category-banner span {
    color:
        #756b91;

    font-size:
        11px;

    font-weight:
        950;
}


.exam-library-category-banner h3 {
    margin:
        4px 0;

    color:
        #254e76;

    font-size:
        clamp(
            19px,
            2vw,
            25px
        );

    line-height:
        1.35;
}


.exam-library-category-banner p {
    margin: 0;

    color:
        #6f8494;

    font-size:
        11px;

    line-height:
        1.55;
}


.exam-library-count-bubble {
    position: absolute;

    right: 20px;
    top: 50%;

    width: 63px;
    height: 63px;

    transform:
        translateY(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border:
        4px solid
        #ffffff;

    border-radius:
        50%;

    background:
        linear-gradient(
            145deg,
            #647cf6,
            #884bc4
        );

    color:
        #ffffff;

    box-shadow:
        0 7px 15px
        rgba(
            76,
            66,
            145,
            .19
        );
}


.exam-library-count-bubble strong {
    font-size:
        22px;

    line-height:
        1;
}


.exam-library-count-bubble small {
    margin-top:
        2px;

    color:
        #ffffff;

    font-size:
        9px;
}


/* ============================================================
   PDF GRID
============================================================ */

.exam-library-pdf-grid {
    margin-top:
        13px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(
                0,
                1fr
            )
        );

    gap:
        11px;
}


.exam-library-pdf-card {
    min-height:
        125px;

    padding:
        12px;

    display: grid;

    grid-template-columns:
        67px
        minmax(
            0,
            1fr
        )
        auto;

    align-items: center;

    gap:
        12px;

    border:
        2px solid
        #dceaf1;

    border-radius:
        18px;

    background:
        rgba(
            255,
            255,
            255,
            .95
        );

    box-shadow:
        0 6px 18px
        rgba(
            21,
            78,
            113,
            .07
        );

    transition:
        transform
        140ms ease,
        box-shadow
        140ms ease;
}


.exam-library-pdf-card:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 10px 23px
        rgba(
            21,
            78,
            113,
            .12
        );
}


/* ============================================================
   PDF PAPER
============================================================ */

.exam-library-pdf-paper {
    position: relative;

    width: 62px;
    height: 78px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border:
        3px solid
        #ffffff;

    border-radius:
        12px;

    background:
        linear-gradient(
            145deg,
            #ff8b8b,
            #e44859
        );

    color:
        #ffffff;

    box-shadow:
        0 6px 12px
        rgba(
            177,
            53,
            69,
            .20
        );
}


.exam-library-pdf-paper::before {
    content: "";

    position: absolute;

    right: 0;
    top: 0;

    width: 18px;
    height: 18px;

    border-radius:
        0
        8px
        0
        8px;

    background:
        rgba(
            255,
            255,
            255,
            .32
        );
}


.exam-library-pdf-paper span {
    font-size:
        9px;

    font-weight:
        950;
}


.exam-library-pdf-paper b {
    margin-top:
        4px;

    font-size:
        23px;
}


/* ============================================================
   PDF INFO
============================================================ */

.exam-library-pdf-info {
    min-width: 0;
}


.exam-library-pdf-label {
    color:
        #e04d63;

    font-size:
        9px;

    font-weight:
        950;

    letter-spacing:
        .05em;
}


.exam-library-pdf-info h4 {
    margin:
        4px 0;

    color:
        #245478;

    font-size:
        16px;
}


.exam-library-pdf-info p {
    margin: 0;

    color:
        #80909c;

    font-size:
        10px;
}


/* ============================================================
   PDF ACTIONS
============================================================ */

.exam-library-pdf-actions {
    display: grid;

    gap:
        6px;
}


.exam-library-action {
    min-height:
        38px;

    padding:
        7px
        11px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap:
        5px;

    border:
        2px solid;

    border-radius:
        12px;

    font-family:
        inherit;

    font-size:
        10px;

    font-weight:
        900;

    text-decoration:
        none;

    white-space:
        nowrap;

    cursor:
        pointer;

    transition:
        transform
        130ms ease,
        box-shadow
        130ms ease;
}


.exam-library-action:hover {
    transform:
        translateY(-1px);
}


.exam-library-action--view {
    border-color:
        #3da6dd;

    background:
        linear-gradient(
            145deg,
            #58caff,
            #318fd6
        );

    color:
        #ffffff;
}


.exam-library-action--download {
    border-color:
        #18aa65;

    background:
        linear-gradient(
            145deg,
            #59db93,
            #13a35f
        );

    color:
        #ffffff;
}


.exam-library-action--external {
    border-color:
        #a579da;

    background:
        linear-gradient(
            145deg,
            #b990ed,
            #8651c5
        );

    color:
        #ffffff;
}


/* ============================================================
   LOADING
============================================================ */

.exam-library-loading {
    min-height:
        410px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    color:
        #627d8e;

    text-align:
        center;
}


.exam-library-loading-mascot {
    font-size:
        73px;

    animation:
        examMascotBounce
        .85s
        ease-in-out
        infinite
        alternate;
}


@keyframes examMascotBounce {

    from {
        transform:
            translateY(0)
            rotate(-3deg);
    }


    to {
        transform:
            translateY(-10px)
            rotate(3deg);
    }

}


.exam-library-loading-dots {
    margin:
        11px
        0;

    display: flex;

    gap:
        6px;
}


.exam-library-loading-dots i {
    width: 9px;
    height: 9px;

    border-radius:
        50%;

    background:
        #439fda;

    animation:
        examDot
        .7s
        infinite
        alternate;
}


.exam-library-loading-dots i:nth-child(2) {
    animation-delay:
        .15s;
}


.exam-library-loading-dots i:nth-child(3) {
    animation-delay:
        .30s;
}


@keyframes examDot {

    from {
        opacity:
            .25;

        transform:
            scale(.8);
    }


    to {
        opacity:
            1;

        transform:
            scale(1.2);
    }

}


/* ============================================================
   EMPTY
============================================================ */

.exam-library-empty {
    width:
        min(
            100%,
            680px
        );

    margin:
        30px
        auto;

    padding:
        27px;

    border:
        2px dashed
        #badce9;

    border-radius:
        22px;

    background:
        rgba(
            255,
            255,
            255,
            .87
        );

    color:
        #697f8f;

    text-align:
        center;
}


.exam-library-empty-icon {
    font-size:
        51px;
}


.exam-library-empty h3 {
    color:
        #2f678d;
}


.exam-library-empty code {
    display: block;

    margin:
        7px
        0;

    padding:
        7px;

    border-radius:
        8px;

    background:
        #edf6fa;

    color:
        #416a83;

    overflow-wrap:
        anywhere;
}


/* ============================================================
   PDF VIEWER
============================================================ */

.exam-library-viewer-actions {
    display: flex;

    flex-wrap: wrap;

    gap:
        6px;
}


.exam-library-viewer-titlebar {
    padding:
        10px
        13px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap:
        10px;

    border:
        1px solid
        #d7e8ef;

    border-radius:
        14px
        14px
        0
        0;

    background:
        linear-gradient(
            100deg,
            #f4fbff,
            #fff9e8
        );
}


.exam-library-viewer-titlebar > div {
    min-width: 0;

    display: grid;

    gap:
        3px;
}


.exam-library-viewer-titlebar span {
    color:
        #758795;

    font-size:
        9px;

    font-weight:
        850;
}


.exam-library-viewer-titlebar strong {
    color:
        #25587c;

    font-size:
        14px;
}


.exam-library-viewer-position {
    flex: 0 0 auto;

    padding:
        5px
        9px;

    border-radius:
        999px;

    background:
        #e9f5ff;

    color:
        #2475ad !important;

    font-size:
        11px !important;

    font-weight:
        950 !important;
}


.exam-library-pdf-viewer {
    position: relative;

    width: 100%;

    min-height:
        600px;

    height:
        min(
            68dvh,
            780px
        );

    border:
        1px solid
        #d7e8ef;

    border-top: 0;

    background:
        #e6edf1;
}


.exam-library-pdf-viewer iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;

    background:
        #ffffff;
}


.exam-library-pdf-fallback {
    position: absolute;

    left: 50%;
    bottom: 8px;

    transform:
        translateX(-50%);

    z-index: 3;

    padding:
        5px
        9px;

    border-radius:
        999px;

    background:
        rgba(
            17,
            50,
            72,
            .82
        );

    color:
        #ffffff;

    font-size:
        9px;

    white-space:
        nowrap;

    pointer-events:
        none;
}


.exam-library-pdf-fallback a {
    color:
        #9ee4ff;

    pointer-events:
        auto;
}


/* ============================================================
   PDF PAGINATION
============================================================ */

.exam-library-pdf-pagination {
    padding:
        10px;

    display: grid;

    grid-template-columns:
        auto
        1fr
        auto;

    align-items: center;

    gap:
        10px;

    border:
        1px solid
        #d7e8ef;

    border-top: 0;

    border-radius:
        0
        0
        14px
        14px;

    background:
        #ffffff;
}


.exam-library-pdf-pagination > span {
    color:
        #788c9b;

    font-size:
        10px;

    text-align:
        center;
}


.exam-library-page-button {
    min-height:
        39px;

    padding:
        7px
        12px;

    border:
        2px solid
        #c4dfe9;

    border-radius:
        12px;

    background:
        linear-gradient(
            #ffffff,
            #f2faff
        );

    color:
        #396982;

    font-family:
        inherit;

    font-size:
        10px;

    font-weight:
        900;

    cursor:
        pointer;
}


.exam-library-page-button:hover:not(:disabled) {
    border-color:
        #5bb0de;

    background:
        #edfaff;
}


.exam-library-page-button:disabled {
    opacity:
        .35;

    cursor:
        default;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 900px) {

    .exam-library-category-grid,
    .exam-library-pdf-grid {
        grid-template-columns:
            1fr;
    }


    .exam-library-pdf-viewer {
        min-height:
            520px;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 620px) {

    .exam-library-dialog {
        width:
            97vw;

        max-height:
            97dvh;

        border-radius:
            20px;
    }


    .exam-library-shell {
        max-height:
            97dvh;
    }


    .exam-library-header {
        min-height:
            76px;

        padding:
            12px
            67px
            11px
            12px;
    }


    .exam-library-heading {
        gap:
            8px;
    }


    .exam-library-heading-icon {
        width:
            41px;

        height:
            41px;

        border-radius:
            13px;

        font-size:
            22px;
    }


    .exam-library-title {
        font-size:
            20px;
    }


    .exam-library-subtitle {
        font-size:
            10px;
    }


    .exam-library-close {
        top:
            7px;

        right:
            6px;

        width:
            51px;

        height:
            51px;
    }


    .exam-library-close-icon {
        width:
            45px;

        height:
            45px;
    }


    .exam-library-body {
        padding:
            8px
            59px
            8px
            8px;
    }


    .exam-library-scroll-controls {
        right:
            6px;

        bottom:
            12px;
    }


    .exam-library-scroll-button {
        width:
            46px;

        height:
            46px;
    }


    .exam-library-nav-icon {
        width:
            44px;

        height:
            44px;
    }


    .exam-library-intro {
        padding:
            14px;

        gap:
            10px;
    }


    .exam-library-intro-mascot {
        font-size:
            46px;
    }


    .exam-library-category {
        min-height:
            181px;

        padding:
            15px
            61px
            15px
            15px;
    }


    .exam-library-category-mascot {
        right:
            8px;

        font-size:
            45px;
    }


    .exam-library-category-banner {
        padding:
            15px
            15px
            15px
            68px;
    }


    .exam-library-category-banner-mascot {
        left:
            11px;

        font-size:
            45px;
    }


    .exam-library-count-bubble {
        display:
            none;
    }


    .exam-library-pdf-card {
        grid-template-columns:
            53px
            minmax(
                0,
                1fr
            );

        gap:
            9px;
    }


    .exam-library-pdf-paper {
        width:
            50px;

        height:
            65px;
    }


    .exam-library-pdf-actions {
        grid-column:
            1 / -1;

        grid-template-columns:
            1fr
            1fr;
    }


    .exam-library-action {
        width:
            100%;
    }


    .exam-library-pdf-viewer {
        min-height:
            430px;

        height:
            63dvh;
    }


    .exam-library-pdf-pagination {
        grid-template-columns:
            1fr
            1fr;
    }


    .exam-library-pdf-pagination > span {
        grid-column:
            1 / -1;

        grid-row:
            1;
    }


    .exam-library-pdf-fallback {
        display:
            none;
    }

}


/* ============================================================
   SMALL PHONE
============================================================ */

@media (max-width: 420px) {

    .exam-library-heading-icon {
        display:
            none;
    }


    .exam-library-viewer-actions {
        width:
            100%;
    }


    .exam-library-viewer-actions
    .exam-library-action {
        flex:
            1;
    }

}


/* ============================================================
   REDUCED MOTION
============================================================ */

@media (
    prefers-reduced-motion:
    reduce
) {

    .exam-library-loading-mascot,
    .exam-library-loading-dots i {
        animation:
            none !important;
    }


    .exam-library-category,
    .exam-library-pdf-card,
    .exam-library-close,
    .exam-library-scroll-button {
        transition:
            none !important;
    }

}