/* PDF Iframe Preview Styles */
.pdf-iframe-wrapper {
    position: relative;
    width: 120px;
    height: 160px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pdf-iframe-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pdf-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
}

.pdf-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.pdf-iframe-wrapper:hover .pdf-overlay {
    opacity: 1;
    pointer-events: auto;
}

.pdf-full-link {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.pdf-full-link:hover {
    background: rgba(0, 0, 0, 0.9);
    color: white;
}

.pdf-full-link i {
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pdf-iframe-wrapper {
        width: 100px;
        height: 130px;
    }
}

@media (max-width: 576px) {
    .pdf-iframe-wrapper {
        width: 80px;
        height: 100px;
    }
} 