body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f5f5f5;
}

.toolbar {
    background: #333;
    color: #fff;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toolbar button {
    background: #555;
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.toolbar button:hover {
    background: #777;
}

.pdf-container {
    width: 100%;
    /* 부모 element의 width 기준 */
    max-width: 100%;
    overflow: auto;
    display: flex;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

canvas {
    border: 1px solid #ccc;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
    background: white;
}