/* ========================================================= */
/* ================= PDF BUTTON CONTAINER ================== */
/* ========================================================= */

.pdf-buttons {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 100% !important;

    gap: 10px !important;

    margin-top: 16px !important;
}


/* ========================================================= */
/* ======================= PDF BUTTON ======================= */
/* ========================================================= */

.pdf-buttons .pdf-view-btn {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;

    flex: 1 1 0 !important;

    width: 0 !important;
    min-width: 0 !important;
    max-width: none !important;

    height: 48px !important;

    padding: 5px 7px !important;

    margin: 0 !important;

    background: #ffffff !important;

    border: 1px solid #e5e5e5 !important;

    border-radius: 6px !important;

    text-decoration: none !important;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;

    transition: all 0.3s ease !important;

    box-sizing: border-box !important;

    overflow: hidden !important;
}


/* ========================================================= */
/* ======================= PDF ICON ========================= */
/* ========================================================= */

.pdf-buttons .pdf-view-btn .pdf-icon {
    width: 30px !important;
    height: 30px !important;

    min-width: 30px !important;
    max-width: 30px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #fff1f0 !important;

    color: #e53935 !important;

    border-radius: 5px !important;

    font-size: 14px !important;

    flex-shrink: 0 !important;

    transition: all 0.3s ease !important;
}


/* ========================================================= */
/* ======================= PDF TEXT ========================= */
/* ========================================================= */

.pdf-buttons .pdf-view-btn .pdf-text {
    display: flex !important;

    flex-direction: column !important;

    align-items: flex-start !important;

    justify-content: center !important;

    min-width: 0 !important;

    margin-left: 7px !important;

    line-height: 1.15 !important;

    color: #222 !important;

    font-size: 11px !important;

    font-weight: 600 !important;

    white-space: nowrap !important;

    overflow: hidden !important;

    transition: all 0.3s ease !important;
}


/* DOCUMENT TEXT */

.pdf-buttons .pdf-view-btn .pdf-text small {
    display: block !important;

    margin: 0 0 2px 0 !important;

    padding: 0 !important;

    font-size: 6px !important;

    line-height: 1 !important;

    letter-spacing: 0.7px !important;

    color: #999 !important;

    font-weight: 600 !important;
}


/* VIEW PDF TEXT */

.pdf-buttons .pdf-view-btn .pdf-text strong {
    display: block !important;

    font-size: 11px !important;

    line-height: 1.1 !important;

    color: inherit !important;

    font-weight: 600 !important;
}


/* ========================================================= */
/* ======================= ARROW ============================ */
/* ========================================================= */

.pdf-buttons .pdf-view-btn .pdf-arrow {
    width: 20px !important;
    height: 20px !important;

    min-width: 20px !important;

    margin-left: auto !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    color: #999 !important;

    font-size: 9px !important;

    flex-shrink: 0 !important;

    transition: all 0.3s ease !important;
}


/* ========================================================= */
/* ======================= HOVER ============================ */
/* ========================================================= */

.pdf-buttons .pdf-view-btn:hover {
    color: #222 !important;

    border-color: #e53935 !important;

    transform: translateY(-2px) !important;

    box-shadow: 0 6px 16px rgba(229, 57, 53, 0.15) !important;
}


.pdf-buttons .pdf-view-btn:hover .pdf-icon {
    background: #e53935 !important;

    color: #ffffff !important;
}


.pdf-buttons .pdf-view-btn:hover .pdf-text {
    color: #e53935 !important;
}


.pdf-buttons .pdf-view-btn:hover .pdf-arrow {
    color: #e53935 !important;

    transform: translateX(3px) !important;
}


/* ========================================================= */
/* ====================== MOBILE ============================ */
/* ========================================================= */

@media only screen and (max-width: 575px) {

    .pdf-buttons {
        display: flex !important;

        flex-direction: row !important;

        flex-wrap: nowrap !important;

        justify-content: space-between !important;

        align-items: center !important;

        width: 100% !important;

        gap: 8px !important;

        margin-top: 14px !important;
    }


    .pdf-buttons .pdf-view-btn {
        display: flex !important;

        flex: 1 1 0 !important;

        width: 0 !important;

        min-width: 0 !important;

        max-width: none !important;

        height: 44px !important;

        padding: 5px !important;

        margin: 0 !important;

        box-sizing: border-box !important;
    }


    .pdf-buttons .pdf-view-btn .pdf-icon {
        width: 28px !important;

        min-width: 28px !important;

        max-width: 28px !important;

        height: 28px !important;

        font-size: 13px !important;
    }


    .pdf-buttons .pdf-view-btn .pdf-text {
        margin-left: 5px !important;

        font-size: 10px !important;

        line-height: 1.1 !important;
    }


    .pdf-buttons .pdf-view-btn .pdf-text small {
        font-size: 5px !important;

        letter-spacing: 0.5px !important;

        margin-bottom: 2px !important;
    }


    .pdf-buttons .pdf-view-btn .pdf-text strong {
        font-size: 10px !important;
    }


    .pdf-buttons .pdf-view-btn .pdf-arrow {
        width: 17px !important;

        min-width: 17px !important;

        height: 17px !important;

        font-size: 8px !important;
    }

}


/* ========================================================= */
/* ================== SMALL MOBILE ========================= */
/* ========================================================= */

@media only screen and (max-width: 390px) {

    .pdf-buttons {
        gap: 6px !important;
    }


    .pdf-buttons .pdf-view-btn {
        height: 42px !important;

        padding: 4px !important;
    }


    .pdf-buttons .pdf-view-btn .pdf-icon {
        width: 26px !important;

        min-width: 26px !important;

        max-width: 26px !important;

        height: 26px !important;

        font-size: 12px !important;
    }


    .pdf-buttons .pdf-view-btn .pdf-text {
        margin-left: 4px !important;

        font-size: 9px !important;
    }


    .pdf-buttons .pdf-view-btn .pdf-text small {
        font-size: 4.5px !important;

        letter-spacing: 0.4px !important;
    }


    .pdf-buttons .pdf-view-btn .pdf-text strong {
        font-size: 9px !important;
    }


    .pdf-buttons .pdf-view-btn .pdf-arrow {
        width: 15px !important;

        min-width: 15px !important;

        height: 15px !important;

        font-size: 7px !important;
    }

}


/* ========================================================= */
/* ================== EXTRA SMALL MOBILE =================== */
/* ========================================================= */

@media only screen and (max-width: 340px) {

    .pdf-buttons {
        gap: 5px !important;
    }


    .pdf-buttons .pdf-view-btn {
        height: 40px !important;

        padding: 3px !important;
    }


    .pdf-buttons .pdf-view-btn .pdf-icon {
        width: 24px !important;

        min-width: 24px !important;

        max-width: 24px !important;

        height: 24px !important;

        font-size: 11px !important;
    }


    .pdf-buttons .pdf-view-btn .pdf-text {
        margin-left: 3px !important;

        font-size: 8px !important;
    }


    .pdf-buttons .pdf-view-btn .pdf-text small {
        display: none !important;
    }


    .pdf-buttons .pdf-view-btn .pdf-text strong {
        font-size: 8px !important;
    }


    .pdf-buttons .pdf-view-btn .pdf-arrow {
        display: none !important;
    }

}