﻿#pdfViewerContainer, .download-card {
    cursor: pointer
}

#pdfViewerContainer, .modal-fullscreen .modal-body {
    background: #000 !important
}

.download-card {
    transition: .3s;
    border: 1px solid transparent
}

    .download-card:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,.1)
    }

    .download-card.active {
        border-color: #e9ecef
    }

        .download-card.active:hover {
            border-color: #007bff
        }

    .download-card.disabled {
        opacity: .6;
        cursor: not-allowed
    }

        .download-card.disabled:hover {
            transform: none;
            box-shadow: none
        }

.info-item {
    margin-bottom: 1rem
}

    .info-item label {
        display: block;
        margin-bottom: .25rem;
        font-size: .75rem;
        text-transform: uppercase;
        letter-spacing: .5px
    }

.modal-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center
}

.modal-loading-content {
    text-align: center;
    color: #fff
}

#pdfCanvas {
    box-shadow: 0 0 30px rgba(255,255,255,.1);
    transition: opacity .2s;
    cursor: w-resize
}

    #pdfCanvas:hover {
        opacity: .95;
        cursor: e-resize
    }

.modal-fullscreen .modal-header {
    background: #000 !important;
    border-bottom: 1px solid #333;
    backdrop-filter: blur(10px);
    opacity: 1;
    transition: opacity .3s
}

    .modal-fullscreen .modal-header:hover, .modal-fullscreen:hover::before {
        opacity: 1
    }

    .modal-fullscreen .modal-header.auto-hide {
        opacity: 0;
        pointer-events: none
    }

        .modal-fullscreen .modal-header.auto-hide:hover {
            opacity: 1;
            pointer-events: auto
        }

.pdf-controls {
    display: none !important
}

.modal-fullscreen::before {
    content: attr(data-page-info);
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    z-index: 1060;
    opacity: 0;
    transition: opacity .3s
}

.btn-close-white {
    --bs-btn-close-opacity: 0.9 !important
}

.loaderPro-alt {
    width: 48px;
    height: 48px;
    background: #fff;
    display: inline-block;
    border-radius: 50%;
    box-sizing: border-box;
    animation: 1s ease-in infinite animloader
}

@keyframes animloader {
    0% {
        transform: scale(0);
        opacity: 1
    }

    100% {
        transform: scale(1);
        opacity: 0
    }
}
