/**
 * Document Mini Popup Styles - Moved from document_mini_popup.js
 * Modal popup system for document previews
 */

.mini-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 300ms ease;
    backdrop-filter: blur(2px);
}

.mini-popup-overlay.show {
    opacity: 1;
}

.mini-popup-container {
    transform: scale(0.8) translateY(20px);
    transition: transform 300ms ease;
    max-height: 90vh;
    overflow-y: auto;
    margin: 1rem;
}

.mini-popup-overlay.show .mini-popup-container {
    transform: scale(1) translateY(0);
}

.mini-popup-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.mini-popup-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4777bd;
    border-radius: 50%;
    animation: mini-popup-spin 1s linear infinite;
}

@keyframes mini-popup-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}