/* ==========================================
   DOCUMENT PDF PREVIEW
========================================== */

.pdf-document-preview {
    position: relative;

    width: 100%;

    background: #f5f5f5;

    overflow: hidden;

    margin-bottom: 20px;
    border: 1px solid #112866;
}


/* ==========================================
   PDF CANVAS
========================================== */

.pdf-document-preview canvas {
    display: block;

    width: 100%;
    height: auto;

    margin: 0 auto;
}


/* ==========================================
   LOADER
========================================== */

.pdf-document-loader {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #f5f5f5;
}


/* ==========================================
   DOCUMENT LINK
========================================== */

.document-link {
    display: block;

    color: inherit;

    text-decoration: none;
}


/* ==========================================
   DOCUMENT CARD
========================================== */

.card-doc {
    height: 100%;

    border: 1px solid #ddd;

    border-radius: 10px;

    overflow: hidden;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/* ==========================================
   HOVER
========================================== */

.document-link:hover .card-doc {
    transform: translateY(-3px);

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.12);
}


/* ==========================================
   TITLE
========================================== */

.card-doc h5 {
    margin: 0;

    line-height: 1.4;

    font-size: 16px;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 575.98px) {

    .card-doc h5 {
        font-size: 14px;
    }

    .pdf-document-preview {
        margin-bottom: 15px;
    }

}