/* 🍎 Apple-Style PDF Viewer */

.pdf-viewer-container {
    background: var(--bg-alt);
    border: 2px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.pdf-viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.pdf-viewer-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text);
}

.pdf-viewer-icon {
    font-size: 24px;
}

.pdf-viewer-controls {
    display: flex;
    gap: 8px;
}

.pdf-control-btn {
    padding: 6px 12px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 4px;
}

.pdf-control-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pdf-control-btn:active {
    transform: translateY(0);
}

.pdf-viewer-iframe-container {
    position: relative;
    width: 100%;
    height: 600px;
    background: #525252;
}

.pdf-viewer-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.pdf-viewer-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: var(--text-muted);
}

.pdf-viewer-empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.pdf-viewer-empty-text {
    font-size: 15px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .pdf-viewer-iframe-container {
        height: 400px;
    }
    
    .pdf-viewer-controls {
        flex-wrap: wrap;
    }
}
